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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A77BD158089 for ; Fri, 13 Oct 2023 15:00:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA8B42BC01D; Fri, 13 Oct 2023 15:00:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBDCD2BC01D for ; Fri, 13 Oct 2023 15:00:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E5FCA335C34 for ; Fri, 13 Oct 2023 15:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 54AAE118B for ; Fri, 13 Oct 2023 15:00:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1697209192.1a148b3092766ef0b1ebb515eb42ae10a6aa5c42.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libnet/Manifest net-libs/libnet/libnet-1.3.ebuild X-VCS-Directories: net-libs/libnet/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1a148b3092766ef0b1ebb515eb42ae10a6aa5c42 X-VCS-Branch: master Date: Fri, 13 Oct 2023 15:00:35 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 709eb69f-788e-4394-90c3-54337969a8cb X-Archives-Hash: 3cd9a736967dd1ce4a201685511c28e8 commit: 1a148b3092766ef0b1ebb515eb42ae10a6aa5c42 Author: Sam James gentoo org> AuthorDate: Fri Oct 13 14:58:49 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 13 14:59:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a148b30 net-libs/libnet: add 1.3 Closes: https://bugs.gentoo.org/875107 Closes: https://bugs.gentoo.org/832385 Closes: https://bugs.gentoo.org/881031 Signed-off-by: Sam James gentoo.org> net-libs/libnet/Manifest | 1 + net-libs/libnet/libnet-1.3.ebuild | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest index a0cec350a696..53731e2c05bd 100644 --- a/net-libs/libnet/Manifest +++ b/net-libs/libnet/Manifest @@ -1 +1,2 @@ DIST libnet-1.2.tar.gz 649191 BLAKE2B bc463c7869e0327ec2f7663c2e66a27302e368f9846235f6774f36aed66263655badaf980e7e7fb08cc2f9a7f2620129c193bbdd49bbee58401f229a69c50c2a SHA512 84430f24e000eb7728b1fbb5e620716d13d193e8b9e024cf56a08fbeeeaaf56c9122caaf7647f01e6b38b73212e592fa5cc4e8ff56b1d5f5a73aea462e84edd6 +DIST libnet-1.3.tar.gz 595500 BLAKE2B b43f15143e6a1de3350b814d7acd4a41d61eb08e6dfeb729868e55f65c445942ae52905953f3a4fad00402b47fc5119634233ea3ae28806c1869bb34ef6fba9b SHA512 c434327108b61e73b61acc5f2b346d049ab5d58e494db21971368eac733a9a0a3e9d95e0b4523c20629b02ed0feef086c50c582719635f21e980c440d55dd462 diff --git a/net-libs/libnet/libnet-1.3.ebuild b/net-libs/libnet/libnet-1.3.ebuild new file mode 100644 index 000000000000..ec34798e5bdc --- /dev/null +++ b/net-libs/libnet/libnet-1.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Library for commonly used low-level network functions" +HOMEPAGE="http://libnet-dev.sourceforge.net/ https://github.com/libnet/libnet" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD BSD-2" +SLOT="1.1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="static-libs test" +# Fails in sandbox, tries to access /proc/self/uid_map. +RESTRICT="!test? ( test ) test" + +# doxygen needed for man pages +BDEPEND=" + app-doc/doxygen + test? ( dev-util/cmocka ) +" + +DOCS=( ChangeLog.md README.md doc/MIGRATION.md ) + +src_configure() { + local myeconfargs=( + --enable-doxygen-man + + $(use_enable static-libs static) + $(use_enable test tests) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +}