commit: 95a8d2b44e18869e155778ed1fd519ea2817ac78
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 22 22:48:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 23 04:48:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95a8d2b4
mail-filter/postgrey: tiny cosmetic changes
Signed-off-by: Sam James <sam <AT> gentoo.org>
mail-filter/postgrey/postgrey-1.37_p20190625-r1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/mail-filter/postgrey/postgrey-1.37_p20190625-r1.ebuild
b/mail-filter/postgrey/postgrey-1.37_p20190625-r1.ebuild
index 6caabd8454a..68f9cb0299a 100644
--- a/mail-filter/postgrey/postgrey-1.37_p20190625-r1.ebuild
+++ b/mail-filter/postgrey/postgrey-1.37_p20190625-r1.ebuild
@@ -19,6 +19,7 @@ DEPEND="
acct-group/postgrey
acct-user/postgrey
"
+# TODO: Use db.eclass?
RDEPEND="
${DEPEND}
>=dev-lang/perl-5.6.0
@@ -35,7 +36,8 @@ RDEPEND="
src_prepare() {
default
- # bug 479400
+
+ # bug #479400
sed -i 's@#!/usr/bin/perl -T -w@#!/usr/bin/perl -w@' postgrey || die
"sed failed"
sed -i -e '/git/d' Makefile || die
}
@@ -66,7 +68,9 @@ src_install() {
# init.d + conf.d files
insopts -o root -g root -m 755
newinitd "${FILESDIR}"/${PN}-1.34-r3.rc.new ${PN}
+
insopts -o root -g root -m 640
newconfd "${FILESDIR}"/${PN}.conf.new ${PN}
+
systemd_dounit "${FILESDIR}"/postgrey.service
}