Package: slrnpull
Version: 0.9.8.1pl1-18
Severity: normal
Tags: patch

A couple of scripts need updating for the su(1) syntax change since the login
4.0.15-2 update (Debian bug #276419).

Regards,

Simon Taylor

diff -ur debian.old/slrnpull.cron.daily debian/slrnpull.cron.daily
--- debian.old/slrnpull.cron.daily
+++ debian/slrnpull.cron.daily
@@ -11,10 +11,10 @@
 
 cd /var/spool/slrnpull
 
-# Perform expiration, even if we arn't fetching articles right now.
-su news -c slrnpull -- --expire >/dev/null
+# Perform expiration, even if we aren't fetching articles right now.
+su news -c 'slrnpull --expire >/dev/null'
 
 if  [ "$RUNFROM" = "cron job" ] ; then
 	# Get new articles.
-	su news -c slrnpull -- -h `head -n 1 /etc/news/server` >/dev/null
+	su news -c 'slrnpull -h `head -n 1 /etc/news/server` >/dev/null'
 fi
diff -ur debian.old/slrnpull.ip-up debian/slrnpull.ip-up
--- debian.old/slrnpull.ip-up
+++ debian/slrnpull.ip-up
@@ -15,5 +15,5 @@
 
 if [ "$RUNFROM" = "ip-up" ] ; then
 	# Get new articles.
-	su news -c slrnpull -- -h `head -n 1 /etc/news/server` & >/dev/null
+	su news -c 'slrnpull -h `head -n 1 /etc/news/server` & >/dev/null'
 fi
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages slrnpull depends on:
ii  debconf [debconf-2.0]         1.5.1      Debian configuration management sy
ii  libc6                         2.3.6-13   GNU C Library: Shared libraries
ii  libcanlock2                   2b-4       library for creating and verifying
ii  libgnutls13                   1.3.5-1.1  the GNU TLS library - runtime libr
ii  libslang2                     2.0.6-2    The S-Lang programming library - r

slrnpull recommends no packages.

-- debconf information:
  slrnpull/run_manual:
* shared/news/server: nntp.aioe.org
* slrnpull/run_from: ip-up

Reply via email to