mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Update done using: ``` git grep -l sys-libs/zlib net-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Followed by revert in net-misc/turbovnc. Signed-off-by: Michał Górny <mgorny@gentoo.org>
77 lines
1.6 KiB
Bash
77 lines
1.6 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools toolchain-funcs
|
|
|
|
DESCRIPTION="Clients for net-analyzer/argus"
|
|
HOMEPAGE="https://openargus.org/"
|
|
SRC_URI="https://github.com/openargus/clients/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}"/clients-${PV}
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
IUSE="debug ft geoip mysql sasl tcpd"
|
|
|
|
RDEPEND="
|
|
net-analyzer/rrdtool[perl]
|
|
net-libs/libpcap
|
|
net-libs/libtirpc:=
|
|
sys-libs/ncurses:=
|
|
sys-libs/readline:=
|
|
virtual/zlib
|
|
ft? ( net-analyzer/flow-tools )
|
|
geoip? ( dev-libs/geoip )
|
|
mysql? ( dev-db/mysql-connector-c:0= )
|
|
sasl? ( dev-libs/cyrus-sasl )
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
app-alternatives/yacc
|
|
app-alternatives/lex
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-3.0.4.1-disable-tcp-wrappers-automagic.patch
|
|
"${FILESDIR}"/${PN}-3.0.7.21-curses-readline.patch
|
|
"${FILESDIR}"/${PN}-3.0.8.2-ar.patch
|
|
"${FILESDIR}"/${PN}-3.0.8.2-curses-readline.patch
|
|
"${FILESDIR}"/${PN}-3.0.8.2-my_bool.patch
|
|
"${FILESDIR}"/${PN}-3.0.8.3-configure-clang16.patch
|
|
"${FILESDIR}"/${PN}-3.0.8.4-autoconf-2.70.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
tc-export AR RANLIB
|
|
|
|
use debug && touch .debug
|
|
econf \
|
|
$(use_with ft libft) \
|
|
$(use_with geoip GeoIP /usr/) \
|
|
$(use_with sasl) \
|
|
$(use_with tcpd wrappers) \
|
|
$(use_with mysql mysql /usr)
|
|
}
|
|
|
|
src_compile() {
|
|
emake \
|
|
CCOPT="${CFLAGS} ${LDFLAGS}" \
|
|
RANLIB="$(tc-getRANLIB)" \
|
|
CURSESLIB="$( $(tc-getPKG_CONFIG) --libs ncurses)"
|
|
}
|
|
|
|
src_install() {
|
|
dobin bin/ra*
|
|
dodoc ChangeLog CREDITS README CHANGES
|
|
doman man/man{1,5}/*
|
|
}
|