From: Michael Orlitzky Date: Tue, 9 Aug 2016 03:59:46 +0000 (-0400) Subject: net-mail/postfix-logwatch: remove old v1.40.00. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d797fdf429db27d74f1cb53e3f438203cf4f397a;p=gentoo.git net-mail/postfix-logwatch: remove old v1.40.00. Package-Manager: portage-2.2.28 --- diff --git a/net-mail/postfix-logwatch/Manifest b/net-mail/postfix-logwatch/Manifest index 802d5e96841e..2eaa5118da26 100644 --- a/net-mail/postfix-logwatch/Manifest +++ b/net-mail/postfix-logwatch/Manifest @@ -1,2 +1 @@ -DIST postfix-logwatch-1.40.00.tgz 107441 SHA256 d72a9a91a6871606810485b342ca684a2e8724897b9c906cc27d3df7a15b2616 SHA512 c388cfefceeefcc19bc987865dbe0312ef0f470524ebd8af33abe639137cce699ad79f33b2b64168d2d572981372a9af58e60f6cdfbc661fc56ab64f1c19be03 WHIRLPOOL 027af839c2118eb4abb00c9417ecd4c612a8f6ed81d26461c6025df4effe644b9a809c57d90474f8d515326b3528f6b0311c7b9626fa655e158cfa4712d1abd8 DIST postfix-logwatch-1.40.03.tgz 107065 SHA256 c9aae87471554bb93c9d91bd2df3999ce3fae19f75ffd43fdee3f8552232c748 SHA512 7059f409cabb3cb638885342ab876e1c85c87530c3544bf04c54a56707695acdc5cbb706e3f192ef5608c9a00706e4d7be3cc7b32286460719d7b497e44b3341 WHIRLPOOL 3c8e556863a79ec55af5e1a19204ddbc2fb3ac60c1a8162239f465da2cda465983f705755be7750e58e0a196c680b1e880f5c6aed0157baf275f6443535104a4 diff --git a/net-mail/postfix-logwatch/metadata.xml b/net-mail/postfix-logwatch/metadata.xml index 426d9f5e7717..c2f0518836b4 100644 --- a/net-mail/postfix-logwatch/metadata.xml +++ b/net-mail/postfix-logwatch/metadata.xml @@ -4,11 +4,6 @@ mjo@gentoo.org - - - Install filters for use with sys-apps/logwatch. - - logreporters diff --git a/net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild b/net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild deleted file mode 100644 index ac84ab33ffa6..000000000000 --- a/net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -DESCRIPTION="A log analyzer for postfix" -HOMEPAGE="http://logreporters.sourceforge.net/" -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 - logwatch? ( !>sys-apps/logwatch-7.4.0 )" - -src_prepare() { - # Replace the default config file location with ours. - local cfg_default='/usr/local/etc/${progname_prefix}-logwatch.conf' - local cfg_gentoo='/etc/${progname_prefix}-logwatch.conf'; - sed -i "s~${cfg_default}~${cfg_gentoo}~" ${PN} \ - || die 'failed to update the default config location' -} - -src_compile() { - # The default make target just outputs instructions. We don't want - # the user to see these, so we avoid the default emake. - : -} - -src_install() { - # There are two different "versions" of the package in the - # tarball: a standalone executable and a logwatch filter. The - # standalone is always installed. However, the logwatch filter is - # only installed with USE="logwatch". - dodoc Bugs Changes README ${PN}.conf-topn - doman ${PN}.1 - dobin ${PN} - insinto /etc - doins ${PN}.conf - - if use logwatch; then - # Remove the taint mode (-T) switch from the header of the - # standalone executable, and save the result as our logwatch - # filter. - # - # We don't do this for the standalone script because it's nice - # 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' - - insinto /etc/logwatch/scripts/services - doins postfix - - insinto /etc/logwatch/conf/services - newins ${PN}.conf postfix.conf - fi -}