summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-22 22:48:54 +0000
committerSam James <sam@gentoo.org>2021-03-23 04:48:51 +0000
commit95a8d2b44e18869e155778ed1fd519ea2817ac78 (patch)
treed5cdd1e23ee3b5ba51c8f4ab065acec60acebcec
parentdev-util/git-delta: tiny cosmetic change (diff)
downloadgentoo-95a8d2b44e18869e155778ed1fd519ea2817ac78.tar.gz
gentoo-95a8d2b44e18869e155778ed1fd519ea2817ac78.tar.bz2
gentoo-95a8d2b44e18869e155778ed1fd519ea2817ac78.zip
mail-filter/postgrey: tiny cosmetic changes
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--mail-filter/postgrey/postgrey-1.37_p20190625-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail-filter/postgrey/postgrey-1.37_p20190625-r1.ebuild b/mail-filter/postgrey/postgrey-1.37_p20190625-r1.ebuild
index 6caabd8454a1..68f9cb0299aa 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
}