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: 24-Nov-2006 13:50:35
Branch: HEAD Handle: 2006112412503400
Modified files:
openpkg-src/fetchmail fetchmail.spec rc.fetchmail
Log:
BugFix: we have to tell it where to put the PID file; --quit just
starts a new daemon which first kills the old one, which is not the
desired behavior, so use kill instead. Please port to stable.
Summary:
Revision Changes Path
1.78 +1 -1 openpkg-src/fetchmail/fetchmail.spec
1.4 +3 -2 openpkg-src/fetchmail/rc.fetchmail
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/fetchmail/fetchmail.spec
============================================================================
$ cvs diff -u -r1.77 -r1.78 fetchmail.spec
--- openpkg-src/fetchmail/fetchmail.spec 13 Oct 2006 17:27:59 -0000
1.77
+++ openpkg-src/fetchmail/fetchmail.spec 24 Nov 2006 12:50:34 -0000
1.78
@@ -33,7 +33,7 @@
Group: Mail
License: GPL
Version: 6.3.5
-Release: 20061013
+Release: 20061124
# package options
%option with_conf no
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/fetchmail/rc.fetchmail
============================================================================
$ cvs diff -u -r1.3 -r1.4 rc.fetchmail
--- openpkg-src/fetchmail/rc.fetchmail 25 Aug 2006 19:16:25 -0000
1.3
+++ openpkg-src/fetchmail/rc.fetchmail 24 Nov 2006 12:50:34 -0000
1.4
@@ -37,13 +37,14 @@
rcService fetchmail active yes && exit 0
rcVarIsYes fetchmail_daemon || exit 0
rc fetchmail quarterly
- @l_prefix@/bin/fetchmail -f ${fetchmail_rc} -L ${fetchmail_log_file}
+ @l_prefix@/bin/fetchmail -f ${fetchmail_rc} -L ${fetchmail_log_file} \
+ --pidfile ${fetchmail_pidfile}
%stop -p 800 -u @l_susr@
rcService fetchmail enable yes || exit 0
rcService fetchmail active no && exit 0
rcVarIsYes fetchmail_daemon || exit 0
- @l_prefix@/bin/fetchmail --quit
+ fetchmail_signal 15
rm -f ${fetchmail_pidfile} 2>/dev/null || true
%restart -p 200 -u @l_susr@
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]