mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-analyzer/fwlogwatch: drop 1.4
Bug: https://bugs.gentoo.org/776529 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST fwlogwatch-1.4.tar.bz2 92652 BLAKE2B 94c5ecd6e17c3ce07ffaa33f738109162913253b837bcc4c4fc79068edb610c046b3a178db5481c3e145482686f3f837ecd2fc579700b4a5a68bbaae47f9e537 SHA512 0a67c0ae8b096fdf7a06e279a11b0bc71f2d514790c1669f60606b17a7f3f3ec97dedc2005438ce0ec82efcd66a822b62dbb36603f4b02e010f469fb885b87e6
|
||||
DIST fwlogwatch-1.5.tar.bz2 94451 BLAKE2B c0456931dc425df4ec190f1c8bcba21e0784009dae66869a5f5c0371b68d0bdb1bf57c788468f7c9fd32abf8b676a4029bcde7d348c37e4b7f5771bc48f04297 SHA512 d4890596859929ddc6adfd7f9e735e0c414bad40eff6732120a522a8bd4fb8d1442c7d1026f0f3c6ac5c4d51b76a2bac486d04f0fbceae67395c585098afef85
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A packet filter and firewall log analyzer"
|
||||
HOMEPAGE="http://fwlogwatch.inside-security.de/"
|
||||
SRC_URI="http://fwlogwatch.inside-security.de/sw/${P}.tar.bz2"
|
||||
|
||||
KEYWORDS="amd64 ~ppc sparc x86"
|
||||
LICENSE="GPL-1"
|
||||
SLOT="0"
|
||||
IUSE="nls zlib"
|
||||
|
||||
RDEPEND="
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/flex
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if use nls; then
|
||||
strip-linguas -i po/
|
||||
local lingua pofile
|
||||
for pofile in po/*.po; do
|
||||
lingua=${pofile/po\/}
|
||||
lingua=${lingua/.po}
|
||||
if ! has ${lingua} ${LINGUAS}; then
|
||||
sed -i \
|
||||
-e "/${lingua}.[mp]o/d" \
|
||||
Makefile po/Makefile || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e '/^INSTALL_/s|$| -D|g' \
|
||||
-e 's|make|$(MAKE)|g ' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! use zlib; then
|
||||
sed -i Makefile -e '/^LIBS/ s|-lz||g' || die
|
||||
else
|
||||
append-cflags -DHAVE_ZLIB
|
||||
fi
|
||||
|
||||
use nls && append-cflags -DHAVE_GETTEXT
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC=$(tc-getCC) \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
use nls && emake -C po
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
LOCALE_DIR="${D}/usr" INSTALL_DIR="${D}/usr" \
|
||||
install
|
||||
use nls && emake \
|
||||
LOCALE_DIR="${D}/usr" INSTALL_DIR="${D}/usr" \
|
||||
install-i18n
|
||||
|
||||
dosbin contrib/fwlw_notify
|
||||
dosbin contrib/fwlw_respond
|
||||
|
||||
dodoc AUTHORS ChangeLog CREDITS README
|
||||
|
||||
insinto /usr/share/fwlogwatch/contrib
|
||||
|
||||
doins contrib/fwlogsummary.cgi
|
||||
doins contrib/fwlogsummary_small.cgi
|
||||
doins contrib/fwlogwatch.php
|
||||
|
||||
insinto /etc
|
||||
doins fwlogwatch.config
|
||||
}
|
||||
Reference in New Issue
Block a user