summaryrefslogtreecommitdiff
path: root/net-libs/libpcap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:07:46 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-21 19:07:46 +0100
commit3c0ac23fc220e56b44356d845aaf1b71df69c816 (patch)
tree6d455e0701684270c13f4c6e1f1919ecc2cd04ac /net-libs/libpcap
parentf3b17e517082e3c6581428440a122f1a2679e278 (diff)
gentoo resync : 21.07.2018
Diffstat (limited to 'net-libs/libpcap')
-rw-r--r--net-libs/libpcap/Manifest2
-rw-r--r--net-libs/libpcap/libpcap-1.9.0_rc2.ebuild77
2 files changed, 79 insertions, 0 deletions
diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest
index 7dddcddb766a..87ed5a2233b3 100644
--- a/net-libs/libpcap/Manifest
+++ b/net-libs/libpcap/Manifest
@@ -7,8 +7,10 @@ AUX libpcap-1.8.1-usbmon.patch 522 BLAKE2B 27f464db028d8b2cbc1f4651ebb79b7a7042a
AUX libpcap-9999-parallel.patch 640 BLAKE2B cb1b081fba0b53af09ead5e4c0bc3e5b7856ad2c0ebaf68dc99b8a375158a112c47e0dfad7763caff7b0f7da8ce5b1ebfcb79a6cf3cf72636605dfd4097fb711 SHA512 82e0c48f2fc42c8df4a21009b9afac18ca4aaa14db822c0c85b4ea420434391dec3b5da90261d7afe01879354b43ef425c7464c9fe98a407a4b232590e361117
AUX libpcap-9999-prefix-darwin.patch 394 BLAKE2B b54df9fa5f1d796ad4739b2ae4ea55a8b66fc2ba434438a0e17cbd7ca5bfaf5d1611e0d8431be45d3fb80dbd61bc2bda2b6fa50378da4780154b4ce523a688d8 SHA512 bfd560b1bba72a84c5afa1cdf166944e9ede10cb817c7273941b3fc0838ca2676adfd143c0e8873f234de343aabb2177f46f2cd062738d2837d42a1da7370083
DIST libpcap-1.8.1.tar.gz 753405 BLAKE2B f80fbd6451cf788fc43e5f2240e5ecb267ac98b57bca3fa56dd63576b57d10966bfacde5005d07282352fc2b30d8ef5964cbd126f8f63e565f1bb3dc6f8d9a1c SHA512 7e6a7351bb4213e1c3dd95ef7a460e91f733d933e39ba518ad8ba6d2f86b6e7cfa50ae667c8dc1300ef47bf8693ac8a1f18e068f41175ca5d0147a0b72278882
+DIST libpcap-1.9.0rc2.tar.gz 820710 BLAKE2B 0c0a56769ba1dd8a4698f3ee14be9f831603e8553aa55991ad032522c93d001adca4874fcae5cda6174b8c9dc532b3a88abcb2a1256efa907cdd570c691f09bc SHA512 d1f04bf7dd6f3fd0bad0e145563af52084736227af447c1ace4fd47deca0529041457d4eb099c50e77671e0fc3ab2eaef089e98e26a8c89ff900801e7082b330
EBUILD libpcap-1.8.1-r1.ebuild 1952 BLAKE2B 5bd058d1c738a3e8b19c3b63a9b7c7860dd7ddeebaf547c839fe4c99f0a543724a94af0f45f71b33ab9a47f02801a91aa0e6d11cf9d8df2b8af8f2fcc3a7648c SHA512 cd158b14c41661e28f87dc2ce6d82d037ab243fbbaf231057943079c23ed1116591262adde4a314ff7b9717969b3f722e33990598f7a93bfe47b91c1b2b4c70c
EBUILD libpcap-1.8.1-r2.ebuild 2014 BLAKE2B 946e33f229507957e49927fd17cca8bab97b40aae6f26f94a0428961aedd9c6c1f795e574fdd406d419e4b3388176226d15fce66422c055660c34a61ae2a91bd SHA512 d9a4f50d26a7bb0ea07ae0ba9e8f01174cd22abe9f3df6db1af7fbd4e9d762d6f0e48891d3a117ef72fbd8bfca63fd80bd8864c3352d5ceaa937ad59ae9f5497
EBUILD libpcap-1.8.1.ebuild 1927 BLAKE2B 5e6b558d87a07b874c3c945848d21694930ed45899c3d9675cbc76d87a0cdd5048b00737b3abaefeafb579d4b925f588b363dfcf6c2639d249a27542bc92abe7 SHA512 29f28f19b0a258b0102a3d1ae611673d51f1649667b8816aa4dbcb36c91866cef2ea09c9bd03adcb74a524fa587b44de5056308d901d381e7bebe041dcc40c45
+EBUILD libpcap-1.9.0_rc2.ebuild 1814 BLAKE2B 57ff3e23646cb9a4dd371d75e62fb038173f898c468c8d34c7da05849f097d0ae9c67f8a48bb799528c8ff3fdd78bb0ae41965ca782ac98abb468fed2f706b5d SHA512 69fd6345d365ef3972a96afdae8a873d8d38bf14be5dd9c80eeea502a700625c16848bbd828c7f6f0249a0cadac4d3f32fc9cd88c282f19ff22ce13c6afe6fd8
EBUILD libpcap-9999.ebuild 1505 BLAKE2B 0071ca57d3c8d1dd7601b5b52e3e3fbb9f45fea0afb9361557856b31bf1ccdfd6d408c1adf46e54d619f55a99eccc18faff6919f5412782960012102d0ec240d SHA512 06600088a52b75baa2c2a4aa90a5c6d8dbae5cbe54d5b74d5702d0adcf762a72c6546ff151b2750a45fb1e7fa20f621c0d9e59e83cc5f370cf91762a97a72e24
MISC metadata.xml 475 BLAKE2B a914e052c15c557f921c504f0cf128704ed8854bd8107dd2019a5584dd86f80ad06545ef8780e01447c309801207e2f83e286a90ad755ddebd7447d27bba1336 SHA512 ff92cbd5725e74f72d117b57d85858851ddf3b27046bf7d5b9e29cac8e07c98bb21e2a81ff8ffcec08adb062a42deb051019d60911a8b86ecd232a37e1b88170
diff --git a/net-libs/libpcap/libpcap-1.9.0_rc2.ebuild b/net-libs/libpcap/libpcap-1.9.0_rc2.ebuild
new file mode 100644
index 000000000000..93560ef4a407
--- /dev/null
+++ b/net-libs/libpcap/libpcap-1.9.0_rc2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools multilib-minimal ltprune
+
+DESCRIPTION="A system-independent library for user-level network packet capture"
+HOMEPAGE="
+ http://www.tcpdump.org/
+ https://github.com/the-tcpdump-group/libpcap
+"
+SRC_URI="
+ https://github.com/the-tcpdump-group/${PN}/archive/${P/_}.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="bluetooth dbus netlink static-libs usb"
+
+RDEPEND="
+ bluetooth? ( net-wireless/bluez:=[${MULTILIB_USEDEP}] )
+ dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
+ netlink? ( dev-libs/libnl:3[${MULTILIB_USEDEP}] )
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/flex
+ virtual/yacc
+ dbus? ( virtual/pkgconfig[${MULTILIB_USEDEP}] )
+"
+
+S=${WORKDIR}/${PN}-${P/_}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.6.1-prefix-solaris.patch
+ "${FILESDIR}"/${PN}-1.8.1-darwin.patch
+ "${FILESDIR}"/${PN}-1.8.1-usbmon.patch
+)
+
+src_prepare() {
+ default
+
+ echo ${PV} > VERSION || die
+
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" \
+ econf \
+ $(use_enable bluetooth) \
+ $(use_enable usb) \
+ $(use_enable dbus) \
+ $(use_with netlink libnl) \
+ --enable-ipv6
+}
+
+multilib_src_compile() {
+ emake all shared
+}
+
+multilib_src_install_all() {
+ dodoc CREDITS CHANGES VERSION TODO README.* doc/README.*
+
+ # remove static libraries (--disable-static does not work)
+ if ! use static-libs; then
+ find "${ED}" -name '*.a' -exec rm {} + || die
+ fi
+ prune_libtool_files
+
+ # We need this to build pppd on G/FBSD systems
+ if [[ "${USERLAND}" == "BSD" ]]; then
+ insinto /usr/include
+ doins pcap-int.h portability.h
+ fi
+}