diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2013-12-03 13:28:33 +0000 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2013-12-03 13:28:33 +0000 |
commit | e7da08078ade23f0076e4b87834f18bae23965c3 (patch) | |
tree | ef6b240976bca12e2eebcf078556fa1a1af6a9e7 /net-mail/postfix-logwatch | |
parent | New package: net-mail/postfix-logwatch, a log analyzer for postfix. Fixes bug... (diff) | |
download | historical-e7da08078ade23f0076e4b87834f18bae23965c3.tar.gz historical-e7da08078ade23f0076e4b87834f18bae23965c3.tar.bz2 historical-e7da08078ade23f0076e4b87834f18bae23965c3.zip |
New package: net-mail/postfix-logwatch, a log analyzer for postfix. Fixes bug #309075.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'net-mail/postfix-logwatch')
-rw-r--r-- | net-mail/postfix-logwatch/Manifest | 3 | ||||
-rw-r--r-- | net-mail/postfix-logwatch/metadata.xml | 10 | ||||
-rw-r--r-- | net-mail/postfix-logwatch/postfix-logwatch-1.39.07.ebuild | 48 |
3 files changed, 60 insertions, 1 deletions
diff --git a/net-mail/postfix-logwatch/Manifest b/net-mail/postfix-logwatch/Manifest index f4bec91655f2..6dc6996a264f 100644 --- a/net-mail/postfix-logwatch/Manifest +++ b/net-mail/postfix-logwatch/Manifest @@ -1,3 +1,4 @@ DIST postfix-logwatch-1.39.07.tgz 114032 SHA256 85d53a8748e0210e1890cf1558c03b1fb27935f2b3a1fc056718d5a3abbe6b12 SHA512 9fd4451e35af5b73c9a26eed6263490a70b31cf4ec65e5f1e7c5070166388e4ef91cb418bee3454a1efef9313a918d491a1a923112c215119cfe2d95d6b81a68 WHIRLPOOL 968e3a57e1dab9575d200424f99a008dd1768098ab6aac88bd26f976b4afb24419311d3a0ebd7d0601a44e0c65b33fa98f41e620914be81397957df21d3b46f3 -EBUILD postfix-logwatch-1.39.07.ebuild 1265 SHA256 9c117a192d2046eef697b169957ab26e7a6523150984c13f4b07bfc5a6a3d153 SHA512 dabe3b089f8151c81721de5a7eb85dd6733bd00be71c14fdfc5777cd99319c1a4996d3eb8f8d3fac9d6ecf6b412d84ab62ccfc86a216ffe1adce6f4dd0682ad9 WHIRLPOOL 1d58ad7f06f7c9e54d0bcd87a8fd919fc2cffa8ec894477fd7047b8e5ae2cbf0761292114475c18cb7959ca28bc77b5003c580e224dedb1c440b534dba7dc40f +EBUILD postfix-logwatch-1.39.07.ebuild 1381 SHA256 87fdc9987946b7a24bd254bb2e966013c39d709a668ac6918c5d8b6a84e65968 SHA512 5c1779801a99a91f393b45c1a467c88bda1f0fe498023d5f565a2eb383a95da704b49447e701c0b73b3372be83e5e3434ed16a1909a0a4f423b733b2bd86f643 WHIRLPOOL 558121e81b959e564208eb16c937dc4c96babb7a9870cbcb56f264123dfd62aff64dd4cf6ac3dbfbacfc74a9d4936863b0bd492ee6812b2419d63c787ec43c9a +MISC ChangeLog 436 SHA256 1796a6c0dfc1d1bf1faba352420e2e93c66e397a7686d45a21aac5e4355663df SHA512 c990bef9b56c1eb560ada0e3dfdb9e2bc9a38868c93101c48c2ed55bbbe7733f2eff0b8a53232f63ae8a7ba5a67c184f3048765a0952b717895297fa86f8db1d WHIRLPOOL 7700daa1e69d670ed565b84763bd84165e1add860a3a6cad6b73aba04f5f48f21ceaecbc3f50aae19c0d10f4455370c66938e0f79005f0fe6faecede8dea7904 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 new file mode 100644 index 000000000000..67039ac9c764 --- /dev/null +++ b/net-mail/postfix-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> diff --git a/net-mail/postfix-logwatch/postfix-logwatch-1.39.07.ebuild b/net-mail/postfix-logwatch/postfix-logwatch-1.39.07.ebuild new file mode 100644 index 000000000000..ab85c5b2bb9b --- /dev/null +++ b/net-mail/postfix-logwatch/postfix-logwatch-1.39.07.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/postfix-logwatch/postfix-logwatch-1.39.07.ebuild,v 1.1 2013/12/03 13:28:25 mjo Exp $ + +EAPI=5 + +DESCRIPTION="A log analyzer for postfix" +HOMEPAGE="http://logreporters.sourceforge.net/" +SRC_URI="mirror://sourceforge/logreporters/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="logwatch" + +RDEPEND="dev-lang/perl" + +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. + 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 +} |