OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Torsten Homeyer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 29-Dec-2007 16:18:24
Branch: HEAD Handle: 2007122915182400
Modified files:
openpkg-src/fetchmail fetchmail.spec rc.fetchmail
Log:
unfortunately the PID file contains two lines and only the first
contains the real PID and we don't want to kill some random process
IDs since we are run as root here
Summary:
Revision Changes Path
1.90 +1 -1 openpkg-src/fetchmail/fetchmail.spec
1.8 +1 -1 openpkg-src/fetchmail/rc.fetchmail
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/fetchmail/fetchmail.spec
============================================================================
$ cvs diff -u -r1.89 -r1.90 fetchmail.spec
--- openpkg-src/fetchmail/fetchmail.spec 5 Dec 2007 09:29:54 -0000
1.89
+++ openpkg-src/fetchmail/fetchmail.spec 29 Dec 2007 15:18:24 -0000
1.90
@@ -33,7 +33,7 @@
Group: Mail
License: GPL
Version: 6.3.8
-Release: 20071205
+Release: 20071229
# package options
%option with_conf no
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/fetchmail/rc.fetchmail
============================================================================
$ cvs diff -u -r1.7 -r1.8 rc.fetchmail
--- openpkg-src/fetchmail/rc.fetchmail 5 Dec 2007 13:16:21 -0000
1.7
+++ openpkg-src/fetchmail/rc.fetchmail 29 Dec 2007 15:18:24 -0000
1.8
@@ -19,7 +19,7 @@
fetchmail_logfile="@l_prefix@/var/fetchmail/fetchmail.log"
fetchmail_pidfile="@l_prefix@/var/fetchmail/fetchmail.pid"
fetchmail_signal () {
- [ -f $fetchmail_pidfile ] && kill -$1 `cat $fetchmail_pidfile`
+ [ -f $fetchmail_pidfile ] && kill -$1 `head -1 $fetchmail_pidfile`
}
fetchmail_reconfigure () {
umask 077
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]