Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44245 - courier-mta-0.45.1 and 0.45.2 init.d file change
Summary: courier-mta-0.45.1 and 0.45.2 init.d file change
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Scott Taylor (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-10 06:12 UTC by Scott Taylor (RETIRED)
Modified: 2004-04-01 12:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Taylor (RETIRED) gentoo-dev 2004-03-10 06:12:29 UTC
/etc/init.d/courier

line 121:
        case x$POP3DSTART in

should read:
        case x$POP3DSSLSTART in
Comment 1 Scott Taylor (RETIRED) gentoo-dev 2004-03-17 03:26:00 UTC
Same deal for 0.45.2's init file. Also I'd suggest changes in the depend
section. If courier was built with `use mysql` (or just for all cases),
then the "after mysqld" line should be there. The spamd/pyzor lines wouldn't
hurt but are redundant or specific to my setup. I do think it would be good for
all of our mail packages to have a consistent "provide mta" across the board, as
that will allow spam/virus daemons to load themselves first regardless of which
mailserver you are using.


Here's the diff (reversed since it was from etc-update)
--- /etc/init.d/courier	2004-03-10 07:02:40.000000000 -0700
+++ /etc/init.d/._cfg0000_courier	2004-03-17 02:41:36.000000000 -0700
@@ -1,5 +1,6 @@
 #!/sbin/runscript
 # Portions Copyright 2003 Gentoo Linux
+# $ Header: $
 #
 # script originally from Courier distfile original name = courier.sysvinit
 # adapted for Gentoo by Brian Jackson
@@ -15,10 +16,6 @@
 
 
 depend() {
-        provide mta
-        after spamd
-        after pyzor
-        after mysqld
 	need net
 }
 
@@ -118,7 +115,7 @@
 
 	# start pop3d-ssl if so written
 	[ -f ${sysconfdir}/pop3d-ssl ] && source ${sysconfdir}/pop3d-ssl
-	case x$POP3DSSLSTART in
+	case x$POP3DSTART in
 	x[yY]*)
 		ebegin " courier-pop3d-ssl"
 		${sbindir}/courier-pop3d-ssl start

Comment 2 Scott Taylor (RETIRED) gentoo-dev 2004-04-01 12:20:57 UTC
Fixed in CVS