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>
This commit is contained in:
Michael Orlitzky
2021-08-06 11:07:57 -04:00
parent 02b95799b8
commit 5c9f3dcab8
3 changed files with 41 additions and 6 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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>