From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F242138334 for ; Fri, 20 Jul 2018 12:02:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E324FE09E3; Fri, 20 Jul 2018 12:02:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E608E09E3 for ; Fri, 20 Jul 2018 12:02:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7472D335CC3 for ; Fri, 20 Jul 2018 12:02:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E2A0B370 for ; Fri, 20 Jul 2018 12:02:03 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1532088081.b97b12f67aecfbe24a87695b101cd1f2607d377e.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libpcap/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libpcap/Manifest net-libs/libpcap/libpcap-1.9.0_rc2.ebuild X-VCS-Directories: net-libs/libpcap/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: b97b12f67aecfbe24a87695b101cd1f2607d377e X-VCS-Branch: master Date: Fri, 20 Jul 2018 12:02:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f1484185-4880-4cdc-9eed-3a0a0e10c8d0 X-Archives-Hash: 4db7b1f68b23ed8454403ce9e3c4db6f commit: b97b12f67aecfbe24a87695b101cd1f2607d377e Author: Jeroen Roovers gentoo org> AuthorDate: Fri Jul 20 12:01:21 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Jul 20 12:01:21 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b97b12f6 net-libs/libpcap: Version 1.9.0_rc2. Package-Manager: Portage-2.3.43, Repoman-2.3.10 net-libs/libpcap/Manifest | 1 + net-libs/libpcap/libpcap-1.9.0_rc2.ebuild | 77 +++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/net-libs/libpcap/Manifest b/net-libs/libpcap/Manifest index ec878f2758a..0fcd80f7e2e 100644 --- a/net-libs/libpcap/Manifest +++ b/net-libs/libpcap/Manifest @@ -1 +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 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 00000000000..93560ef4a40 --- /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 +}