+++ /dev/null
-DIST amavis-logwatch-1.51.02.tgz 86314 SHA256 bdbb1c59d4ba08c1d8f2ff4a340d55f1063b4b7044158259cd7fc50cbde8b0fc SHA512 af1153dab6d01b47cd625358dead1ca3cd7b71aca00b43f65a822140b1dfdc9f5bb99d23a5908544f3ccd850a32e0d5600c87d1101b747ddf6600c67cae9019c WHIRLPOOL 2117bf9cc790a2c6bddf587b88f3275fb3f1204f6ec99db94228516becff639c8e720e8204773e4240f055a24cfbe7e9128c067bc52214a4b81ec368b760726e
-EBUILD amavis-logwatch-1.51.02.ebuild 1807 SHA256 3826931daad312cd9b6a5b761cfde8c472f8bcc49b2dc6a6bae0c42171f09985 SHA512 dc398cae38733ef46d259b11ec52a0449d9b4cc138e369f43dcd38954ae86ad0c048fdccad503f931b10a1e646fbd599144fa90cb200c1d810aa51a42c52d243 WHIRLPOOL 0415a9152395ffe63cf519cf26399ff4c610ea04458cb35768230daf66895e499e00348887447b541b1826b693578762b7423f947141102e3245eb3f25896273
-MISC metadata.xml 305 SHA256 d26b2b1ced185340a913e1e12a211c68edc8f5e563e7db2724637955147a791f SHA512 5dfdc3bc4e8be9ffb3695b59ea6ef330ef185185a9737d79fd2c067a2cf861dfc10b24a4b712774bdb240ac28ac4ef591d683d8c1e30a887b3476d5947105b97 WHIRLPOOL 4c6896d05e15a6f64d53d3cd8353c3df88ce9c8dd294fee0510fea71743783ec7958df2519eb4a209d31a50bb3b63e95ec91d509419fe05c69239b65335ef7f7
+++ /dev/null
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-DESCRIPTION="A log analyzer for amavisd-new"
-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
- 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} > amavis \
- || die 'failed to remove the perl taint switch'
-
- insinto /etc/logwatch/scripts/services
- doins amavis
-
- insinto /etc/logwatch/conf/services
- newins ${PN}.conf amavis.conf
- fi
-}