From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8B9A658973 for ; Wed, 27 Jan 2016 12:49:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA9A0E0875; Wed, 27 Jan 2016 12:49:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4EEBBE0875 for ; Wed, 27 Jan 2016 12:49:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D10B340B82 for ; Wed, 27 Jan 2016 12:49:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C6B1CF3 for ; Wed, 27 Jan 2016 12:49:50 +0000 (UTC) From: "Alexys Jacob" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexys Jacob" Message-ID: <1453898984.4bd40f6bfcb7513b1c58b05c5b764bf0e4b1e5bc.ultrabug@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ipvsadm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/ipvsadm/Manifest sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild sys-cluster/ipvsadm/ipvsadm-1.27.ebuild sys-cluster/ipvsadm/ipvsadm-1.28.ebuild X-VCS-Directories: sys-cluster/ipvsadm/ X-VCS-Committer: ultrabug X-VCS-Committer-Name: Alexys Jacob X-VCS-Revision: 4bd40f6bfcb7513b1c58b05c5b764bf0e4b1e5bc X-VCS-Branch: master Date: Wed, 27 Jan 2016 12:49:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e82093de-fa32-4e27-a306-2424eb4ebb2f X-Archives-Hash: 92228ae3ec28a48bb30b2b8ced33efba commit: 4bd40f6bfcb7513b1c58b05c5b764bf0e4b1e5bc Author: Ultrabug gentoo org> AuthorDate: Wed Jan 27 12:49:22 2016 +0000 Commit: Alexys Jacob gentoo org> CommitDate: Wed Jan 27 12:49:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd40f6b sys-cluster/ipvsadm: fix libnl3 detection #497890, version bump fix #565464 Package-Manager: portage-2.2.27 sys-cluster/ipvsadm/Manifest | 1 + sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild | 17 ++++++++++++----- .../{ipvsadm-1.27.ebuild => ipvsadm-1.28.ebuild} | 21 +++++++++++++-------- 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/sys-cluster/ipvsadm/Manifest b/sys-cluster/ipvsadm/Manifest index 33bece9..b32d276 100644 --- a/sys-cluster/ipvsadm/Manifest +++ b/sys-cluster/ipvsadm/Manifest @@ -2,3 +2,4 @@ DIST ipvsadm-1.21-11.tar.gz 34030 SHA256 7b85020f84d4648166bce480d747d82ac5c9113 DIST ipvsadm-1.24.tar.gz 32007 SHA256 773cbada48061e3afafaeaa2800d5382b8ff638b2c929293c14a793112a0642a SHA512 f472e55d78901de3b8f07dec0ff6e32b5aa301dc0dc62f34fe168511c8e2af26704fb66936540eb1173d7a0280428a2e6e48f9efadd3e33050dd881e666e1041 WHIRLPOOL 846d06b4977d93562618a9215b470272915458e8712346f37dc02c6afb2e0365ec15f589caedc7654a2a33542610a8f90fc3acc6c52a12a9fdf8098789fe682b DIST ipvsadm-1.26.tar.gz 41700 SHA256 6d6c46fecb1c532a892616b4445c73b71730e8790d5630f60269fd9cbee0eb2d SHA512 873e23a6bdaabc153b00f1ede3853c947e8c8cfb4e18364d55197c74f26cc883ca469e074a90f377fbfd5e73e0cd6c1fe414c9f7a5c28b0d4431af58056eced4 WHIRLPOOL 5f62ad434c7da3359adbfae1cdde230769f19f0c82a190d7ef6fc8ba340d5e761875a778ad9a1dd7162d385b8ebda89c589b7179d53d495c79e82056e46bce9a DIST ipvsadm-1.27.tar.xz 38196 SHA256 d360fb4dcf591e0a8a918831e2c02b1dc03e3c17ee1e60d0d70de9455238b3f8 SHA512 cf982b7981674c91d1b7516de7b55cf378b306ce4a53e13976b8eeb8610015c4fa4aa9d251bc4d329db8e05c1862863160af2d3c63b76263f290087cffdf1b80 WHIRLPOOL fbb69043813ccba929bb044c9d7854b67e8d656ae08209f17e21d3d237ea4690cd8ea7a1e2806ce6b07f847eb9796e93649c7f5231d2356e8519696b5a504b73 +DIST ipvsadm-1.28.tar.xz 38600 SHA256 90e0e49cad5acb9db1c04ed4cdadf7933152a472c2f694039b9d7a291c37f3ab SHA512 a1e10ce30751d9439f832e221e5c41b338f87dcc94a0b21329d908a9164f8882049af9d9d918b764b36c30e353d5b8db49d7088e60c24e4748713c06cccf7035 WHIRLPOOL 76e972792b779526b666469e92a4e181f9b63765bea2a3908b68ea0cac9bd45533c5eeb04f618993d45dae12b8268271c18df3fae82a3eb62d14fa3db4a4f74b diff --git a/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild index 3ff6de5..ac46190 100644 --- a/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild +++ b/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=6 inherit eutils linux-info toolchain-funcs @@ -15,8 +15,8 @@ SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="static-libs" -RDEPEND=">=sys-libs/ncurses-5.2 - dev-libs/libnl +RDEPEND=">=sys-libs/ncurses-5.2:* + dev-libs/libnl:= >=dev-libs/popt-1.16" DEPEND="${RDEPEND} virtual/pkgconfig" @@ -29,6 +29,7 @@ pkg_pretend() { } src_prepare() { + default epatch "${FILESDIR}"/${PN}-1.27-buildsystem.patch # Merged upstream in 1.27 #epatch "${FILESDIR}"/${PN}-1.26-stack_smashing.patch # bug 371903 @@ -37,8 +38,14 @@ src_prepare() { } src_compile() { + local libnl_include + if has_version ">=dev-libs/libnl-3.0"; then + libnl_include=$(pkg-config --cflags libnl-3.0) + else + libnl_include="" + fi emake -e \ - INCLUDE="-I.. -I." \ + INCLUDE="-I.. -I. ${libnl_include}" \ CC="$(tc-getCC)" \ HAVE_NL=1 \ STATIC=${STATIC} \ diff --git a/sys-cluster/ipvsadm/ipvsadm-1.27.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.28.ebuild similarity index 78% rename from sys-cluster/ipvsadm/ipvsadm-1.27.ebuild rename to sys-cluster/ipvsadm/ipvsadm-1.28.ebuild index 5718b3b..7f75746 100644 --- a/sys-cluster/ipvsadm/ipvsadm-1.27.ebuild +++ b/sys-cluster/ipvsadm/ipvsadm-1.28.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=6 inherit eutils linux-info toolchain-funcs @@ -15,8 +15,8 @@ SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="static-libs" -RDEPEND=">=sys-libs/ncurses-5.2 - dev-libs/libnl +RDEPEND=">=sys-libs/ncurses-5.2:* + dev-libs/libnl:= >=dev-libs/popt-1.16" DEPEND="${RDEPEND} virtual/pkgconfig" @@ -29,16 +29,21 @@ pkg_pretend() { } src_prepare() { + default epatch "${FILESDIR}"/${PN}-1.27-buildsystem.patch - # Merged upstream in 1.27 - #epatch "${FILESDIR}"/${PN}-1.26-stack_smashing.patch # bug 371903 - + epatch "${FILESDIR}"/${PN}-1.27-fix-daemon-state.patch use static-libs && export STATIC=1 } src_compile() { + local libnl_include + if has_version ">=dev-libs/libnl-3.0"; then + libnl_include=$(pkg-config --cflags libnl-3.0) + else + libnl_include="" + fi emake -e \ - INCLUDE="-I.. -I." \ + INCLUDE="-I.. -I. ${libnl_include}" \ CC="$(tc-getCC)" \ HAVE_NL=1 \ STATIC=${STATIC} \