From b0a7bd8f59c9689b74b897cf7c6f421715255e49 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 18 Dec 2013 23:28:47 -0500 Subject: [PATCH] Remove postfix-logwatch, preparing to commit to portage. --- net-mail/postfix-logwatch/Manifest | 3 - net-mail/postfix-logwatch/metadata.xml | 10 --- .../postfix-logwatch-1.40.00.ebuild | 64 ------------------- 3 files changed, 77 deletions(-) delete mode 100644 net-mail/postfix-logwatch/Manifest delete mode 100644 net-mail/postfix-logwatch/metadata.xml delete mode 100644 net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild diff --git a/net-mail/postfix-logwatch/Manifest b/net-mail/postfix-logwatch/Manifest deleted file mode 100644 index 57fb1a3..0000000 --- a/net-mail/postfix-logwatch/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST postfix-logwatch-1.40.00.tgz 107441 SHA256 d72a9a91a6871606810485b342ca684a2e8724897b9c906cc27d3df7a15b2616 SHA512 c388cfefceeefcc19bc987865dbe0312ef0f470524ebd8af33abe639137cce699ad79f33b2b64168d2d572981372a9af58e60f6cdfbc661fc56ab64f1c19be03 WHIRLPOOL 027af839c2118eb4abb00c9417ecd4c612a8f6ed81d26461c6025df4effe644b9a809c57d90474f8d515326b3528f6b0311c7b9626fa655e158cfa4712d1abd8 -EBUILD postfix-logwatch-1.40.00.ebuild 1822 SHA256 4f744abd1dc01d111daf4da0d2f52e523ba449fe1c9c33eff5653289c8b7c97d SHA512 6b2a12ebee73598b4037d2a01ab407f3ce51ae1b402a9eea0cd6878412c0328ee3b7ead44564892fb952298641def79ad38bc25574d6e3604e2e977c9063794e WHIRLPOOL d9f6db30c6abf4ef59307e6a27323b2c1315f21c2ced59ac485200506d21cefb7b5916f4eaddfad7f18a7a401cc1337040be53711c4533dc46e2fb3adcf662f8 -MISC metadata.xml 305 SHA256 d26b2b1ced185340a913e1e12a211c68edc8f5e563e7db2724637955147a791f SHA512 5dfdc3bc4e8be9ffb3695b59ea6ef330ef185185a9737d79fd2c067a2cf861dfc10b24a4b712774bdb240ac28ac4ef591d683d8c1e30a887b3476d5947105b97 WHIRLPOOL 4c6896d05e15a6f64d53d3cd8353c3df88ce9c8dd294fee0510fea71743783ec7958df2519eb4a209d31a50bb3b63e95ec91d509419fe05c69239b65335ef7f7 diff --git a/net-mail/postfix-logwatch/metadata.xml b/net-mail/postfix-logwatch/metadata.xml deleted file mode 100644 index 67039ac..0000000 --- a/net-mail/postfix-logwatch/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -mjo@gentoo.org - - - Install filters for use with sys-apps/logwatch. - - - 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 c800b65..0000000 --- a/net-mail/postfix-logwatch/postfix-logwatch-1.40.00.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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 -} -- 2.43.2