summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-28 20:54:07 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-10-28 20:54:07 +0200
commit59670267e6dd415f3aff10567a0f04ce406735c7 (patch)
tree156593e5699676f9d295138216bb8821781a3756 /net-libs/libnsl
parentnet-libs/libnsl: Move glibc blocker into RDEPEND (diff)
downloadgentoo-59670267e6dd415f3aff10567a0f04ce406735c7.tar.gz
gentoo-59670267e6dd415f3aff10567a0f04ce406735c7.tar.bz2
gentoo-59670267e6dd415f3aff10567a0f04ce406735c7.zip
net-libs/libnsl: Make a fake libnsl version that "uses" old glibc
This helps the portage resolver do the upgrade later on. Drop keywords on libnsl-1.1.0; we'll have to restore them at the same time as glibc-2.26 gets keywords. Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'net-libs/libnsl')
-rw-r--r--net-libs/libnsl/libnsl-0.ebuild17
-rw-r--r--net-libs/libnsl/libnsl-1.1.0-r1.ebuild7
2 files changed, 22 insertions, 2 deletions
diff --git a/net-libs/libnsl/libnsl-0.ebuild b/net-libs/libnsl/libnsl-0.ebuild
new file mode 100644
index 000000000000..f5c68293a69b
--- /dev/null
+++ b/net-libs/libnsl/libnsl-0.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version"
+HOMEPAGE="https://github.com/thkukuk/libnsl"
+
+# Fake version to help portage upgrading.
+
+SLOT="0/1"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE=""
+
+DEPEND="<sys-libs/glibc-2.26"
+RDEPEND="${DEPEND}"
diff --git a/net-libs/libnsl/libnsl-1.1.0-r1.ebuild b/net-libs/libnsl/libnsl-1.1.0-r1.ebuild
index e56e5624f343..407fc963fdaa 100644
--- a/net-libs/libnsl/libnsl-1.1.0-r1.ebuild
+++ b/net-libs/libnsl/libnsl-1.1.0-r1.ebuild
@@ -9,9 +9,12 @@ DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready versio
HOMEPAGE="https://github.com/thkukuk/libnsl"
SRC_URI="https://github.com/thkukuk/${PN}/archive/${P}.tar.gz"
-SLOT="0"
+SLOT="0/2"
LICENSE="LGPL-2.1+"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+
+# Restore keywords and stabilize together with glibc-2.26!
+KEYWORDS=""
+
IUSE=""
DEPEND="