diff options
author | 2013-12-20 00:31:42 +0000 | |
---|---|---|
committer | 2013-12-20 00:31:42 +0000 | |
commit | 35647670b082f97b6210395c41ea9c6a70db7bbb (patch) | |
tree | a1a267f924c6df3ae8c1b22258d4e22eea619ec9 /net-mail/amavis-logwatch | |
parent | New package: net-mail/amavis-logwatch, a log analyzer for amavisd-new. Fixes ... (diff) | |
download | historical-35647670b082f97b6210395c41ea9c6a70db7bbb.tar.gz historical-35647670b082f97b6210395c41ea9c6a70db7bbb.tar.bz2 historical-35647670b082f97b6210395c41ea9c6a70db7bbb.zip |
New package: net-mail/amavis-logwatch, a log analyzer for amavisd-new. Fixes bug #309077.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x6F48D3DA05C2DADB!
Diffstat (limited to 'net-mail/amavis-logwatch')
-rw-r--r-- | net-mail/amavis-logwatch/Manifest | 25 | ||||
-rw-r--r-- | net-mail/amavis-logwatch/amavis-logwatch-1.51.02.ebuild | 64 | ||||
-rw-r--r-- | net-mail/amavis-logwatch/metadata.xml | 10 |
3 files changed, 98 insertions, 1 deletions
diff --git a/net-mail/amavis-logwatch/Manifest b/net-mail/amavis-logwatch/Manifest index 17a35a068ca1..165522438c38 100644 --- a/net-mail/amavis-logwatch/Manifest +++ b/net-mail/amavis-logwatch/Manifest @@ -1,3 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + 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 +EBUILD amavis-logwatch-1.51.02.ebuild 1921 SHA256 c40412d7176131a647aebd7f00d91c7f40537a28b6db16e3f978498e10c38996 SHA512 27dbc139173b30c46b22ec5fe856a6038683e295ef50981d8a92bafbd2cea957816bbc964819be46bc5ed9da884a2577b32bab83b17a6c3d929d2822eb84bfba WHIRLPOOL d87fc88da11bc49fe5f359cc6d049fffc25df2d238746d5d122dfd6a4ecf99a4f27aab005eaee15d31bd69f94f12cbf1e6426033a77695f5c03fc621cfb4100d +MISC ChangeLog 451 SHA256 f1921b48563a8ba017d87dc55e0d910657c250618551a153772fa47d143442bc SHA512 98cf4e238e7420304d43acbeab2461b50725d9b01838a35f5cd44b7d56b7fe4e178c16473f76fe77a73ded1b7b1852c9ecd34e5421e70b795f236c9fea017266 WHIRLPOOL 06b8d6722e87523c8c6d5722af9495509c07fe2b38e4e78696d52efc929e3ce0eb38a0b8d7893d0bd09459bb7f78645903076b14c0dfacb43bda85364d96dee9 MISC metadata.xml 305 SHA256 d26b2b1ced185340a913e1e12a211c68edc8f5e563e7db2724637955147a791f SHA512 5dfdc3bc4e8be9ffb3695b59ea6ef330ef185185a9737d79fd2c067a2cf861dfc10b24a4b712774bdb240ac28ac4ef591d683d8c1e30a887b3476d5947105b97 WHIRLPOOL 4c6896d05e15a6f64d53d3cd8353c3df88ce9c8dd294fee0510fea71743783ec7958df2519eb4a209d31a50bb3b63e95ec91d509419fe05c69239b65335ef7f7 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQJ8BAEBCABmBQJSs4/nXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxNEU5RDcyRDdCMUFGREVGQzBCNDFDMUY2 +RjQ4RDNEQTA1QzJEQURCAAoJEG9I09oFwtrbf6kP/3dgM4xCFoPMX/+5pigLMMR9 +E37Ld2Ccj42gpuYlOzBLiO/fPH8mRCwsHNaHjBLWxv/FEUIWA5Ld9I1GP39AKUhy +k+WdkVFnMacIlFvCrWVy34hZKQ6hU/tp2hVTSAxvgIqON8FsaRSzlL2t3T582Lwl +GMcKcFu3bqILmqPkb7aIuar/9JckH76V/y6/JnZWTD77eSXI1bypF3U0U/0vEJTo ++T3aiiABliLjPx/e7IrnAa39j5uBh8DgkCSSotgQXEOtYY9P95WueL4BeyKW8xxc +TTUzv4xTYiNVnIDFSxuhdD7FavM2XcrxsLTi48PNWZLZ5+HtVFUNflqBddGFGAIi +yze3FnEGrjM5/M+4NARM0wbPNWgYD+z3rAX9BNMCKTavJb62Pg3ymFMR6F50Heb0 +q+v/9Ae/fbxwV5dUqxIlHuO6rcdHfS4Ns4xKkeXjRR7wI7hDhjvqXkvqtvMI0oJJ +60LpoSfhZ/YGupJrxfYciQegBAbtMxjsmlJpCGzpIkem89gTSfbZuvzxkfqf7v5l +96K112FDs3d4UGVkuzeuL9TD82iPnPvuZap0bFam4NSY69yE6rw407CnaxYlhtLT +iArGScrz03MipCsG+5tvR9tXRwI68+ccByrdw6ca6z02mPnBXZbzu5WrUEuzpNlU +Al4DqtELUvQlCY3NpVp0 +=1Nci +-----END PGP SIGNATURE----- diff --git a/net-mail/amavis-logwatch/amavis-logwatch-1.51.02.ebuild b/net-mail/amavis-logwatch/amavis-logwatch-1.51.02.ebuild new file mode 100644 index 000000000000..cfe3b22b034d --- /dev/null +++ b/net-mail/amavis-logwatch/amavis-logwatch-1.51.02.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/amavis-logwatch/amavis-logwatch-1.51.02.ebuild,v 1.1 2013/12/20 00:31:31 mjo Exp $ + +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 +} diff --git a/net-mail/amavis-logwatch/metadata.xml b/net-mail/amavis-logwatch/metadata.xml new file mode 100644 index 000000000000..67039ac9c764 --- /dev/null +++ b/net-mail/amavis-logwatch/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>mjo@gentoo.org</email></maintainer> +<use> + <flag name='logwatch'> + Install filters for use with <pkg>sys-apps/logwatch</pkg>. + </flag> +</use> +</pkgmetadata> |