X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=net-mail%2Fpostfix-logwatch%2Fpostfix-logwatch-1.40.00.ebuild;h=c800b65410c053d7674a8e2d99fa8014a6d5ae80;hb=7ab552d7f74ce3f70c396870a688bf40bdd6097e;hp=dfb853366556728c436035f602d8ad864ab57229;hpb=fdfae9a2d572a9e0e3491d603c3b7030748013d4;p=mjo-overlay.git diff --git a/net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild b/net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild index dfb8533..c800b65 100644 --- a/net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild +++ b/net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild @@ -11,9 +11,13 @@ SRC_URI="mirror://sourceforge/logreporters/${P}.tgz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" + +# >sys-apps/logwatch-7.4.0 ships our logwatch scripts and will +# thus obsolete this use flag. IUSE="logwatch" -RDEPEND="dev-lang/perl" +RDEPEND="dev-lang/perl + logwatch? ( !>sys-apps/logwatch-7.4.0 )" src_prepare() { # Replace the default config file location with ours. @@ -49,7 +53,7 @@ src_install() { # to have the taint flag when it works. # sed 's~^#!/usr/bin/perl -T$~#!/usr/bin/perl~' ${PN} > postfix \ - || die "failed to remove the perl taint switch" + || die 'failed to remove the perl taint switch' insinto /etc/logwatch/scripts/services doins postfix