mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
net-libs/nDPI: drop 4.14
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST nDPI-4.14.tar.gz 48474931 BLAKE2B 611b0e5bd9f17fc56bdd0658e88f7ae1b573c4d255c29bdea2f9a68007d9a9a8c1d3bc90bf00e803823b393ad6890b90413646a9539b58d61fc916ac09423666 SHA512 f7e24289aa04e19bc357c29ba00ca7d27aefcd2faf51ddf2f526b4c4d4fefd0ded33dd8e60245c0d8772b3a870304d3dda2c40f3d5ee4382342889741f122146
|
||||
DIST nDPI-6.0.tar.gz 48649618 BLAKE2B 4c8e398ac7623431709204bbda9314ecc971f42bbce2fff58ce4c35a910243de52d6fe8b791768cff467783c6fbf62d406515fc05a4e40dd66f82df0928ca4d5 SHA512 a404930ecafecd1990f07b01c3b66f7fd5d61df7c7b4e0b5d20fd0ed6ccfeec216438b66a1d3a58df6b16bbad1038a1162023a0e92c30d3b441950e75eb1447a
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools edo
|
||||
|
||||
DESCRIPTION="Open Source Deep Packet Inspection Software Toolkit"
|
||||
HOMEPAGE="https://www.ntop.org/"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/ntop/${PN}"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/ntop/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0/$(ver_cut 1)"
|
||||
|
||||
DEPEND="dev-libs/json-c:=
|
||||
dev-libs/libgcrypt:=
|
||||
dev-libs/libgpg-error
|
||||
net-libs/libpcap"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# "local" here means "local to the system", and hence means
|
||||
# system copy, not the bundled one.
|
||||
econf --with-local-libgcrypt
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd tests || die
|
||||
|
||||
edo ./do.sh
|
||||
edo ./do-unit.sh
|
||||
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Makefile logic is broken in 4.8, let's wait a bit given history and
|
||||
# go with hack for now.
|
||||
mv "${ED}"/usr/$(get_libdir)/pkgconfig "${ED}"/usr/usr/$(get_libdir)/pkgconfig || die
|
||||
mv "${ED}"/usr/usr/* "${ED}"/usr || die
|
||||
rm "${ED}/usr/$(get_libdir)"/lib${PN,,}.a || die
|
||||
rm -rf "${ED}"/usr/usr || die
|
||||
}
|
||||
Reference in New Issue
Block a user