summaryrefslogtreecommitdiff
path: root/net-libs/libpcap
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libpcap')
-rw-r--r--net-libs/libpcap/Manifest4
-rw-r--r--net-libs/libpcap/libpcap-1.10.1-r2.ebuild8
-rw-r--r--net-libs/libpcap/libpcap-9999.ebuild17
3 files changed, 20 insertions, 9 deletions
diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest
index 878a0b8e3cb7..9cb6b9376679 100644
--- a/net-libs/libpcap/Manifest
+++ b/net-libs/libpcap/Manifest
@@ -3,6 +3,6 @@ AUX libpcap-1.10.1-pcap-config-no-hardcoded-lib.patch 3469 BLAKE2B 2a2f0b6080aa1
AUX libpcap-1.10.1-pcap-config.patch 1000 BLAKE2B f870610ab0260cfcdd0333769744792e431eb36fdd27befb2f88ed001597b690e3776389f6dc03a9b7ae2b732855e8fa997d609d0517427c2a4060793996c889 SHA512 36d1694e09bba04d0417ff906153d43e54b13eca910e5e694e7acd6989c48067164f889a1b540c197331af52fe894e125f7c640418603a6b5a0d2ef543af348d
DIST libpcap-1.10.1-upstream.tar.gz 935221 BLAKE2B 0ec028e5d026a97b92ba6f23f88daf36b827eee08a752a0162fbabd1b5a2a70141ec403b6ff26dc3eb25ca5c6630c9c2f60f05b33161770da3d5e829c4eecdc6 SHA512 56c314f19c2b857742bf8abcb1e78066986aaa95cec339b75a3c8b70a9fa2b5167da98708352f9ec97a1cea2700cfb4e040bda108d58ac46cec9b7deab88d171
DIST libpcap-1.10.1-upstream.tar.gz.sig 442 BLAKE2B b76bf3c40a923b6c8fb9a356dff49a90e30dd0b0d785f138ac56bf1a41ad3a6fcfa3d5b3d28c12543857c5616b8938108b06313e35e4474d50991b72d9d371c8 SHA512 f9807efd11d99524b247981e5f4f02e1ffbeaa8468a9a22c66f9931a894071b9182164807b9fd11436883d36e8b0c6cc62302852005d958e34b5236e20caa33d
-EBUILD libpcap-1.10.1-r2.ebuild 2897 BLAKE2B b2d8a56c178ea087e82c7ce494e791b738db41ae199ef2796a56d4c11ce958b07171a1ad5549f09335eda0fda5917f5cce80387357c194bd3139098bc07a9948 SHA512 9dd3aa9d2d660593cdc82e3105b472bbad9fea643901bf62df3de7c3724758000307bad7a912bf1b963155317aa194f3ff1fd2ebf6e02fc600ffad4de8382f25
-EBUILD libpcap-9999.ebuild 2505 BLAKE2B ef2208f12400922b4e4b1002660e36acfdfd6b67cd555a255c5842e7a7bd210b58e3ab6cb4fa3719772e7e60c39758c6f9a4dd3bd68fd8a69c52077a5cd00c92 SHA512 4a78c1c1629feac9251c7ce049957740689f6bbe6d9b3c70bc0658a310685d9fe93e3435b1e8b622be22a9c7e59e92507995a34c2945ea75d61689933333db63
+EBUILD libpcap-1.10.1-r2.ebuild 2927 BLAKE2B 1a4024dd0a7109b98e4af91fde9c60eceaa519b7fd23c14f24cf3509b89c6275e33b2681dc795e34604ebfb08f65b389eaf6932e35ad611de0d6419cc9343758 SHA512 3f5d60f071b61dad9f9fa0695f7b8706ee6675a2b8a3e864f6cb511d2caf3ddbc997fbec4f555bfe1703da5bbe879623aab15325639e7ce529e122603dd1857a
+EBUILD libpcap-9999.ebuild 2656 BLAKE2B c9d89c2d9c228805dbfe37fc1c3137a74dd903967cc940646131329a71f60cdb7281fbb80318ecdfb94e14649f53591ad853bb5b7c3164b0531bfe6e3fbe5f61 SHA512 2df002974011580fa3c3b307039a30d80e8a689b08e9deca4473195e202325b1418b31558f9db528234a09df315e40055f059047c8f716d0aaf0833dc5f32acf
MISC metadata.xml 919 BLAKE2B 0d4146081122df26ec1c9ae4f7c66e9f93ef4c25458e0de3489de29bf69a6d428123ab84f4c2fbd0582525ea2197c5cbfc9e2b591459e43eb0e159cf6a684dcc SHA512 0bfdfd1ad64faebc2c122ac029ce5d7b30e84e630ceafd0503f9a659b1781f1c41bf6f0c431ab4f80187ec04506cd32ffc10485d9493cf93e63a466c5db69619
diff --git a/net-libs/libpcap/libpcap-1.10.1-r2.ebuild b/net-libs/libpcap/libpcap-1.10.1-r2.ebuild
index 6edb007ae109..bda001c29111 100644
--- a/net-libs/libpcap/libpcap-1.10.1-r2.ebuild
+++ b/net-libs/libpcap/libpcap-1.10.1-r2.ebuild
@@ -38,8 +38,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="
- sys-devel/flex
app-alternatives/yacc
+ sys-devel/flex
dbus? ( virtual/pkgconfig )
"
@@ -70,8 +70,10 @@ src_prepare() {
}
multilib_src_configure() {
- ECONF_SOURCE="${S}" \
- econf \
+ # bug #884275
+ export LEX=flex
+
+ ECONF_SOURCE="${S}" econf \
$(use_enable bluetooth) \
$(use_enable dbus) \
$(use_enable rdma) \
diff --git a/net-libs/libpcap/libpcap-9999.ebuild b/net-libs/libpcap/libpcap-9999.ebuild
index ddd15be165fc..6f83d33095c3 100644
--- a/net-libs/libpcap/libpcap-9999.ebuild
+++ b/net-libs/libpcap/libpcap-9999.ebuild
@@ -25,7 +25,8 @@ fi
LICENSE="BSD"
SLOT="0"
-IUSE="bluetooth dbus netlink rdma remote static-libs usb yydebug"
+IUSE="bluetooth dbus netlink rdma remote static-libs test usb yydebug"
+RESTRICT="!test? ( test )"
RDEPEND="
bluetooth? ( net-wireless/bluez:=[${MULTILIB_USEDEP}] )
@@ -37,8 +38,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="
- sys-devel/flex
app-alternatives/yacc
+ sys-devel/flex
dbus? ( virtual/pkgconfig )
"
@@ -48,6 +49,7 @@ fi
PATCHES=(
"${FILESDIR}"/${PN}-1.10.0-usbmon.patch
+
"${FILESDIR}"/${PN}-1.10.1-pcap-config.patch
)
@@ -62,8 +64,10 @@ src_prepare() {
}
multilib_src_configure() {
- ECONF_SOURCE="${S}" \
- econf \
+ # bug #884275
+ export LEX=flex
+
+ ECONF_SOURCE="${S}" econf \
$(use_enable bluetooth) \
$(use_enable dbus) \
$(use_enable rdma) \
@@ -76,6 +80,11 @@ multilib_src_configure() {
multilib_src_compile() {
emake all shared
+ use test && emake testprogs
+}
+
+multilib_src_test() {
+ testprogs/findalldevstest || die
}
multilib_src_install_all() {