public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-mail/fetchmail/files: fetchmail.new
@ 2009-02-20  4:26 Jeremy Olexa (darkside)
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Olexa (darkside) @ 2009-02-20  4:26 UTC (permalink / raw
  To: gentoo-commits

darkside    09/02/20 04:26:16

  Added:                fetchmail.new
  Log:
  (non maintainer commit) don't run fetchmail as root - create new fetchmail user instead, long standing bug in Gentoo. Fixed by Brian Verkley in bug 124387
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-mail/fetchmail/files/fetchmail.new

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/files/fetchmail.new?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/fetchmail/files/fetchmail.new?rev=1.1&content-type=text/plain

Index: fetchmail.new
===================================================================
#!/sbin/runscript

pidfile=/var/run/fetchmail/fetchmail.pid

depend() {
	need net
	use mta
}

checkconfig() {
        if [ ! -f /etc/fetchmailrc ]; then
                eerror "Configuration file /etc/fetchmailrc not found"
                return 1
        fi
}

start() {
        checkconfig || return 1

        ebegin "Starting fetchmail"
        start-stop-daemon --start --quiet \
		--chuid fetchmail --exec /usr/bin/fetchmail \
		-- -d ${polling_period} -f /etc/fetchmailrc \
		--pidfile ${pidfile} -i /var/lib/fetchmail/.fetchids
        eend ${?}
}

stop() {
        ebegin "Stopping fetchmail"
        start-stop-daemon --stop --quiet --pidfile ${pidfile}
        eend ${?}
}







^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-mail/fetchmail/files: fetchmail.new
@ 2011-08-05  7:13 Eray Aslan (eras)
  0 siblings, 0 replies; 2+ messages in thread
From: Eray Aslan (eras) @ 2011-08-05  7:13 UTC (permalink / raw
  To: gentoo-commits

eras        11/08/05 07:13:36

  Modified:             fetchmail.new
  Log:
  fix deprecated chuid option in init script - bug #377777
  
  (Portage version: 2.1.10.9/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  net-mail/fetchmail/files/fetchmail.new

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/files/fetchmail.new?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/files/fetchmail.new?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/fetchmail/files/fetchmail.new?r1=1.1&r2=1.2

Index: fetchmail.new
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-mail/fetchmail/files/fetchmail.new,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fetchmail.new	20 Feb 2009 04:26:16 -0000	1.1
+++ fetchmail.new	5 Aug 2011 07:13:35 -0000	1.2
@@ -19,7 +19,7 @@
 
         ebegin "Starting fetchmail"
         start-stop-daemon --start --quiet \
-		--chuid fetchmail --exec /usr/bin/fetchmail \
+		--user fetchmail --exec /usr/bin/fetchmail \
 		-- -d ${polling_period} -f /etc/fetchmailrc \
 		--pidfile ${pidfile} -i /var/lib/fetchmail/.fetchids
         eend ${?}






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-05  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05  7:13 [gentoo-commits] gentoo-x86 commit in net-mail/fetchmail/files: fetchmail.new Eray Aslan (eras)
  -- strict thread matches above, loose matches on Subject: below --
2009-02-20  4:26 Jeremy Olexa (darkside)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox