From 64b72dc515eef237884bd0720193cc4d6bdc2791 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 23 Jul 2018 09:56:50 +0200 Subject: net-libs/libpcap: Version 1.9.0. Package-Manager: Portage-2.3.43, Repoman-2.3.10 --- net-libs/libpcap/Manifest | 2 +- net-libs/libpcap/libpcap-1.9.0.ebuild | 77 +++++++++++++++++++++++++++++++ net-libs/libpcap/libpcap-1.9.0_rc2.ebuild | 77 ------------------------------- 3 files changed, 78 insertions(+), 78 deletions(-) create mode 100644 net-libs/libpcap/libpcap-1.9.0.ebuild delete mode 100644 net-libs/libpcap/libpcap-1.9.0_rc2.ebuild (limited to 'net-libs') diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest index 0fcd80f7e2e7..6ad8206beeb7 100644 --- a/net-libs/libpcap/Manifest +++ b/net-libs/libpcap/Manifest @@ -1,2 +1,2 @@ DIST libpcap-1.8.1.tar.gz 753405 BLAKE2B f80fbd6451cf788fc43e5f2240e5ecb267ac98b57bca3fa56dd63576b57d10966bfacde5005d07282352fc2b30d8ef5964cbd126f8f63e565f1bb3dc6f8d9a1c SHA512 7e6a7351bb4213e1c3dd95ef7a460e91f733d933e39ba518ad8ba6d2f86b6e7cfa50ae667c8dc1300ef47bf8693ac8a1f18e068f41175ca5d0147a0b72278882 -DIST libpcap-1.9.0rc2.tar.gz 820710 BLAKE2B 0c0a56769ba1dd8a4698f3ee14be9f831603e8553aa55991ad032522c93d001adca4874fcae5cda6174b8c9dc532b3a88abcb2a1256efa907cdd570c691f09bc SHA512 d1f04bf7dd6f3fd0bad0e145563af52084736227af447c1ace4fd47deca0529041457d4eb099c50e77671e0fc3ab2eaef089e98e26a8c89ff900801e7082b330 +DIST libpcap-1.9.0.tar.gz 819766 BLAKE2B bf98029eea58328c1c820966b100d8467373c9469c107bfe36bcf17e5250d64c45a331050b8a1027c4f4eb1600925b873e4fe43d866ba5a9dc5dcc7995137de1 SHA512 b94d63204f74fd155c1409c50b84c4a02d5b9db7069a24d42d496056416923183331f587903f9101d8464b74efc7db22f113c48e518bd7fb3082b333bbc337fd diff --git a/net-libs/libpcap/libpcap-1.9.0.ebuild b/net-libs/libpcap/libpcap-1.9.0.ebuild new file mode 100644 index 000000000000..93560ef4a407 --- /dev/null +++ b/net-libs/libpcap/libpcap-1.9.0.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 +} diff --git a/net-libs/libpcap/libpcap-1.9.0_rc2.ebuild b/net-libs/libpcap/libpcap-1.9.0_rc2.ebuild deleted file mode 100644 index 93560ef4a407..000000000000 --- a/net-libs/libpcap/libpcap-1.9.0_rc2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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 -} -- cgit v1.2.3-65-gdbad