From 6f61b6d0935594f9a1c70aca3f85d957d44315ba Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 17 Oct 2015 13:23:50 +0200 Subject: dev-libs/libnl: Version bump. Package-Manager: portage-2.2.23 --- dev-libs/libnl/Manifest | 2 +- dev-libs/libnl/libnl-3.2.27.ebuild | 104 +++++++++++++++++++++++++++++++++ dev-libs/libnl/libnl-3.2.27_rc1.ebuild | 104 --------------------------------- 3 files changed, 105 insertions(+), 105 deletions(-) create mode 100644 dev-libs/libnl/libnl-3.2.27.ebuild delete mode 100644 dev-libs/libnl/libnl-3.2.27_rc1.ebuild (limited to 'dev-libs') diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest index 4e4ed7f92d5..4f3b00575c9 100644 --- a/dev-libs/libnl/Manifest +++ b/dev-libs/libnl/Manifest @@ -1,3 +1,3 @@ DIST libnl-1.1.4.tar.gz 1174974 SHA256 4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4 WHIRLPOOL eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e DIST libnl-3.2.26.tar.gz 896005 SHA256 1323ff6cea47efe9f988893b09840942a8c36131f472a9f3b96eb68d8f8d7555 SHA512 5ab4a3a40244d71e0c8c50fcef30a67f814509d508e9537c85f2d710578a8a61513e7f26b2c0c29a9817484ca6ecd005e53b4f9054cd878274ae3b439abbe516 WHIRLPOOL 84854749fc312c867d9eec1e4d91bbeb5a132f79c004c5db0504a7d60136a2f39263b4efd4b0d1cd2e07f6cd363cc5e68f93089cb9b9dd58a45f416338c41a6f -DIST libnl-3.2.27-rc1.tar.gz 904644 SHA256 a1e4e205c84048b74c2eeb2d1f2dd95e9c030db62faa0b1f8220cd3924bd4d56 SHA512 a87e60bc80b2a2a3ad83d7b18ade9d4d19c07c966c5375cb7167a4897e1dc21afd33cf1f59bdcc3665ac53d41ee3d82d4ff904e3d9cb2d1768f6ecceeae6aae0 WHIRLPOOL 8db8fc803e59127632c31e1885c3fb296ce9fffe5997e269beaf783904e7f727c62df52d234bd10338242da7720f15e189ef9b696927417aeebe989fde45b67d +DIST libnl-3.2.27.tar.gz 905330 SHA256 4bbbf92b3c78a90f423cf96260bf419a28b75db8cced47051217a56795f58ec6 SHA512 f66d1c42eef75f6a1008abd6850f00abb0290d49bb685b4df43464c4dbf57d68fd4551f2a77bb2f375fd0a342b73cfd54d17c791f01ea43ce02683c8703e3a33 WHIRLPOOL 0bf32ca28b1f858caf99cb633ae4c3b863e53f8cb4b3b1703b454117e2eea2563d34b08c4ac920afb63e45c4717ba7628730a428df76f56818fe10cf336c4185 diff --git a/dev-libs/libnl/libnl-3.2.27.ebuild b/dev-libs/libnl/libnl-3.2.27.ebuild new file mode 100644 index 00000000000..5d9f795f6a8 --- /dev/null +++ b/dev-libs/libnl/libnl-3.2.27.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{3,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) +} + +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 +} diff --git a/dev-libs/libnl/libnl-3.2.27_rc1.ebuild b/dev-libs/libnl/libnl-3.2.27_rc1.ebuild deleted file mode 100644 index 5d9f795f6a8..00000000000 --- a/dev-libs/libnl/libnl-3.2.27_rc1.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_{3,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) -} - -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 -} -- cgit v1.2.1