[ckermit] Update to latest upstream. Removed use of HAVE_BAUDBOY (#747923).
Eric Smith
brouhaha at fedoraproject.org
Wed Nov 9 21:38:58 UTC 2011
commit 25f1ecc6cae5c54f7ddce62b8265e271f9bea8fd
Author: Eric Smith <eric at brouhaha.com>
Date: Wed Nov 9 13:38:56 2011 -0800
Update to latest upstream. Removed use of HAVE_BAUDBOY (#747923).
README.fedora | 22 ++++++++++++++++++++++
ckermit.spec | 18 ++++++++++++++----
2 files changed, 36 insertions(+), 4 deletions(-)
---
diff --git a/README.fedora b/README.fedora
new file mode 100644
index 0000000..bfa41ac
--- /dev/null
+++ b/README.fedora
@@ -0,0 +1,22 @@
+If unprivileged users attempt to access a serial port, e.g.
+/dev/ttyS<n> or /dev/ttyUSB<n>, they will normally get an error
+message such as:
+
+ Sorry, write access to UUCP lockfile directory denied.
+
+This message is actually due to permissions on the device, not the
+lockfile directory.
+
+If it is desired to allow specific unprivileged users to use ckermit
+to access serial ports, add those users to the "dialout" group. One
+way to accomplish this is using a command line such as:
+
+ sudo usermod -a -G dialout <username>
+
+This will apply to future logins by that user.
+
+If you want to make the serial ports accessible to all users without
+adding them to the dialout group (not recommended), you can change the
+permissions of the serial device to 666, e.g.,
+
+ sudo chmod 666 /dev/ttyS<n>
diff --git a/ckermit.spec b/ckermit.spec
index 9fde959..86e1f82 100644
--- a/ckermit.spec
+++ b/ckermit.spec
@@ -1,4 +1,4 @@
-%global patchlevel 301
+%global patchlevel 302
Summary: The quintessential all-purpose communications program
Name: ckermit
@@ -11,13 +11,14 @@ License: BSD with advertising and MIT
# BSD four-clause (w/ advertising)
# MIT Old Style (no advertising without permission)
Group: Applications/Communications
-Source0: ftp://kermit.columbia.edu/kermit/archives/cku%{patchlevel}.tar.gz
+Source0: ftp://ftp.kermitproject.org/kermit/archives/cku%{patchlevel}.tar.gz
Source1: ckermit.ini
Source2: cku-%{name}.local.ini
Source3: cku-%{name}.modem.generic.ini
Source4: cku-%{name}.locale.ini
Source5: cku-%{name}.phone
-URL: http://www.columbia.edu/kermit/ck90.html
+Source6: README.fedora
+URL: http://www.kermitproject.org/ck90.html
BuildRequires: pam-devel
BuildRequires: pkgconfig
BuildRequires: openssl-devel >= 0.9.7
@@ -40,10 +41,11 @@ communication tasks.
%prep
%setup -q -c
+cp %{SOURCE6} .
%build
%{__make} linux \
- KFLAGS="-O0 $RPM_OPT_FLAGS -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_BAUDBOY -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)='" \
+ KFLAGS="-O0 $RPM_OPT_FLAGS -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)='" \
K4LIB= \
K4INC= \
K5LIB=-lutil \
@@ -85,8 +87,16 @@ rm -rf %{buildroot}
%{_mandir}/man1/kermit.1*
%doc COPYING.TXT
%doc ckc%{patchlevel}.txt
+%doc README.fedora
%changelog
+* Wed Nov 09 2011 Eric Smith <eric at brouhaha.com> - 9.0.302-1
+- removed definition of HAVE_BAUDBOY from make invocation (#747923)
+- updated to latest upstream (no changes that affect Fedora, but
+ cku301 tarball is no longer available
+- updated URL and Source tags for kermitproject.org
+- added README.fedora
+
* Mon Jul 11 2011 Eric Smith <eric at brouhaha.com> - 9.0.301-1
- updated to final release
More information about the scm-commits
mailing list