net-mail/postfix-logwatch: add 1.40.06

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky 2025-11-18 09:36:32 -05:00
parent 13376c75cd
commit 8b98c0d52f
No known key found for this signature in database
GPG Key ID: 6F48D3DA05C2DADB
2 changed files with 32 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST postfix-logwatch-1.40.05.tar.xz 79504 BLAKE2B 5d45a43ef2206b77092a90cd463a1718fada286fdd499df4416739aea7246c79b0670503585e7e057174ac715986767e3a72974d9790f33a2cd251221d883687 SHA512 15ba438701be110ce75c59bb6803cbb308bd53876428b01a457f42b3fb12e565c9b0c2d4559d71451475ec4986fccfc9f06854760035b4653c72508b968d5a0d
DIST postfix-logwatch-1.40.06.tar.xz 79408 BLAKE2B 8f166bd60a70d626628f3f5d96775bb7507f94e790025491bc7e05ec0583f87fa906dc5b8ce6b6ab75bf25ba61f325cf416a29eced46388fdf8d52b3c2d6f7dd SHA512 ea29a0242c3356578b70d898ea5d8be06cdbf8be14edf282437d6446cd261e760375fa28533c492003ac22fd60d68fe9947bae9a598576a72fbaaf7746a2f335

View File

@ -0,0 +1,31 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A log analyzer for postfix"
HOMEPAGE="https://michael.orlitzky.com/code/postfix-logwatch.xhtml"
SRC_URI="https://michael.orlitzky.com/code/releases/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~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_install() {
dodoc Bugs Changes README ${PN}.conf-topn
doman ${PN}.1
dobin ${PN}
insinto /etc
doins ${PN}.conf
}