diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2021-08-06 11:07:57 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2021-08-06 11:15:13 -0400 |
commit | 5c9f3dcab8ba32e338ae1645fea5c3157e96d11d (patch) | |
tree | 244d6c847c4d61465655fe9e4b87e9687a54c079 /net-mail/amavis-logwatch | |
parent | www-apps/icingaweb2-module-graphite: 1.0.1 cleanup (diff) | |
download | gentoo-5c9f3dcab8ba32e338ae1645fea5c3157e96d11d.tar.gz gentoo-5c9f3dcab8ba32e338ae1645fea5c3157e96d11d.tar.bz2 gentoo-5c9f3dcab8ba32e338ae1645fea5c3157e96d11d.zip |
net-mail/amavis-logwatch: new version 1.51.04.
I've finally forked this upstream and have released a v1.51.04 that
incorporates all of the patches in $FILESDIR, along with an additional
fix for the next release of amavis. New EAPI, minor ebuild cleanup, et
cetera.
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'net-mail/amavis-logwatch')
-rw-r--r-- | net-mail/amavis-logwatch/Manifest | 1 | ||||
-rw-r--r-- | net-mail/amavis-logwatch/amavis-logwatch-1.51.04.ebuild | 37 | ||||
-rw-r--r-- | net-mail/amavis-logwatch/metadata.xml | 9 |
3 files changed, 41 insertions, 6 deletions
diff --git a/net-mail/amavis-logwatch/Manifest b/net-mail/amavis-logwatch/Manifest index 54b79b324ee2..44094c53ca96 100644 --- a/net-mail/amavis-logwatch/Manifest +++ b/net-mail/amavis-logwatch/Manifest @@ -1 +1,2 @@ DIST amavis-logwatch-1.51.03.tgz 87304 BLAKE2B 08b49d6f67e406edee062659c6de0a2c5823286bc24db35030c2b63bc3f0a06617eecdcf0da7f1f66d8eda8f9743254aa752ada82a9963bfac76a1a467503344 SHA512 27338abf676f05ec77e3ffb65a1f9ab5274bf8de3ab65fa29d4584ed6fdeedcb85e9e95b124549afdc3fc47780540c1790fa8b273ee296fbd44378d4da450db5 +DIST amavis-logwatch-1.51.04.tar.xz 66036 BLAKE2B da2ae91db65586497e5e5bf53b94f8eab84f26ebbad26f563d14ff11960d5c3bd2e046f0a056c28c53c5ce40c6193a812abb4f93db5d7a18747c40444b954d3f SHA512 aec2f6ccc1af7744364e734e2893adc68e034bfab8c9f96bd32e74c6c947c1b39faef2d442d32e50f2578fbc4687dfd2b339856624330aef64ae6cf4e408456f diff --git a/net-mail/amavis-logwatch/amavis-logwatch-1.51.04.ebuild b/net-mail/amavis-logwatch/amavis-logwatch-1.51.04.ebuild new file mode 100644 index 000000000000..3369b162db4f --- /dev/null +++ b/net-mail/amavis-logwatch/amavis-logwatch-1.51.04.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A log analyzer for amavisd-new" +HOMEPAGE="http://michael.orlitzky.com/code/amavis-logwatch.xhtml" +SRC_URI="http://michael.orlitzky.com/code/releases/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/perl" + +src_prepare() { + default + # 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() { + dodoc Bugs Changes README + doman ${PN}.1 + dobin ${PN} + insinto /etc + doins ${PN}.conf +} diff --git a/net-mail/amavis-logwatch/metadata.xml b/net-mail/amavis-logwatch/metadata.xml index 04df72792f2a..a0128bcd9ef0 100644 --- a/net-mail/amavis-logwatch/metadata.xml +++ b/net-mail/amavis-logwatch/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>mjo@gentoo.org</email> - </maintainer> - <upstream> - <remote-id type="sourceforge">logreporters</remote-id> - </upstream> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> </pkgmetadata> |