Lines 61-67
Link Here
|
61 |
|
61 |
|
62 |
sed -i -e "s:nobody:dbmail:" dbmail.conf |
62 |
sed -i -e "s:nobody:dbmail:" dbmail.conf |
63 |
sed -i -e "s:nogroup:dbmail:" dbmail.conf |
63 |
sed -i -e "s:nogroup:dbmail:" dbmail.conf |
64 |
sed -i -e "s:/var/run:/var/run/dbmail:" dbmail.conf |
64 |
sed -i -e "s:/var/run:/run/dbmail:" dbmail.conf |
65 |
#sed -i -e "s:#library_directory:library_directory:" dbmail.conf |
65 |
#sed -i -e "s:#library_directory:library_directory:" dbmail.conf |
66 |
|
66 |
|
67 |
insinto /etc/dbmail |
67 |
insinto /etc/dbmail |
Lines 70-76
Link Here
|
70 |
# change config path to our default and use the conf.d and init.d files from the contrib dir |
70 |
# change config path to our default and use the conf.d and init.d files from the contrib dir |
71 |
sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail |
71 |
sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail |
72 |
#sed -i -e "s:exit 0:return 1:" contrib/startup-scripts/gentoo/init.d-dbmail |
72 |
#sed -i -e "s:exit 0:return 1:" contrib/startup-scripts/gentoo/init.d-dbmail |
73 |
#sed -i -e "s:/var/run:/var/run/dbmail:" contrib/startup-scripts/gentoo/init.d-dbmail |
73 |
#sed -i -e "s:/var/run:/run/dbmail:" contrib/startup-scripts/gentoo/init.d-dbmail |
74 |
#newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail |
74 |
#newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail |
75 |
#newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail |
75 |
#newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail |
76 |
# use custom init scripts until updated in upstream contrib |
76 |
# use custom init scripts until updated in upstream contrib |
Lines 92-100
Link Here
|
92 |
keepdir /var/lib/dbmail |
92 |
keepdir /var/lib/dbmail |
93 |
fperms 750 /var/lib/dbmail |
93 |
fperms 750 /var/lib/dbmail |
94 |
fowners dbmail:dbmail /var/lib/dbmail |
94 |
fowners dbmail:dbmail /var/lib/dbmail |
95 |
# create this through init-scripts instead of at installt ime (bug #455002) |
95 |
# create this through init-scripts instead of at install time (bug #455002) |
96 |
#keepdir /var/run/dbmail |
96 |
#keepdir /run/dbmail |
97 |
#fowners dbmail:dbmail /var/run/dbmail |
97 |
#fowners dbmail:dbmail /run/dbmail |
98 |
} |
98 |
} |
99 |
|
99 |
|
100 |
pkg_postinst() { |
100 |
pkg_postinst() { |
Lines 124-130
Link Here
|
124 |
elog "and delete /etc/init.d/dbmail-* when you are done. (don't" |
124 |
elog "and delete /etc/init.d/dbmail-* when you are done. (don't" |
125 |
elog "forget to rc-update del dbmail-* first)" |
125 |
elog "forget to rc-update del dbmail-* first)" |
126 |
echo |
126 |
echo |
127 |
elog "Changed pid directory to /var/run/dbmail (see" |
127 |
elog "Changed pid directory to /run/dbmail (see" |
128 |
elog "http://www.dbmail.org/mantis/view.php?id=949 for details)" |
128 |
elog "http://www.dbmail.org/mantis/view.php?id=949 for details)" |
129 |
echo |
129 |
echo |
130 |
ewarn "The database config has changed to support libzdb db URI" |
130 |
ewarn "The database config has changed to support libzdb db URI" |