[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-12-04 Thread Sam James
commit: 27cc5cf97ccaa3bd1d7796fd0a4070b0256e940c
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec  4 12:30:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec  4 12:37:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27cc5cf9

dev-libs/libnl: add 3.9.0

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/Manifest   |   1 +
 dev-libs/libnl/libnl-3.9.0.ebuild | 120 ++
 2 files changed, 121 insertions(+)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index 18fd94dbe918..c3489a869e4a 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,2 +1,3 @@
 DIST libnl-3.7.0.tar.gz 1000913 BLAKE2B 
22c418ea520416d79ee4552ab6bc5ba99239b29e074c840d31b0ec4171a0403ea9d2c1afcbf1b3428564dd371cadd99bc062ae7540e7496f970c4fb98f967e84
 SHA512 
80fbbc079299c90afd2a5eda62e4d4f98bf4ef23958c3ce5101f4ed4d81d783af733213bb3bab15f218555d8460bc2394898f909f4ac024fc27281faec86a041
 DIST libnl-3.8.0.tar.gz 1071113 BLAKE2B 
ff90d52e9b617ad8a53e4d42f43bee065b331ed919a3effc4a0f38c8e15b46f86c1eb153816499ed77dd99063500b1dc52951891034475a5bb81da1ad8004594
 SHA512 
a8da7e8464c5cab2807cd86f83fca53bc77f7c3bdefe43880db7be9caf5ba6bfca1b7e778b906c12fda1cf7e6f413f88cc7ad1dcc42fe8c050a8d28a6e656c02
+DIST libnl-3.9.0.tar.gz 1074117 BLAKE2B 
56a39aad9aa15992ff02fe35732abbc5ed5d107b814587e02b914631489877899989d49c7aeee1ecb461ad5f525c7cd7c045c9770864d83b0a58490293441193
 SHA512 
b6f3633d1920e61645c97f4c4c4419444e7fd66aa3b67b0a73bc29df24cf27065542a62a9c2581f90d0c153247922ce5c649b7da51c0fead6afceaf4d0361dce

diff --git a/dev-libs/libnl/libnl-3.9.0.ebuild 
b/dev-libs/libnl/libnl-3.9.0.ebuild
new file mode 100644
index ..b80abc5153fd
--- /dev/null
+++ b/dev-libs/libnl/libnl-3.9.0.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Make sure to test USE=utils on bumps and update MULTILIB_WRAPPED_HEADERS if 
needed
+
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+inherit autotools distutils-r1 multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="https://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/thom311/libnl;
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+   S="${WORKDIR}/${LIBNL_P}"
+fi
+
+LICENSE="LGPL-2.1 utils? ( GPL-2 )"
+SLOT="3"
+IUSE="+debug python test utils"
+RESTRICT="!test? ( test )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   ${RDEPEND}
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+   python? (
+   ${DISTUTILS_DEPS}
+   dev-lang/swig
+   )
+   test? ( dev-libs/check )
+"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+MULTILIB_WRAPPED_HEADERS=(
+   # We do not install CLI stuff for non-native
+   /usr/include/libnl3/netlink/cli/addr.h
+   /usr/include/libnl3/netlink/cli/class.h
+   /usr/include/libnl3/netlink/cli/cls.h
+   /usr/include/libnl3/netlink/cli/ct.h
+   /usr/include/libnl3/netlink/cli/exp.h
+   /usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/mdb.h
+   /usr/include/libnl3/netlink/cli/nh.h
+   /usr/include/libnl3/netlink/cli/neigh.h
+   /usr/include/libnl3/netlink/cli/qdisc.h
+   /usr/include/libnl3/netlink/cli/route.h
+   /usr/include/libnl3/netlink/cli/rule.h
+   /usr/include/libnl3/netlink/cli/tc.h
+   /usr/include/libnl3/netlink/cli/utils.h
+)
+
+src_prepare() {
+   default
+
+   eautoreconf
+
+   if use python; then
+   pushd "${S}"/python > /dev/null || die
+   distutils-r1_src_prepare
+   popd > /dev/null || die
+   fi
+}
+
+multilib_src_configure() {
+   # bug #884277
+   export YACC=yacc.bison
+
+   ECONF_SOURCE="${S}" econf \
+   $(multilib_native_use_enable utils cli) \
+   $(use_enable debug)
+}
+
+multilib_src_compile() {
+   default
+
+   if multilib_is_native_abi && use python ; then
+   pushd python > /dev/null || die
+   distutils-r1_src_compile
+   popd > /dev/null || die
+   fi
+}
+
+multilib_src_install() {
+   default
+
+   if multilib_is_native_abi && use python ; then
+   # Unset DOCS= since distutils-r1.eclass interferes
+   local DOCS=()
+
+   pushd python > /dev/null || die
+
+  

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-10-01 Thread Arthur Zamarin
commit: 7960fc3c4051473b7f0fdee1c7c73aac83d0959b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Oct  1 18:23:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Oct  1 18:23:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7960fc3c

dev-libs/libnl: Stabilize 3.8.0 ppc, #914997

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libnl/libnl-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index 9e6239deebaa..c72e4b01c347 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-10-01 Thread Sam James
commit: eb3a2a80050d26559d53b970b15ae6816adc7aa1
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  1 07:01:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  1 07:01:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb3a2a80

dev-libs/libnl: Stabilize 3.8.0 ppc64, #914997

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index 29392c8a6613..9e6239deebaa 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-09-30 Thread Sam James
commit: a833af05c5a986f6d5b0882d860a6004359674ab
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  1 04:52:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  1 04:52:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a833af05

dev-libs/libnl: Stabilize 3.8.0 amd64, #914997

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index 1ae60a64533b..29392c8a6613 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-09-30 Thread Sam James
commit: f560b6817dba065c011f67b535f00d0a35926fba
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  1 04:52:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  1 04:52:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f560b681

dev-libs/libnl: Stabilize 3.8.0 x86, #914997

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index 6715037c611d..1ae60a64533b 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-09-30 Thread Sam James
commit: a4d79676ba158df8435a0cfa55f68f0cc7502a81
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  1 04:03:48 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  1 04:03:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d79676

dev-libs/libnl: Stabilize 3.8.0 arm, #914997

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index 5a7036ffb5af..6715037c611d 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-09-30 Thread Sam James
commit: 88b6e4599233bfac5a2bd97586ed8c552abd7c67
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  1 04:03:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  1 04:03:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b6e459

dev-libs/libnl: Stabilize 3.8.0 arm64, #914997

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.8.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index 49a085069d95..5a7036ffb5af 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -22,7 +22,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-09-30 Thread Sam James
commit: 08f0de768fd792bccc12ec9fc828d5540b79ca12
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 30 08:59:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 30 08:59:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08f0de76

dev-libs/libnl: drop patch merged upstream from 

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-.ebuild | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-libs/libnl/libnl-.ebuild b/dev-libs/libnl/libnl-.ebuild
index 5d2491e1a6f2..b80abc5153fd 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -65,10 +65,6 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libnl3/netlink/cli/utils.h
 )
 
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.8.0-printf-non-bash.patch
-)
-
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-09-06 Thread Joonas Niilola
commit: db17b8b076ea58f0235c745b9d37a0a3e9119852
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Sep  6 07:04:08 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Sep  6 07:04:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db17b8b0

dev-libs/libnl: add missing pkgconfig bdep

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-libs/libnl/libnl-3.8.0.ebuild | 1 +
 dev-libs/libnl/libnl-.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index 3929eab8e2d2..49a085069d95 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -38,6 +38,7 @@ BDEPEND="
${RDEPEND}
sys-devel/bison
sys-devel/flex
+   virtual/pkgconfig
python? (
${DISTUTILS_DEPS}
dev-lang/swig

diff --git a/dev-libs/libnl/libnl-.ebuild b/dev-libs/libnl/libnl-.ebuild
index f2b9a23648ad..5d2491e1a6f2 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -38,6 +38,7 @@ BDEPEND="
${RDEPEND}
sys-devel/bison
sys-devel/flex
+   virtual/pkgconfig
python? (
${DISTUTILS_DEPS}
dev-lang/swig



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-09-01 Thread Sam James
commit: fbef733e3d9830a54563a44ae4dda03cdb78d1ae
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  1 07:53:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  1 07:53:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbef733e

dev-libs/libnl: fix build w/ USE=utils

Closes: https://bugs.gentoo.org/913383
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.8.0.ebuild | 3 +++
 dev-libs/libnl/libnl-.ebuild  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index a9a0476e5ca6..3929eab8e2d2 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+# Make sure to test USE=utils on bumps and update MULTILIB_WRAPPED_HEADERS if 
needed
+
 DISTUTILS_EXT=1
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
@@ -53,6 +55,7 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libnl3/netlink/cli/exp.h
/usr/include/libnl3/netlink/cli/link.h
/usr/include/libnl3/netlink/cli/mdb.h
+   /usr/include/libnl3/netlink/cli/nh.h
/usr/include/libnl3/netlink/cli/neigh.h
/usr/include/libnl3/netlink/cli/qdisc.h
/usr/include/libnl3/netlink/cli/route.h

diff --git a/dev-libs/libnl/libnl-.ebuild b/dev-libs/libnl/libnl-.ebuild
index f60d51139ecb..f2b9a23648ad 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+# Make sure to test USE=utils on bumps and update MULTILIB_WRAPPED_HEADERS if 
needed
+
 DISTUTILS_EXT=1
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
@@ -53,6 +55,7 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libnl3/netlink/cli/exp.h
/usr/include/libnl3/netlink/cli/link.h
/usr/include/libnl3/netlink/cli/mdb.h
+   /usr/include/libnl3/netlink/cli/nh.h
/usr/include/libnl3/netlink/cli/neigh.h
/usr/include/libnl3/netlink/cli/qdisc.h
/usr/include/libnl3/netlink/cli/route.h



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-08-31 Thread Sam James
commit: a94169e66cf36bcf1db282625819243bfa62e14c
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  1 03:39:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  1 03:39:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a94169e6

dev-libs/libnl: set DISTUTILS_EXT=1

Bug: https://bugs.gentoo.org/913383
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.8.0.ebuild | 1 +
 dev-libs/libnl/libnl-.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-libs/libnl/libnl-3.8.0.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
index 19cb734e478a..a9a0476e5ca6 100644
--- a/dev-libs/libnl/libnl-3.8.0.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_EXT=1
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )

diff --git a/dev-libs/libnl/libnl-.ebuild b/dev-libs/libnl/libnl-.ebuild
index b7e772377e97..f60d51139ecb 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_EXT=1
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/files/, dev-libs/libnl/

2023-08-31 Thread Sam James
commit: fa7525e13bb39e816ddd607891f875224327643c
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug 31 06:03:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 31 06:04:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7525e1

dev-libs/libnl: add 3.8.0

Closes: https://bugs.gentoo.org/912777
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/Manifest|  1 +
 .../libnl/files/libnl-3.8.0-printf-non-bash.patch  | 22 ++
 .../libnl-3.8.0-python-decorator-syntax.patch  | 21 +
 .../{libnl-.ebuild => libnl-3.8.0.ebuild}  | 18 ++
 dev-libs/libnl/libnl-.ebuild   | 17 +
 5 files changed, 71 insertions(+), 8 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index da8654736030..18fd94dbe918 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1 +1,2 @@
 DIST libnl-3.7.0.tar.gz 1000913 BLAKE2B 
22c418ea520416d79ee4552ab6bc5ba99239b29e074c840d31b0ec4171a0403ea9d2c1afcbf1b3428564dd371cadd99bc062ae7540e7496f970c4fb98f967e84
 SHA512 
80fbbc079299c90afd2a5eda62e4d4f98bf4ef23958c3ce5101f4ed4d81d783af733213bb3bab15f218555d8460bc2394898f909f4ac024fc27281faec86a041
+DIST libnl-3.8.0.tar.gz 1071113 BLAKE2B 
ff90d52e9b617ad8a53e4d42f43bee065b331ed919a3effc4a0f38c8e15b46f86c1eb153816499ed77dd99063500b1dc52951891034475a5bb81da1ad8004594
 SHA512 
a8da7e8464c5cab2807cd86f83fca53bc77f7c3bdefe43880db7be9caf5ba6bfca1b7e778b906c12fda1cf7e6f413f88cc7ad1dcc42fe8c050a8d28a6e656c02

diff --git a/dev-libs/libnl/files/libnl-3.8.0-printf-non-bash.patch 
b/dev-libs/libnl/files/libnl-3.8.0-printf-non-bash.patch
new file mode 100644
index ..885f8fd750f3
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-3.8.0-printf-non-bash.patch
@@ -0,0 +1,22 @@
+https://github.com/thom311/libnl/pull/360
+
+From 32f84a052a4383299b9f30ad09d2a70c3b2cf2b3 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Thu, 31 Aug 2023 06:59:59 +0100
+Subject: [PATCH] Makefile.am: avoid use of non-portable echo arguments
+
+This fixes tests with a non-bash shell as /bin/sh (in this case, dash) which
+does not support `echo -e`. echo itself is portable, but not echo with any 
arguments.
+
+Use `printf` instead.
+--- a/Makefile.am
 b/Makefile.am
+@@ -1129,7 +1129,7 @@ EXTRA_DIST += \
+ 
+ %.build-headers-test.c: %
+   mkdir -p "$(dir $@)"
+-  echo -e "#include <$$(echo "$<" | sed 
's|.*\\nint main(int argc, char **argv) { return 
0; }" > $@
++  printf "#include <$$(echo "$<" | sed 
's|.*\\nint main(int argc, char **argv) { return 
0; }" > $@
+ 
+ %.build-headers-test.o: %.build-headers-test.c
+   $(COMPILE) -Wall -Werror -Wno-error=cpp -I$(srcdir)/include 
-I$(builddir)/include -c -o $@ $<

diff --git a/dev-libs/libnl/files/libnl-3.8.0-python-decorator-syntax.patch 
b/dev-libs/libnl/files/libnl-3.8.0-python-decorator-syntax.patch
new file mode 100644
index ..d7d14962dab4
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-3.8.0-python-decorator-syntax.patch
@@ -0,0 +1,21 @@
+https://github.com/thom311/libnl/commit/9aab12dff8e89b7da826c5c0826ef13c71963e28
+
+From 9aab12dff8e89b7da826c5c0826ef13c71963e28 Mon Sep 17 00:00:00 2001
+From: David Ward 
+Date: Tue, 29 Aug 2023 20:54:19 -0400
+Subject: [PATCH] python: Use correct decorator syntax in HTBQdisc
+
+Fixes: 87d370912ca8 ("netlink.nlattr re-implemented in more pythonic way")
+
+https://github.com/thom311/libnl/pull/359
+--- a/python/netlink/route/qdisc/htb.py
 b/python/netlink/route/qdisc/htb.py
+@@ -28,7 +28,7 @@ def default_class(self, value):
+ capi.rtnl_htb_set_defcls(self._qdisc._rtnl_qdisc, int(value))
+ 
+ @property
+-@netlink.nlattr("r2q", type=int)
++@netlink.nlattr(type=int)
+ def r2q(self):
+ return capi.rtnl_htb_get_rate2quantum(self._qdisc._rtnl_qdisc)
+ 

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-3.8.0.ebuild
similarity index 89%
copy from dev-libs/libnl/libnl-.ebuild
copy to dev-libs/libnl/libnl-3.8.0.ebuild
index 67eba8f4740d..19cb734e478a 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-3.8.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit autotools distutils-r1 multilib-minimal
 
 LIBNL_P=${P/_/-}
@@ -31,18 +31,20 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
-BDEPEND="${RDEPEND}
+BDEPEND="
+   ${RDEPEND}
sys-devel/bison
sys-devel/flex
python? (
${DISTUTILS_DEPS}
dev-lang/swig
)
-   test? ( dev-libs/check )"
+   test? ( dev-libs/check )
+"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 MULTILIB_WRAPPED_HEADERS=(
-   # we do not install CLI stuff for non-native
+   # We do not install CLI stuff for 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2023-03-08 Thread Sam James
commit: aba209886d59ced153de7895438ecc3256b6fbb9
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar  9 06:17:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar  9 06:17:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aba20988

dev-libs/libnl: enable py3.11

Closes: https://bugs.gentoo.org/896716
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.7.0.ebuild | 2 +-
 dev-libs/libnl/libnl-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index 335a8c42100a..dc16175b64ac 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit autotools distutils-r1 multilib-minimal
 
 LIBNL_P=${P/_/-}

diff --git a/dev-libs/libnl/libnl-.ebuild b/dev-libs/libnl/libnl-.ebuild
index 001f603d5b81..67eba8f4740d 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit autotools distutils-r1 multilib-minimal
 
 LIBNL_P=${P/_/-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-12-29 Thread Sam James
commit: a3385636adeeb2d0e59f89e05aaf520ce9bcb314
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 30 07:55:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 30 07:55:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3385636

dev-libs/libnl: force YACC as bison

Already BDEPENDing on it.

Closes: https://bugs.gentoo.org/884277
Closes: https://bugs.gentoo.org/886113
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.7.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index 3dd56029f10f..48d966048c3f 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -71,6 +71,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+   # bug #884277
+   export YACC=yacc.bison
+
ECONF_SOURCE="${S}" econf \
$(multilib_native_use_enable utils cli) \
$(use_enable debug)



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-12-16 Thread Arthur Zamarin
commit: 26571b49e315f4c48a852faf9ca9102c90a439ca
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 16 20:45:03 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 16 20:45:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26571b49

dev-libs/libnl: Stabilize 3.7.0 sparc, #886219

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libnl/libnl-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index ee5951373c17..3dd56029f10f 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-12-16 Thread Arthur Zamarin
commit: 968d842722f35ca02a6fe8960a2ba7016986bc30
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 16 20:45:00 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 16 20:45:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=968d8427

dev-libs/libnl: Stabilize 3.7.0 hppa, #886219

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libnl/libnl-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index 1d0a346ecb01..ee5951373c17 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-12-15 Thread Sam James
commit: c70171409cacb018a33aa4a6c271d8a38fa275e6
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 16 07:51:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 16 07:51:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7017140

dev-libs/libnl: Stabilize 3.7.0 arm, #886219

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index 3d405e1e58cf..5ffdbbc1144d 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-12-15 Thread Sam James
commit: 9f52ba7d3d0b55c74fc5c0f9049dc77e69f1925c
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 16 07:51:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 16 07:51:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f52ba7d

dev-libs/libnl: Stabilize 3.7.0 ppc64, #886219

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index 8f4202cc30e4..d4bbad2fd522 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-12-15 Thread Sam James
commit: fc73a8e094d283d0ae65a4865a7892f206d0ef25
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 16 07:51:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 16 07:51:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc73a8e0

dev-libs/libnl: Stabilize 3.7.0 amd64, #886219

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index d4bbad2fd522..3d405e1e58cf 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} ==  ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
 
S="${WORKDIR}/${LIBNL_P}"
 fi



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-08-05 Thread Sam James
commit: e9c8b63141e72c323bb3805e618d1dabe1edad4b
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug  6 02:53:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug  6 02:55:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9c8b631

dev-libs/libnl: add missing DISTUTILS_DEPS

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.7.0.ebuild | 5 -
 dev-libs/libnl/libnl-.ebuild  | 5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index 6b420eb95d66..9d6312ae6dd0 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -34,7 +34,10 @@ DEPEND="${RDEPEND}"
 BDEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex
-   python? ( dev-lang/swig )
+   python? (
+   ${DISTUTILS_DEPS}
+   dev-lang/swig
+   )
test? ( dev-libs/check )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 

diff --git a/dev-libs/libnl/libnl-.ebuild b/dev-libs/libnl/libnl-.ebuild
index 6b420eb95d66..9d6312ae6dd0 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -34,7 +34,10 @@ DEPEND="${RDEPEND}"
 BDEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex
-   python? ( dev-lang/swig )
+   python? (
+   ${DISTUTILS_DEPS}
+   dev-lang/swig
+   )
test? ( dev-libs/check )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-07-18 Thread Sam James
commit: 1906907b0e06cfa12fc9dcabc4ec6a49e2f7f795
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 18 22:17:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 18 22:17:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1906907b

dev-libs/libnl: add 3.7.0

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/Manifest   |   1 +
 dev-libs/libnl/libnl-3.7.0.ebuild | 101 ++
 2 files changed, 102 insertions(+)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index 94fe71f27f45..e8c77cb37ad4 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,2 +1,3 @@
 DIST libnl-3.5.0.tar.gz 967835 BLAKE2B 
cf21c1ffa89799b91bf4bddb8833d5af5c62eb1c53a078ee55a2888bd8439e1ae6db8886c9c4f937297962faac6873b4cf5211ee3d1e5354d96b5dc545a6fc2d
 SHA512 
9c94c09bac34297493b3ea482713d7c0865d2839b5042e5c7d1ed008e2402ab63df35a18e272f40b2cce27d0c31dc733fe7e4b2d376e7ca847a2b0d5e90de50c
 DIST libnl-3.6.0.tar.gz 981921 BLAKE2B 
4fbc1f6284dfbf0aaa855dfc3bb9774327254718257cf162c14574ece6b0da20f03a587830b21a2481d1da6e9c90482d71d8f9308f1eeafa605c90d0847a838c
 SHA512 
7d1190ce94f43f5b18b1f7909221ca034d4ea5c8ed5735dbd27224d03e7f95d3c4e8ccdb611e33b58007729a21bfc0e23adc8758b112c712355664d87a81ce1b
+DIST libnl-3.7.0.tar.gz 1000913 BLAKE2B 
22c418ea520416d79ee4552ab6bc5ba99239b29e074c840d31b0ec4171a0403ea9d2c1afcbf1b3428564dd371cadd99bc062ae7540e7496f970c4fb98f967e84
 SHA512 
80fbbc079299c90afd2a5eda62e4d4f98bf4ef23958c3ce5101f4ed4d81d783af733213bb3bab15f218555d8460bc2394898f909f4ac024fc27281faec86a041

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
new file mode 100644
index ..ee24246ef92f
--- /dev/null
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit autotools distutils-r1 multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="https://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
+S="${WORKDIR}/${LIBNL_P}"
+
+LICENSE="LGPL-2.1 utils? ( GPL-2 )"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+debug python test utils"
+RESTRICT="!test? ( test )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}
+   sys-devel/bison
+   sys-devel/flex
+   python? ( dev-lang/swig )
+   test? ( dev-libs/check )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+MULTILIB_WRAPPED_HEADERS=(
+   # we do not install CLI stuff for non-native
+   /usr/include/libnl3/netlink/cli/addr.h
+   /usr/include/libnl3/netlink/cli/class.h
+   /usr/include/libnl3/netlink/cli/cls.h
+   /usr/include/libnl3/netlink/cli/ct.h
+   /usr/include/libnl3/netlink/cli/exp.h
+   /usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/mdb.h
+   /usr/include/libnl3/netlink/cli/neigh.h
+   /usr/include/libnl3/netlink/cli/qdisc.h
+   /usr/include/libnl3/netlink/cli/route.h
+   /usr/include/libnl3/netlink/cli/rule.h
+   /usr/include/libnl3/netlink/cli/tc.h
+   /usr/include/libnl3/netlink/cli/utils.h
+)
+
+src_prepare() {
+   default
+
+   eautoreconf
+
+   if use python; then
+   pushd "${S}"/python > /dev/null || die
+   distutils-r1_src_prepare
+   popd > /dev/null || die
+   fi
+}
+
+multilib_src_configure() {
+   ECONF_SOURCE="${S}" econf \
+   $(multilib_native_use_enable utils cli) \
+   $(use_enable debug)
+}
+
+multilib_src_compile() {
+   default
+
+   if multilib_is_native_abi && use python ; then
+   pushd python > /dev/null || die
+   distutils-r1_src_compile
+   popd > /dev/null || die
+   fi
+}
+
+multilib_src_install() {
+   default
+
+   if multilib_is_native_abi && use python ; then
+   # Unset DOCS= since distutils-r1.eclass interferes
+   local DOCS=()
+
+   pushd python > /dev/null || die
+
+   distutils-r1_src_install
+
+   popd > /dev/null || die
+   fi
+}
+
+multilib_src_install_all() {
+   DOCS=( ChangeLog )
+
+   einstalldocs
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-07-18 Thread Sam James
commit: 62c57ba88bff4041d3c8a476baa2c074fdff1e3d
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 18 22:17:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 18 22:22:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c57ba8

dev-libs/libnl: rename live ebuild

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.7.0.ebuild  | 12 --
 .../{libnl-.ebuild => libnl-.ebuild}   | 47 --
 2 files changed, 34 insertions(+), 25 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.7.0.ebuild 
b/dev-libs/libnl/libnl-3.7.0.ebuild
index ee24246ef92f..6b420eb95d66 100644
--- a/dev-libs/libnl/libnl-3.7.0.ebuild
+++ b/dev-libs/libnl/libnl-3.7.0.ebuild
@@ -14,12 +14,18 @@ LIBNL_DIR=${LIBNL_DIR//./_}
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="https://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
-S="${WORKDIR}/${LIBNL_P}"
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/thom311/libnl;
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+   S="${WORKDIR}/${LIBNL_P}"
+fi
 
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+debug python test utils"
 RESTRICT="!test? ( test )"
 

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
similarity index 72%
rename from dev-libs/libnl/libnl-.ebuild
rename to dev-libs/libnl/libnl-.ebuild
index 0cfee098abde..6b420eb95d66 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -1,35 +1,43 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_OPTIONAL=1
-inherit autotools distutils-r1 git-r3 multilib-minimal
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit autotools distutils-r1 multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="https://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-EGIT_REPO_URI="https://github.com/thom311/libnl;
+if [[ ${PV} ==  ]] ; then
+   EGIT_REPO_URI="https://github.com/thom311/libnl;
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+   S="${WORKDIR}/${LIBNL_P}"
+fi
 
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS=""
 IUSE="+debug python test utils"
 RESTRICT="!test? ( test )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
-BDEPEND="
-   ${RDEPEND}
+BDEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex
python? ( dev-lang/swig )
-   test? ( dev-libs/check )
-"
+   test? ( dev-libs/check )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DOCS=( ChangeLog )
-
 MULTILIB_WRAPPED_HEADERS=(
# we do not install CLI stuff for non-native
/usr/include/libnl3/netlink/cli/addr.h
@@ -57,15 +65,10 @@ src_prepare() {
distutils-r1_src_prepare
popd > /dev/null || die
fi
-
-   # out-of-source build broken
-   # https://github.com/thom311/libnl/pull/58
-   multilib_copy_sources
 }
 
 multilib_src_configure() {
-   econf \
-   --disable-static \
+   ECONF_SOURCE="${S}" econf \
$(multilib_native_use_enable utils cli) \
$(use_enable debug)
 }
@@ -73,7 +76,7 @@ multilib_src_configure() {
 multilib_src_compile() {
default
 
-   if multilib_is_native_abi && use python; then
+   if multilib_is_native_abi && use python ; then
pushd python > /dev/null || die
distutils-r1_src_compile
popd > /dev/null || die
@@ -83,7 +86,7 @@ multilib_src_compile() {
 multilib_src_install() {
default
 
-   if multilib_is_native_abi && use python; then
+   if multilib_is_native_abi && use python ; then
# Unset DOCS= since distutils-r1.eclass interferes
local DOCS=()
 
@@ -91,14 +94,14 @@ multilib_src_install() {
 
distutils-r1_src_install
 
-   # For no obvious reason this is not done automatically
-  

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-05-05 Thread WANG Xuerui
commit: fe3542a537fb565bb19f61586adb43bcd8f8896f
Author: WANG Xuerui  gentoo  org>
AuthorDate: Thu May  5 23:34:36 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu May  5 23:44:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe3542a5

dev-libs/libnl: keyword 3.6.0-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/libnl/libnl-3.6.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.6.0-r1.ebuild 
b/dev-libs/libnl/libnl-3.6.0-r1.ebuild
index 57e88da16908..9d5b621e07b0 100644
--- a/dev-libs/libnl/libnl-3.6.0-r1.ebuild
+++ b/dev-libs/libnl/libnl-3.6.0-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${LIBNL_P}"
 
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+debug python test utils"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/files/

2022-04-27 Thread Rick Farina
commit: 43ee53796fd4b8e7be168ad0f47f16a31b204d8e
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Apr 26 19:09:29 2022 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Apr 27 15:27:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ee5379

dev-libs/libnl: remove unused patch

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Rick Farina  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/25215

 dev-libs/libnl/files/libnl--2to3.patch | 42 --
 1 file changed, 42 deletions(-)

diff --git a/dev-libs/libnl/files/libnl--2to3.patch 
b/dev-libs/libnl/files/libnl--2to3.patch
deleted file mode 100644
index 66a16406d780..
--- a/dev-libs/libnl/files/libnl--2to3.patch
+++ /dev/null
@@ -1,42 +0,0 @@
 a/python/netlink/route/links/bridge.py
-+++ b/python/netlink/route/links/bridge.py
-@@ -6,7 +6,7 @@
- 
- """
- 
--from __future__ import absolute_import
-+
- 
- from ... import core as netlink
- from ..  import capi as capi
-@@ -19,10 +19,10 @@
- 
- def bridge_assert_ext_info(self):
- if self._has_ext_info == False:
--print """
-+print("""
- Please update your kernel to be able to call this method.
- Your current kernel bridge version is too old to support this 
extention.
--"""
-+""")
- raise RuntimeWarning()
- 
- def port_state2str(self, state):
 a/doc/resolve-asciidoc-refs.py
-+++ b/doc/resolve-asciidoc-refs.py
-@@ -22,4 +22,4 @@
- 
- rc = re.compile('|'.join(map(re.escape, sorted(refs, reverse=True
- for line in open(sys.argv[1], 'r'):
--  print rc.sub(translate, line),
-+  print(rc.sub(translate, line), end=' ')
 a/doc/doxygen-link.py
-+++ b/doc/doxygen-link.py
-@@ -1,6 +1,6 @@
- #!/usr/bin/env python
- 
--from __future__ import print_function
-+
- import fileinput
- import re
- import sys



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-04-24 Thread Sam James
commit: 034070e2093803797a3184d7896c89a514d500ab
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 25 02:48:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 25 02:48:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=034070e2

dev-libs/libnl: wrap additional multilib CLI header

Closes: https://bugs.gentoo.org/840299
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/{libnl-3.6.0.ebuild => libnl-3.6.0-r1.ebuild} | 1 +
 dev-libs/libnl/libnl-.ebuild | 7 ++-
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.6.0.ebuild 
b/dev-libs/libnl/libnl-3.6.0-r1.ebuild
similarity index 98%
rename from dev-libs/libnl/libnl-3.6.0.ebuild
rename to dev-libs/libnl/libnl-3.6.0-r1.ebuild
index ab759e51347b..57e88da16908 100644
--- a/dev-libs/libnl/libnl-3.6.0.ebuild
+++ b/dev-libs/libnl/libnl-3.6.0-r1.ebuild
@@ -39,6 +39,7 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libnl3/netlink/cli/ct.h
/usr/include/libnl3/netlink/cli/exp.h
/usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/mdb.h
/usr/include/libnl3/netlink/cli/neigh.h
/usr/include/libnl3/netlink/cli/qdisc.h
/usr/include/libnl3/netlink/cli/route.h

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index 0afdbd9d360f..0cfee098abde 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -38,6 +38,7 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libnl3/netlink/cli/ct.h
/usr/include/libnl3/netlink/cli/exp.h
/usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/mdb.h
/usr/include/libnl3/netlink/cli/neigh.h
/usr/include/libnl3/netlink/cli/qdisc.h
/usr/include/libnl3/netlink/cli/route.h
@@ -46,10 +47,6 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libnl3/netlink/cli/utils.h
 )
 
-PATCHES=(
-   "${FILESDIR}"/${PN}--2to3.patch
-)
-
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/, dev-libs/libnl/files/

2022-04-21 Thread Sam James
commit: 4d6d5918a4ed8600271110fcc9e3fe5e96062af6
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 21 23:01:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 21 23:01:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d6d5918

dev-libs/libnl: keyword 3.6.0 (w/ test fixes)

Signed-off-by: Sam James  gentoo.org>

 .../files/libnl-3.6.0-test-fixes-sandbox.patch | 160 +
 dev-libs/libnl/libnl-3.6.0.ebuild  |   8 +-
 2 files changed, 164 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libnl/files/libnl-3.6.0-test-fixes-sandbox.patch 
b/dev-libs/libnl/files/libnl-3.6.0-test-fixes-sandbox.patch
new file mode 100644
index ..deb60069955c
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-3.6.0-test-fixes-sandbox.patch
@@ -0,0 +1,160 @@
+https://github.com/thom311/libnl/issues/308
+https://github.com/thom311/libnl/commit/85e3c5d423a0ab8f8414f892998323c886484725
+https://github.com/thom311/libnl/commit/ec712a4514e667b6f7fc3a54a10d4d4f65d1b5c7
+https://github.com/thom311/libnl/commit/7577266c03ddbf42257f6c43f42e5837a2671038
+
+From 85e3c5d423a0ab8f8414f892998323c886484725 Mon Sep 17 00:00:00 2001
+From: Thomas Haller 
+Date: Thu, 21 Apr 2022 08:39:51 +0200
+Subject: [PATCH] tests: add _assert_nltst_netns() helper
+
+--- a/tests/nl-test-util.c
 b/tests/nl-test-util.c
+@@ -25,6 +25,14 @@ struct nltst_netns {
+ 
+ 
/*/
+ 
++#define _assert_nltst_netns(nsdata)   
 \
++  do {   \
++  const struct nltst_netns *_nsdata = (nsdata);  \
++  
 \
++  ck_assert_ptr_nonnull(_nsdata);\
++  ck_assert_int_eq(_nsdata->canary, _CANARY);\
++  } while (0)
++
+ static struct {
+   struct nltst_netns *nsdata;
+ } _netns_fixture_global;
+@@ -34,12 +42,12 @@ void nltst_netns_fixture_setup(void)
+   ck_assert(!_netns_fixture_global.nsdata);
+ 
+   _netns_fixture_global.nsdata = nltst_netns_enter();
+-  ck_assert(_netns_fixture_global.nsdata);
++  _assert_nltst_netns(_netns_fixture_global.nsdata);
+ }
+ 
+ void nltst_netns_fixture_teardown(void)
+ {
+-  ck_assert(_netns_fixture_global.nsdata);
++  _assert_nltst_netns(_netns_fixture_global.nsdata);
+   _nl_clear_pointer(&_netns_fixture_global.nsdata, nltst_netns_leave);
+ }
+ 
+From ec712a4514e667b6f7fc3a54a10d4d4f65d1b5c7 Mon Sep 17 00:00:00 2001
+From: Thomas Haller 
+Date: Thu, 21 Apr 2022 08:41:03 +0200
+Subject: [PATCH] tests: cleanup unshare_user() and use _nltst_fclose()
+
+--- a/tests/nl-test-util.c
 b/tests/nl-test-util.c
+@@ -65,24 +65,27 @@ static void unshare_user(void)
+   _nltst_assert_errno(r == 0);
+ 
+   /* Since Linux 3.19 we have to disable setgroups() in order to map 
users.
+- * Just proceed if the file is not there. */
++   * Just proceed if the file is not there. */
+   f = fopen("/proc/self/setgroups", "we");
+   if (f) {
+-  fprintf(f, "deny");
+-  fclose(f);
++  r = fprintf(f, "deny");
++  _nltst_assert_errno(r > 0);
++  _nltst_fclose(f);
+   }
+ 
+   /* Map current UID to root in NS to be created. */
+   f = fopen("/proc/self/uid_map", "we");
+-  ck_assert(f);
+-  fprintf(f, "0 %d 1", uid);
+-  fclose(f);
++  _nltst_assert_errno(f);
++  r = fprintf(f, "0 %d 1", uid);
++  _nltst_assert_errno(r > 0);
++  _nltst_fclose(f);
+ 
+   /* Map current GID to root in NS to be created. */
+   f = fopen("/proc/self/gid_map", "we");
+-  ck_assert(f);
+-  fprintf(f, "0 %d 1", gid);
+-  fclose(f);
++  _nltst_assert_errno(f);
++  r = fprintf(f, "0 %d 1", gid);
++  _nltst_assert_errno(r > 0);
++  _nltst_fclose(f);
+ }
+ 
+ struct nltst_netns *nltst_netns_enter(void)
+--- a/tests/nl-test-util.h
 b/tests/nl-test-util.h
+@@ -34,6 +34,14 @@
+   _nltst_assert_errno(_r == 0);  \
+   } while (0)
+ 
++#define _nltst_fclose(f)  
 \
++  do {   \
++  int _r;\
++  
 \
++  _r = fclose((f));  \
++  _nltst_assert_errno(_r == 0);  \
++  } while (0)
++
+ 
/*/
+ 
+ void nltst_netns_fixture_setup(void);
+From 7577266c03ddbf42257f6c43f42e5837a2671038 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/, dev-libs/libnl/files/

2022-04-15 Thread Sam James
commit: c7d8da15ca9547f2a88df43fa995e335e7a0c7fd
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 16 02:07:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 16 02:09:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7d8da15

dev-libs/libnl: add 3.6.0 (unkeyworded)

Unkeyworded for now until test failure investigated (reported
upstream).

Bug: https://github.com/thom311/libnl/issues/308
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/Manifest|   1 +
 .../libnl/files/libnl-3.6.0-static-tests.patch |  37 +++
 dev-libs/libnl/libnl-3.6.0.ebuild  | 107 +
 3 files changed, 145 insertions(+)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index a9a95c9c88d1..94fe71f27f45 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1 +1,2 @@
 DIST libnl-3.5.0.tar.gz 967835 BLAKE2B 
cf21c1ffa89799b91bf4bddb8833d5af5c62eb1c53a078ee55a2888bd8439e1ae6db8886c9c4f937297962faac6873b4cf5211ee3d1e5354d96b5dc545a6fc2d
 SHA512 
9c94c09bac34297493b3ea482713d7c0865d2839b5042e5c7d1ed008e2402ab63df35a18e272f40b2cce27d0c31dc733fe7e4b2d376e7ca847a2b0d5e90de50c
+DIST libnl-3.6.0.tar.gz 981921 BLAKE2B 
4fbc1f6284dfbf0aaa855dfc3bb9774327254718257cf162c14574ece6b0da20f03a587830b21a2481d1da6e9c90482d71d8f9308f1eeafa605c90d0847a838c
 SHA512 
7d1190ce94f43f5b18b1f7909221ca034d4ea5c8ed5735dbd27224d03e7f95d3c4e8ccdb611e33b58007729a21bfc0e23adc8758b112c712355664d87a81ce1b

diff --git a/dev-libs/libnl/files/libnl-3.6.0-static-tests.patch 
b/dev-libs/libnl/files/libnl-3.6.0-static-tests.patch
new file mode 100644
index ..be406705e1d7
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-3.6.0-static-tests.patch
@@ -0,0 +1,37 @@
+From: Thomas Haller 
+Date: Fri, 15 Apr 2022 13:29:49 +0200
+Subject: [PATCH] build: avoid building check-direct with --disable-static
+
+"check-direct" needs to statically link with the libraries, because
+it wants to test internal ABI, which is hidden in the share libraries.
+When configuring with "--disable-static", static libs are not build
+and the test tool cannot be build.
+
+Just skip the test in that case.
+
+https://github.com/thom311/libnl/issues/306
+--- a/Makefile.am
 b/Makefile.am
+@@ -984,8 +984,10 @@ tests_check_all_LDADD = \
+   $(NULL)
+ 
+ if WITH_CHECK
++if ENABLE_STATIC
+ check_programs += tests/check-direct
+ endif
++endif
+ 
+ tests_check_direct_SOURCES = \
+   tests/check-direct.c \
+--- a/configure.ac
 b/configure.ac
+@@ -107,6 +107,8 @@ else
+ AC_CHECK_LIB([pthread], [pthread_mutex_lock], [], 
AC_MSG_ERROR([libpthread is required]))
+ fi
+ 
++AM_CONDITIONAL([ENABLE_STATIC], [test "$enable_static" != "no"])
++
+ AC_ARG_ENABLE([debug],
+   AS_HELP_STRING([--disable-debug], [Do not include debugging 
statements]),
+   [enable_debug="$enableval"], [enable_debug="yes"])
+

diff --git a/dev-libs/libnl/libnl-3.6.0.ebuild 
b/dev-libs/libnl/libnl-3.6.0.ebuild
new file mode 100644
index ..5c1aeb096def
--- /dev/null
+++ b/dev-libs/libnl/libnl-3.6.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_OPTIONAL=1
+inherit autotools distutils-r1 multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="https://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
+S="${WORKDIR}/${LIBNL_P}"
+
+LICENSE="LGPL-2.1 utils? ( GPL-2 )"
+SLOT="3"
+# Test failure: https://github.com/thom311/libnl/issues/308
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+debug python test utils"
+RESTRICT="!test? ( test )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}
+   sys-devel/bison
+   sys-devel/flex
+   python? ( dev-lang/swig )
+   test? ( dev-libs/check )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DOCS=( ChangeLog )
+
+MULTILIB_WRAPPED_HEADERS=(
+   # we do not install CLI stuff for non-native
+   /usr/include/libnl3/netlink/cli/addr.h
+   /usr/include/libnl3/netlink/cli/class.h
+   /usr/include/libnl3/netlink/cli/cls.h
+   /usr/include/libnl3/netlink/cli/ct.h
+   /usr/include/libnl3/netlink/cli/exp.h
+   /usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/neigh.h
+   /usr/include/libnl3/netlink/cli/qdisc.h
+   /usr/include/libnl3/netlink/cli/route.h
+   /usr/include/libnl3/netlink/cli/rule.h
+   /usr/include/libnl3/netlink/cli/tc.h
+   /usr/include/libnl3/netlink/cli/utils.h
+)
+
+PATCHES=(
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2022-01-14 Thread Arthur Zamarin
commit: 694ab5dd926aed62905d0c4a96daebe77bdbad5b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan 14 14:41:25 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan 14 14:41:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694ab5dd

dev-libs/libnl: Stabilize 3.5.0 hppa, #831174

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 1164928a297f..c2a2a0db143b 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ S="${WORKDIR}/${LIBNL_P}"
 
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+debug python test utils"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-12-24 Thread Sam James
commit: 8f03708f2ab62dd300b036454729cc23b95a55c6
Author: t0b3  gmail  com>
AuthorDate: Fri Dec 17 09:49:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 24 08:01:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f03708f

dev-libs/libnl: add python 3.10

Closes: https://bugs.gentoo.org/829421
Signed-off-by: t0b3  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23361
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild| 2 +-
 dev-libs/libnl/libnl-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 16c5e65ab3f0..1164928a297f 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_OPTIONAL=1
 inherit distutils-r1 libtool multilib-minimal
 

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index 5179de7255b9..0afdbd9d360f 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1 git-r3 multilib-minimal
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-12-08 Thread David Seifert
commit: 183f9eacaa4c12635cb7a58a38c478deedf5aca6
Author: David Seifert  gentoo  org>
AuthorDate: Wed Dec  8 16:02:16 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Dec  8 16:02:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183f9eac

dev-libs/libnl: remove USE=threads/static-libs, take #2

Closes: https://bugs.gentoo.org/828566
Signed-off-by: David Seifert  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/23226
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild| 2 +-
 dev-libs/libnl/libnl-.ebuild | 8 +++-
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 9a39195af19f..16c5e65ab3f0 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${LIBNL_P}"
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+debug static-libs python test +threads utils"
+IUSE="+debug python test utils"
 RESTRICT="!test? ( test )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index b2b6af6a8f1e..5179de7255b9 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -14,7 +14,7 @@ EGIT_REPO_URI="https://github.com/thom311/libnl;
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS=""
-IUSE="+debug static-libs python test +threads utils"
+IUSE="+debug python test utils"
 RESTRICT="!test? ( test )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
@@ -68,11 +68,9 @@ src_prepare() {
 
 multilib_src_configure() {
econf \
+   --disable-static \
$(multilib_native_use_enable utils cli) \
-   $(use_enable debug) \
-   $(use_enable static-libs static) \
-   $(use_enable threads) \
-   --disable-doc
+   $(use_enable debug)
 }
 
 multilib_src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/files/, dev-libs/libnl/

2021-12-08 Thread David Seifert
commit: 6e3560b3cc7e133438fa01c9858c0726f2bdc519
Author: David Seifert  gentoo  org>
AuthorDate: Wed Dec  8 16:02:15 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Dec  8 16:02:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3560b3

dev-libs/libnl: drop 1.1.4-r1, 1.1.

Closes: https://bugs.gentoo.org/828572
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/libnl/Manifest  |  1 -
 dev-libs/libnl/files/libnl-1.1-flags.patch   | 11 
 dev-libs/libnl/files/libnl-1.1-vlan-header.patch | 80 
 dev-libs/libnl/files/libnl-1.1.3-offsetof.patch  | 12 
 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 61 --
 dev-libs/libnl/libnl-1.1..ebuild | 60 --
 dev-libs/libnl/metadata.xml  |  1 -
 7 files changed, 226 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index 610575bfa242..a9a95c9c88d1 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,2 +1 @@
-DIST libnl-1.1.4.tar.gz 1174974 BLAKE2B 
e6466e15db17fe4725674d77c6cdcefac73e51346f6f4378bc3ea8409c1534519cc28f1123c8201e78f6b95254701a2f9591f907b3cc597ac1210fd3f8b832ea
 SHA512 
25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4
 DIST libnl-3.5.0.tar.gz 967835 BLAKE2B 
cf21c1ffa89799b91bf4bddb8833d5af5c62eb1c53a078ee55a2888bd8439e1ae6db8886c9c4f937297962faac6873b4cf5211ee3d1e5354d96b5dc545a6fc2d
 SHA512 
9c94c09bac34297493b3ea482713d7c0865d2839b5042e5c7d1ed008e2402ab63df35a18e272f40b2cce27d0c31dc733fe7e4b2d376e7ca847a2b0d5e90de50c

diff --git a/dev-libs/libnl/files/libnl-1.1-flags.patch 
b/dev-libs/libnl/files/libnl-1.1-flags.patch
deleted file mode 100644
index dc512c587b9e..
--- a/dev-libs/libnl/files/libnl-1.1-flags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/lib/Makefile
-+++ b/lib/Makefile
-@@ -48,7 +48,7 @@
- 
- $(OUT_SLIB): ../Makefile.opts $(OBJ)
-   @echo "  LD $(OUT_SLIB)"; \
--  $(CC) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) 
-lc
-+  $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libnl.so.1 -o 
$(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc
-   @echo "  LN $(OUT_SLIB) $(LN1_SLIB)"; \
-   rm -f $(LN1_SLIB) ; $(LN) -s $(OUT_SLIB) $(LN1_SLIB)
-   @echo "  LN $(LN1_SLIB) $(LN_SLIB)"; \

diff --git a/dev-libs/libnl/files/libnl-1.1-vlan-header.patch 
b/dev-libs/libnl/files/libnl-1.1-vlan-header.patch
deleted file mode 100644
index c4c2fc6382de..
--- a/dev-libs/libnl/files/libnl-1.1-vlan-header.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-From: Patrick McHardy 
-Date: Fri, 18 Jan 2008 16:55:48 + (+0100)
-Subject: [LIBNL]: Add if_vlan.h
-X-Git-Url: 
http://git.kernel.org/?p=libs%2Fnetlink%2Flibnl.git;a=commitdiff_plain;h=e91bb2ffb090955d443e643a25b250bf3d33534a;hp=7f6b7a8eea0334b34d58dec72c66121a76f08958
-
-[LIBNL]: Add if_vlan.h
-
-vlan support needs VLAN_FLAG_REORDER_HDR, which is not available in
-older if_vlan.h versions. Add the current version from the kernel.
-
-Signed-off-by: Patrick McHardy 

-
-diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h
-new file mode 100644
-index 000..068cd7b
 /dev/null
-+++ include/linux/if_vlan.h
-@@ -0,0 +1,61 @@
-+/*
-+ * VLAN   An implementation of 802.1Q VLAN tagging.
-+ *
-+ * Authors:   Ben Greear 
-+ *
-+ *This program is free software; you can redistribute it and/or
-+ *modify it under the terms of the GNU General Public License
-+ *as published by the Free Software Foundation; either version
-+ *2 of the License, or (at your option) any later version.
-+ *
-+ */
-+
-+#ifndef _LINUX_IF_VLAN_H_
-+#define _LINUX_IF_VLAN_H_
-+
-+
-+/* VLAN IOCTLs are found in sockios.h */
-+
-+/* Passed in vlan_ioctl_args structure to determine behaviour. */
-+enum vlan_ioctl_cmds {
-+  ADD_VLAN_CMD,
-+  DEL_VLAN_CMD,
-+  SET_VLAN_INGRESS_PRIORITY_CMD,
-+  SET_VLAN_EGRESS_PRIORITY_CMD,
-+  GET_VLAN_INGRESS_PRIORITY_CMD,
-+  GET_VLAN_EGRESS_PRIORITY_CMD,
-+  SET_VLAN_NAME_TYPE_CMD,
-+  SET_VLAN_FLAG_CMD,
-+  GET_VLAN_REALDEV_NAME_CMD, /* If this works, you know it's a VLAN 
device, btw */
-+  GET_VLAN_VID_CMD /* Get the VID of this VLAN (specified by name) */
-+};
-+
-+enum vlan_flags {
-+  VLAN_FLAG_REORDER_HDR   = 0x1,
-+};
-+
-+enum vlan_name_types {
-+  VLAN_NAME_TYPE_PLUS_VID, /* Name will look like:  vlan0005 */
-+  VLAN_NAME_TYPE_RAW_PLUS_VID, /* name will look like:  eth1.0005 */
-+  VLAN_NAME_TYPE_PLUS_VID_NO_PAD, /* Name will look like:  vlan5 */
-+  VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD, /* Name will look like:  eth0.5 */
-+  VLAN_NAME_TYPE_HIGHEST
-+};
-+
-+struct vlan_ioctl_args {
-+  int cmd; /* Should be one of the vlan_ioctl_cmds enum above. */
-+  char device1[24];
-+
-+union {
-+  

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-12-08 Thread David Seifert
commit: ada6b3f2e495ced7f17a7177c9dc5dd7473f8671
Author: David Seifert  gentoo  org>
AuthorDate: Wed Dec  8 11:19:20 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Dec  8 11:19:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ada6b3f2

dev-libs/libnl: remove unknown configure arguments

Closes: https://bugs.gentoo.org/828566
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index bb1b8fad31e2..9a39195af19f 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -68,10 +68,9 @@ src_prepare() {
 
 multilib_src_configure() {
econf \
+   --disable-static \
$(multilib_native_use_enable utils cli) \
-   $(use_enable debug) \
-   $(use_enable static-libs static) \
-   $(use_enable threads)
+   $(use_enable debug)
 }
 
 multilib_src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-09-21 Thread James Le Cuirot
commit: 9b5c967e79f1d5baf1e3b8d7f4c84c95fabb0408
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Sep 21 11:56:12 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Sep 21 12:30:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5c967e

dev-libs/libnl: Add missing test dependency to 3.5.0

Without dev-libs/check, it wasn't actually executing the tests.

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild| 4 +++-
 dev-libs/libnl/libnl-.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index ea0332a4ef9..4cbe4b34a9e 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -19,13 +19,15 @@ S="${WORKDIR}/${LIBNL_P}"
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+debug static-libs python +threads utils"
+IUSE="+debug static-libs python test +threads utils"
+RESTRICT="!test? ( test )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
 BDEPEND="
${RDEPEND}
python? ( dev-lang/swig )
+   test? ( dev-libs/check )
sys-devel/bison
sys-devel/flex
 "

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index 1919e6e62e7..b2b6af6a8f1 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -14,7 +14,8 @@ EGIT_REPO_URI="https://github.com/thom311/libnl;
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS=""
-IUSE="+debug static-libs python +threads utils"
+IUSE="+debug static-libs python test +threads utils"
+RESTRICT="!test? ( test )"
 
 RDEPEND="python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
@@ -23,6 +24,7 @@ BDEPEND="
sys-devel/bison
sys-devel/flex
python? ( dev-lang/swig )
+   test? ( dev-libs/check )
 "
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-09-21 Thread James Le Cuirot
commit: 6ff173f7e6d63156c89bb07c480691ccd681d5f8
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Sep 21 11:56:44 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Sep 21 12:30:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ff173f7

dev-libs/libnl: Keyword 3.5.0 for ~m68k

The tests pass.

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 4cbe4b34a9e..bb1b8fad31e 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${LIBNL_P}"
 
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python test +threads utils"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-03-14 Thread Conrad Kostecki
commit: fb6233727705d1f73921d0ff4a4ec51775eda951
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Wed Jan 13 06:34:03 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Mar 14 20:47:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb623372

dev-libs/libnl: https for HOMEPAGE

Closes: https://github.com/gentoo/gentoo/pull/17784
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 2 +-
 dev-libs/libnl/libnl-1.1..ebuild | 4 ++--
 dev-libs/libnl/libnl-3.5.0.ebuild| 2 +-
 dev-libs/libnl/libnl-.ebuild | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-libs/libnl/libnl-1.1.4-r1.ebuild 
b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
index 77e2c37dac6..40141bb55b7 100644
--- a/dev-libs/libnl/libnl-1.1.4-r1.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 inherit multilib toolchain-funcs
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
+HOMEPAGE="https://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="1.1"

diff --git a/dev-libs/libnl/libnl-1.1..ebuild 
b/dev-libs/libnl/libnl-1.1..ebuild
index e9ef685bf11..30fa4a923c0 100644
--- a/dev-libs/libnl/libnl-1.1..ebuild
+++ b/dev-libs/libnl/libnl-1.1..ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 inherit git-r3 multilib toolchain-funcs
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
+HOMEPAGE="https://www.infradead.org/~tgr/libnl/;
 EGIT_REPO_URI="https://github.com/tgraf/libnl-1.1-stable;
 LICENSE="LGPL-2.1"
 SLOT="1.1"

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index c078b024e6c..2c8d76055e4 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -12,7 +12,7 @@ LIBNL_DIR=${PV/_/}
 LIBNL_DIR=${LIBNL_DIR//./_}
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+HOMEPAGE="https://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
 
SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
 S="${WORKDIR}/${LIBNL_P}"
 

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index 75200c89012..1919e6e62e7 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1 git-r3 multilib-minimal
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+HOMEPAGE="https://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
 EGIT_REPO_URI="https://github.com/thom311/libnl;
 
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-01-12 Thread Sam James
commit: 4947b1f61d9cb2db76a6f555f58ce9cb50e3fd72
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 12 23:21:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 12 23:34:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4947b1f6

dev-libs/libnl: add Python 3.9

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild| 29 ++---
 dev-libs/libnl/libnl-.ebuild | 26 +++---
 2 files changed, 21 insertions(+), 34 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index b59acf1f18f..e94fa798a8f 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 DISTUTILS_OPTIONAL=1
 inherit distutils-r1 libtool multilib-minimal
 
@@ -13,34 +13,25 @@ LIBNL_DIR=${LIBNL_DIR//./_}
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-SRC_URI="
-   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
-"
+SRC_URI="https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz;
+S="${WORKDIR}/${LIBNL_P}"
+
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )
-"
-DEPEND="
-   ${RDEPEND}
-"
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
 BDEPEND="
${RDEPEND}
python? ( dev-lang/swig )
sys-devel/bison
sys-devel/flex
 "
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-DOCS=(
-   ChangeLog
-)
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-S=${WORKDIR}/${LIBNL_P}
+DOCS=( ChangeLog )
 
 MULTILIB_WRAPPED_HEADERS=(
# we do not install CLI stuff for non-native
@@ -103,5 +94,5 @@ multilib_src_install() {
 
 multilib_src_install_all() {
einstalldocs
-   find "${D}" -name '*.la' -delete || die
+   find "${ED}" -name '*.la' -delete || die
 }

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index cf078de887a..b90a505c18e 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -1,38 +1,33 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1 git-r3 multilib-minimal
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
 EGIT_REPO_URI="https://github.com/thom311/libnl;
+
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS=""
 IUSE="+debug static-libs python +threads utils"
 
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )
-"
-DEPEND="
-   ${RDEPEND}
-"
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
 BDEPEND="
${RDEPEND}
sys-devel/bison
sys-devel/flex
python? ( dev-lang/swig )
 "
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-DOCS=(
-   ChangeLog
-)
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DOCS=( ChangeLog )
+
 MULTILIB_WRAPPED_HEADERS=(
# we do not install CLI stuff for non-native
/usr/include/libnl3/netlink/cli/addr.h
@@ -48,6 +43,7 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libnl3/netlink/cli/tc.h
/usr/include/libnl3/netlink/cli/utils.h
 )
+
 PATCHES=(
"${FILESDIR}"/${PN}--2to3.patch
 )
@@ -107,5 +103,5 @@ multilib_src_install() {
 
 multilib_src_install_all() {
einstalldocs
-   find "${D}" -name '*.la' -delete || die
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-01-06 Thread Sam James
commit: bc4758fa6898a16b1b6652641cf4e1da2a2dac5c
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 05:14:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 05:14:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc4758fa

dev-libs/libnl: cleanup old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-1.1.4.ebuild | 53 ---
 1 file changed, 53 deletions(-)

diff --git a/dev-libs/libnl/libnl-1.1.4.ebuild 
b/dev-libs/libnl/libnl-1.1.4.ebuild
deleted file mode 100644
index fbf02348694..000
--- a/dev-libs/libnl/libnl-1.1.4.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
-SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
-LICENSE="LGPL-2.1"
-SLOT="1.1"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
-IUSE="doc static-libs"
-
-DEPEND="doc? ( app-doc/doxygen )"
-DOCS=( ChangeLog )
-
-src_prepare() {
-   epatch \
-   "${FILESDIR}"/${PN}-1.1-vlan-header.patch \
-   "${FILESDIR}"/${PN}-1.1-flags.patch \
-   "${FILESDIR}"/${PN}-1.1.3-offsetof.patch
-   sed -i \
-   -e '/@echo/d' \
-   Makefile.rules {lib,src,tests}/Makefile || die
-   sed -i \
-   -e 's|-g ||g' \
-   Makefile.opts.in || die
-
-   if ! use static-libs; then
-   sed -i lib/Makefile -e '/OUT_AR/d' || die
-   fi
-
-   rm -f lib/libnl.a
-}
-
-src_compile() {
-   emake AR=$(tc-getAR)
-
-   if use doc ; then
-   cd "${S}/doc"
-   emake gendoc
-   fi
-}
-
-src_install() {
-   default
-
-   if use doc ; then
-   cd "${S}/doc"
-   dohtml -r html/*
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-01-06 Thread Sam James
commit: 800abf51ac4926a12c10154afb645c7d591f17e9
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan  7 05:10:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan  7 05:10:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=800abf51

dev-libs/libnl: Stabilize 1.1.4-r1 s390, #762142

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-1.1.4-r1.ebuild 
b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
index 2041dd8702f..77e2c37dac6 100644
--- a/dev-libs/libnl/libnl-1.1.4-r1.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="1.1"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-01-03 Thread Sergei Trofimovich
commit: a6bc43548ccfc755c5790168f72a293d2ce8dc24
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jan  3 11:54:36 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jan  3 12:09:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6bc4354

dev-libs/libnl: stable 1.1.4-r1 for ppc64

stable wrt bug #762142

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-1.1.4-r1.ebuild 
b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
index 0917822ca61..a808711c3f0 100644
--- a/dev-libs/libnl/libnl-1.1.4-r1.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="1.1"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-01-03 Thread Sergei Trofimovich
commit: b0103678a286b299fe9e751e7bc31b7215495b54
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jan  3 11:43:47 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jan  3 11:43:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0103678

dev-libs/libnl: stable 1.1.4-r1 for ppc

stable wrt bug #762142

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-1.1.4-r1.ebuild 
b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
index 92fd6032786..0917822ca61 100644
--- a/dev-libs/libnl/libnl-1.1.4-r1.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="1.1"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2021-01-01 Thread Sergei Trofimovich
commit: 12abbc756602cd77187c41cdaa8f284d43e2da11
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Jan  1 11:05:44 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jan  1 11:20:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12abbc75

dev-libs/libnl: stable 1.1.4-r1 for sparc, bug #762142

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-1.1.4-r1.ebuild 
b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
index e2275debff0..92fd6032786 100644
--- a/dev-libs/libnl/libnl-1.1.4-r1.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="1.1"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-12-29 Thread Sam James
commit: 62d2e4f7c02fb8a30c10da054b8ac6262376272f
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 29 21:25:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 29 21:25:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62d2e4f7

dev-libs/libnl: Stabilize 1.1.4-r1 arm64, #762142

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-1.1.4-r1.ebuild 
b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
index 9ffc22d9929..e2275debff0 100644
--- a/dev-libs/libnl/libnl-1.1.4-r1.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="1.1"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-12-29 Thread Sam James
commit: 941ef8713ebb9fd1331d1a4b4cdc960de6fb1996
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 29 20:37:49 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 29 20:37:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=941ef871

dev-libs/libnl: Stabilize 1.1.4-r1 arm, #762142

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-1.1.4-r1.ebuild 
b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
index afefde4dc27..9ffc22d9929 100644
--- a/dev-libs/libnl/libnl-1.1.4-r1.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="1.1"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-12-29 Thread Sam James
commit: e5c548635ebbc4e662fadbc20badc1dd47fe1d87
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 29 17:13:33 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 29 17:13:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5c54863

dev-libs/libnl: Stabilize 1.1.4-r1 amd64, #762142

Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-1.1.4-r1.ebuild 
b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
index b421d2bac3e..afefde4dc27 100644
--- a/dev-libs/libnl/libnl-1.1.4-r1.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
@@ -9,7 +9,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="1.1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-09-27 Thread Jeroen Roovers
commit: 8dcb15c4cb6d4f3744ba3532d73b2e8926383257
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Sep 27 09:30:32 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Sep 27 09:44:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dcb15c4

dev-libs/libnl: Old

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libnl/Manifest   |   1 -
 dev-libs/libnl/libnl-3.4.0.ebuild | 103 --
 2 files changed, 104 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index a042f543894..610575bfa24 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,3 +1,2 @@
 DIST libnl-1.1.4.tar.gz 1174974 BLAKE2B 
e6466e15db17fe4725674d77c6cdcefac73e51346f6f4378bc3ea8409c1534519cc28f1123c8201e78f6b95254701a2f9591f907b3cc597ac1210fd3f8b832ea
 SHA512 
25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4
-DIST libnl-3.4.0.tar.gz 933443 BLAKE2B 
735da9f800277c48a5deceb78084f510f56f7017b1184e91b2bb45ba61a2e95355e7a3f5d0a74bdaf7ae003393a6c7556d5b201d0d0052dfc66042aa9e137986
 SHA512 
6336e5c55c79ff2638de9c812cc1842871769236bad7f65c547dec35fafd91988b257fceab144a0cc133c4b29f61172f6552c53aa9fc723bdc783079c2b1851e
 DIST libnl-3.5.0.tar.gz 967835 BLAKE2B 
cf21c1ffa89799b91bf4bddb8833d5af5c62eb1c53a078ee55a2888bd8439e1ae6db8886c9c4f937297962faac6873b4cf5211ee3d1e5354d96b5dc545a6fc2d
 SHA512 
9c94c09bac34297493b3ea482713d7c0865d2839b5042e5c7d1ed008e2402ab63df35a18e272f40b2cce27d0c31dc733fe7e4b2d376e7ca847a2b0d5e90de50c

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
deleted file mode 100644
index fe516272f7f..000
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python3_{6,7} )
-DISTUTILS_OPTIONAL=1
-inherit distutils-r1 eutils libtool ltprune multilib multilib-minimal
-
-LIBNL_P=${P/_/-}
-LIBNL_DIR=${PV/_/}
-LIBNL_DIR=${LIBNL_DIR//./_}
-
-DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-SRC_URI="
-   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
-"
-LICENSE="LGPL-2.1 utils? ( GPL-2 )"
-SLOT="3"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc 
x86 ~amd64-linux ~x86-linux"
-IUSE="+debug static-libs python +threads utils"
-
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )
-"
-DEPEND="
-   ${RDEPEND}
-   python? ( dev-lang/swig )
-   sys-devel/bison
-   sys-devel/flex
-"
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-DOCS=(
-   ChangeLog
-)
-
-S=${WORKDIR}/${LIBNL_P}
-
-MULTILIB_WRAPPED_HEADERS=(
-   # we do not install CLI stuff for non-native
-   /usr/include/libnl3/netlink/cli/addr.h
-   /usr/include/libnl3/netlink/cli/class.h
-   /usr/include/libnl3/netlink/cli/cls.h
-   /usr/include/libnl3/netlink/cli/ct.h
-   /usr/include/libnl3/netlink/cli/exp.h
-   /usr/include/libnl3/netlink/cli/link.h
-   /usr/include/libnl3/netlink/cli/neigh.h
-   /usr/include/libnl3/netlink/cli/qdisc.h
-   /usr/include/libnl3/netlink/cli/route.h
-   /usr/include/libnl3/netlink/cli/rule.h
-   /usr/include/libnl3/netlink/cli/tc.h
-   /usr/include/libnl3/netlink/cli/utils.h
-)
-
-src_prepare() {
-   default
-
-   elibtoolize
-
-   if use python; then
-   cd "${S}"/python || die
-   distutils-r1_src_prepare
-   fi
-
-   # out-of-source build broken
-   # https://github.com/thom311/libnl/pull/58
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   econf \
-   $(multilib_native_use_enable utils cli) \
-   $(use_enable debug) \
-   $(use_enable static-libs static) \
-   $(use_enable threads)
-}
-
-multilib_src_compile() {
-   default
-
-   if multilib_is_native_abi && use python; then
-   cd python || die
-   distutils-r1_src_compile
-   fi
-}
-
-multilib_src_install() {
-   emake DESTDIR="${D}" install
-
-   if multilib_is_native_abi && use python; then
-   # Unset DOCS= since distutils-r1.eclass interferes
-   local DOCS=()
-   cd python || die
-   distutils-r1_src_install
-   fi
-}
-
-multilib_src_install_all() {
-   einstalldocs
-   prune_libtool_files --modules
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-09-26 Thread Sergei Trofimovich
commit: 4b8ec6023b5b449033c7204f28365938bf86c62a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep 26 21:32:29 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep 26 21:32:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8ec602

dev-libs/libnl: stable 3.5.0 for hppa

stable wrt bug #741174

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index b59acf1f18f..6a56b881381 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-09-24 Thread Agostino Sarubbo
commit: f143d037cdfa9326127856a7d92bd6b74afcc2dc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 24 06:42:24 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 24 06:46:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f143d037

dev-libs/libnl: amd64 stable wrt bug #741174

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 61695c261d1..b59acf1f18f 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-09-23 Thread Agostino Sarubbo
commit: 7dea7062ac03be093dc59c990ae2e948304c253a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 10:32:36 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 10:32:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dea7062

dev-libs/libnl: sparc stable wrt bug #741174

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index ddd8c0e73d9..61695c261d1 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-09-23 Thread Agostino Sarubbo
commit: 6e0b383d02a1bb655f7a7eaba69bc4e521efe4a6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 10:30:53 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 10:30:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0b383d

dev-libs/libnl: s390 stable wrt bug #741174

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 2068b7e3077..ddd8c0e73d9 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-09-23 Thread Agostino Sarubbo
commit: ae1daf06355bc319ad41f72a17b93969258b588c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 10:26:29 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 10:29:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae1daf06

dev-libs/libnl: ppc64 stable wrt bug #741174

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 4b701597cb5..2068b7e3077 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-09-23 Thread Agostino Sarubbo
commit: b9b31acdb88c63c26b5b059e3386af8a3b1d1f1f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 10:24:53 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 10:24:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9b31acd

dev-libs/libnl: ppc stable wrt bug #741174

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 8a01b4c0191..4b701597cb5 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-09-20 Thread Thomas Deutschmann
commit: fbbc51049819ce8deebaf22fc68d6bfea3b6d950
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Sep 20 21:43:37 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Sep 20 21:51:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbbc5104

dev-libs/libnl: x86 stable (bug #741174)

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index ce1a0349ebb..8a01b4c0191 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/, dev-libs/libnl/files/

2020-09-20 Thread Jeroen Roovers
commit: 517511aef659389b22436c428726f022d1f74c9b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Sep 20 13:00:52 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Sep 20 13:01:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517511ae

dev-libs/libnl: Fix python byte-compiling

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Fixes: 78ae57786c33fa78e0932185e30a8a0ab9faa75f
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libnl/files/libnl--2to3.patch | 42 ++
 dev-libs/libnl/libnl-.ebuild   | 28 +++--
 2 files changed, 61 insertions(+), 9 deletions(-)

diff --git a/dev-libs/libnl/files/libnl--2to3.patch 
b/dev-libs/libnl/files/libnl--2to3.patch
new file mode 100644
index 000..66a16406d78
--- /dev/null
+++ b/dev-libs/libnl/files/libnl--2to3.patch
@@ -0,0 +1,42 @@
+--- a/python/netlink/route/links/bridge.py
 b/python/netlink/route/links/bridge.py
+@@ -6,7 +6,7 @@
+ 
+ """
+ 
+-from __future__ import absolute_import
++
+ 
+ from ... import core as netlink
+ from ..  import capi as capi
+@@ -19,10 +19,10 @@
+ 
+ def bridge_assert_ext_info(self):
+ if self._has_ext_info == False:
+-print """
++print("""
+ Please update your kernel to be able to call this method.
+ Your current kernel bridge version is too old to support this 
extention.
+-"""
++""")
+ raise RuntimeWarning()
+ 
+ def port_state2str(self, state):
+--- a/doc/resolve-asciidoc-refs.py
 b/doc/resolve-asciidoc-refs.py
+@@ -22,4 +22,4 @@
+ 
+ rc = re.compile('|'.join(map(re.escape, sorted(refs, reverse=True
+ for line in open(sys.argv[1], 'r'):
+-  print rc.sub(translate, line),
++  print(rc.sub(translate, line), end=' ')
+--- a/doc/doxygen-link.py
 b/doc/doxygen-link.py
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env python
+ 
+-from __future__ import print_function
++
+ import fileinput
+ import re
+ import sys

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index 52f318b2f91..cf078de887a 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
 DISTUTILS_OPTIONAL=1
-inherit autotools distutils-r1 git-r3 libtool multilib multilib-minimal
+inherit autotools distutils-r1 git-r3 multilib-minimal
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
@@ -23,19 +23,16 @@ DEPEND="
 "
 BDEPEND="
${RDEPEND}
-   python? ( dev-lang/swig )
sys-devel/bison
sys-devel/flex
+   python? ( dev-lang/swig )
 "
-
 REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
 "
-
 DOCS=(
ChangeLog
 )
-
 MULTILIB_WRAPPED_HEADERS=(
# we do not install CLI stuff for non-native
/usr/include/libnl3/netlink/cli/addr.h
@@ -51,6 +48,9 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/libnl3/netlink/cli/tc.h
/usr/include/libnl3/netlink/cli/utils.h
 )
+PATCHES=(
+   "${FILESDIR}"/${PN}--2to3.patch
+)
 
 src_prepare() {
default
@@ -58,8 +58,9 @@ src_prepare() {
eautoreconf
 
if use python; then
-   cd "${S}"/python || die
+   pushd "${S}"/python > /dev/null || die
distutils-r1_src_prepare
+   popd > /dev/null || die
fi
 
# out-of-source build broken
@@ -72,15 +73,17 @@ multilib_src_configure() {
$(multilib_native_use_enable utils cli) \
$(use_enable debug) \
$(use_enable static-libs static) \
-   $(use_enable threads)
+   $(use_enable threads) \
+   --disable-doc
 }
 
 multilib_src_compile() {
default
 
if multilib_is_native_abi && use python; then
-   cd python || die
+   pushd python > /dev/null || die
distutils-r1_src_compile
+   popd > /dev/null || die
fi
 }
 
@@ -90,8 +93,15 @@ multilib_src_install() {
if multilib_is_native_abi && use python; then
# Unset DOCS= since distutils-r1.eclass interferes
local DOCS=()
-   cd python || die
+
+   pushd python > /dev/null || die
+
distutils-r1_src_install
+
+   # For no obvious reason this is not done automatically
+   python_foreach_impl python_optimize
+
+   popd > /dev/null || die
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-09-19 Thread Sam James
commit: 57c1272aa0c07f43b5ce25eac0914f006a602664
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 20 02:40:44 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 20 02:40:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57c1272a

dev-libs/libnl: arm stable (bug #741174)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index d9edacc58f9..ce1a0349ebb 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-06-21 Thread Jeroen Roovers
commit: ee5f763363f44de54c661b9b2a3aacca31a57bb9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jun 21 11:19:31 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jun 21 11:42:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee5f7633

dev-libs/libnl: Set BDEPEND

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Closes: https://bugs.gentoo.org/728858
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild| 3 +++
 dev-libs/libnl/libnl-.ebuild | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index d4c68b52604..d9edacc58f9 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -26,6 +26,9 @@ RDEPEND="
 "
 DEPEND="
${RDEPEND}
+"
+BDEPEND="
+   ${RDEPEND}
python? ( dev-lang/swig )
sys-devel/bison
sys-devel/flex

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index bbdb3529b76..52f318b2f91 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -20,6 +20,9 @@ RDEPEND="
 "
 DEPEND="
${RDEPEND}
+"
+BDEPEND="
+   ${RDEPEND}
python? ( dev-lang/swig )
sys-devel/bison
sys-devel/flex



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-04-16 Thread Mart Raudsepp
commit: c233e7d876311318a3aa203634d92b2cbcf46dc0
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu Apr 16 17:45:07 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Apr 16 20:40:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c233e7d8

dev-libs/libnl: arm64 stable (bug #717662)

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 314e0b54a40..d4c68b52604 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2020-02-11 Thread Michał Górny
commit: 78ae57786c33fa78e0932185e30a8a0ab9faa75f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 11 11:53:28 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 11 12:15:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ae5778

dev-libs/libnl: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/libnl/libnl-3.4.0.ebuild| 2 +-
 dev-libs/libnl/libnl-3.5.0.ebuild| 2 +-
 dev-libs/libnl/libnl-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index 9c7beffb4e0..a5b5ca1ad16 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
 DISTUTILS_OPTIONAL=1
 inherit distutils-r1 eutils libtool multilib multilib-minimal
 

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index b4d5471529e..28138672f5b 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 DISTUTILS_OPTIONAL=1
 inherit distutils-r1 libtool multilib-minimal
 

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index 619ab299650..9a6a52092d7 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1 git-r3 libtool multilib multilib-minimal
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2019-12-30 Thread Jeroen Roovers
commit: 4262bd467ebb1d300fcdafeb3b4df0735c145e04
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Dec 30 11:51:48 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Dec 30 12:03:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4262bd46

dev-libs/libnl: Update EGIT_REPO_URI

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libnl/libnl-.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index 96cee7696c8..2b67e98f57d 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -9,9 +9,7 @@ inherit autotools distutils-r1 git-r3 libtool multilib 
multilib-minimal
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-EGIT_REPO_URI="
-   https://github.com/thom311/libnl.git
-"
+EGIT_REPO_URI="https://github.com/thom311/libnl;
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS=""



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2019-12-30 Thread Jeroen Roovers
commit: 0949f29f406e8219ced96371db7549723eb88132
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Dec 30 12:02:45 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Dec 30 12:03:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0949f29f

dev-libs/libnl: Add live ebuild for SLOT=1.1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libnl/libnl-1.1..ebuild | 57 
 1 file changed, 57 insertions(+)

diff --git a/dev-libs/libnl/libnl-1.1..ebuild 
b/dev-libs/libnl/libnl-1.1..ebuild
new file mode 100644
index 000..e9ef685bf11
--- /dev/null
+++ b/dev-libs/libnl/libnl-1.1..ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit git-r3 multilib toolchain-funcs
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
+EGIT_REPO_URI="https://github.com/tgraf/libnl-1.1-stable;
+LICENSE="LGPL-2.1"
+SLOT="1.1"
+KEYWORDS=""
+IUSE="doc static-libs"
+
+DEPEND="doc? ( app-doc/doxygen )"
+DOCS=( ChangeLog )
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
+   "${FILESDIR}"/${PN}-1.1-flags.patch
+   "${FILESDIR}"/${PN}-1.1.3-offsetof.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e '/@echo/d' \
+   Makefile.rules {lib,src,tests}/Makefile || die
+   sed -i \
+   -e 's|-g ||g' \
+   Makefile.opts.in || die
+
+   if ! use static-libs; then
+   sed -i lib/Makefile -e '/OUT_AR/d' || die
+   fi
+
+   rm -f lib/libnl.a
+}
+
+src_compile() {
+   emake AR=$(tc-getAR)
+
+   if use doc ; then
+   cd "${S}/doc"
+   emake gendoc
+   fi
+}
+
+src_install() {
+   default
+
+   if use doc ; then
+   cd "${S}/doc"
+   docinto html
+   dodoc -r html/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2019-12-04 Thread Aaron Bauman
commit: 6e3a6d8dfcba77d235c0d3911dbe1dfd26c7bcd8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Nov 30 15:12:27 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Dec  4 16:36:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e3a6d8d

dev-libs/libnl: python3_8

Closes: https://bugs.gentoo.org/701568
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Andreas Sturmlechner  gentoo.org>
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-libs/libnl/libnl-3.5.0.ebuild| 3 ++-
 dev-libs/libnl/libnl-.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
index 32fb308b60f..ae230e8101e 100644
--- a/dev-libs/libnl/libnl-3.5.0.ebuild
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
 DISTUTILS_OPTIONAL=1
 inherit distutils-r1 libtool multilib-minimal
 

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index bb976be4513..96cee7696c8 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1 git-r3 libtool multilib multilib-minimal
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2019-10-14 Thread Jeroen Roovers
commit: 37cc858514b20cbae854b7d380870774380bc277
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Oct 14 08:52:58 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Oct 14 08:53:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37cc8585

dev-libs/libnl: Update live ebuild

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libnl/libnl-.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index 43eb90b83be..bb976be4513 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
 DISTUTILS_OPTIONAL=1
-inherit autotools distutils-r1 eutils git-r3 libtool multilib multilib-minimal
+inherit autotools distutils-r1 git-r3 libtool multilib multilib-minimal
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
@@ -84,7 +84,7 @@ multilib_src_compile() {
 }
 
 multilib_src_install() {
-   emake DESTDIR="${D}" install
+   default
 
if multilib_is_native_abi && use python; then
# Unset DOCS= since distutils-r1.eclass interferes
@@ -96,5 +96,5 @@ multilib_src_install() {
 
 multilib_src_install_all() {
einstalldocs
-   prune_libtool_files --modules
+   find "${D}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2019-09-01 Thread Jeroen Roovers
commit: de9bef84d311a443ee551e9f2cc61b75981a3c1e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Sep  1 14:48:48 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Sep  1 14:50:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de9bef84

dev-libs/libnl: Version 3.5.0

Package-Manager: Portage-2.3.74, Repoman-2.3.17
Signed-off-by: Jeroen Roovers  gentoo.org>

 dev-libs/libnl/Manifest   |   1 +
 dev-libs/libnl/libnl-3.5.0.ebuild | 104 ++
 2 files changed, 105 insertions(+)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index cce3a38c743..a042f543894 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,2 +1,3 @@
 DIST libnl-1.1.4.tar.gz 1174974 BLAKE2B 
e6466e15db17fe4725674d77c6cdcefac73e51346f6f4378bc3ea8409c1534519cc28f1123c8201e78f6b95254701a2f9591f907b3cc597ac1210fd3f8b832ea
 SHA512 
25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4
 DIST libnl-3.4.0.tar.gz 933443 BLAKE2B 
735da9f800277c48a5deceb78084f510f56f7017b1184e91b2bb45ba61a2e95355e7a3f5d0a74bdaf7ae003393a6c7556d5b201d0d0052dfc66042aa9e137986
 SHA512 
6336e5c55c79ff2638de9c812cc1842871769236bad7f65c547dec35fafd91988b257fceab144a0cc133c4b29f61172f6552c53aa9fc723bdc783079c2b1851e
+DIST libnl-3.5.0.tar.gz 967835 BLAKE2B 
cf21c1ffa89799b91bf4bddb8833d5af5c62eb1c53a078ee55a2888bd8439e1ae6db8886c9c4f937297962faac6873b4cf5211ee3d1e5354d96b5dc545a6fc2d
 SHA512 
9c94c09bac34297493b3ea482713d7c0865d2839b5042e5c7d1ed008e2402ab63df35a18e272f40b2cce27d0c31dc733fe7e4b2d376e7ca847a2b0d5e90de50c

diff --git a/dev-libs/libnl/libnl-3.5.0.ebuild 
b/dev-libs/libnl/libnl-3.5.0.ebuild
new file mode 100644
index 000..32fb308b60f
--- /dev/null
+++ b/dev-libs/libnl/libnl-3.5.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+DISTUTILS_OPTIONAL=1
+inherit distutils-r1 libtool multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+SRC_URI="
+   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
+"
+LICENSE="LGPL-2.1 utils? ( GPL-2 )"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+debug static-libs python +threads utils"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
+"
+DEPEND="
+   ${RDEPEND}
+   python? ( dev-lang/swig )
+   sys-devel/bison
+   sys-devel/flex
+"
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+DOCS=(
+   ChangeLog
+)
+
+S=${WORKDIR}/${LIBNL_P}
+
+MULTILIB_WRAPPED_HEADERS=(
+   # we do not install CLI stuff for non-native
+   /usr/include/libnl3/netlink/cli/addr.h
+   /usr/include/libnl3/netlink/cli/class.h
+   /usr/include/libnl3/netlink/cli/cls.h
+   /usr/include/libnl3/netlink/cli/ct.h
+   /usr/include/libnl3/netlink/cli/exp.h
+   /usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/neigh.h
+   /usr/include/libnl3/netlink/cli/qdisc.h
+   /usr/include/libnl3/netlink/cli/route.h
+   /usr/include/libnl3/netlink/cli/rule.h
+   /usr/include/libnl3/netlink/cli/tc.h
+   /usr/include/libnl3/netlink/cli/utils.h
+)
+
+src_prepare() {
+   default
+
+   elibtoolize
+
+   if use python; then
+   cd "${S}"/python || die
+   distutils-r1_src_prepare
+   fi
+
+   # out-of-source build broken
+   # https://github.com/thom311/libnl/pull/58
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   econf \
+   $(multilib_native_use_enable utils cli) \
+   $(use_enable debug) \
+   $(use_enable static-libs static) \
+   $(use_enable threads) \
+   --disable-silent-rules
+}
+
+multilib_src_compile() {
+   default
+
+   if multilib_is_native_abi && use python; then
+   cd python || die
+   distutils-r1_src_compile
+   fi
+}
+
+multilib_src_install() {
+   emake DESTDIR="${D}" install
+
+   if multilib_is_native_abi && use python; then
+   # Unset DOCS= since distutils-r1.eclass interferes
+   local DOCS=()
+   cd python || die
+   distutils-r1_src_install
+   fi
+}
+
+multilib_src_install_all() {
+   einstalldocs
+   find "${D}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2019-06-16 Thread David Seifert
commit: c751b6e66c51c3304871cb4377e7b62490a3eab8
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jun 16 10:52:09 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jun 16 10:52:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c751b6e6

dev-libs/libnl: Add py3.7

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index fd6f533f7d8..6c2881430a6 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
 DISTUTILS_OPTIONAL=1
 inherit distutils-r1 eutils libtool multilib multilib-minimal
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2019-05-05 Thread Mikle Kolyada
commit: 15fd7d20eae7b0aff96130b7199c2fead8a826ef
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  5 13:32:44 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  5 13:32:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15fd7d20

dev-libs/libnl: Add ~riscv keyword

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index c72b92ee2ed..fd6f533f7d8 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~riscv s390 ~sh 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-07-20 Thread Jeroen Roovers
commit: 8bccfaf8afedd950db3cba9a38e88081542893c3
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jul 20 09:56:56 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jul 20 09:56:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bccfaf8

dev-libs/libnl: EAPI bump.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-libs/libnl/libnl-1.1.4-r1.ebuild | 57 
 1 file changed, 57 insertions(+)

diff --git a/dev-libs/libnl/libnl-1.1.4-r1.ebuild 
b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
new file mode 100644
index 000..2b9928fc056
--- /dev/null
+++ b/dev-libs/libnl/libnl-1.1.4-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
+SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
+LICENSE="LGPL-2.1"
+SLOT="1.1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc static-libs"
+
+DEPEND="doc? ( app-doc/doxygen )"
+DOCS=( ChangeLog )
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
+   "${FILESDIR}"/${PN}-1.1-flags.patch
+   "${FILESDIR}"/${PN}-1.1.3-offsetof.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e '/@echo/d' \
+   Makefile.rules {lib,src,tests}/Makefile || die
+   sed -i \
+   -e 's|-g ||g' \
+   Makefile.opts.in || die
+
+   if ! use static-libs; then
+   sed -i lib/Makefile -e '/OUT_AR/d' || die
+   fi
+
+   rm -f lib/libnl.a
+}
+
+src_compile() {
+   emake AR=$(tc-getAR)
+
+   if use doc ; then
+   cd "${S}/doc"
+   emake gendoc || die
+   fi
+}
+
+src_install() {
+   default
+
+   if use doc ; then
+   cd "${S}/doc"
+   docinto html
+   dodoc -r html/*
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-07-20 Thread Jeroen Roovers
commit: 9b6023d5253dff51c8b946f21ca7e863df45f3c2
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jul 20 09:51:25 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jul 20 09:51:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b6023d5

dev-libs/libnl: Old.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 dev-libs/libnl/Manifest|   2 -
 dev-libs/libnl/libnl-3.2.28.ebuild | 110 -
 2 files changed, 112 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index 7b939cabd61..cce3a38c743 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,4 +1,2 @@
 DIST libnl-1.1.4.tar.gz 1174974 BLAKE2B 
e6466e15db17fe4725674d77c6cdcefac73e51346f6f4378bc3ea8409c1534519cc28f1123c8201e78f6b95254701a2f9591f907b3cc597ac1210fd3f8b832ea
 SHA512 
25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4
-DIST libnl-3.2.28-in6.patch.xz 6368 BLAKE2B 
cafea9217a9aaee7a8d1a33598279a717cd96e08f326d003ebb833d501a4c9e3be3546fc4570aad137c579e88d82d3e2501546875d260fb4c2ec6c69544d2edd
 SHA512 
de14f7540e514871db2058236a339192443423e56f2f5bd52e02ff06873c9e411029b12f3119e57eb01201ce3643ce78ca3e8d9ada4f6ba318df96288304bead
-DIST libnl-3.2.28.tar.gz 941954 BLAKE2B 
c36817832f36ef2f3e32af8703024c92c874a85f898fc02673c6f3ee983757ffa8c7c3340942dd47880d94da7d907f4a867a99fa252628d816705dd4318a85a0
 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 DIST libnl-3.4.0.tar.gz 933443 BLAKE2B 
735da9f800277c48a5deceb78084f510f56f7017b1184e91b2bb45ba61a2e95355e7a3f5d0a74bdaf7ae003393a6c7556d5b201d0d0052dfc66042aa9e137986
 SHA512 
6336e5c55c79ff2638de9c812cc1842871769236bad7f65c547dec35fafd91988b257fceab144a0cc133c4b29f61172f6552c53aa9fc723bdc783079c2b1851e

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
deleted file mode 100644
index d623fb20253..000
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-DISTUTILS_OPTIONAL=1
-inherit distutils-r1 eutils libtool multilib multilib-minimal
-
-LIBNL_P=${P/_/-}
-LIBNL_DIR=${PV/_/}
-LIBNL_DIR=${LIBNL_DIR//./_}
-
-DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-SRC_URI="
-   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
-   https://dev.gentoo.org/~jer/libnl-3.2.28-in6.patch.xz
-"
-LICENSE="LGPL-2.1 utils? ( GPL-2 )"
-SLOT="3"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
-IUSE="static-libs python utils"
-
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )
-"
-DEPEND="
-   ${RDEPEND}
-   python? ( dev-lang/swig )
-   sys-devel/bison
-   sys-devel/flex
-"
-
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-DOCS=(
-   ChangeLog
-)
-
-S=${WORKDIR}/${LIBNL_P}
-
-MULTILIB_WRAPPED_HEADERS=(
-   # we do not install CLI stuff for non-native
-   /usr/include/libnl3/netlink/cli/addr.h
-   /usr/include/libnl3/netlink/cli/class.h
-   /usr/include/libnl3/netlink/cli/cls.h
-   /usr/include/libnl3/netlink/cli/ct.h
-   /usr/include/libnl3/netlink/cli/exp.h
-   /usr/include/libnl3/netlink/cli/link.h
-   /usr/include/libnl3/netlink/cli/neigh.h
-   /usr/include/libnl3/netlink/cli/qdisc.h
-   /usr/include/libnl3/netlink/cli/route.h
-   /usr/include/libnl3/netlink/cli/rule.h
-   /usr/include/libnl3/netlink/cli/tc.h
-   /usr/include/libnl3/netlink/cli/utils.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   "${WORKDIR}"/${PN}-3.2.28-in6.patch
-)
-
-src_prepare() {
-   default
-
-   elibtoolize
-
-   if use python; then
-   cd "${S}"/python || die
-   distutils-r1_src_prepare
-   fi
-
-   # out-of-source build broken
-   # https://github.com/thom311/libnl/pull/58
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   econf \
-   --disable-silent-rules \
-   $(use_enable static-libs static) \
-   $(multilib_native_use_enable utils cli)
-}
-
-multilib_src_compile() {
-   default
-
-   if multilib_is_native_abi && use python; then
-   cd python || die
-   distutils-r1_src_compile
-   fi
-}
-
-multilib_src_install() {
-   emake DESTDIR="${D}" install
-
-   if multilib_is_native_abi && use python; then
-   # Unset DOCS= since distutils-r1.eclass interferes
-   local DOCS=()
-   cd python || die
- 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-07-11 Thread Mikle Kolyada
commit: 2ed05590f8b7370ad1ce5ae67dff46427cc4f212
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Jul 11 13:21:43 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Jul 11 13:21:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed05590

dev-libs/libnl: arm stable wrt bug #658874

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index 85cc14ab6af..bc1a0718a1b 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-07-09 Thread Mikle Kolyada
commit: 806d82da39e06286f8978870b279fa8b28230933
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jul  9 22:10:33 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jul  9 22:10:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=806d82da

dev-libs/libnl: mark s390 stable

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index 4c6460c8f16..85cc14ab6af 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-06-28 Thread Mart Raudsepp
commit: 5afeb133bd8960a1018e05608be1fb583528582a
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Thu Jun 28 12:30:08 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Jun 28 12:30:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5afeb133

dev-libs/libnl-3.4.0: arm64 stable (bug #658874)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index a1865646b03..4c6460c8f16 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-06-27 Thread Sergei Trofimovich
commit: 7f5aa59a55fac2bf6b0e67fb1b31dd5316a8aa72
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Jun 27 22:01:03 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jun 27 22:13:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5aa59a

dev-libs/libnl: stable 3.4.0 for ppc64, bug #658874

Bug: https://bugs.gentoo.org/658874
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="ppc64"

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index 24f54fd321e..a1865646b03 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-06-27 Thread Tobias Klausmann
commit: 5b2cc931b56216bd7b359602e7abc038544e68f6
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Jun 27 10:05:15 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Jun 27 10:05:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2cc931

dev-libs/libnl-3.4.0-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/658874

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index 023b26d11c0..24f54fd321e 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-06-25 Thread Sergei Trofimovich
commit: 9d26c763ca16d8b3e39b9a19c88736b725f3d62f
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jun 25 06:01:11 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun 25 06:20:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d26c763

dev-libs/libnl: stable 3.4.0 for hppa/sparc

Bug: https://bugs.gentoo.org/658874
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="hppa sparc"

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index 2d991edf9d6..023b26d11c0 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-06-24 Thread Sergei Trofimovich
commit: 13128c51d6d80822d162fe4690d45f155561dd36
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 24 17:56:35 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 24 19:36:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13128c51

dev-libs/libnl: stable 3.4.0 for ppc, bug #658874

Bug: https://bugs.gentoo.org/658874
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="ppc"

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index 24f6df95577..2d991edf9d6 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-06-24 Thread Jeroen Roovers
commit: 52f3b19eb7d377e00f6dc97ad9a6a9f7e9fc836b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jun 24 10:40:31 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jun 24 12:05:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52f3b19e

dev-libs/libnl: Stable for AMD64 HPPA x86 too.

Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --ignore-arches

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index a68c63bad5e..24f6df95577 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-06-24 Thread Sergei Trofimovich
commit: e6c5b484aa25adfdb4db6fb8afa50edb7776e361
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jun 24 10:17:31 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 24 10:18:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6c5b484

dev-libs/libnl: stable 3.4.0 for ia64, bug #658874

Bug: https://bugs.gentoo.org/658874
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="ia64"

 dev-libs/libnl/libnl-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index fc9536f8ff2..a68c63bad5e 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-05-10 Thread Jeroen Roovers
commit: 845c73231f2e022b100b17f9229c523590b76814
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu May 10 14:43:30 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu May 10 14:43:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=845c7323

dev-libs/libnl: Add USE='debug threads'.

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-libs/libnl/libnl-.ebuild | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index 65e5dfb9b48..f8aea0b33b5 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ EGIT_REPO_URI="
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS=""
-IUSE="static-libs python utils"
+IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="
python? ( ${PYTHON_DEPS} )
@@ -67,9 +67,11 @@ src_prepare() {
 
 multilib_src_configure() {
econf \
-   --disable-silent-rules \
+   $(multilib_native_use_enable utils cli) \
+   $(use_enable debug) \
$(use_enable static-libs static) \
-   $(multilib_native_use_enable utils cli)
+   $(use_enable threads) \
+   --disable-silent-rules
 }
 
 multilib_src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2018-05-10 Thread Jeroen Roovers
commit: 24945aa0fe8770d9407f897fcce48b335f4809e3
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu May 10 13:14:31 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu May 10 13:15:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24945aa0

dev-libs/libnl: Add USE='debug threads'.

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 dev-libs/libnl/libnl-3.4.0.ebuild | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index 96413581c26..fc9536f8ff2 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,7 +18,7 @@ SRC_URI="
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs python utils"
+IUSE="+debug static-libs python +threads utils"
 
 RDEPEND="
python? ( ${PYTHON_DEPS} )
@@ -71,9 +71,11 @@ src_prepare() {
 
 multilib_src_configure() {
econf \
-   --disable-silent-rules \
+   $(multilib_native_use_enable utils cli) \
+   $(use_enable debug) \
$(use_enable static-libs static) \
-   $(multilib_native_use_enable utils cli)
+   $(use_enable threads) \
+   --disable-silent-rules
 }
 
 multilib_src_compile() {



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-12-19 Thread Jeroen Roovers
commit: 903e849a0d544941fd8695f067f09b9e6adc8c9d
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Dec 20 00:20:29 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Dec 20 00:21:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=903e849a

dev-libs/libnl: Add support for python 3.6 (bug #616928 by fhede).

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-libs/libnl/libnl-3.4.0.ebuild| 2 +-
 dev-libs/libnl/libnl-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
index 64aedbef471..ccd0aac9e39 100644
--- a/dev-libs/libnl/libnl-3.4.0.ebuild
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 DISTUTILS_OPTIONAL=1
 inherit distutils-r1 eutils libtool multilib multilib-minimal
 

diff --git a/dev-libs/libnl/libnl-.ebuild 
b/dev-libs/libnl/libnl-.ebuild
index f65e3012a6a..ebe525ac9df 100644
--- a/dev-libs/libnl/libnl-.ebuild
+++ b/dev-libs/libnl/libnl-.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1 eutils git-r3 libtool multilib multilib-minimal
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-12-19 Thread Jeroen Roovers
commit: 43be03bda382b7866a2c3ce5ed93e2148c591888
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Dec 20 00:21:19 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Dec 20 00:21:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43be03bd

dev-libs/libnl: Old.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-libs/libnl/Manifest|   2 -
 dev-libs/libnl/libnl-3.2.29.ebuild | 114 -
 dev-libs/libnl/libnl-3.3.0.ebuild  | 106 --
 3 files changed, 222 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index 7b40fcc4cbf..7b939cabd61 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,6 +1,4 @@
 DIST libnl-1.1.4.tar.gz 1174974 BLAKE2B 
e6466e15db17fe4725674d77c6cdcefac73e51346f6f4378bc3ea8409c1534519cc28f1123c8201e78f6b95254701a2f9591f907b3cc597ac1210fd3f8b832ea
 SHA512 
25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4
 DIST libnl-3.2.28-in6.patch.xz 6368 BLAKE2B 
cafea9217a9aaee7a8d1a33598279a717cd96e08f326d003ebb833d501a4c9e3be3546fc4570aad137c579e88d82d3e2501546875d260fb4c2ec6c69544d2edd
 SHA512 
de14f7540e514871db2058236a339192443423e56f2f5bd52e02ff06873c9e411029b12f3119e57eb01201ce3643ce78ca3e8d9ada4f6ba318df96288304bead
 DIST libnl-3.2.28.tar.gz 941954 BLAKE2B 
c36817832f36ef2f3e32af8703024c92c874a85f898fc02673c6f3ee983757ffa8c7c3340942dd47880d94da7d907f4a867a99fa252628d816705dd4318a85a0
 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
-DIST libnl-3.2.29.tar.gz 963681 BLAKE2B 
031f10fd655637f1b41f7fa951c34ad0c53d7175ebdb027dcad234acca637ed2b6f763a0490a8be37eb31407b20a7ae11eb646ac4a37b2ea66e7730492febba2
 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
-DIST libnl-3.3.0.tar.gz 933390 BLAKE2B 
d97e9658dd6fbe90cd6608a578d9fadeb02ff24e64d92c203ed9280902f17b382a8e080f92707696f4115225dec916945428ff7d72bc2fdcbee6df47004aa7ff
 SHA512 
3fc5d95b875605ab6378d2d454020c1276a6772205fa11bbd22eba9fd9ef1deb8c75347e5d4602f0ab7bf13bd66b418f5ef73ed05f18134f08638ce06eef622c
 DIST libnl-3.4.0.tar.gz 933443 BLAKE2B 
735da9f800277c48a5deceb78084f510f56f7017b1184e91b2bb45ba61a2e95355e7a3f5d0a74bdaf7ae003393a6c7556d5b201d0d0052dfc66042aa9e137986
 SHA512 
6336e5c55c79ff2638de9c812cc1842871769236bad7f65c547dec35fafd91988b257fceab144a0cc133c4b29f61172f6552c53aa9fc723bdc783079c2b1851e

diff --git a/dev-libs/libnl/libnl-3.2.29.ebuild 
b/dev-libs/libnl/libnl-3.2.29.ebuild
deleted file mode 100644
index 55886ce41b3..000
--- a/dev-libs/libnl/libnl-3.2.29.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-DISTUTILS_OPTIONAL=1
-inherit distutils-r1 eutils libtool multilib multilib-minimal
-
-LIBNL_P=${P/_/-}
-LIBNL_DIR=${PV/_/}
-LIBNL_DIR=${LIBNL_DIR//./_}
-
-DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-SRC_URI="
-   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
-   https://dev.gentoo.org/~jer/libnl-3.2.28-in6.patch.xz
-"
-LICENSE="LGPL-2.1 utils? ( GPL-2 )"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs python utils"
-
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )
-   abi_x86_32? (
-   !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
-   )
-"
-DEPEND="
-   ${RDEPEND}
-   python? ( dev-lang/swig )
-   sys-devel/bison
-   sys-devel/flex
-"
-
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-DOCS=(
-   ChangeLog
-)
-
-S=${WORKDIR}/${LIBNL_P}
-
-MULTILIB_WRAPPED_HEADERS=(
-   # we do not install CLI stuff for non-native
-   /usr/include/libnl3/netlink/cli/addr.h
-   /usr/include/libnl3/netlink/cli/class.h
-   /usr/include/libnl3/netlink/cli/cls.h
-   /usr/include/libnl3/netlink/cli/ct.h
-   /usr/include/libnl3/netlink/cli/exp.h
-   /usr/include/libnl3/netlink/cli/link.h
-   /usr/include/libnl3/netlink/cli/neigh.h
-   /usr/include/libnl3/netlink/cli/qdisc.h
-   /usr/include/libnl3/netlink/cli/route.h
-   /usr/include/libnl3/netlink/cli/rule.h
-   /usr/include/libnl3/netlink/cli/tc.h
-   /usr/include/libnl3/netlink/cli/utils.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   "${WORKDIR}"/${PN}-3.2.28-in6.patch
-)
-
-src_prepare() {
-   default
-
-   elibtoolize
-
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-10-11 Thread Jeroen Roovers
commit: c1263100e4b0fa9c5000b61350003e397d4faefb
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Oct 11 20:15:55 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Oct 11 20:24:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1263100

dev-libs/libnl: Old.

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 dev-libs/libnl/Manifest   |   2 -
 dev-libs/libnl/libnl-3.4.0_rc1.ebuild | 107 --
 2 files changed, 109 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index c2f64c6e876..dbf31896f0e 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -3,6 +3,4 @@ DIST libnl-3.2.28-in6.patch.xz 6368 SHA256 
0cbb8dc4e3cdc90a4a0608a26af1971d7c1c3
 DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 WHIRLPOOL 
ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
 DIST libnl-3.2.29.tar.gz 963681 SHA256 
0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
 WHIRLPOOL 
1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb
 DIST libnl-3.3.0.tar.gz 933390 SHA256 
705468b5ae4cd1eb099d2d1c476d6a3abe519bc2810becf12fb1e32de1e074e4 SHA512 
3fc5d95b875605ab6378d2d454020c1276a6772205fa11bbd22eba9fd9ef1deb8c75347e5d4602f0ab7bf13bd66b418f5ef73ed05f18134f08638ce06eef622c
 WHIRLPOOL 
a6f7c066c9d05af807ed17babe1f39107d24b4b5ef44ca94e487543a39b0a2f1298fbf6448356fa3701c033fbff0df392945666c125f16246398d47a8c828f5b
-DIST libnl-3.4.0-rc1.tar.gz 945094 SHA256 
31eae336fe4383ec52eea9dd2db51f33ac83cd1c349e4a31ed80c777eed7d0fe SHA512 
f0a3c6d368b2b60b198a7e96d67a99daefb3bad194961c5472bd6401e6c274058b7a7173015b73d90df41db43c7ffdfd99252f6378dc5912a33e4e70212e0c75
 WHIRLPOOL 
e156c2400ebe5827cbbfb9ae84bf71fa569ab1c7e8e44c7f00492cffd01e629ee90afa88bcc374e04711187ec083932a5c7c2fef28b3ac25d76e69f1d75a36b4
 DIST libnl-3.4.0.tar.gz 933443 SHA256 
b7287637ae71c6db6f89e1422c995f0407ff2fe50cecd61a312b6a9b0921f5bf SHA512 
6336e5c55c79ff2638de9c812cc1842871769236bad7f65c547dec35fafd91988b257fceab144a0cc133c4b29f61172f6552c53aa9fc723bdc783079c2b1851e
 WHIRLPOOL 
c10ef68515c4d5870d36dcba671be70b8edaa3369ee2d7d6f1a362ef0cbe0524644db622625e661a076ed4723812fd762f187756f3eb02fbb9a0aa627a817d80
-DIST libnl-3.4.0_rc1.tar.xz 1124 SHA256 
3857952e47656e7f50ecf55ca40b9e67b9a4864b4bcb1a126ddd380956f5dc9f SHA512 
6175e3234691d0ff875e6cde79ec93ff7dec1deb66300e8fffe54a5a7d816c5a73d0a4ad371f962792181622d20c59fc3ff7c086062d4f20db18a7b99b050858
 WHIRLPOOL 
b88b5a5f81201c689c181f88f0b7d59b3fad717ee875cf09282dc943350a78f83aaedac50cdf94b40a10b4ce258b63fa9906b75a0eed1b83dd27c1d927ef0a92

diff --git a/dev-libs/libnl/libnl-3.4.0_rc1.ebuild 
b/dev-libs/libnl/libnl-3.4.0_rc1.ebuild
deleted file mode 100644
index 1a3dd0f0879..000
--- a/dev-libs/libnl/libnl-3.4.0_rc1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-DISTUTILS_OPTIONAL=1
-inherit distutils-r1 eutils libtool multilib multilib-minimal
-
-LIBNL_P=${P/_/-}
-LIBNL_DIR=${PV/_/}
-LIBNL_DIR=${LIBNL_DIR//./_}
-
-DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-SRC_URI="
-   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
-   https://dev.gentoo.org/~jer/${P}.tar.xz
-"
-LICENSE="LGPL-2.1 utils? ( GPL-2 )"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs python utils"
-
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )
-   abi_x86_32? (
-   !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
-   )
-"
-DEPEND="
-   ${RDEPEND}
-   python? ( dev-lang/swig )
-   sys-devel/bison
-   sys-devel/flex
-"
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-DOCS=(
-   ChangeLog
-)
-
-S=${WORKDIR}/${LIBNL_P}
-
-MULTILIB_WRAPPED_HEADERS=(
-   # we do not install CLI stuff for non-native
-   /usr/include/libnl3/netlink/cli/addr.h
-   /usr/include/libnl3/netlink/cli/class.h
-   /usr/include/libnl3/netlink/cli/cls.h
-   /usr/include/libnl3/netlink/cli/ct.h
-   /usr/include/libnl3/netlink/cli/exp.h
-   /usr/include/libnl3/netlink/cli/link.h
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-10-11 Thread Jeroen Roovers
commit: d3135a643f53f62c6e55f6d820505955cc00
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Oct 11 20:15:28 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Oct 11 20:24:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3135a64

dev-libs/libnl: Version bump.

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 dev-libs/libnl/Manifest   |   1 +
 dev-libs/libnl/libnl-3.4.0.ebuild | 106 ++
 2 files changed, 107 insertions(+)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index 82048ff5ace..c2f64c6e876 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -4,4 +4,5 @@ DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336
 DIST libnl-3.2.29.tar.gz 963681 SHA256 
0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
 WHIRLPOOL 
1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb
 DIST libnl-3.3.0.tar.gz 933390 SHA256 
705468b5ae4cd1eb099d2d1c476d6a3abe519bc2810becf12fb1e32de1e074e4 SHA512 
3fc5d95b875605ab6378d2d454020c1276a6772205fa11bbd22eba9fd9ef1deb8c75347e5d4602f0ab7bf13bd66b418f5ef73ed05f18134f08638ce06eef622c
 WHIRLPOOL 
a6f7c066c9d05af807ed17babe1f39107d24b4b5ef44ca94e487543a39b0a2f1298fbf6448356fa3701c033fbff0df392945666c125f16246398d47a8c828f5b
 DIST libnl-3.4.0-rc1.tar.gz 945094 SHA256 
31eae336fe4383ec52eea9dd2db51f33ac83cd1c349e4a31ed80c777eed7d0fe SHA512 
f0a3c6d368b2b60b198a7e96d67a99daefb3bad194961c5472bd6401e6c274058b7a7173015b73d90df41db43c7ffdfd99252f6378dc5912a33e4e70212e0c75
 WHIRLPOOL 
e156c2400ebe5827cbbfb9ae84bf71fa569ab1c7e8e44c7f00492cffd01e629ee90afa88bcc374e04711187ec083932a5c7c2fef28b3ac25d76e69f1d75a36b4
+DIST libnl-3.4.0.tar.gz 933443 SHA256 
b7287637ae71c6db6f89e1422c995f0407ff2fe50cecd61a312b6a9b0921f5bf SHA512 
6336e5c55c79ff2638de9c812cc1842871769236bad7f65c547dec35fafd91988b257fceab144a0cc133c4b29f61172f6552c53aa9fc723bdc783079c2b1851e
 WHIRLPOOL 
c10ef68515c4d5870d36dcba671be70b8edaa3369ee2d7d6f1a362ef0cbe0524644db622625e661a076ed4723812fd762f187756f3eb02fbb9a0aa627a817d80
 DIST libnl-3.4.0_rc1.tar.xz 1124 SHA256 
3857952e47656e7f50ecf55ca40b9e67b9a4864b4bcb1a126ddd380956f5dc9f SHA512 
6175e3234691d0ff875e6cde79ec93ff7dec1deb66300e8fffe54a5a7d816c5a73d0a4ad371f962792181622d20c59fc3ff7c086062d4f20db18a7b99b050858
 WHIRLPOOL 
b88b5a5f81201c689c181f88f0b7d59b3fad717ee875cf09282dc943350a78f83aaedac50cdf94b40a10b4ce258b63fa9906b75a0eed1b83dd27c1d927ef0a92

diff --git a/dev-libs/libnl/libnl-3.4.0.ebuild 
b/dev-libs/libnl/libnl-3.4.0.ebuild
new file mode 100644
index 000..64aedbef471
--- /dev/null
+++ b/dev-libs/libnl/libnl-3.4.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+DISTUTILS_OPTIONAL=1
+inherit distutils-r1 eutils libtool multilib multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+SRC_URI="
+   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
+"
+LICENSE="LGPL-2.1 utils? ( GPL-2 )"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs python utils"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
+   abi_x86_32? (
+   !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
+   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+   )
+"
+DEPEND="
+   ${RDEPEND}
+   python? ( dev-lang/swig )
+   sys-devel/bison
+   sys-devel/flex
+"
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+DOCS=(
+   ChangeLog
+)
+
+S=${WORKDIR}/${LIBNL_P}
+
+MULTILIB_WRAPPED_HEADERS=(
+   # we do not install CLI stuff for non-native
+   /usr/include/libnl3/netlink/cli/addr.h
+   /usr/include/libnl3/netlink/cli/class.h
+   /usr/include/libnl3/netlink/cli/cls.h
+   /usr/include/libnl3/netlink/cli/ct.h
+   /usr/include/libnl3/netlink/cli/exp.h
+   /usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/neigh.h
+   /usr/include/libnl3/netlink/cli/qdisc.h
+   /usr/include/libnl3/netlink/cli/route.h
+   /usr/include/libnl3/netlink/cli/rule.h
+   /usr/include/libnl3/netlink/cli/tc.h
+   /usr/include/libnl3/netlink/cli/utils.h
+)
+
+src_prepare() {
+   default
+
+   elibtoolize
+
+   if use python; then
+   cd "${S}"/python || die
+   distutils-r1_src_prepare
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-10-02 Thread Jeroen Roovers
commit: 3b06191263626e8040ec9d93dd8c63454b42f2c7
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Oct  2 20:48:49 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Oct  2 20:49:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b061912

dev-libs/libnl: Version bump.

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-libs/libnl/Manifest   |   2 +
 dev-libs/libnl/libnl-3.4.0_rc1.ebuild | 107 ++
 2 files changed, 109 insertions(+)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index f4499e0dd6f..82048ff5ace 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -3,3 +3,5 @@ DIST libnl-3.2.28-in6.patch.xz 6368 SHA256 
0cbb8dc4e3cdc90a4a0608a26af1971d7c1c3
 DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 WHIRLPOOL 
ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
 DIST libnl-3.2.29.tar.gz 963681 SHA256 
0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
 WHIRLPOOL 
1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb
 DIST libnl-3.3.0.tar.gz 933390 SHA256 
705468b5ae4cd1eb099d2d1c476d6a3abe519bc2810becf12fb1e32de1e074e4 SHA512 
3fc5d95b875605ab6378d2d454020c1276a6772205fa11bbd22eba9fd9ef1deb8c75347e5d4602f0ab7bf13bd66b418f5ef73ed05f18134f08638ce06eef622c
 WHIRLPOOL 
a6f7c066c9d05af807ed17babe1f39107d24b4b5ef44ca94e487543a39b0a2f1298fbf6448356fa3701c033fbff0df392945666c125f16246398d47a8c828f5b
+DIST libnl-3.4.0-rc1.tar.gz 945094 SHA256 
31eae336fe4383ec52eea9dd2db51f33ac83cd1c349e4a31ed80c777eed7d0fe SHA512 
f0a3c6d368b2b60b198a7e96d67a99daefb3bad194961c5472bd6401e6c274058b7a7173015b73d90df41db43c7ffdfd99252f6378dc5912a33e4e70212e0c75
 WHIRLPOOL 
e156c2400ebe5827cbbfb9ae84bf71fa569ab1c7e8e44c7f00492cffd01e629ee90afa88bcc374e04711187ec083932a5c7c2fef28b3ac25d76e69f1d75a36b4
+DIST libnl-3.4.0_rc1.tar.xz 1124 SHA256 
3857952e47656e7f50ecf55ca40b9e67b9a4864b4bcb1a126ddd380956f5dc9f SHA512 
6175e3234691d0ff875e6cde79ec93ff7dec1deb66300e8fffe54a5a7d816c5a73d0a4ad371f962792181622d20c59fc3ff7c086062d4f20db18a7b99b050858
 WHIRLPOOL 
b88b5a5f81201c689c181f88f0b7d59b3fad717ee875cf09282dc943350a78f83aaedac50cdf94b40a10b4ce258b63fa9906b75a0eed1b83dd27c1d927ef0a92

diff --git a/dev-libs/libnl/libnl-3.4.0_rc1.ebuild 
b/dev-libs/libnl/libnl-3.4.0_rc1.ebuild
new file mode 100644
index 000..1a3dd0f0879
--- /dev/null
+++ b/dev-libs/libnl/libnl-3.4.0_rc1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+DISTUTILS_OPTIONAL=1
+inherit distutils-r1 eutils libtool multilib multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+SRC_URI="
+   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
+   https://dev.gentoo.org/~jer/${P}.tar.xz
+"
+LICENSE="LGPL-2.1 utils? ( GPL-2 )"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs python utils"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
+   abi_x86_32? (
+   !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
+   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+   )
+"
+DEPEND="
+   ${RDEPEND}
+   python? ( dev-lang/swig )
+   sys-devel/bison
+   sys-devel/flex
+"
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+DOCS=(
+   ChangeLog
+)
+
+S=${WORKDIR}/${LIBNL_P}
+
+MULTILIB_WRAPPED_HEADERS=(
+   # we do not install CLI stuff for non-native
+   /usr/include/libnl3/netlink/cli/addr.h
+   /usr/include/libnl3/netlink/cli/class.h
+   /usr/include/libnl3/netlink/cli/cls.h
+   /usr/include/libnl3/netlink/cli/ct.h
+   /usr/include/libnl3/netlink/cli/exp.h
+   /usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/neigh.h
+   /usr/include/libnl3/netlink/cli/qdisc.h
+   /usr/include/libnl3/netlink/cli/route.h
+   /usr/include/libnl3/netlink/cli/rule.h
+   /usr/include/libnl3/netlink/cli/tc.h
+   /usr/include/libnl3/netlink/cli/utils.h
+)
+
+src_prepare() {
+   default
+
+   elibtoolize
+
+   if use python; then
+   cd 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-09-21 Thread Jeroen Roovers
commit: f55e2dcc6bfcc77c0b1ae5217dd3e028c42c1027
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Sep 21 09:05:53 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Sep 21 09:17:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55e2dcc

dev-libs/libnl: Remove major.minor from live ebuild version.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-libs/libnl/{libnl-3.3..ebuild => libnl-.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.3..ebuild 
b/dev-libs/libnl/libnl-.ebuild
similarity index 100%
rename from dev-libs/libnl/libnl-3.3..ebuild
rename to dev-libs/libnl/libnl-.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-05-03 Thread Jeroen Roovers
commit: c3006a72e161a89a7322974dbbb3eb82dc14fb26
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May  3 15:55:22 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May  3 15:55:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3006a72

dev-libs/libnl: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-libs/libnl/Manifest   | 2 +-
 dev-libs/libnl/{libnl-3.3.0_rc1.ebuild => libnl-3.3.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index c911dab5b46..f4499e0dd6f 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -2,4 +2,4 @@ DIST libnl-1.1.4.tar.gz 1174974 SHA256 
4f80c21fe5bbcdde6e72b59b4f98306063a41421f
 DIST libnl-3.2.28-in6.patch.xz 6368 SHA256 
0cbb8dc4e3cdc90a4a0608a26af1971d7c1c397bb5f089de8c8d640e57b7b631 SHA512 
de14f7540e514871db2058236a339192443423e56f2f5bd52e02ff06873c9e411029b12f3119e57eb01201ce3643ce78ca3e8d9ada4f6ba318df96288304bead
 WHIRLPOOL 
1f1ebfc06a0cf516202cee3aaee92d7ed584ec9633d48c23e666d40bf48d658cc27a00c9f8881a7e976e21fc66fb867e10cadd8a6c0c8826ff4fab712cb20f3d
 DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 WHIRLPOOL 
ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
 DIST libnl-3.2.29.tar.gz 963681 SHA256 
0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
 WHIRLPOOL 
1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb
-DIST libnl-3.3.0-rc1.tar.gz 933271 SHA256 
426f69373191760174cb40cb1f9a811248a56f8962fe66cf22156a71685fd110 SHA512 
8084a54efac0256f6badd438fb79512cc53ee5f6635c4f301d1f7b3cfdf326387176949ac368903109dda02f55589ed09cb8f3218ebac973457c6f2740951488
 WHIRLPOOL 
b8db1d4f589d32f0da830dc934765c67087665ac58366265fc2f5d649178c161cfc41e2faf139859c9547c5b20f28bfff5875db9c51cbfe93df3ecc01c3d7f3e
+DIST libnl-3.3.0.tar.gz 933390 SHA256 
705468b5ae4cd1eb099d2d1c476d6a3abe519bc2810becf12fb1e32de1e074e4 SHA512 
3fc5d95b875605ab6378d2d454020c1276a6772205fa11bbd22eba9fd9ef1deb8c75347e5d4602f0ab7bf13bd66b418f5ef73ed05f18134f08638ce06eef622c
 WHIRLPOOL 
a6f7c066c9d05af807ed17babe1f39107d24b4b5ef44ca94e487543a39b0a2f1298fbf6448356fa3701c033fbff0df392945666c125f16246398d47a8c828f5b

diff --git a/dev-libs/libnl/libnl-3.3.0_rc1.ebuild 
b/dev-libs/libnl/libnl-3.3.0.ebuild
similarity index 100%
rename from dev-libs/libnl/libnl-3.3.0_rc1.ebuild
rename to dev-libs/libnl/libnl-3.3.0.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-03-06 Thread Jeroen Roovers
commit: bbc294f73ee398ac7367e432e96293741a2ceb4d
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Mar  7 07:45:06 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Mar  7 07:45:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc294f7

dev-libs/libnl: Version bump.

Package-Manager: Portage-2.3.4, Repoman-2.3.1

 dev-libs/libnl/Manifest|  1 +
 .../{libnl-3.2..ebuild => libnl-3.3.0_rc1.ebuild}  | 18 +++---
 .../{libnl-3.2..ebuild => libnl-3.3..ebuild}   |  0
 3 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index bb8cfd19afd..c911dab5b46 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -2,3 +2,4 @@ DIST libnl-1.1.4.tar.gz 1174974 SHA256 
4f80c21fe5bbcdde6e72b59b4f98306063a41421f
 DIST libnl-3.2.28-in6.patch.xz 6368 SHA256 
0cbb8dc4e3cdc90a4a0608a26af1971d7c1c397bb5f089de8c8d640e57b7b631 SHA512 
de14f7540e514871db2058236a339192443423e56f2f5bd52e02ff06873c9e411029b12f3119e57eb01201ce3643ce78ca3e8d9ada4f6ba318df96288304bead
 WHIRLPOOL 
1f1ebfc06a0cf516202cee3aaee92d7ed584ec9633d48c23e666d40bf48d658cc27a00c9f8881a7e976e21fc66fb867e10cadd8a6c0c8826ff4fab712cb20f3d
 DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 WHIRLPOOL 
ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
 DIST libnl-3.2.29.tar.gz 963681 SHA256 
0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
 WHIRLPOOL 
1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb
+DIST libnl-3.3.0-rc1.tar.gz 933271 SHA256 
426f69373191760174cb40cb1f9a811248a56f8962fe66cf22156a71685fd110 SHA512 
8084a54efac0256f6badd438fb79512cc53ee5f6635c4f301d1f7b3cfdf326387176949ac368903109dda02f55589ed09cb8f3218ebac973457c6f2740951488
 WHIRLPOOL 
b8db1d4f589d32f0da830dc934765c67087665ac58366265fc2f5d649178c161cfc41e2faf139859c9547c5b20f28bfff5875db9c51cbfe93df3ecc01c3d7f3e

diff --git a/dev-libs/libnl/libnl-3.2..ebuild 
b/dev-libs/libnl/libnl-3.3.0_rc1.ebuild
similarity index 84%
copy from dev-libs/libnl/libnl-3.2..ebuild
copy to dev-libs/libnl/libnl-3.3.0_rc1.ebuild
index f65e3012a6a..64aedbef471 100644
--- a/dev-libs/libnl/libnl-3.2..ebuild
+++ b/dev-libs/libnl/libnl-3.3.0_rc1.ebuild
@@ -4,16 +4,20 @@
 EAPI=6
 PYTHON_COMPAT=( python2_7 python3_{4,5} )
 DISTUTILS_OPTIONAL=1
-inherit autotools distutils-r1 eutils git-r3 libtool multilib multilib-minimal
+inherit distutils-r1 eutils libtool multilib multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
 
 DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-EGIT_REPO_URI="
-   https://github.com/thom311/libnl.git
+SRC_URI="
+   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS=""
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs python utils"
 
 RDEPEND="
@@ -29,15 +33,15 @@ DEPEND="
sys-devel/bison
sys-devel/flex
 "
-
 REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
 "
-
 DOCS=(
ChangeLog
 )
 
+S=${WORKDIR}/${LIBNL_P}
+
 MULTILIB_WRAPPED_HEADERS=(
# we do not install CLI stuff for non-native
/usr/include/libnl3/netlink/cli/addr.h
@@ -57,7 +61,7 @@ MULTILIB_WRAPPED_HEADERS=(
 src_prepare() {
default
 
-   eautoreconf
+   elibtoolize
 
if use python; then
cd "${S}"/python || die

diff --git a/dev-libs/libnl/libnl-3.2..ebuild 
b/dev-libs/libnl/libnl-3.3..ebuild
similarity index 100%
rename from dev-libs/libnl/libnl-3.2..ebuild
rename to dev-libs/libnl/libnl-3.3..ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-03-01 Thread Michael Weber
commit: 1b83c4ece65f7ecc6a274da2bd03c6a8a55024ab
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Mar  1 13:15:10 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar  1 13:15:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b83c4ec

dev-libs/libnl: arm64 stable (required for net-libs/libpcap[netlink]).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/libnl-3.2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
index dc5b3279e7d..a0477299395 100644
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ b/dev-libs/libnl/libnl-3.2.28.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
 IUSE="static-libs python utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/files/, dev-libs/libnl/

2017-01-29 Thread Jeroen Roovers
commit: c247772a84d4383018d034068170ee19fb39fdda
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan 29 21:31:07 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jan 29 21:31:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c247772a

dev-libs/libnl: Replace in6.h patch with complete upstream patch.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/Manifest |   1 +
 dev-libs/libnl/files/libnl-3.2.28-in6.patch | 295 
 dev-libs/libnl/libnl-3.2.28.ebuild  |   3 +-
 dev-libs/libnl/libnl-3.2.29.ebuild  |   3 +-
 4 files changed, 5 insertions(+), 297 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index 033957a..bb8cfd1 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,3 +1,4 @@
 DIST libnl-1.1.4.tar.gz 1174974 SHA256 
4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 
25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4
 WHIRLPOOL 
eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e
+DIST libnl-3.2.28-in6.patch.xz 6368 SHA256 
0cbb8dc4e3cdc90a4a0608a26af1971d7c1c397bb5f089de8c8d640e57b7b631 SHA512 
de14f7540e514871db2058236a339192443423e56f2f5bd52e02ff06873c9e411029b12f3119e57eb01201ce3643ce78ca3e8d9ada4f6ba318df96288304bead
 WHIRLPOOL 
1f1ebfc06a0cf516202cee3aaee92d7ed584ec9633d48c23e666d40bf48d658cc27a00c9f8881a7e976e21fc66fb867e10cadd8a6c0c8826ff4fab712cb20f3d
 DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 WHIRLPOOL 
ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
 DIST libnl-3.2.29.tar.gz 963681 SHA256 
0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
 WHIRLPOOL 
1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb

diff --git a/dev-libs/libnl/files/libnl-3.2.28-in6.patch 
b/dev-libs/libnl/files/libnl-3.2.28-in6.patch
deleted file mode 100644
index e8c7291..
--- a/dev-libs/libnl/files/libnl-3.2.28-in6.patch
+++ /dev/null
@@ -1,295 +0,0 @@
 a/dev/null
-+++ b/include/linux-private/linux/in6.h
-@@ -0,0 +1,292 @@
-+/*
-+ *Types and definitions for AF_INET6 
-+ *Linux INET6 implementation 
-+ *
-+ *Authors:
-+ *Pedro Roque  
-+ *
-+ *Sources:
-+ *IPv6 Program Interfaces for BSD Systems
-+ *  
-+ *
-+ *Advanced Sockets API for IPv6
-+ *
-+ *
-+ *This program is free software; you can redistribute it and/or
-+ *  modify it under the terms of the GNU General Public License
-+ *  as published by the Free Software Foundation; either version
-+ *  2 of the License, or (at your option) any later version.
-+ */
-+
-+#ifndef _LINUX_IN6_H
-+#define _LINUX_IN6_H
-+
-+#include 
-+
-+/*
-+ *IPv6 address structure
-+ */
-+
-+#if __UAPI_DEF_IN6_ADDR
-+struct in6_addr {
-+  union {
-+  __u8u6_addr8[16];
-+#if __UAPI_DEF_IN6_ADDR_ALT
-+  __be16  u6_addr16[8];
-+  __be32  u6_addr32[4];
-+#endif
-+  } in6_u;
-+#define s6_addr   in6_u.u6_addr8
-+#if __UAPI_DEF_IN6_ADDR_ALT
-+#define s6_addr16 in6_u.u6_addr16
-+#define s6_addr32 in6_u.u6_addr32
-+#endif
-+};
-+#endif /* __UAPI_DEF_IN6_ADDR */
-+
-+#if __UAPI_DEF_SOCKADDR_IN6
-+struct sockaddr_in6 {
-+  unsigned short int  sin6_family;/* AF_INET6 */
-+  __be16  sin6_port;  /* Transport layer port # */
-+  __be32  sin6_flowinfo;  /* IPv6 flow information */
-+  struct in6_addr sin6_addr;  /* IPv6 address */
-+  __u32   sin6_scope_id;  /* scope id (new in RFC2553) */
-+};
-+#endif /* __UAPI_DEF_SOCKADDR_IN6 */
-+
-+#if __UAPI_DEF_IPV6_MREQ
-+struct ipv6_mreq {
-+  /* IPv6 multicast address of group */
-+  struct in6_addr ipv6mr_multiaddr;
-+
-+  /* local IPv6 address of interface */
-+  int ipv6mr_ifindex;
-+};
-+#endif /* __UAPI_DEF_IVP6_MREQ */
-+
-+#define ipv6mr_acaddr ipv6mr_multiaddr
-+
-+struct in6_flowlabel_req {
-+  struct in6_addr flr_dst;
-+  __be32  flr_label;
-+  __u8flr_action;
-+  __u8flr_share;
-+  __u16   flr_flags;
-+  __u16   flr_expires;
-+  __u16   flr_linger;
-+  __u32   __flr_pad;
-+  /* Options in format of IPV6_PKTOPTIONS */

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-01-29 Thread Fabian Groffen
commit: 2c1c8f80c6241768eccdce894b791b591ea7e1c2
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Jan 29 16:12:07 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Jan 29 16:12:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c1c8f80

dev-libs/libnl: dropped ~ia64-linux

Package-Manager: portage-2.3.3

 dev-libs/libnl/libnl-1.1.4.ebuild  | 2 +-
 dev-libs/libnl/libnl-3.2.28.ebuild | 2 +-
 dev-libs/libnl/libnl-3.2.29.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libnl/libnl-1.1.4.ebuild 
b/dev-libs/libnl/libnl-1.1.4.ebuild
index c663f08..9643cf7 100644
--- a/dev-libs/libnl/libnl-1.1.4.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"
 SLOT="1.1"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 
~amd64-linux ~ia64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 
~amd64-linux ~x86-linux"
 IUSE="doc static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
index 9c03787..3e1294c 100644
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ b/dev-libs/libnl/libnl-3.2.28.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~ia64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
 IUSE="static-libs python utils"
 
 RDEPEND="

diff --git a/dev-libs/libnl/libnl-3.2.29.ebuild 
b/dev-libs/libnl/libnl-3.2.29.ebuild
index 56f3021..a9afe56 100644
--- a/dev-libs/libnl/libnl-3.2.29.ebuild
+++ b/dev-libs/libnl/libnl-3.2.29.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs python utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/files/

2017-01-17 Thread Jeroen Roovers
commit: 239b44feaeef0ea35517d314d8a6a861d009b177
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jan 17 16:19:23 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jan 17 16:19:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239b44fe

dev-libs/libnl: Add in6.h instead of dropping the include (bug #604190).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/files/libnl-3.2.28-in6.patch | 307 ++--
 1 file changed, 295 insertions(+), 12 deletions(-)

diff --git a/dev-libs/libnl/files/libnl-3.2.28-in6.patch 
b/dev-libs/libnl/files/libnl-3.2.28-in6.patch
index 5dcf6ae..e8c7291 100644
--- a/dev-libs/libnl/files/libnl-3.2.28-in6.patch
+++ b/dev-libs/libnl/files/libnl-3.2.28-in6.patch
@@ -1,12 +1,295 @@
-https://github.com/thom311/libnl/pull/121
-
 a/include/linux-private/linux/if_bridge.h
-+++ b/include/linux-private/linux/if_bridge.h
-@@ -15,7 +15,6 @@
- 
- #include 
- #include 
--#include 
- 
- #define SYSFS_BRIDGE_ATTR "bridge"
- #define SYSFS_BRIDGE_FDB  "brforward"
+--- a/dev/null
 b/include/linux-private/linux/in6.h
+@@ -0,0 +1,292 @@
++/*
++ *Types and definitions for AF_INET6 
++ *Linux INET6 implementation 
++ *
++ *Authors:
++ *Pedro Roque  
++ *
++ *Sources:
++ *IPv6 Program Interfaces for BSD Systems
++ *  
++ *
++ *Advanced Sockets API for IPv6
++ *
++ *
++ *This program is free software; you can redistribute it and/or
++ *  modify it under the terms of the GNU General Public License
++ *  as published by the Free Software Foundation; either version
++ *  2 of the License, or (at your option) any later version.
++ */
++
++#ifndef _LINUX_IN6_H
++#define _LINUX_IN6_H
++
++#include 
++
++/*
++ *IPv6 address structure
++ */
++
++#if __UAPI_DEF_IN6_ADDR
++struct in6_addr {
++  union {
++  __u8u6_addr8[16];
++#if __UAPI_DEF_IN6_ADDR_ALT
++  __be16  u6_addr16[8];
++  __be32  u6_addr32[4];
++#endif
++  } in6_u;
++#define s6_addr   in6_u.u6_addr8
++#if __UAPI_DEF_IN6_ADDR_ALT
++#define s6_addr16 in6_u.u6_addr16
++#define s6_addr32 in6_u.u6_addr32
++#endif
++};
++#endif /* __UAPI_DEF_IN6_ADDR */
++
++#if __UAPI_DEF_SOCKADDR_IN6
++struct sockaddr_in6 {
++  unsigned short int  sin6_family;/* AF_INET6 */
++  __be16  sin6_port;  /* Transport layer port # */
++  __be32  sin6_flowinfo;  /* IPv6 flow information */
++  struct in6_addr sin6_addr;  /* IPv6 address */
++  __u32   sin6_scope_id;  /* scope id (new in RFC2553) */
++};
++#endif /* __UAPI_DEF_SOCKADDR_IN6 */
++
++#if __UAPI_DEF_IPV6_MREQ
++struct ipv6_mreq {
++  /* IPv6 multicast address of group */
++  struct in6_addr ipv6mr_multiaddr;
++
++  /* local IPv6 address of interface */
++  int ipv6mr_ifindex;
++};
++#endif /* __UAPI_DEF_IVP6_MREQ */
++
++#define ipv6mr_acaddr ipv6mr_multiaddr
++
++struct in6_flowlabel_req {
++  struct in6_addr flr_dst;
++  __be32  flr_label;
++  __u8flr_action;
++  __u8flr_share;
++  __u16   flr_flags;
++  __u16   flr_expires;
++  __u16   flr_linger;
++  __u32   __flr_pad;
++  /* Options in format of IPV6_PKTOPTIONS */
++};
++
++#define IPV6_FL_A_GET 0
++#define IPV6_FL_A_PUT 1
++#define IPV6_FL_A_RENEW   2
++
++#define IPV6_FL_F_CREATE  1
++#define IPV6_FL_F_EXCL2
++#define IPV6_FL_F_REFLECT 4
++#define IPV6_FL_F_REMOTE  8
++
++#define IPV6_FL_S_NONE0
++#define IPV6_FL_S_EXCL1
++#define IPV6_FL_S_PROCESS 2
++#define IPV6_FL_S_USER3
++#define IPV6_FL_S_ANY 255
++
++
++/*
++ *Bitmask constant declarations to help applications select out the 
++ *flow label and priority fields.
++ *
++ *Note that this are in host byte order while the flowinfo field of
++ *sockaddr_in6 is in network byte order.
++ */
++
++#define IPV6_FLOWINFO_FLOWLABEL   0x000f
++#define IPV6_FLOWINFO_PRIORITY0x0ff0
++
++/* These definitions are obsolete */
++#define IPV6_PRIORITY_UNCHARACTERIZED 0x
++#define IPV6_PRIORITY_FILLER  0x0100
++#define IPV6_PRIORITY_UNATTENDED  0x0200
++#define IPV6_PRIORITY_RESERVED1   0x0300
++#define IPV6_PRIORITY_BULK0x0400
++#define IPV6_PRIORITY_RESERVED2   0x0500
++#define IPV6_PRIORITY_INTERACTIVE 0x0600
++#define IPV6_PRIORITY_CONTROL 0x0700
++#define IPV6_PRIORITY_8   0x0800
++#define IPV6_PRIORITY_9   0x0900
++#define IPV6_PRIORITY_10  0x0a00
++#define IPV6_PRIORITY_11  0x0b00
++#define IPV6_PRIORITY_12  0x0c00
++#define IPV6_PRIORITY_13  0x0d00
++#define 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/files/, dev-libs/libnl/

2017-01-01 Thread Jeroen Roovers
commit: 47bc9ccf7abfb3054d762f2d9f7b3a1cbeebe612
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan  1 19:19:21 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jan  1 19:23:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47bc9ccf

dev-libs/libnl: Fix building against older kernel headers (bug #604190 by pavel 
sanda).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/files/libnl-3.2.20-cache-api.patch  |  9 ---
 .../libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch | 30 --
 dev-libs/libnl/files/libnl-3.2.28-in6.patch| 12 +
 dev-libs/libnl/libnl-3.2.28.ebuild |  5 ++--
 dev-libs/libnl/libnl-3.2.29.ebuild |  5 ++--
 dev-libs/libnl/libnl-3.2..ebuild   | 11 +++-
 6 files changed, 20 insertions(+), 52 deletions(-)

diff --git a/dev-libs/libnl/files/libnl-3.2.20-cache-api.patch 
b/dev-libs/libnl/files/libnl-3.2.20-cache-api.patch
deleted file mode 100644
index ce6e47b..
--- a/dev-libs/libnl/files/libnl-3.2.20-cache-api.patch
+++ /dev/null
@@ -1,9 +0,0 @@
 a/tests/test-cache-mngr.c
-+++ b/tests/test-cache-mngr.c
-@@ -1,5 +1,5 @@
- #include 
--#include 
-+#include 
- #include 
- #include 
- 

diff --git a/dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch 
b/dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch
deleted file mode 100644
index 09b2f0b..
--- a/dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch
+++ /dev/null
@@ -1,30 +0,0 @@
 a/src/nl-class-add.c
-+++ b/src/nl-class-add.c
-@@ -14,6 +14,7 @@
- #include 
- #include 
- #include 
-+#include  /* rtnl_tc_get_ops() */
- 
- static int quiet = 0;
- 
 a/src/nl-cls-add.c
-+++ b/src/nl-cls-add.c
-@@ -12,6 +12,7 @@
- #include 
- #include 
- #include 
-+#include  /* rtnl_tc_get_ops() */
- 
- static int quiet = 0;
- 
 a/src/nl-qdisc-add.c
-+++ b/src/nl-qdisc-add.c
-@@ -13,6 +13,7 @@
- #include 
- #include 
- #include 
-+#include  /* rtnl_tc_get_ops() */
- 
- static int quiet = 0;
- 

diff --git a/dev-libs/libnl/files/libnl-3.2.28-in6.patch 
b/dev-libs/libnl/files/libnl-3.2.28-in6.patch
new file mode 100644
index ..5dcf6ae
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-3.2.28-in6.patch
@@ -0,0 +1,12 @@
+https://github.com/thom311/libnl/pull/121
+
+--- a/include/linux-private/linux/if_bridge.h
 b/include/linux-private/linux/if_bridge.h
+@@ -15,7 +15,6 @@
+ 
+ #include 
+ #include 
+-#include 
+ 
+ #define SYSFS_BRIDGE_ATTR "bridge"
+ #define SYSFS_BRIDGE_FDB  "brforward"

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
index ef5f05a..9c03787 100644
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ b/dev-libs/libnl/libnl-3.2.28.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$
 
@@ -63,8 +63,7 @@ MULTILIB_WRAPPED_HEADERS=(
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
-   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
+   "${FILESDIR}"/${PN}-3.2.28-in6.patch
 )
 
 src_prepare() {

diff --git a/dev-libs/libnl/libnl-3.2.29.ebuild 
b/dev-libs/libnl/libnl-3.2.29.ebuild
index 5c5c565..56f3021 100644
--- a/dev-libs/libnl/libnl-3.2.29.ebuild
+++ b/dev-libs/libnl/libnl-3.2.29.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$
 
@@ -63,8 +63,7 @@ MULTILIB_WRAPPED_HEADERS=(
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
-   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
+   "${FILESDIR}"/${PN}-3.2.28-in6.patch
 )
 
 src_prepare() {

diff --git a/dev-libs/libnl/libnl-3.2..ebuild 
b/dev-libs/libnl/libnl-3.2..ebuild
index 29a9d87..1c1ea6d 100644
--- a/dev-libs/libnl/libnl-3.2..ebuild
+++ b/dev-libs/libnl/libnl-3.2..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$
 
@@ -31,16 +31,13 @@ DEPEND="
sys-devel/flex
 "
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
 
 DOCS=(
ChangeLog
 )
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
-   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
-)
 
 MULTILIB_WRAPPED_HEADERS=(
# we do not install CLI stuff for non-native



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-01-01 Thread Jeroen Roovers
commit: e446c8e47f484cbcde1ad26becedcc71054b3047
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan  1 19:23:25 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jan  1 19:23:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e446c8e4

dev-libs/libnl: Shorten DESCRIPTION.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/libnl-1.1.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-1.1.4.ebuild 
b/dev-libs/libnl/libnl-1.1.4.ebuild
index ce1aeea..c663f08 100644
--- a/dev-libs/libnl/libnl-1.1.4.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 inherit eutils multilib toolchain-funcs
 
-DESCRIPTION="A collection of libraries providing APIs to netlink protocol 
based Linux kernel interfaces"
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2016-12-30 Thread Jeroen Roovers
commit: 43b1c6a8418cfd78dec277a996c82cc1453c4bc4
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Dec 31 01:00:17 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Dec 31 01:00:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43b1c6a8

dev-libs/libnl: Old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/Manifest|   1 -
 dev-libs/libnl/libnl-3.2.27.ebuild | 104 -
 2 files changed, 105 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index 526cb97..033957a 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,4 +1,3 @@
 DIST libnl-1.1.4.tar.gz 1174974 SHA256 
4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 
25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4
 WHIRLPOOL 
eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e
-DIST libnl-3.2.27.tar.gz 905330 SHA256 
4bbbf92b3c78a90f423cf96260bf419a28b75db8cced47051217a56795f58ec6 SHA512 
f66d1c42eef75f6a1008abd6850f00abb0290d49bb685b4df43464c4dbf57d68fd4551f2a77bb2f375fd0a342b73cfd54d17c791f01ea43ce02683c8703e3a33
 WHIRLPOOL 
0bf32ca28b1f858caf99cb633ae4c3b863e53f8cb4b3b1703b454117e2eea2563d34b08c4ac920afb63e45c4717ba7628730a428df76f56818fe10cf336c4185
 DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 WHIRLPOOL 
ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
 DIST libnl-3.2.29.tar.gz 963681 SHA256 
0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
 WHIRLPOOL 
1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb

diff --git a/dev-libs/libnl/libnl-3.2.27.ebuild 
b/dev-libs/libnl/libnl-3.2.27.ebuild
deleted file mode 100644
index f017769..
--- a/dev-libs/libnl/libnl-3.2.27.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 python3_4 )
-DISTUTILS_OPTIONAL=1
-inherit distutils-r1 eutils libtool multilib multilib-minimal
-
-LIBNL_P=${P/_/-}
-LIBNL_DIR=${PV/_/}
-LIBNL_DIR=${LIBNL_DIR//./_}
-
-DESCRIPTION="A collection of libraries providing APIs to netlink protocol 
based Linux kernel interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-SRC_URI="
-   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
-"
-LICENSE="LGPL-2.1 utils? ( GPL-2 )"
-SLOT="3"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~ia64-linux ~x86-linux"
-IUSE="static-libs python utils"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )
-   abi_x86_32? (
-   !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
-   )"
-DEPEND="${RDEPEND}
-   python? ( dev-lang/swig )
-   sys-devel/flex
-   sys-devel/bison
-"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DOCS=( ChangeLog )
-
-S=${WORKDIR}/${LIBNL_P}
-
-MULTILIB_WRAPPED_HEADERS=(
-   # we do not install CLI stuff for non-native
-   /usr/include/libnl3/netlink/cli/addr.h
-   /usr/include/libnl3/netlink/cli/class.h
-   /usr/include/libnl3/netlink/cli/cls.h
-   /usr/include/libnl3/netlink/cli/ct.h
-   /usr/include/libnl3/netlink/cli/exp.h
-   /usr/include/libnl3/netlink/cli/link.h
-   /usr/include/libnl3/netlink/cli/neigh.h
-   /usr/include/libnl3/netlink/cli/qdisc.h
-   /usr/include/libnl3/netlink/cli/route.h
-   /usr/include/libnl3/netlink/cli/rule.h
-   /usr/include/libnl3/netlink/cli/tc.h
-   /usr/include/libnl3/netlink/cli/utils.h
-)
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   epatch "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
-   epatch "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
-
-   elibtoolize
-
-   if use python; then
-   cd "${S}"/python || die
-   distutils-r1_src_prepare
-   fi
-
-   # out-of-source build broken
-   # https://github.com/thom311/libnl/pull/58
-   multilib_copy_sources
-}
-
-multilib_src_configure() {
-   econf \
-   --disable-silent-rules \
-   $(use_enable static-libs static) \
-   $(multilib_native_use_enable utils cli)
-}
-

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2016-12-30 Thread Jeroen Roovers
commit: bd72b4bbff0829fe4393a1ddecd957caf3abc48f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Dec 31 00:59:26 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Dec 31 01:00:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd72b4bb

dev-libs/libnl: Stable for HPPA (bug #602776).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 dev-libs/libnl/libnl-3.2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
index 84ba379..ef5f05a 100644
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ b/dev-libs/libnl/libnl-3.2.28.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~ia64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~ia64-linux ~x86-linux"
 IUSE="static-libs python utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2016-12-30 Thread Jeroen Roovers
commit: 6ec855f09fd7810b8c0d32dcdc7082d5d1b5c7f7
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Dec 30 23:58:27 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Dec 30 23:58:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec855f0

dev-libs/libnl: Version bump.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/Manifest|   1 +
 dev-libs/libnl/libnl-3.2.29.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index 7f7b430..d8d6b1f 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -2,3 +2,4 @@ DIST libnl-1.1.4.tar.gz 1174974 SHA256 
4f80c21fe5bbcdde6e72b59b4f98306063a41421f
 DIST libnl-3.2.27.tar.gz 905330 SHA256 
4bbbf92b3c78a90f423cf96260bf419a28b75db8cced47051217a56795f58ec6 SHA512 
f66d1c42eef75f6a1008abd6850f00abb0290d49bb685b4df43464c4dbf57d68fd4551f2a77bb2f375fd0a342b73cfd54d17c791f01ea43ce02683c8703e3a33
 WHIRLPOOL 
0bf32ca28b1f858caf99cb633ae4c3b863e53f8cb4b3b1703b454117e2eea2563d34b08c4ac920afb63e45c4717ba7628730a428df76f56818fe10cf336c4185
 DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 WHIRLPOOL 
ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
 DIST libnl-3.2.29-rc1.tar.gz 963474 SHA256 
97f75893b1268471ecf04acb23fe15a70e75827239863900254eb17aad733504 SHA512 
8b00896452feba58748aaba5e84dc0b79f336fb1aaf3f309f619d5567c30c81dc6a00cb81003c30f3633bdaffaf39371a9833cca5fa3402f754c5509a4d4b52f
 WHIRLPOOL 
c8d1a25bdf665f67d219b515e7d2be8fff2e114575bf911f2a7f4295351d9095193d65b6cc79a7898d365d0dc1ec13098d9ee9476ae8b1c2e0b841f18541f6e0
+DIST libnl-3.2.29.tar.gz 963681 SHA256 
0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
 WHIRLPOOL 
1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb

diff --git a/dev-libs/libnl/libnl-3.2.29.ebuild 
b/dev-libs/libnl/libnl-3.2.29.ebuild
new file mode 100644
index ..5c5c565
--- /dev/null
+++ b/dev-libs/libnl/libnl-3.2.29.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+DISTUTILS_OPTIONAL=1
+inherit distutils-r1 eutils libtool multilib multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+SRC_URI="
+   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
+"
+LICENSE="LGPL-2.1 utils? ( GPL-2 )"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE="static-libs python utils"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
+   abi_x86_32? (
+   !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
+   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+   )
+"
+DEPEND="
+   ${RDEPEND}
+   python? ( dev-lang/swig )
+   sys-devel/bison
+   sys-devel/flex
+"
+
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+DOCS=(
+   ChangeLog
+)
+
+S=${WORKDIR}/${LIBNL_P}
+
+MULTILIB_WRAPPED_HEADERS=(
+   # we do not install CLI stuff for non-native
+   /usr/include/libnl3/netlink/cli/addr.h
+   /usr/include/libnl3/netlink/cli/class.h
+   /usr/include/libnl3/netlink/cli/cls.h
+   /usr/include/libnl3/netlink/cli/ct.h
+   /usr/include/libnl3/netlink/cli/exp.h
+   /usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/neigh.h
+   /usr/include/libnl3/netlink/cli/qdisc.h
+   /usr/include/libnl3/netlink/cli/route.h
+   /usr/include/libnl3/netlink/cli/rule.h
+   /usr/include/libnl3/netlink/cli/tc.h
+   /usr/include/libnl3/netlink/cli/utils.h
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
+   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
+   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
+)
+
+src_prepare() {
+   default
+
+   elibtoolize
+
+   if use python; then
+   cd "${S}"/python || die
+   distutils-r1_src_prepare
+   fi
+
+   # out-of-source build broken
+   # https://github.com/thom311/libnl/pull/58
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   econf \
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2016-12-30 Thread Jeroen Roovers
commit: 570a6e2b99640ff5c588861c95c86b013de41aab
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Dec 31 00:01:12 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Dec 31 00:01:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570a6e2b

dev-libs/libnl: Old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/Manifest|   1 -
 dev-libs/libnl/libnl-3.2.29_rc1.ebuild | 115 -
 2 files changed, 116 deletions(-)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index d8d6b1f..526cb97 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,5 +1,4 @@
 DIST libnl-1.1.4.tar.gz 1174974 SHA256 
4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 
25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4
 WHIRLPOOL 
eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e
 DIST libnl-3.2.27.tar.gz 905330 SHA256 
4bbbf92b3c78a90f423cf96260bf419a28b75db8cced47051217a56795f58ec6 SHA512 
f66d1c42eef75f6a1008abd6850f00abb0290d49bb685b4df43464c4dbf57d68fd4551f2a77bb2f375fd0a342b73cfd54d17c791f01ea43ce02683c8703e3a33
 WHIRLPOOL 
0bf32ca28b1f858caf99cb633ae4c3b863e53f8cb4b3b1703b454117e2eea2563d34b08c4ac920afb63e45c4717ba7628730a428df76f56818fe10cf336c4185
 DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 WHIRLPOOL 
ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
-DIST libnl-3.2.29-rc1.tar.gz 963474 SHA256 
97f75893b1268471ecf04acb23fe15a70e75827239863900254eb17aad733504 SHA512 
8b00896452feba58748aaba5e84dc0b79f336fb1aaf3f309f619d5567c30c81dc6a00cb81003c30f3633bdaffaf39371a9833cca5fa3402f754c5509a4d4b52f
 WHIRLPOOL 
c8d1a25bdf665f67d219b515e7d2be8fff2e114575bf911f2a7f4295351d9095193d65b6cc79a7898d365d0dc1ec13098d9ee9476ae8b1c2e0b841f18541f6e0
 DIST libnl-3.2.29.tar.gz 963681 SHA256 
0beb593dc6abfffa18a5c787b27884979c1b7e7f1fd468c801e3cc938a685922 SHA512 
45e22b02368c479e01db7160345a0d3c73abf345e7b49bf350811243a17f307f5c6c3df639ec1e0c456707578aca8d69aad8afa697ac21449f521a3e39712670
 WHIRLPOOL 
1273dcaee79ecfdca947110c5e7ff70947703b1b0fda43fdb7c74edd78c6938f675e9a586aaff8feefce56a1f3137cbc50d3626ac336e6afa2ca8cbd8627e6eb

diff --git a/dev-libs/libnl/libnl-3.2.29_rc1.ebuild 
b/dev-libs/libnl/libnl-3.2.29_rc1.ebuild
deleted file mode 100644
index 5c5c565..
--- a/dev-libs/libnl/libnl-3.2.29_rc1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-DISTUTILS_OPTIONAL=1
-inherit distutils-r1 eutils libtool multilib multilib-minimal
-
-LIBNL_P=${P/_/-}
-LIBNL_DIR=${PV/_/}
-LIBNL_DIR=${LIBNL_DIR//./_}
-
-DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
-HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
-SRC_URI="
-   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
-"
-LICENSE="LGPL-2.1 utils? ( GPL-2 )"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
-IUSE="static-libs python utils"
-
-RDEPEND="
-   python? ( ${PYTHON_DEPS} )
-   abi_x86_32? (
-   !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
-   )
-"
-DEPEND="
-   ${RDEPEND}
-   python? ( dev-lang/swig )
-   sys-devel/bison
-   sys-devel/flex
-"
-
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-DOCS=(
-   ChangeLog
-)
-
-S=${WORKDIR}/${LIBNL_P}
-
-MULTILIB_WRAPPED_HEADERS=(
-   # we do not install CLI stuff for non-native
-   /usr/include/libnl3/netlink/cli/addr.h
-   /usr/include/libnl3/netlink/cli/class.h
-   /usr/include/libnl3/netlink/cli/cls.h
-   /usr/include/libnl3/netlink/cli/ct.h
-   /usr/include/libnl3/netlink/cli/exp.h
-   /usr/include/libnl3/netlink/cli/link.h
-   /usr/include/libnl3/netlink/cli/neigh.h
-   /usr/include/libnl3/netlink/cli/qdisc.h
-   /usr/include/libnl3/netlink/cli/route.h
-   /usr/include/libnl3/netlink/cli/rule.h
-   /usr/include/libnl3/netlink/cli/tc.h
-   /usr/include/libnl3/netlink/cli/utils.h
-)
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
-   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
-)
-
-src_prepare() {
-   default
-
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2016-12-22 Thread Agostino Sarubbo
commit: 8077fc1adf3a873c92be98fa32e8e3c1effe7f48
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec 22 09:31:28 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec 22 09:34:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8077fc1a

dev-libs/libnl: ppc64 stable wrt bug #602776

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/libnl/libnl-3.2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
index 33f1eb8..db66687 100644
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ b/dev-libs/libnl/libnl-3.2.28.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~ia64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~ia64-linux ~x86-linux"
 IUSE="static-libs python utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2016-12-16 Thread Tobias Klausmann
commit: 0b83533b63f62598eafb7959777f79b70417ab17
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Dec 16 10:19:27 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Dec 16 10:19:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b83533b

dev-libs/libnl-3.2.28-r0: stable on alpha

Gentoo-Bug: 602776

 dev-libs/libnl/libnl-3.2.28.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
index 5c5c565..6eb1831 100644
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ b/dev-libs/libnl/libnl-3.2.28.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
 "
 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
 SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
+KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
 IUSE="static-libs python utils"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2016-12-15 Thread Jeroen Roovers
commit: c8042eace4d60096e79dd345ce0dd9159ecb43c9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Dec 15 17:33:26 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Dec 15 17:38:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8042eac

dev-libs/libnl: Version bump.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/Manifest|   1 +
 dev-libs/libnl/libnl-3.2.29_rc1.ebuild | 115 +
 2 files changed, 116 insertions(+)

diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest
index eac2642..7f7b430 100644
--- a/dev-libs/libnl/Manifest
+++ b/dev-libs/libnl/Manifest
@@ -1,3 +1,4 @@
 DIST libnl-1.1.4.tar.gz 1174974 SHA256 
4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 
25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4
 WHIRLPOOL 
eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e
 DIST libnl-3.2.27.tar.gz 905330 SHA256 
4bbbf92b3c78a90f423cf96260bf419a28b75db8cced47051217a56795f58ec6 SHA512 
f66d1c42eef75f6a1008abd6850f00abb0290d49bb685b4df43464c4dbf57d68fd4551f2a77bb2f375fd0a342b73cfd54d17c791f01ea43ce02683c8703e3a33
 WHIRLPOOL 
0bf32ca28b1f858caf99cb633ae4c3b863e53f8cb4b3b1703b454117e2eea2563d34b08c4ac920afb63e45c4717ba7628730a428df76f56818fe10cf336c4185
 DIST libnl-3.2.28.tar.gz 941954 SHA256 
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5437c41 SHA512 
b5f145ecafb2625ed1c42594afd6063f112a601077de5c35884b3c3bc8c562b29b52a006ccebd795c127fe69692a82def425c8605afed7e6d441582943e803d9
 WHIRLPOOL 
ff49346ddc31105a300ebffc0e4d4956ac85ade5e92e884c62e696d7d4234d40e63cf4839e6b6fd2d98d2122662d36d3f41666391686a83c8bf966e53e22ed25
+DIST libnl-3.2.29-rc1.tar.gz 963474 SHA256 
97f75893b1268471ecf04acb23fe15a70e75827239863900254eb17aad733504 SHA512 
8b00896452feba58748aaba5e84dc0b79f336fb1aaf3f309f619d5567c30c81dc6a00cb81003c30f3633bdaffaf39371a9833cca5fa3402f754c5509a4d4b52f
 WHIRLPOOL 
c8d1a25bdf665f67d219b515e7d2be8fff2e114575bf911f2a7f4295351d9095193d65b6cc79a7898d365d0dc1ec13098d9ee9476ae8b1c2e0b841f18541f6e0

diff --git a/dev-libs/libnl/libnl-3.2.29_rc1.ebuild 
b/dev-libs/libnl/libnl-3.2.29_rc1.ebuild
new file mode 100644
index ..5c5c565
--- /dev/null
+++ b/dev-libs/libnl/libnl-3.2.29_rc1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+DISTUTILS_OPTIONAL=1
+inherit distutils-r1 eutils libtool multilib multilib-minimal
+
+LIBNL_P=${P/_/-}
+LIBNL_DIR=${PV/_/}
+LIBNL_DIR=${LIBNL_DIR//./_}
+
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
+HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
+SRC_URI="
+   
https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz
+"
+LICENSE="LGPL-2.1 utils? ( GPL-2 )"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE="static-libs python utils"
+
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
+   abi_x86_32? (
+   !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
+   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+   )
+"
+DEPEND="
+   ${RDEPEND}
+   python? ( dev-lang/swig )
+   sys-devel/bison
+   sys-devel/flex
+"
+
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+DOCS=(
+   ChangeLog
+)
+
+S=${WORKDIR}/${LIBNL_P}
+
+MULTILIB_WRAPPED_HEADERS=(
+   # we do not install CLI stuff for non-native
+   /usr/include/libnl3/netlink/cli/addr.h
+   /usr/include/libnl3/netlink/cli/class.h
+   /usr/include/libnl3/netlink/cli/cls.h
+   /usr/include/libnl3/netlink/cli/ct.h
+   /usr/include/libnl3/netlink/cli/exp.h
+   /usr/include/libnl3/netlink/cli/link.h
+   /usr/include/libnl3/netlink/cli/neigh.h
+   /usr/include/libnl3/netlink/cli/qdisc.h
+   /usr/include/libnl3/netlink/cli/route.h
+   /usr/include/libnl3/netlink/cli/rule.h
+   /usr/include/libnl3/netlink/cli/tc.h
+   /usr/include/libnl3/netlink/cli/utils.h
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
+   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
+   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
+)
+
+src_prepare() {
+   default
+
+   elibtoolize
+
+   if use python; then
+   cd "${S}"/python || die
+   distutils-r1_src_prepare
+   fi
+
+   # out-of-source build broken
+   # https://github.com/thom311/libnl/pull/58
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   econf \
+   --disable-silent-rules \
+   $(use_enable static-libs 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2016-09-11 Thread Jeroen Roovers
commit: 3f50a2904e432a6377de4a421cf2762894413a99
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Sep 11 18:47:40 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Sep 11 18:50:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f50a290

dev-libs/libnl: Add dev-lang/python:3.5 support.

Package-Manager: portage-2.3.0

 dev-libs/libnl/libnl-3.2.28.ebuild   | 21 ++---
 dev-libs/libnl/libnl-3.2..ebuild | 30 +++---
 2 files changed, 33 insertions(+), 18 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
index b592205..7137235 100644
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ b/dev-libs/libnl/libnl-3.2.28.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
 DISTUTILS_OPTIONAL=1
 inherit distutils-r1 eutils libtool multilib multilib-minimal
 
@@ -21,20 +21,27 @@ SLOT="3"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
 IUSE="static-libs python utils"
 
-RDEPEND="python? ( ${PYTHON_DEPS} )
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20140508-r5
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
-   )"
-DEPEND="${RDEPEND}
+   )
+"
+DEPEND="
+   ${RDEPEND}
python? ( dev-lang/swig )
-   sys-devel/flex
sys-devel/bison
+   sys-devel/flex
 "
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
 
-DOCS=( ChangeLog )
+DOCS=(
+   ChangeLog
+)
 
 S=${WORKDIR}/${LIBNL_P}
 

diff --git a/dev-libs/libnl/libnl-3.2..ebuild 
b/dev-libs/libnl/libnl-3.2..ebuild
index 08d9745..dd182bb 100644
--- a/dev-libs/libnl/libnl-3.2..ebuild
+++ b/dev-libs/libnl/libnl-3.2..ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1 eutils git-r3 libtool multilib multilib-minimal
 
@@ -17,20 +17,30 @@ SLOT="3"
 KEYWORDS=""
 IUSE="static-libs python utils"
 
-RDEPEND="python? ( ${PYTHON_DEPS} )
+RDEPEND="
+   python? ( ${PYTHON_DEPS} )
abi_x86_32? (
!<=app-emulation/emul-linux-x86-baselibs-20140508-r5
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
-   )"
-DEPEND="${RDEPEND}
+   )
+"
+DEPEND="
+   ${RDEPEND}
python? ( dev-lang/swig )
-   sys-devel/flex
sys-devel/bison
+   sys-devel/flex
 "
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DOCS=( ChangeLog )
+DOCS=(
+   ChangeLog
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
+   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
+   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
+)
 
 MULTILIB_WRAPPED_HEADERS=(
# we do not install CLI stuff for non-native
@@ -49,9 +59,7 @@ MULTILIB_WRAPPED_HEADERS=(
 )
 
 src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   epatch "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
-   epatch "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
+   default
 
eautoreconf
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2016-09-11 Thread Jeroen Roovers
commit: 826a97817b55401730593ccf0018e20aa34a2844
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Sep 11 18:49:38 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Sep 11 18:50:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=826a9781

dev-libs/libnl: Shorten DESCRIPTION.

Package-Manager: portage-2.3.0

 dev-libs/libnl/libnl-3.2.28.ebuild   | 2 +-
 dev-libs/libnl/libnl-3.2..ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
index 7137235..5c5c565 100644
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ b/dev-libs/libnl/libnl-3.2.28.ebuild
@@ -11,7 +11,7 @@ LIBNL_P=${P/_/-}
 LIBNL_DIR=${PV/_/}
 LIBNL_DIR=${LIBNL_DIR//./_}
 
-DESCRIPTION="A collection of libraries providing APIs to netlink protocol 
based Linux kernel interfaces"
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
 SRC_URI="

https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz

diff --git a/dev-libs/libnl/libnl-3.2..ebuild 
b/dev-libs/libnl/libnl-3.2..ebuild
index dd182bb..29a9d87 100644
--- a/dev-libs/libnl/libnl-3.2..ebuild
+++ b/dev-libs/libnl/libnl-3.2..ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
 DISTUTILS_OPTIONAL=1
 inherit autotools distutils-r1 eutils git-r3 libtool multilib multilib-minimal
 
-DESCRIPTION="A collection of libraries providing APIs to netlink protocol 
based Linux kernel interfaces"
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/ 
https://github.com/thom311/libnl;
 EGIT_REPO_URI="
https://github.com/thom311/libnl.git



  1   2   >