Mercurial > noffle
diff packages/redhat/noffle.spec @ 150:1c7303c71f66 noffle
[svn] * src/protocol.c: Fix bug in Prt_getLn if we should read a line
starting with '\0' - according to the leafnode mailing list,
this has been seen in the wild.
* docs/inews.1,docs/noffle.1,docs/noffle.conf.5,
packages/redhat/noffle.spec,src/configfile.h,src/configfile.c,
src/noffle.c,src/post.h,src/post.c: Removed use of getopt_long,
and added inews mode - the Noffle executable behaves
as inews is invoked as inews. This includes adding From: and
Organization: headers if necessary - add configs to override
defaults for the From: domain and specify the organization.
For all my fellow trn-heads out there, and users of any other
ageing newsreader that expects inews. Updated RPM spec to create
inews link to noffle on install.
author | bears |
---|---|
date | Thu, 26 Oct 2000 22:21:13 +0100 |
parents | d23f038454d4 |
children | 79e324213734 |
line wrap: on
line diff
--- a/packages/redhat/noffle.spec Thu Oct 26 22:13:28 2000 +0100 +++ b/packages/redhat/noffle.spec Thu Oct 26 22:21:13 2000 +0100 @@ -12,7 +12,6 @@ Requires: gdbm Requires: mailx -Requires: textutils %description NOFFLE is a news server optimized for low speed dialup connection to the @@ -47,6 +46,8 @@ install -m 0755 -o news -g news packages/redhat/noffle-expire $RPM_BUILD_ROOT/etc/cron.daily/noffle-expire %post +# Create inews line +ln -sf $RPM_BUILD_ROOT/%{prefix}/bin/noffle $RPM_BUILD_ROOT/%{prefix}/bin/inews # Update /etc/inetd.conf if ! grep -q '^[# \t]*nntp' /etc/inetd.conf ; then echo >> /etc/inetd.conf @@ -66,6 +67,7 @@ %postun # The script gets 0 on uninstall, 1 on upgrade. Don't remove # hosts.deny/inetd.conf lines on upgrade. +rm $RPM_BUILD_ROOT/%{prefix}/bin/inews if [ "$1" = 0 ] ; then if [ -f /etc/inetd.conf ] && grep noffle /etc/inetd.conf > /dev/null 2>&1 ; then @@ -93,6 +95,7 @@ %{prefix}/bin/noffle %{prefix}/man/man1/noffle.1 %{prefix}/man/man5/noffle.conf.5 +%{prefix}/bin/inews /etc/cron.daily/noffle-expire %dir /var/spool/noffle %dir /var/spool/noffle/data @@ -102,6 +105,9 @@ %dir /var/spool/noffle/overview %changelog +* Thu Oct 26 2000 Jim Hague <jim.hague@am.org> +- Added inews link. + * Sun Jun 18 2000 Jim Hague <jim.hague@am.org> - Version 1.0pre6-3 RPM - Changed /etc/noffle.conf mode to 0600 in case server password is required