[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 71ada0fe6fb3351048231aa26e913e6f1cad7aaa Author: Eli Schwartz gmail com> AuthorDate: Mon Mar 25 03:56:26 2024 + Commit: Sam James gentoo org> CommitDate: Mon Mar 25 09:20:45 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ada0fe net-libs/libnet: make sure elibtoolize is applied Needed to e.g. pass LTO warning flags through to the linker. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-libs/libnet/libnet-1.3-r1.ebuild | 7 +++ 1 file changed, 7 insertions(+) diff --git a/net-libs/libnet/libnet-1.3-r1.ebuild b/net-libs/libnet/libnet-1.3-r1.ebuild index 7dcc6589f7eb..edd23888d1d4 100644 --- a/net-libs/libnet/libnet-1.3-r1.ebuild +++ b/net-libs/libnet/libnet-1.3-r1.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit libtool + # TODO: Fix upstream dist tarballs to include man pages! # https://github.com/libnet/libnet/issues/169 # @@ -39,6 +41,11 @@ BDEPEND=" DOCS=( ChangeLog.md README.md doc/MIGRATION.md ) +src_prepare() { + default + elibtoolize +} + src_configure() { local myeconfargs=( $(use_enable man doxygen-doc)
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 7210cbf439e953ecbbf7fe6f9a87818b0241fdd6 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Dec 24 17:21:03 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Dec 24 17:21:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7210cbf4 net-libs/libnet: Stabilize 1.3-r1 x86, #920582 Signed-off-by: Arthur Zamarin gentoo.org> net-libs/libnet/libnet-1.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.3-r1.ebuild b/net-libs/libnet/libnet-1.3-r1.ebuild index d3e9c209a7c9..4f1aa41752c1 100644 --- a/net-libs/libnet/libnet-1.3-r1.ebuild +++ b/net-libs/libnet/libnet-1.3-r1.ebuild @@ -27,7 +27,7 @@ fi 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" +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="${LIBNET_DOCS_USEFLAG} static-libs test" # Fails in sandbox, tries to access /proc/self/uid_map. RESTRICT="!test? ( test ) test"
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 7054887c85e520cc67650871eadbf773dcdee8db Author: Sam James gentoo org> AuthorDate: Sun Dec 24 16:13:10 2023 + Commit: Sam James gentoo org> CommitDate: Sun Dec 24 16:13:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7054887c net-libs/libnet: Stabilize 1.3-r1 ppc, #920582 Signed-off-by: Sam James gentoo.org> net-libs/libnet/libnet-1.3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.3-r1.ebuild b/net-libs/libnet/libnet-1.3-r1.ebuild index 71423e42548d..d3e9c209a7c9 100644 --- a/net-libs/libnet/libnet-1.3-r1.ebuild +++ b/net-libs/libnet/libnet-1.3-r1.ebuild @@ -27,7 +27,7 @@ fi 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" +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="${LIBNET_DOCS_USEFLAG} static-libs test" # Fails in sandbox, tries to access /proc/self/uid_map. RESTRICT="!test? ( test ) test"
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 3bd92bbf3356a4cba7c86dfbf7e31a6a0c0591a9 Author: Sam James gentoo org> AuthorDate: Sat Nov 25 12:13:26 2023 + Commit: Sam James gentoo org> CommitDate: Sat Nov 25 12:14:00 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bd92bbf net-libs/libnet: include pre-generated man pages Avoid a fairly heavy dep on doxygen given some common sysadmin etc tools depend on this. Ultimately need to fix the upstream build logic but not got time to do it right now. Bug: https://github.com/libnet/libnet/issues/169 Closes: https://bugs.gentoo.org/916025 Signed-off-by: Sam James gentoo.org> net-libs/libnet/Manifest | 1 + net-libs/libnet/libnet-1.3-r1.ebuild | 61 2 files changed, 62 insertions(+) diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest index 53731e2c05bd..a82807e0e478 100644 --- a/net-libs/libnet/Manifest +++ b/net-libs/libnet/Manifest @@ -1,2 +1,3 @@ DIST libnet-1.2.tar.gz 649191 BLAKE2B bc463c7869e0327ec2f7663c2e66a27302e368f9846235f6774f36aed66263655badaf980e7e7fb08cc2f9a7f2620129c193bbdd49bbee58401f229a69c50c2a SHA512 84430f24e000eb7728b1fbb5e620716d13d193e8b9e024cf56a08fbeeeaaf56c9122caaf7647f01e6b38b73212e592fa5cc4e8ff56b1d5f5a73aea462e84edd6 +DIST libnet-1.3-docs.tar.xz 21264 BLAKE2B a2c837cde6966a580b5b0cae12bfd8bb33793a5835c3c1ff1ecc273055f56d0f0084b48d7ebe768c1326ed54b67bed5dd23bb9f7524590a2095283950036e848 SHA512 b36bdd7cf9b7acca261004d2308ea6bcf11a67efe581f15ac77548dd02ed1f3e86f1daeb00cef4e774db983e13a95d7f79062258229909cb41886a45f8fd974a DIST libnet-1.3.tar.gz 595500 BLAKE2B b43f15143e6a1de3350b814d7acd4a41d61eb08e6dfeb729868e55f65c445942ae52905953f3a4fad00402b47fc5119634233ea3ae28806c1869bb34ef6fba9b SHA512 c434327108b61e73b61acc5f2b346d049ab5d58e494db21971368eac733a9a0a3e9d95e0b4523c20629b02ed0feef086c50c582719635f21e980c440d55dd462 diff --git a/net-libs/libnet/libnet-1.3-r1.ebuild b/net-libs/libnet/libnet-1.3-r1.ebuild new file mode 100644 index ..af851efcc470 --- /dev/null +++ b/net-libs/libnet/libnet-1.3-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: Fix upstream dist tarballs to include man pages! +# https://github.com/libnet/libnet/issues/169 +# +# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libnet-docs +# Set to 1 if prebuilt, 0 if not +# (the construct below is to allow overriding from env for script) +: ${LIBNET_DOCS_PREBUILT:=1} + +LIBNET_DOCS_PREBUILT_DEV=sam +LIBNET_DOCS_VERSION="${PV}" +# Default to generating docs (inc. man pages) if no prebuilt; overridden later +# bug #830088 +LIBNET_DOCS_USEFLAG="+man" + +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; +if [[ ${LIBNET_DOCS_PREBUILT} == 1 ]] ; then + SRC_URI+=" !man? ( https://dev.gentoo.org/~${LIBNET_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${LIBNET_DOCS_VERSION}-docs.tar.xz )" + LIBNET_DOCS_USEFLAG="man" +fi + +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="${LIBNET_DOCS_USEFLAG} static-libs test" +# Fails in sandbox, tries to access /proc/self/uid_map. +RESTRICT="!test? ( test ) test" + +BDEPEND=" + man? ( app-doc/doxygen ) + test? ( dev-util/cmocka ) +" + +DOCS=( ChangeLog.md README.md doc/MIGRATION.md ) + +src_configure() { + local myeconfargs=( + $(use_enable man doxygen-doc) + $(use_enable man doxygen-man) + $(use_enable static-libs static) + $(use_enable test tests) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if ! use man && [[ ${LIBNET_DOCS_PREBUILT} == 1 ]] ; then + doman "${WORKDIR}"/${PN}-${LIBNET_DOCS_VERSION}-docs/man/*/*.[0-8] + fi + + find "${D}" -name '*.la' -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 713fd8476c5a52c47fcb001b7cc339282d63e760 Author: Sam James gentoo org> AuthorDate: Fri Oct 13 14:44:21 2023 + Commit: Sam James gentoo org> CommitDate: Fri Oct 13 14:59:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=713fd847 net-libs/libnet: drop 1.2. Out of date and didn't even represent what the next version was anyway (1.3). Signed-off-by: Sam James gentoo.org> net-libs/libnet/libnet-1.2..ebuild | 35 -- 1 file changed, 35 deletions(-) diff --git a/net-libs/libnet/libnet-1.2..ebuild b/net-libs/libnet/libnet-1.2..ebuild deleted file mode 100644 index d2ccab097069.. --- a/net-libs/libnet/libnet-1.2..ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools git-r3 - -DESCRIPTION="library providing an API for commonly used low-level network functions" -HOMEPAGE="http://libnet-dev.sourceforge.net/ https://github.com/libnet/libnet; -EGIT_REPO_URI="https://github.com/libnet/libnet; - -LICENSE="BSD BSD-2 HPND" -SLOT="1.1" -KEYWORDS="" -IUSE="static-libs" - -DOCS=( - ChangeLog.md README.md doc/{MIGRATION,RAWSOCKET,TODO}.md -) -S=${WORKDIR}/${P/_/-} - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - - find "${D}" -name '*.la' -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 1a148b3092766ef0b1ebb515eb42ae10a6aa5c42 Author: Sam James gentoo org> AuthorDate: Fri Oct 13 14:58:49 2023 + Commit: Sam James gentoo org> CommitDate: Fri Oct 13 14:59:52 2023 + 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/files/
commit: cfd86e6389fc607cfb8ccf85781fe3ce447c7141 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Tue Dec 27 17:05:55 2022 + Commit: Conrad Kostecki gentoo org> CommitDate: Sun Jan 1 18:16:20 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfd86e63 net-libs/libnet: remove unused patches Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/28860 Signed-off-by: Conrad Kostecki gentoo.org> net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch | 11 -- net-libs/libnet/files/libnet-1.0.2a-endian.patch | 20 --- net-libs/libnet/files/libnet-1.0.2a-funroll.patch | 12 -- .../libnet/files/libnet-1.0.2a-gcc33-fix.patch | 13 -- net-libs/libnet/files/libnet-1.0.2a-slot.patch | 189 - net-libs/libnet/files/libnet-1.0.2a-test.patch | 54 -- 6 files changed, 299 deletions(-) diff --git a/net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch b/net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch deleted file mode 100644 index 5c81dbfe9485.. --- a/net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch +++ /dev/null @@ -1,11 +0,0 @@ a/configure.in -+++ b/configure.in -@@ -143,7 +143,7 @@ - AC_DEFINE(_BSD_SOURCE) - AC_DEFINE(__BSD_SOURCE) - AC_DEFINE(__FAVOR_BSD) --LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD" -+LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__FAVOR_BSD" - AC_CHECK_HEADERS(net/ethernet.h, \ - LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H") - MAN_PREFIX="$prefix/man/man3/" diff --git a/net-libs/libnet/files/libnet-1.0.2a-endian.patch b/net-libs/libnet/files/libnet-1.0.2a-endian.patch deleted file mode 100644 index aad0bacb2f2e.. --- a/net-libs/libnet/files/libnet-1.0.2a-endian.patch +++ /dev/null @@ -1,20 +0,0 @@ a/include/libnet.h -+++ b/include/libnet.h -@@ -32,6 +32,17 @@ - #ifndef __LIBNET_H - #define __LIBNET_H - -+#include -+#if __BYTE_ORDER == __LITTLE_ENDIAN -+# define LIBNET_LIL_ENDIAN 1 -+#else -+# if __BYTE_ORDER == __BIG_ENDIAN -+# define LIBNET_BIG_ENDIAN 1 -+# else -+# error unrecognized __BYTE_ORDER -+# endif -+#endif -+ - #include - #include - #include diff --git a/net-libs/libnet/files/libnet-1.0.2a-funroll.patch b/net-libs/libnet/files/libnet-1.0.2a-funroll.patch deleted file mode 100644 index dd77d05dff2a.. --- a/net-libs/libnet/files/libnet-1.0.2a-funroll.patch +++ /dev/null @@ -1,12 +0,0 @@ a/configure.in.JeR -+++ b/configure.in -@@ -51,8 +51,7 @@ - dnl - if test $ac_cv_prog_gcc = yes; then - dnl if test -z $CFLAGS; then --CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall' --CFLAGS="$CCOPTS" -+: - dnl fi - fi - diff --git a/net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch b/net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch deleted file mode 100644 index c4f3ae925705.. --- a/net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ a/include/libnet.h -+++ b/include/libnet.h -@@ -84,8 +84,8 @@ - #define LIBNET_VERSION "1.0.2a" - - #if (!LIBNET_LIL_ENDIAN && !LIBNET_BIG_ENDIAN) --#error "byte order has not been specified, you'll --need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the -+#error "byte order has not been specified, you'll \ -+need to #define either LIBNET_LIL_ENDIAN or LIBNET_BIG_ENDIAN. See the \ - documentation regarding the libnet-config script." - #endif - diff --git a/net-libs/libnet/files/libnet-1.0.2a-slot.patch b/net-libs/libnet/files/libnet-1.0.2a-slot.patch deleted file mode 100644 index bcc0d56113f5.. --- a/net-libs/libnet/files/libnet-1.0.2a-slot.patch +++ /dev/null @@ -1,189 +0,0 @@ a/Makefile.in -+++ b/Makefile.in -@@ -18,17 +18,17 @@ - LIB_PREFIX = @libdir@/ - MAN_PREFIX = @MAN_PREFIX@ - --LIBNET = libnet --LIBPWRITE = libpwrite -+LIBNET = libnet-1.0 -+LIBPWRITE = libpwrite-1.0 - LIB = lib/$(LIBNET).a - MAN = doc/$(LIBNET).3 - INCLUDE = include/$(LIBNET).h --INCLUDE-H = include/$(LIBNET)/$(LIBNET)-headers.h --INCLUDE-F = include/$(LIBNET)/$(LIBNET)-functions.h --INCLUDE-S = include/$(LIBNET)/$(LIBNET)-structures.h --INCLUDE-M = include/$(LIBNET)/$(LIBNET)-macros.h --INCLUDE-A = include/$(LIBNET)/$(LIBNET)-asn1.h --INCLUDE-O = include/$(LIBNET)/$(LIBNET)-ospf.h -+INCLUDE-H = include/libnet/$(LIBNET)-headers.h -+INCLUDE-F = include/libnet/$(LIBNET)-functions.h -+INCLUDE-S = include/libnet/$(LIBNET)-structures.h -+INCLUDE-M = include/libnet/$(LIBNET)-macros.h -+INCLUDE-A = include/libnet/$(LIBNET)-asn1.h -+INCLUDE-O = include/libnet/$(LIBNET)-ospf.h - CONFIG = $(LIBNET)-config - DEFINES += @DEFS@ - RANLIB = @RANLIB@ -@@ -94,7 +94,7 @@ - install: libnet - $(ENSUREDIR) $(DESTDIR)$(prefix) 755 - $(ENSUREDIR) $(DESTDIR)$(LIB_PREFIX) 755 -- $(ENSUREDIR)
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: b3b012e0dfba93862b28efb1a59a079459ee7b49 Author: Sam James gentoo org> AuthorDate: Sun Oct 30 22:12:19 2022 + Commit: Sam James gentoo org> CommitDate: Sun Oct 30 22:30:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b012e0 net-libs/libnet: add github upstream metadata Signed-off-by: Sam James gentoo.org> net-libs/libnet/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/net-libs/libnet/metadata.xml b/net-libs/libnet/metadata.xml index 9191e4771115..4f1b7787f29f 100644 --- a/net-libs/libnet/metadata.xml +++ b/net-libs/libnet/metadata.xml @@ -23,6 +23,7 @@ libnet-dev + libnet/libnet cpe:/a:libnet_project:libnet
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: f09f4cc4055f9f6657a07c8810423c9a62baa41a Author: kochera google com> AuthorDate: Tue Apr 5 20:40:21 2022 + Commit: Sam James gentoo org> CommitDate: Wed Apr 6 00:51:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f09f4cc4 net-libs/libnet: Add cpe_uri for libnet package. Signed-off-by: Michael Kochera google.com> Signed-off-by: Sam James gentoo.org> net-libs/libnet/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/net-libs/libnet/metadata.xml b/net-libs/libnet/metadata.xml index 1a870bc24ace..e9e59b746444 100644 --- a/net-libs/libnet/metadata.xml +++ b/net-libs/libnet/metadata.xml @@ -23,5 +23,6 @@ and libpcap). libnet-dev + cpe:/a:libnet_project:libnet
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 99bf3d72254a339a1500c2d58819bf77c3de9167 Author: Alex Fan yahoo com> AuthorDate: Tue Jul 13 04:59:40 2021 + Commit: Yixun Lan gentoo org> CommitDate: Fri Jul 16 01:15:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99bf3d72 net-libs/libnet: add ~riscv keyword Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alex Fan yahoo.com> Signed-off-by: Yixun Lan gentoo.org> net-libs/libnet/libnet-1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 3e584a42910..4071d7c2815 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 020dfc88e69c05428bbbae7d16901dafd0a22cf6 Author: Sam James gentoo org> AuthorDate: Sun May 16 00:02:31 2021 + Commit: Sam James gentoo org> CommitDate: Sun May 16 00:02:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=020dfc88 net-libs/libnet: Stabilize 1.2 arm64, #768675 Signed-off-by: Sam James gentoo.org> net-libs/libnet/libnet-1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 7c9c1dba2b0..3e584a42910 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/, net-libs/libnet/files/
commit: ebdc3396c4d25c2adbb919152b2712160427535a Author: Petr Vaněk atlas cz> AuthorDate: Thu Jan 2 17:49:16 2020 + Commit: Sam James gentoo org> CommitDate: Mon Mar 15 21:08:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebdc3396 net-libs/libnet: add patch to support musl Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/14219 Signed-off-by: Sam James gentoo.org> net-libs/libnet/files/libnet-1.2-int64_t.patch | 15 +++ net-libs/libnet/libnet-1.2.ebuild | 4 2 files changed, 19 insertions(+) diff --git a/net-libs/libnet/files/libnet-1.2-int64_t.patch b/net-libs/libnet/files/libnet-1.2-int64_t.patch new file mode 100644 index 000..b0b968fc332 --- /dev/null +++ b/net-libs/libnet/files/libnet-1.2-int64_t.patch @@ -0,0 +1,15 @@ +--- a/include/libnet/libnet-structures.h b/include/libnet/libnet-structures.h +@@ -49,9 +49,9 @@ struct libnet_port_list_chain + /* libnet statistics structure */ + struct libnet_stats + { +-__int64_t packets_sent; /* packets sent */ +-__int64_t packet_errors; /* packets errors */ +-__int64_t bytes_written; /* bytes written */ ++int64_t packets_sent; /* packets sent */ ++int64_t packet_errors; /* packets errors */ ++int64_t bytes_written; /* bytes written */ + }; + + diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 7e47a083806..7c9c1dba2b0 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -16,6 +16,10 @@ DOCS=( ChangeLog.md README.md doc/MIGRATION.md ) +# This patch is taken from master branch in mainstream commit a1659e2. It is +# necessary in order to support musl libc. +PATCHES=( "${FILESDIR}/${P}-int64_t.patch" ) + src_configure() { econf $(use_enable static-libs static) }
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 302de7d521d48c4b1682a29a3af965c101f64607 Author: Sam James gentoo org> AuthorDate: Fri Feb 5 16:34:55 2021 + Commit: Sam James gentoo org> CommitDate: Fri Feb 5 16:34:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302de7d5 net-libs/libnet: modernise ebuild for 1.0.2a-r7 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> net-libs/libnet/libnet-1.0.2a-r7.ebuild | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild index dfef828f59d..c07ef94b90a 100644 --- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -1,12 +1,14 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit autotools toolchain-funcs DESCRIPTION="library providing an API for commonly used low-level network functions" HOMEPAGE="http://www.packetfactory.net/libnet/; SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; +S="${WORKDIR}"/Libnet-${PV} LICENSE="BSD BSD-2 HPND" SLOT="1.0" @@ -21,29 +23,27 @@ PATCHES=( "${FILESDIR}"/${PN}-1.0.2a-test.patch ) -S=${WORKDIR}/Libnet-${PV} src_prepare() { default - cd "${S}" + cd "${S}" || die mv libnet-config.in libnet-${SLOT}-config.in || die "moving libnet-config" - cd "${S}"/include - ln -s libnet.h libnet-${SLOT}.h + cd "${S}"/include || die + ln -s libnet.h libnet-${SLOT}.h || die - cd libnet + cd libnet || die for f in *.h ; do ln -s ${f} ${f/-/-${SLOT}-} || die done - cd "${S}"/doc + cd "${S}"/doc || die ln -s libnet.3 libnet-${SLOT}.3 || die - cd "${S}" - - eautoconf + cd "${S}" || die + eautoreconf tc-export AR RANLIB } @@ -53,11 +53,15 @@ src_test() { src_install() { default - doman "${D}"/usr/man/man3/libnet-1.0.3 - rm -r "${D}"/usr/man + doman "${ED}"/usr/man/man3/libnet-1.0.3 + rm -r "${ED}"/usr/man || die dodoc VERSION doc/{README,TODO*,CHANGELOG*} newdoc README README.1st - docinto example ; dodoc example/libnet* - docinto Ancillary ; dodoc doc/Ancillary/* + + docinto example + dodoc example/libnet* + + docinto Ancillary + dodoc doc/Ancillary/* }
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/, net-libs/libnet/files/
commit: ecd205fb78fa52836a18d835c1468e0afd03b38d Author: Jeroen Roovers gentoo org> AuthorDate: Mon Jan 27 00:53:03 2020 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Jan 27 00:54:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecd205fb net-libs/libnet: Old Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> net-libs/libnet/Manifest | 1 - net-libs/libnet/files/libnet-1.1.6-musl.patch| 29 --- net-libs/libnet/files/libnet-1.2-_SOURCE.patch | 20 net-libs/libnet/files/libnet-1.2-rc.patch| 11 - net-libs/libnet/files/libnet-1.2-sizeof.patch| 11 - net-libs/libnet/files/libnet-1.2-socklen_t.patch | 11 - net-libs/libnet/libnet-1.0.2a-r5.ebuild | 63 net-libs/libnet/libnet-1.0.2a-r6.ebuild | 58 -- net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 50 --- 9 files changed, 254 deletions(-) diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest index 0392bfec5f9..b64b987126b 100644 --- a/net-libs/libnet/Manifest +++ b/net-libs/libnet/Manifest @@ -1,3 +1,2 @@ DIST libnet-1.0.2a.tar.gz 140191 BLAKE2B 4107cb714b7be901250759ce5288a86922bd7cc20081a9d2c93758150d74c55844db98c43874befdfb593ec25e128d6ae2389eff7c46da79dcbb9681f649e059 SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95 -DIST libnet-1.2-rc3.tar.gz 676205 BLAKE2B f1aa199489e9aacc6b2bf567f5885e3b54b1044fb292693581c8fbc8fb99c565e0a9436b35914bdbda65798b00527049f279da3b3b6048e32f575f51b92c3309 SHA512 4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d DIST libnet-1.2.tar.gz 649191 BLAKE2B bc463c7869e0327ec2f7663c2e66a27302e368f9846235f6774f36aed66263655badaf980e7e7fb08cc2f9a7f2620129c193bbdd49bbee58401f229a69c50c2a SHA512 84430f24e000eb7728b1fbb5e620716d13d193e8b9e024cf56a08fbeeeaaf56c9122caaf7647f01e6b38b73212e592fa5cc4e8ff56b1d5f5a73aea462e84edd6 diff --git a/net-libs/libnet/files/libnet-1.1.6-musl.patch b/net-libs/libnet/files/libnet-1.1.6-musl.patch deleted file mode 100644 index 238fb8acbef..000 --- a/net-libs/libnet/files/libnet-1.1.6-musl.patch +++ /dev/null @@ -1,29 +0,0 @@ a/src/libnet_link_linux.c -+++ b/src/libnet_link_linux.c -@@ -30,26 +30,15 @@ - #include - - #include --#if (__GLIBC__) - #include - #include --#else --#include --#include --#endif - - #if (HAVE_PACKET_SOCKET) - #ifndef SOL_PACKET - #define SOL_PACKET 263 - #endif /* SOL_PACKET */ --#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1 - #include - #include /* the L2 protocols */ --#else --#include --#include --#include/* The L2 protocols */ --#endif - #endif /* HAVE_PACKET_SOCKET */ - - #include "../include/libnet.h" diff --git a/net-libs/libnet/files/libnet-1.2-_SOURCE.patch b/net-libs/libnet/files/libnet-1.2-_SOURCE.patch deleted file mode 100644 index d9c74f40e30..000 --- a/net-libs/libnet/files/libnet-1.2-_SOURCE.patch +++ /dev/null @@ -1,20 +0,0 @@ a/configure.ac -+++ b/configure.ac -@@ -157,14 +157,14 @@ - case "$target_os" in - - *linux*) --AC_DEFINE(_BSD_SOURCE, 1, -+AC_DEFINE(_DEFAULT_SOURCE, 1, - [Define as necessary to "unhide" header symbols.]) --AC_DEFINE(__BSD_SOURCE, 1, -+AC_DEFINE(__DEFAULT_SOURCE, 1, - [Define as necessary to "unhide" header symbols.]) - AC_DEFINE(__FAVOR_BSD, 1, - [Define if we should favor the BSD APIs when possible in Linux.]) - --LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD" -+LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD" - AC_CHECK_HEADERS(net/ethernet.h, \ - LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H") - ;; diff --git a/net-libs/libnet/files/libnet-1.2-rc.patch b/net-libs/libnet/files/libnet-1.2-rc.patch deleted file mode 100644 index b9e44a3491c..000 --- a/net-libs/libnet/files/libnet-1.2-rc.patch +++ /dev/null @@ -1,11 +0,0 @@ a/configure.ac -+++ b/configure.ac -@@ -4,7 +4,7 @@ - dnl - dnl Process this file with autoconf to produce a configure script. - --AC_INIT([libnet],[1.2-rc3]) -+AC_INIT([libnet],[1.2]) - AC_MSG_RESULT(beginning autoconfiguration process for libnet-${PACKAGE_VERSION} ...) - AC_CANONICAL_TARGET - AC_CONFIG_SRCDIR([src/libnet_build_ip.c]) diff --git a/net-libs/libnet/files/libnet-1.2-sizeof.patch b/net-libs/libnet/files/libnet-1.2-sizeof.patch deleted file mode 100644 index 603224267fd..000 --- a/net-libs/libnet/files/libnet-1.2-sizeof.patch +++ /dev/null @@ -1,11 +0,0 @@ a/sample/sebek.c -+++ b/sample/sebek.c -@@ -167,7 +167,7 @@ - - if (payload_flag) - { -- memset(cmd, 0, sizeof(cmd)); -+ memset(cmd, 0, length); - memcpy(cmd, payload, (payload_s < 12 ?
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 192352c6b7bf7fe11bdb6e6e34e80d9489d9c534 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jan 3 14:33:01 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jan 3 14:33:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192352c6 net-libs/libnet: arm stable wrt bug #704430 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> net-libs/libnet/libnet-1.0.2a-r7.ebuild | 2 +- net-libs/libnet/libnet-1.2.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild index 383fc03d56c..d3eac2a745c 100644 --- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.0" -KEYWORDS="~alpha amd64 ~arm hppa ppc ppc64 sparc x86" +KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86" PATCHES=( "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 1af5f37f19b..a45d3c034c3 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: d6a79fc77407b75490323a00eb3de24c8eddf72f Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jan 3 14:30:39 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jan 3 14:30:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a79fc7 net-libs/libnet: x86 stable wrt bug #704430 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-libs/libnet/libnet-1.0.2a-r7.ebuild | 2 +- net-libs/libnet/libnet-1.2.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild index 514760cafb9..383fc03d56c 100644 --- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.0" -KEYWORDS="~alpha amd64 ~arm hppa ppc ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 ~arm hppa ppc ppc64 sparc x86" PATCHES=( "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 006bbd8ee86..1af5f37f19b 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: ce5ed2a78df7eb34314fe699965a414681a7ee0d Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jan 3 13:55:53 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jan 3 13:55:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5ed2a7 net-libs/libnet: ia64 stable wrt bug #704430 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="ia64" Signed-off-by: Agostino Sarubbo gentoo.org> net-libs/libnet/libnet-1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 42b93d45a90..006bbd8ee86 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 71a17bd0f1c1d65c5b2f3ebeaa3a14a7e2d2d8f8 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jan 3 13:43:39 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jan 3 13:43:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71a17bd0 net-libs/libnet: ppc64 stable wrt bug #704430 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> net-libs/libnet/libnet-1.0.2a-r7.ebuild | 2 +- net-libs/libnet/libnet-1.2.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild index 1b33c6a453a..514760cafb9 100644 --- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.0" -KEYWORDS="~alpha amd64 ~arm hppa ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 ~arm hppa ppc ppc64 sparc ~x86" PATCHES=( "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index a0cf472c77c..42b93d45a90 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: ad0938461ce4247b774f2ceff8800adae4e330d5 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Jan 3 13:41:50 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Jan 3 13:41:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad093846 net-libs/libnet: ppc stable wrt bug #704430 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> net-libs/libnet/libnet-1.0.2a-r7.ebuild | 2 +- net-libs/libnet/libnet-1.2.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild index 1a61d74f0a3..1b33c6a453a 100644 --- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.0" -KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 sparc ~x86" +KEYWORDS="~alpha amd64 ~arm hppa ppc ~ppc64 sparc ~x86" PATCHES=( "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 7ebcb99f861..a0cf472c77c 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 3eba4f7ed1a15c07a0fa52fb30e0e5f5c90ccb6d Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Jan 2 09:47:23 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Jan 2 09:57:28 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eba4f7e net-libs/libnet: stable 1.2 for sparc, bug #704430 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-libs/libnet/libnet-1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 2787c2677e1..7ebcb99f861 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: caf649f85427670d983e4e6f53d71147a5edc8f2 Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Jan 2 09:46:40 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Jan 2 09:57:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caf649f8 net-libs/libnet: stable 1.0.2a-r7 for sparc, bug #704430 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> net-libs/libnet/libnet-1.0.2a-r7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild index 1d46c56cde4..1a61d74f0a3 100644 --- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.0" -KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 sparc ~x86" PATCHES=( "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 376b56e7587a4617f18f9db6595bea3ac18d3910 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 1 17:24:53 2020 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 1 17:53:22 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=376b56e7 net-libs/libnet: Stable for HPPA Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> net-libs/libnet/libnet-1.0.2a-r7.ebuild | 2 +- net-libs/libnet/libnet-1.2.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild index 8d105ab9c34..1d46c56cde4 100644 --- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -10,7 +10,7 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 ~sparc ~x86" PATCHES=( "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 059e42e6ecc..2787c2677e1 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: f8c2c530e9d5fe713eecf9b40de7a35253b443ca Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Jan 1 15:30:40 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Jan 1 15:30:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8c2c530 net-libs/libnet: amd64 stable wrt bug #704430 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-libs/libnet/libnet-1.0.2a-r7.ebuild | 4 ++-- net-libs/libnet/libnet-1.2.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild index 5419190c2e1..8d105ab9c34 100644 --- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" PATCHES=( "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild index 1fd8b0b6e39..059e42e6ecc 100644 --- a/net-libs/libnet/libnet-1.2.ebuild +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz; LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 7cf0b294af6003f222a40d507cc3bf165ea931f1 Author: Jeroen Roovers gentoo org> AuthorDate: Sun Dec 29 20:33:45 2019 + Commit: Jeroen Roovers gentoo org> CommitDate: Sun Dec 29 20:34:13 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cf0b294 net-libs/libnet: Update live ebuild Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> net-libs/libnet/libnet-1.2..ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2..ebuild b/net-libs/libnet/libnet-1.2..ebuild index 33f91d1bf65..d2ccab09706 100644 --- a/net-libs/libnet/libnet-1.2..ebuild +++ b/net-libs/libnet/libnet-1.2..ebuild @@ -14,7 +14,7 @@ KEYWORDS="" IUSE="static-libs" DOCS=( - ChangeLog.md README.md doc/{MIGRATION,RAWSOCKET_NON_SEQUITUR,TODO} + ChangeLog.md README.md doc/{MIGRATION,RAWSOCKET,TODO}.md ) S=${WORKDIR}/${P/_/-}
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: a727eff80942ddf13cfe7e02427efda05e9f1166 Author: Jeroen Roovers gentoo org> AuthorDate: Mon Oct 28 09:33:43 2019 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Oct 28 09:49:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a727eff8 net-libs/libnet: Old Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Jeroen Roovers gentoo.org> net-libs/libnet/Manifest | 1 - net-libs/libnet/libnet-1.2_rc4.ebuild | 28 2 files changed, 29 deletions(-) diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest index d702fc8e600..0392bfec5f9 100644 --- a/net-libs/libnet/Manifest +++ b/net-libs/libnet/Manifest @@ -1,4 +1,3 @@ DIST libnet-1.0.2a.tar.gz 140191 BLAKE2B 4107cb714b7be901250759ce5288a86922bd7cc20081a9d2c93758150d74c55844db98c43874befdfb593ec25e128d6ae2389eff7c46da79dcbb9681f649e059 SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95 DIST libnet-1.2-rc3.tar.gz 676205 BLAKE2B f1aa199489e9aacc6b2bf567f5885e3b54b1044fb292693581c8fbc8fb99c565e0a9436b35914bdbda65798b00527049f279da3b3b6048e32f575f51b92c3309 SHA512 4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d -DIST libnet-1.2-rc4.tar.gz 615726 BLAKE2B 90d2a98dc52c32ff7d97edd4f85c04e56ba5c9300b39fff560f39078dbfd451474118168c291db1fa13fb0d6af123c23a604e03d0f88609a0c131c694cffd755 SHA512 01c815c9e544f00a2b35372466ff8b372b132e3d4ee7b99557f799e0b4380777bebde2ce9bdd804314dffe88ce953f332923d9fa2bf3c186ea19e045b94edbcd DIST libnet-1.2.tar.gz 649191 BLAKE2B bc463c7869e0327ec2f7663c2e66a27302e368f9846235f6774f36aed66263655badaf980e7e7fb08cc2f9a7f2620129c193bbdd49bbee58401f229a69c50c2a SHA512 84430f24e000eb7728b1fbb5e620716d13d193e8b9e024cf56a08fbeeeaaf56c9122caaf7647f01e6b38b73212e592fa5cc4e8ff56b1d5f5a73aea462e84edd6 diff --git a/net-libs/libnet/libnet-1.2_rc4.ebuild b/net-libs/libnet/libnet-1.2_rc4.ebuild deleted file mode 100644 index 8a6dcf74cdc..000 --- a/net-libs/libnet/libnet-1.2_rc4.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="library providing an API 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 HPND" -SLOT="1.1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="static-libs" - -DOCS=( - ChangeLog.md README.md doc/{MIGRATION,RAWSOCKET_NON_SEQUITUR,TODO} -) -S=${WORKDIR}/${P/_/-} - -src_configure() { - econf $(use_enable static-libs static) -} - -src_install() { - default - - find "${D}" -name '*.la' -delete || die -}
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/, net-libs/libnet/files/
commit: 0f97f90369c880c95a869a795a885674bca3a778 Author: Jeroen Roovers gentoo org> AuthorDate: Mon Oct 28 09:48:39 2019 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Oct 28 09:49:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f97f903 net-libs/libnet: EAPI=7, fix src_test() Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Jeroen Roovers gentoo.org> net-libs/libnet/files/libnet-1.0.2a-test.patch | 54 ++ net-libs/libnet/libnet-1.0.2a-r7.ebuild| 63 ++ 2 files changed, 117 insertions(+) diff --git a/net-libs/libnet/files/libnet-1.0.2a-test.patch b/net-libs/libnet/files/libnet-1.0.2a-test.patch new file mode 100644 index 000..8bbb2ac45d1 --- /dev/null +++ b/net-libs/libnet/files/libnet-1.0.2a-test.patch @@ -0,0 +1,54 @@ +--- a/test/Makefile.in b/test/Makefile.in +@@ -9,31 +9,31 @@ + all: test + + test: +- if ! test -e ../lib/libnet.a; then \ +- cd .. && make; \ ++ if ! test -e ../lib/libnet-1.0.a; then \ ++ cd .. && $(MAKE); \ + fi +- cd Random; make all +- cd ICMP; make all +- cd UDP; make all +- cd TCP; make all +- cd Ethernet; make all +- cd OSPF; make all ++ cd Random; $(MAKE) all ++ cd ICMP; $(MAKE) all ++ cd UDP; $(MAKE) all ++ cd TCP; $(MAKE) all ++ cd Ethernet; $(MAKE) all ++ cd OSPF; $(MAKE) all + + clean: +- cd Random; make clean +- cd ICMP; make clean +- cd UDP; make clean +- cd TCP; make clean +- cd Ethernet; make clean +- cd OSPF; make clean ++ cd Random; $(MAKE) clean ++ cd ICMP; $(MAKE) clean ++ cd UDP; $(MAKE) clean ++ cd TCP; $(MAKE) clean ++ cd Ethernet; $(MAKE) clean ++ cd OSPF; $(MAKE) clean + + distclean: clean +- cd TCP; make distclean +- cd UDP; make distclean +- cd ICMP; make distclean +- cd Random; make distclean +- cd Ethernet; make distclean +- cd OSPF; make distclean ++ cd TCP; $(MAKE) distclean ++ cd UDP; $(MAKE) distclean ++ cd ICMP; $(MAKE) distclean ++ cd Random; $(MAKE) distclean ++ cd Ethernet; $(MAKE) distclean ++ cd OSPF; $(MAKE) distclean + rm -f Makefile + + # EOF diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild new file mode 100644 index 000..5419190c2e1 --- /dev/null +++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools toolchain-funcs + +DESCRIPTION="library providing an API for commonly used low-level network functions" +HOMEPAGE="http://www.packetfactory.net/libnet/; +SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; + +LICENSE="BSD BSD-2 HPND" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch + "${FILESDIR}"/${PN}-1.0.2a-slot.patch + "${FILESDIR}"/${PN}-1.0.2a-endian.patch + "${FILESDIR}"/${PN}-1.0.2a-_SOURCE.patch + "${FILESDIR}"/${PN}-1.0.2a-funroll.patch + "${FILESDIR}"/${PN}-1.0.2a-test.patch + +) +S=${WORKDIR}/Libnet-${PV} + +src_prepare() { + default + + cd "${S}" + mv libnet-config.in libnet-${SLOT}-config.in || die "moving libnet-config" + + cd "${S}"/include + ln -s libnet.h libnet-${SLOT}.h + + cd libnet + for f in *.h ; do + ln -s ${f} ${f/-/-${SLOT}-} || die + done + + cd "${S}"/doc + ln -s libnet.3 libnet-${SLOT}.3 || die + + cd "${S}" + + eautoconf + + tc-export AR RANLIB +} + +src_test() { + emake -C test +} + +src_install() { + default + doman "${D}"/usr/man/man3/libnet-1.0.3 + rm -r "${D}"/usr/man + + dodoc VERSION doc/{README,TODO*,CHANGELOG*} + newdoc README README.1st + docinto example ; dodoc example/libnet* + docinto Ancillary ; dodoc doc/Ancillary/* +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: ab5d0e6bbd010a4e6a569abd29b3c3f8955844bc Author: Jeroen Roovers gentoo org> AuthorDate: Wed Oct 16 20:43:02 2019 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Oct 16 20:57:38 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab5d0e6b net-libs/libnet: Version 1.2 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Jeroen Roovers gentoo.org> net-libs/libnet/Manifest | 1 + net-libs/libnet/libnet-1.2.ebuild | 27 +++ 2 files changed, 28 insertions(+) diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest index 6cac2ef87a7..d702fc8e600 100644 --- a/net-libs/libnet/Manifest +++ b/net-libs/libnet/Manifest @@ -1,3 +1,4 @@ DIST libnet-1.0.2a.tar.gz 140191 BLAKE2B 4107cb714b7be901250759ce5288a86922bd7cc20081a9d2c93758150d74c55844db98c43874befdfb593ec25e128d6ae2389eff7c46da79dcbb9681f649e059 SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95 DIST libnet-1.2-rc3.tar.gz 676205 BLAKE2B f1aa199489e9aacc6b2bf567f5885e3b54b1044fb292693581c8fbc8fb99c565e0a9436b35914bdbda65798b00527049f279da3b3b6048e32f575f51b92c3309 SHA512 4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d DIST libnet-1.2-rc4.tar.gz 615726 BLAKE2B 90d2a98dc52c32ff7d97edd4f85c04e56ba5c9300b39fff560f39078dbfd451474118168c291db1fa13fb0d6af123c23a604e03d0f88609a0c131c694cffd755 SHA512 01c815c9e544f00a2b35372466ff8b372b132e3d4ee7b99557f799e0b4380777bebde2ce9bdd804314dffe88ce953f332923d9fa2bf3c186ea19e045b94edbcd +DIST libnet-1.2.tar.gz 649191 BLAKE2B bc463c7869e0327ec2f7663c2e66a27302e368f9846235f6774f36aed66263655badaf980e7e7fb08cc2f9a7f2620129c193bbdd49bbee58401f229a69c50c2a SHA512 84430f24e000eb7728b1fbb5e620716d13d193e8b9e024cf56a08fbeeeaaf56c9122caaf7647f01e6b38b73212e592fa5cc4e8ff56b1d5f5a73aea462e84edd6 diff --git a/net-libs/libnet/libnet-1.2.ebuild b/net-libs/libnet/libnet-1.2.ebuild new file mode 100644 index 000..1fd8b0b6e39 --- /dev/null +++ b/net-libs/libnet/libnet-1.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="library providing an API 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 HPND" +SLOT="1.1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="static-libs" + +DOCS=( + ChangeLog.md README.md doc/MIGRATION.md +) + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 87d0b7b088c20ebc78ee7e48ea710032be907176 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Oct 9 06:33:25 2019 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Oct 9 06:39:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87d0b7b0 net-libs/libnet: Version 1.2_rc4 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Jeroen Roovers gentoo.org> net-libs/libnet/Manifest | 1 + net-libs/libnet/libnet-1.2..ebuild | 4 ++-- ...ibnet-1.2..ebuild => libnet-1.2_rc4.ebuild} | 28 -- 3 files changed, 8 insertions(+), 25 deletions(-) diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest index fba13d83980..6cac2ef87a7 100644 --- a/net-libs/libnet/Manifest +++ b/net-libs/libnet/Manifest @@ -1,2 +1,3 @@ DIST libnet-1.0.2a.tar.gz 140191 BLAKE2B 4107cb714b7be901250759ce5288a86922bd7cc20081a9d2c93758150d74c55844db98c43874befdfb593ec25e128d6ae2389eff7c46da79dcbb9681f649e059 SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95 DIST libnet-1.2-rc3.tar.gz 676205 BLAKE2B f1aa199489e9aacc6b2bf567f5885e3b54b1044fb292693581c8fbc8fb99c565e0a9436b35914bdbda65798b00527049f279da3b3b6048e32f575f51b92c3309 SHA512 4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d +DIST libnet-1.2-rc4.tar.gz 615726 BLAKE2B 90d2a98dc52c32ff7d97edd4f85c04e56ba5c9300b39fff560f39078dbfd451474118168c291db1fa13fb0d6af123c23a604e03d0f88609a0c131c694cffd755 SHA512 01c815c9e544f00a2b35372466ff8b372b132e3d4ee7b99557f799e0b4380777bebde2ce9bdd804314dffe88ce953f332923d9fa2bf3c186ea19e045b94edbcd diff --git a/net-libs/libnet/libnet-1.2..ebuild b/net-libs/libnet/libnet-1.2..ebuild index 1059f3a86ce..107f73751b5 100644 --- a/net-libs/libnet/libnet-1.2..ebuild +++ b/net-libs/libnet/libnet-1.2..ebuild @@ -5,8 +5,8 @@ EAPI=7 inherit autotools git-r3 DESCRIPTION="library providing an API for commonly used low-level network functions" -HOMEPAGE="http://libnet-dev.sourceforge.net/ https://github.com/sam-github/libnet; -EGIT_REPO_URI="https://github.com/sam-github/libnet; +HOMEPAGE="http://libnet-dev.sourceforge.net/ https://github.com/libnet/libnet; +EGIT_REPO_URI="https://github.com/libnet/libnet; LICENSE="BSD BSD-2 HPND" SLOT="1.1" diff --git a/net-libs/libnet/libnet-1.2..ebuild b/net-libs/libnet/libnet-1.2_rc4.ebuild similarity index 51% copy from net-libs/libnet/libnet-1.2..ebuild copy to net-libs/libnet/libnet-1.2_rc4.ebuild index 1059f3a86ce..e4c9ab48021 100644 --- a/net-libs/libnet/libnet-1.2..ebuild +++ b/net-libs/libnet/libnet-1.2_rc4.ebuild @@ -2,31 +2,20 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools git-r3 DESCRIPTION="library providing an API for commonly used low-level network functions" -HOMEPAGE="http://libnet-dev.sourceforge.net/ https://github.com/sam-github/libnet; -EGIT_REPO_URI="https://github.com/sam-github/libnet; +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 HPND" SLOT="1.1" -KEYWORDS="" -IUSE="doc static-libs" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="static-libs" DOCS=( - README.md doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION} - doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO} + ChangeLog.md README.md doc/{MIGRATION,RAWSOCKET_NON_SEQUITUR,TODO} ) S=${WORKDIR}/${P/_/-} -PATCHES=( - "${FILESDIR}"/${PN}-1.2-socklen_t.patch -) - -src_prepare() { - default - - eautoreconf -} src_configure() { econf $(use_enable static-libs static) @@ -35,12 +24,5 @@ src_configure() { src_install() { default - if use doc ; then - docinto html - dodoc -r doc/html/* - docinto sample - dodoc sample/*.[ch] - fi - find "${D}" -name '*.la' -delete || die }
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 1fbcd7e0e9b38debce2ec9dd069399867d425369 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Oct 9 06:38:57 2019 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Oct 9 06:39:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fbcd7e0 net-libs/libnet: Update live ebuild Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Jeroen Roovers gentoo.org> net-libs/libnet/libnet-1.2..ebuild | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/net-libs/libnet/libnet-1.2..ebuild b/net-libs/libnet/libnet-1.2..ebuild index 107f73751b5..33f91d1bf65 100644 --- a/net-libs/libnet/libnet-1.2..ebuild +++ b/net-libs/libnet/libnet-1.2..ebuild @@ -11,16 +11,12 @@ EGIT_REPO_URI="https://github.com/libnet/libnet; LICENSE="BSD BSD-2 HPND" SLOT="1.1" KEYWORDS="" -IUSE="doc static-libs" +IUSE="static-libs" DOCS=( - README.md doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION} - doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO} + ChangeLog.md README.md doc/{MIGRATION,RAWSOCKET_NON_SEQUITUR,TODO} ) S=${WORKDIR}/${P/_/-} -PATCHES=( - "${FILESDIR}"/${PN}-1.2-socklen_t.patch -) src_prepare() { default @@ -35,12 +31,5 @@ src_configure() { src_install() { default - if use doc ; then - docinto html - dodoc -r doc/html/* - docinto sample - dodoc sample/*.[ch] - fi - find "${D}" -name '*.la' -delete || die }
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 30cadf328c285f1d333c03269f326a0dd610233d Author: Jeroen Roovers gentoo org> AuthorDate: Mon Sep 30 07:18:08 2019 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Sep 30 07:18:50 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30cadf32 net-libs/libnet: Add live ebuild Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Jeroen Roovers gentoo.org> net-libs/libnet/libnet-1.2..ebuild | 46 ++ 1 file changed, 46 insertions(+) diff --git a/net-libs/libnet/libnet-1.2..ebuild b/net-libs/libnet/libnet-1.2..ebuild new file mode 100644 index 000..1059f3a86ce --- /dev/null +++ b/net-libs/libnet/libnet-1.2..ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools git-r3 + +DESCRIPTION="library providing an API for commonly used low-level network functions" +HOMEPAGE="http://libnet-dev.sourceforge.net/ https://github.com/sam-github/libnet; +EGIT_REPO_URI="https://github.com/sam-github/libnet; + +LICENSE="BSD BSD-2 HPND" +SLOT="1.1" +KEYWORDS="" +IUSE="doc static-libs" + +DOCS=( + README.md doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION} + doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO} +) +S=${WORKDIR}/${P/_/-} +PATCHES=( + "${FILESDIR}"/${PN}-1.2-socklen_t.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + if use doc ; then + docinto html + dodoc -r doc/html/* + docinto sample + dodoc sample/*.[ch] + fi + + find "${D}" -name '*.la' -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 432ee0e1c2fb79ea25e378c8c4b94991c55bb79e Author: Jeroen Roovers gentoo org> AuthorDate: Thu Jun 28 18:19:09 2018 + Commit: Jeroen Roovers gentoo org> CommitDate: Thu Jun 28 18:19:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432ee0e1 net-libs/libnet: Update HOMEPAGE. Package-Manager: Portage-2.3.41, Repoman-2.3.9 net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild index ea59655bc92..6f678049447 100644 --- a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild +++ b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit autotools eutils DESCRIPTION="library providing an API for commonly used low-level network functions" -HOMEPAGE="http://libnet-dev.sourceforge.net/; +HOMEPAGE="http://libnet-dev.sourceforge.net/ https://github.com/sam-github/libnet; SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz" LICENSE="BSD BSD-2 HPND"
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/files/, net-libs/libnet/
commit: a0d152a7a6bee296ad8730d8c854b641d8c4b28f Author: Jeroen Roovers gentoo org> AuthorDate: Sat Dec 2 11:59:11 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Sat Dec 2 11:59:59 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0d152a7 net-libs/libnet: Fix libnet-1.0-config --defines. Package-Manager: Portage-2.3.16, Repoman-2.3.6 net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch | 11 + net-libs/libnet/files/libnet-1.0.2a-funroll.patch | 12 + net-libs/libnet/libnet-1.0.2a-r6.ebuild | 58 +++ 3 files changed, 81 insertions(+) diff --git a/net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch b/net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch new file mode 100644 index 000..5c81dbfe948 --- /dev/null +++ b/net-libs/libnet/files/libnet-1.0.2a-_SOURCE.patch @@ -0,0 +1,11 @@ +--- a/configure.in b/configure.in +@@ -143,7 +143,7 @@ + AC_DEFINE(_BSD_SOURCE) + AC_DEFINE(__BSD_SOURCE) + AC_DEFINE(__FAVOR_BSD) +-LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD" ++LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__FAVOR_BSD" + AC_CHECK_HEADERS(net/ethernet.h, \ + LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H") + MAN_PREFIX="$prefix/man/man3/" diff --git a/net-libs/libnet/files/libnet-1.0.2a-funroll.patch b/net-libs/libnet/files/libnet-1.0.2a-funroll.patch new file mode 100644 index 000..dd77d05dff2 --- /dev/null +++ b/net-libs/libnet/files/libnet-1.0.2a-funroll.patch @@ -0,0 +1,12 @@ +--- a/configure.in.JeR b/configure.in +@@ -51,8 +51,7 @@ + dnl + if test $ac_cv_prog_gcc = yes; then + dnl if test -z $CFLAGS; then +-CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall' +-CFLAGS="$CCOPTS" ++: + dnl fi + fi + diff --git a/net-libs/libnet/libnet-1.0.2a-r6.ebuild b/net-libs/libnet/libnet-1.0.2a-r6.ebuild new file mode 100644 index 000..adba36bff7d --- /dev/null +++ b/net-libs/libnet/libnet-1.0.2a-r6.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools eutils toolchain-funcs + +DESCRIPTION="library providing an API for commonly used low-level network functions" +HOMEPAGE="http://www.packetfactory.net/libnet/; +SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz; + +LICENSE="BSD BSD-2 HPND" +SLOT="1.0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch + "${FILESDIR}"/${PN}-1.0.2a-slot.patch + "${FILESDIR}"/${PN}-1.0.2a-endian.patch + "${FILESDIR}"/${PN}-1.0.2a-_SOURCE.patch + "${FILESDIR}"/${PN}-1.0.2a-funroll.patch + +) +S=${WORKDIR}/Libnet-${PV} + +src_prepare() { + default + + cd "${S}" + mv libnet-config.in libnet-${SLOT}-config.in || die "moving libnet-config" + + cd "${S}"/include + ln -s libnet.h libnet-${SLOT}.h + + cd libnet + for f in *.h ; do + ln -s ${f} ${f/-/-${SLOT}-} || die + done + + cd "${S}"/doc + ln -s libnet.3 libnet-${SLOT}.3 || die + + cd "${S}" + + eautoconf + + tc-export AR RANLIB +} + +src_install() { + default + doman "${D}"/usr/man/man3/libnet-1.0.3 + rm -r "${D}"/usr/man + + dodoc VERSION doc/{README,TODO*,CHANGELOG*} + newdoc README README.1st + docinto example ; dodoc example/libnet* + docinto Ancillary ; dodoc doc/Ancillary/* +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/, net-libs/libnet/files/
commit: 16876752e8982ebdef41486aaf9d1d7c9f78fa65 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Dec 2 11:25:46 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Sat Dec 2 11:59:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16876752 net-libs/libnet: Old. Package-Manager: Portage-2.3.16, Repoman-2.3.6 net-libs/libnet/Manifest | 5 +-- net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch | 20 -- net-libs/libnet/libnet-1.1.6-r1.ebuild | 50 net-libs/libnet/libnet-1.1.6.ebuild | 41 --- net-libs/libnet/libnet-1.2_rc3.ebuild| 44 - 5 files changed, 2 insertions(+), 158 deletions(-) diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest index 9cbc0ae64c3..fba13d83980 100644 --- a/net-libs/libnet/Manifest +++ b/net-libs/libnet/Manifest @@ -1,3 +1,2 @@ -DIST libnet-1.0.2a.tar.gz 140191 SHA256 7c7f2e8ccb47bb47072c5cd583fea5e90ab892c75889b625346b60d10464459a SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95 WHIRLPOOL 9b3748fe93191643a01cab0ce76283aa11079960efca5daaf52d7a0aa830c3791a200711c9d4b4634739328282bbc4f73b24a15406b4bf5353838ef24c19afcc -DIST libnet-1.1.6.tar.gz 1202970 SHA256 d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a SHA512 a67e502b0e6957ca590e47cb50b0472dd83d622d84c62818d665d771616df91b5a8fa8fcf1040d13b7860aaabaf338152ef40f66ab97c3fc9502edb08cea0bb6 WHIRLPOOL eb0596d8d6d1b0434ce8d1ec7069826e326effa5ad215e607dc7afc495ae0bdee443f6661deb5b54c8564abd8fa0ccbf4f509726d3caa81767d80f4f5079b379 -DIST libnet-1.2-rc3.tar.gz 676205 SHA256 72c380785ad44183005e654b47cc12485ee0228d7fa6b0a87109ff7614be4a63 SHA512 4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d WHIRLPOOL 617b01b3e0ec150b89fd0a5160a84704e82a14c584735d87bca6bf7f0847e461d99e72fe2d632761af229c4379881b0ddf270171071052cd288a2ab54c3d3a02 +DIST libnet-1.0.2a.tar.gz 140191 BLAKE2B 4107cb714b7be901250759ce5288a86922bd7cc20081a9d2c93758150d74c55844db98c43874befdfb593ec25e128d6ae2389eff7c46da79dcbb9681f649e059 SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95 +DIST libnet-1.2-rc3.tar.gz 676205 BLAKE2B f1aa199489e9aacc6b2bf567f5885e3b54b1044fb292693581c8fbc8fb99c565e0a9436b35914bdbda65798b00527049f279da3b3b6048e32f575f51b92c3309 SHA512 4f1c5c1a72e2c35ca3add772cb1af63e8245bb5c127e4a74fb9f619f987a4ea047bf17caaa292e9b7fa7642635773b90975d013644be0383dca93d688ca8430d diff --git a/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch b/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch deleted file mode 100644 index 25ddbc7b110..000 --- a/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch +++ /dev/null @@ -1,20 +0,0 @@ a/configure.in -+++ b/configure.in -@@ -157,14 +157,14 @@ - case "$target_os" in - - *linux*) --AC_DEFINE(_BSD_SOURCE, 1, -+AC_DEFINE(_DEFAULT_SOURCE, 1, - [Define as necessary to "unhide" header symbols.]) --AC_DEFINE(__BSD_SOURCE, 1, -+AC_DEFINE(__DEFAULT_SOURCE, 1, - [Define as necessary to "unhide" header symbols.]) - AC_DEFINE(__FAVOR_BSD, 1, - [Define if we should favor the BSD APIs when possible in Linux.]) - --LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD" -+LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD" - AC_CHECK_HEADERS(net/ethernet.h, \ - LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H") - ;; diff --git a/net-libs/libnet/libnet-1.1.6-r1.ebuild b/net-libs/libnet/libnet-1.1.6-r1.ebuild deleted file mode 100644 index 8311759829d..000 --- a/net-libs/libnet/libnet-1.1.6-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools eutils - -DESCRIPTION="library providing an API for commonly used low-level network functions" -HOMEPAGE="http://libnet-dev.sourceforge.net/; -SRC_URI="mirror://sourceforge/project/${PN}-dev/${P}.tar.gz" - -LICENSE="BSD BSD-2 HPND" -SLOT="1.1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="doc static-libs" - -DEPEND="sys-devel/autoconf" - -DOCS=( - README doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION} - doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO} -) -PATCHES=( - "${FILESDIR}"/${PN}-1.1.6-_SOURCE.patch - "${FILESDIR}"/${PN}-1.1.6-musl.patch - "${FILESDIR}"/${PN}-1.2-sizeof.patch -) - -src_prepare() { - default - - mv configure{.in,.ac} || die - eautoreconf -} - -src_configure() {
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/files/, net-libs/libnet/
commit: 6886f9b98158264ceb539805cbe749a4acf964f0 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Dec 2 11:56:57 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Sat Dec 2 11:59:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6886f9b9 net-libs/libnet: Clean up patches. Package-Manager: Portage-2.3.16, Repoman-2.3.6 .../files/{1.0.2a-endian.patch => libnet-1.0.2a-endian.patch} | 0 .../files/{libnet-gcc33-fix => libnet-1.0.2a-gcc33-fix.patch} | 4 ++-- .../libnet/files/{1.0.2a-slot.patch => libnet-1.0.2a-slot.patch} | 0 net-libs/libnet/libnet-1.0.2a-r5.ebuild | 8 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net-libs/libnet/files/1.0.2a-endian.patch b/net-libs/libnet/files/libnet-1.0.2a-endian.patch similarity index 100% rename from net-libs/libnet/files/1.0.2a-endian.patch rename to net-libs/libnet/files/libnet-1.0.2a-endian.patch diff --git a/net-libs/libnet/files/libnet-gcc33-fix b/net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch similarity index 73% rename from net-libs/libnet/files/libnet-gcc33-fix rename to net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch index 6f711abc8eb..c4f3ae92570 100644 --- a/net-libs/libnet/files/libnet-gcc33-fix +++ b/net-libs/libnet/files/libnet-1.0.2a-gcc33-fix.patch @@ -1,5 +1,5 @@ Libnet-1.0.2a-orig/include/libnet.h2001-02-07 00:19:25.0 +0100 -+++ Libnet-1.0.2a/include/libnet.h 2003-07-24 18:34:33.0 +0200 +--- a/include/libnet.h b/include/libnet.h @@ -84,8 +84,8 @@ #define LIBNET_VERSION "1.0.2a" diff --git a/net-libs/libnet/files/1.0.2a-slot.patch b/net-libs/libnet/files/libnet-1.0.2a-slot.patch similarity index 100% rename from net-libs/libnet/files/1.0.2a-slot.patch rename to net-libs/libnet/files/libnet-1.0.2a-slot.patch diff --git a/net-libs/libnet/libnet-1.0.2a-r5.ebuild b/net-libs/libnet/libnet-1.0.2a-r5.ebuild index babc5f8db28..cef3b46b4cf 100644 --- a/net-libs/libnet/libnet-1.0.2a-r5.ebuild +++ b/net-libs/libnet/libnet-1.0.2a-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 @@ -16,10 +16,10 @@ IUSE="" S=${WORKDIR}/Libnet-${PV} src_prepare() { - epatch "${FILESDIR}"/libnet-gcc33-fix \ - "${FILESDIR}"/${PV}-slot.patch + epatch "${FILESDIR}"/${PN}-1.0.2a-gcc33-fix.patch \ + "${FILESDIR}"/${PN}-1.0.2a-slot.patch - use arm && epatch "${FILESDIR}"/${PV}-endian.patch + use arm && epatch "${FILESDIR}"/${PN}-1.0.2a-endian.patch cd "${S}" mv libnet-config.in libnet-${SLOT}-config.in || die "moving libnet-config"
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 9de9e739c838217a1df5e933e403857f67186953 Author: Fabian Groffen gentoo org> AuthorDate: Sun Jan 29 19:31:34 2017 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Jan 29 19:33:29 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de9e739 net-libs/libnet: dropped ~x86-freebsd Package-Manager: portage-2.3.3 net-libs/libnet/libnet-1.1.6-r1.ebuild | 4 ++-- net-libs/libnet/libnet-1.1.6.ebuild | 4 ++-- net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 2 +- net-libs/libnet/libnet-1.2_rc3.ebuild| 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net-libs/libnet/libnet-1.1.6-r1.ebuild b/net-libs/libnet/libnet-1.1.6-r1.ebuild index 0144fd4..20d11be 100644 --- a/net-libs/libnet/libnet-1.1.6-r1.ebuild +++ b/net-libs/libnet/libnet-1.1.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DEPEND="sys-devel/autoconf" diff --git a/net-libs/libnet/libnet-1.1.6.ebuild b/net-libs/libnet/libnet-1.1.6.ebuild index 83eb188..88601ce 100644 --- a/net-libs/libnet/libnet-1.1.6.ebuild +++ b/net-libs/libnet/libnet-1.1.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DEPEND="sys-devel/autoconf" diff --git a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild index 48a2527..b5f96c9 100644 --- a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild +++ b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DOCS=( diff --git a/net-libs/libnet/libnet-1.2_rc3.ebuild b/net-libs/libnet/libnet-1.2_rc3.ebuild index 7fa3661..d19cc4c 100644 --- a/net-libs/libnet/libnet-1.2_rc3.ebuild +++ b/net-libs/libnet/libnet-1.2_rc3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DEPEND="sys-devel/autoconf"
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 154ce056b1feb81054f53187738e10cea2b9c297 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Dec 20 19:02:28 2016 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Dec 20 20:08:59 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=154ce056 net-libs/libnet: x86 stable (bug #591978) Package-Manager: Portage-2.3.2, Repoman-2.3.1 net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild index 7f8e8a8..b9212ea 100644 --- a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild +++ b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 738d28d6a4a4910b1ef35bd33f93a15d284447c9 Author: Tobias Klausmann gentoo org> AuthorDate: Tue Dec 20 14:32:42 2016 + Commit: Tobias Klausmann gentoo org> CommitDate: Tue Dec 20 14:32:42 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=738d28d6 net-libs/libnet-1.2_rc3-r1: stable on amd64 Gentoo-Bug: 591978 net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild index 50f4610..7f8e8a8 100644 --- a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild +++ b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="alpha ~amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 3d15f373002bc12188da9bcac0de6c70927fd1ac Author: Jeroen Roovers gentoo org> AuthorDate: Mon Oct 10 14:44:59 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Oct 10 14:44:59 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d15f373 net-libs/libnet: Stable for PPC64 (bug #591978). Package-Manager: portage-2.3.1 RepoMan-Options: --ignore-arches net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild index cf665b7..50f4610 100644 --- a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild +++ b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="alpha ~amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="alpha ~amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: 838dda708d262a659a5578cc97e8de8135212824 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Oct 1 12:13:52 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Sat Oct 1 12:13:52 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=838dda70 net-libs/libnet: Stable for HPPA (bug #591978). Package-Manager: portage-2.3.1 RepoMan-Options: --ignore-arches net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild index aed5df5..cf665b7 100644 --- a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild +++ b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="alpha ~amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: edf3a98f4e7c545298f3778dc480658a4cf3d6e8 Author: Tobias Klausmann gentoo org> AuthorDate: Wed Sep 21 17:48:08 2016 + Commit: Tobias Klausmann gentoo org> CommitDate: Wed Sep 21 17:48:08 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf3a98f net-libs/libnet-1.2_rc3-r1: add alpha keyword Gentoo-Bug: 591978 net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild index 38e9850..aed5df5 100644 --- a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild +++ b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
commit: e134a82b06435399e3ebadc26480fa99a138a51f Author: Markus Meier gentoo org> AuthorDate: Thu Sep 1 11:33:34 2016 + Commit: Markus Meier gentoo org> CommitDate: Thu Sep 1 11:33:34 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e134a82b net-libs/libnet: arm stable, bug #591978 Package-Manager: portage-2.3.0 RepoMan-Options: --include-arches="arm" net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild index 305d02d..38e9850 100644 --- a/net-libs/libnet/libnet-1.2_rc3-r1.ebuild +++ b/net-libs/libnet/libnet-1.2_rc3-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/project/${PN}-dev/${P/_/-}.tar.gz" LICENSE="BSD BSD-2 HPND" SLOT="1.1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" IUSE="doc static-libs" DOCS=(
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/files/
commit: 0e5fb79bc5ca6016e5f09bd320d077a8cd995607 Author: Jeroen Roovers gentoo org> AuthorDate: Mon Aug 8 13:24:09 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Aug 8 13:24:09 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5fb79b net-libs/libnet: Use upstream patch for sample/sebek. Package-Manager: portage-2.3.0 net-libs/libnet/files/libnet-1.2-sizeof.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/libnet/files/libnet-1.2-sizeof.patch b/net-libs/libnet/files/libnet-1.2-sizeof.patch index e06dbb5..6032242 100644 --- a/net-libs/libnet/files/libnet-1.2-sizeof.patch +++ b/net-libs/libnet/files/libnet-1.2-sizeof.patch @@ -5,7 +5,7 @@ if (payload_flag) { - memset(cmd, 0, sizeof(cmd)); -+ memset(cmd, 0, sizeof(*cmd)); ++ memset(cmd, 0, length); memcpy(cmd, payload, (payload_s < 12 ? payload_s : 12)); length = payload_s; }
[gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/, net-libs/libnet/files/
commit: 3dadd237dced7b2750ddcebf7921a1011170e5f0 Author: Jeroen Roovers gentoo org> AuthorDate: Mon Aug 8 13:09:23 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Mon Aug 8 13:10:01 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dadd237 net-libs/libnet: Fix building against sys-libs/musl by Petr Vaněk (bug #590738). Package-Manager: portage-2.3.0 net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch | 20 ++ net-libs/libnet/files/libnet-1.1.6-musl.patch| 29 ++ net-libs/libnet/files/libnet-1.2-_SOURCE.patch | 20 ++ net-libs/libnet/files/libnet-1.2-sizeof.patch| 11 + net-libs/libnet/files/libnet-1.2-socklen_t.patch | 11 + net-libs/libnet/libnet-1.1.6-r1.ebuild | 51 net-libs/libnet/libnet-1.2_rc3-r1.ebuild | 51 7 files changed, 193 insertions(+) diff --git a/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch b/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch new file mode 100644 index 000..25ddbc7 --- /dev/null +++ b/net-libs/libnet/files/libnet-1.1.6-_SOURCE.patch @@ -0,0 +1,20 @@ +--- a/configure.in b/configure.in +@@ -157,14 +157,14 @@ + case "$target_os" in + + *linux*) +-AC_DEFINE(_BSD_SOURCE, 1, ++AC_DEFINE(_DEFAULT_SOURCE, 1, + [Define as necessary to "unhide" header symbols.]) +-AC_DEFINE(__BSD_SOURCE, 1, ++AC_DEFINE(__DEFAULT_SOURCE, 1, + [Define as necessary to "unhide" header symbols.]) + AC_DEFINE(__FAVOR_BSD, 1, + [Define if we should favor the BSD APIs when possible in Linux.]) + +-LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD" ++LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD" + AC_CHECK_HEADERS(net/ethernet.h, \ + LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H") + ;; diff --git a/net-libs/libnet/files/libnet-1.1.6-musl.patch b/net-libs/libnet/files/libnet-1.1.6-musl.patch new file mode 100644 index 000..238fb8a --- /dev/null +++ b/net-libs/libnet/files/libnet-1.1.6-musl.patch @@ -0,0 +1,29 @@ +--- a/src/libnet_link_linux.c b/src/libnet_link_linux.c +@@ -30,26 +30,15 @@ + #include + + #include +-#if (__GLIBC__) + #include + #include +-#else +-#include +-#include +-#endif + + #if (HAVE_PACKET_SOCKET) + #ifndef SOL_PACKET + #define SOL_PACKET 263 + #endif /* SOL_PACKET */ +-#if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1 + #include + #include /* the L2 protocols */ +-#else +-#include +-#include +-#include/* The L2 protocols */ +-#endif + #endif /* HAVE_PACKET_SOCKET */ + + #include "../include/libnet.h" diff --git a/net-libs/libnet/files/libnet-1.2-_SOURCE.patch b/net-libs/libnet/files/libnet-1.2-_SOURCE.patch new file mode 100644 index 000..d9c74f4 --- /dev/null +++ b/net-libs/libnet/files/libnet-1.2-_SOURCE.patch @@ -0,0 +1,20 @@ +--- a/configure.ac b/configure.ac +@@ -157,14 +157,14 @@ + case "$target_os" in + + *linux*) +-AC_DEFINE(_BSD_SOURCE, 1, ++AC_DEFINE(_DEFAULT_SOURCE, 1, + [Define as necessary to "unhide" header symbols.]) +-AC_DEFINE(__BSD_SOURCE, 1, ++AC_DEFINE(__DEFAULT_SOURCE, 1, + [Define as necessary to "unhide" header symbols.]) + AC_DEFINE(__FAVOR_BSD, 1, + [Define if we should favor the BSD APIs when possible in Linux.]) + +-LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD" ++LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__DEFAULT_SOURCE -D__FAVOR_BSD" + AC_CHECK_HEADERS(net/ethernet.h, \ + LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H") + ;; diff --git a/net-libs/libnet/files/libnet-1.2-sizeof.patch b/net-libs/libnet/files/libnet-1.2-sizeof.patch new file mode 100644 index 000..e06dbb5 --- /dev/null +++ b/net-libs/libnet/files/libnet-1.2-sizeof.patch @@ -0,0 +1,11 @@ +--- a/sample/sebek.c b/sample/sebek.c +@@ -167,7 +167,7 @@ + + if (payload_flag) + { +- memset(cmd, 0, sizeof(cmd)); ++ memset(cmd, 0, sizeof(*cmd)); + memcpy(cmd, payload, (payload_s < 12 ? payload_s : 12)); + length = payload_s; + } diff --git a/net-libs/libnet/files/libnet-1.2-socklen_t.patch b/net-libs/libnet/files/libnet-1.2-socklen_t.patch new file mode 100644 index 000..bce3670 --- /dev/null +++ b/net-libs/libnet/files/libnet-1.2-socklen_t.patch @@ -0,0 +1,11 @@ +--- a/src/libnet_raw.c b/src/libnet_raw.c +@@ -77,7 +77,7 @@ + #else + BOOL n; + #endif +-int len; ++socklen_t len; + + #ifdef SO_SNDBUF + diff --git a/net-libs/libnet/libnet-1.1.6-r1.ebuild b/net-libs/libnet/libnet-1.1.6-r1.ebuild new file mode 100644 index 000..0144fd4 --- /dev/null +++ b/net-libs/libnet/libnet-1.1.6-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools eutils +