mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
Closes: https://bugs.gentoo.org/955112 Signed-off-by: Vladislav Mikhailikov <vmikhailikov@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42750 Closes: https://github.com/gentoo/gentoo/pull/42750 Signed-off-by: Sam James <sam@gentoo.org>
56 lines
1.1 KiB
Bash
56 lines
1.1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs autotools
|
|
|
|
DESCRIPTION="A daemon which logs TCP/UDP/ICMP packets"
|
|
HOMEPAGE="http://pltplp.net/ippl/"
|
|
SRC_URI="http://pltplp.net/ippl/archive/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
|
|
BDEPEND="
|
|
app-alternatives/yacc
|
|
app-alternatives/lex"
|
|
RDEPEND="acct-user/ippl"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-1.4.14-noportresolve.patch
|
|
"${FILESDIR}"/${PN}-1.4.14-manpage.patch
|
|
"${FILESDIR}"/${PN}-1.4.14-privilege-drop.patch
|
|
"${FILESDIR}"/${PN}-1.4.14-includes.patch
|
|
"${FILESDIR}"/${PN}-1.4.14-format-warnings.patch
|
|
# bug #351287
|
|
"${FILESDIR}"/${PN}-1.4.14-fix-build-system.patch
|
|
"${FILESDIR}"/${PN}-1.4.14-musl.patch
|
|
"${FILESDIR}"/${PN}-1.4.14-lto.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
# bug #875665
|
|
mv configure.in configure.ac || die
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
tc-export CC
|
|
default
|
|
}
|
|
|
|
src_install() {
|
|
dosbin Source/ippl
|
|
|
|
insinto /etc
|
|
doins ippl.conf
|
|
|
|
doman Docs/{ippl.8,ippl.conf.5}
|
|
dodoc BUGS CREDITS HISTORY README TODO
|
|
|
|
newinitd "${FILESDIR}"/ippl.rc ippl
|
|
}
|