Hi! i emerged fetchmail now, and noticed that there was no rc-script placed in /etc/init.d/ - so i found a generic rc-script that i placed there, that works fine - although the colors/messages doesnt match the Gentoo standard, it works. here is the script: ----start---- #!/bin/sh # # To start fetchmail as a system service, copy this file to # /etc/init.d/fetchmail and run "update-rc.d fetchmail # defaults". A fetchmailrc file containg hosts and # passwords for all local users should be placed in /root # and should contain a line of the form "set daemon <nnn>". # # To remove the service, delete /etc/init.d/fetchmail and run # "update-rc.d fetchmail remove". DAEMON=/usr/bin/fetchmail set -e test -f $DAEMON || exit 0 case "$1" in start) echo -n "Starting mail retrieval agent: " if start-stop-daemon --start --quiet --exec $DAEMON; then echo "fetchmail." else echo "fetchmail already running."; fi ;; stop) echo -n "Stopping mail retrieval agent: " start-stop-daemon --stop --quiet --exec $DAEMON echo "fetchmail." ;; force-reload|restart) echo -n "Restarting mail retrieval agent: " start-stop-daemon --stop --quiet --exec $DAEMON start-stop-daemon --start --quiet --exec $DAEMON echo "fetchmail." ;; *) echo "Usage: /etc/init.d/fetchmail {start|stop|restart}" exit 1 ;; esac exit 0 ----end---- i found it here: http://muse.linuxmafia.org/lost+found/fetchmail-init --- bidz @ efnet/openprojects url: www.bidz.org email: bidz@bidz.org PGP key: http://jilted.org/files/public-pgp
Someone forgot to edit the ChangeLog for the most recent ebuild of fetchmail as well. We also need SLOT and LICENSE in there
In this message in the mailing archive there is a init.d script that is gentoo complaint. http://fireserver.ath.cx/gentoo/msg23696.html Maybe it could be changed to use /etc/conf.d/fetchmail instead of /etc/fetchmailrc but I think a change to fetchmailconf would also be needed.But I'm really not sure.
fixed in 5.9.11-r1 please test :-)