net-libs/libnsl: Make a fake libnsl version that "uses" old glibc
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 28 Oct 2017 18:54:07 +0000 (20:54 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 28 Oct 2017 18:54:07 +0000 (20:54 +0200)
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

net-libs/libnsl/libnsl-0.ebuild [new file with mode: 0644]
net-libs/libnsl/libnsl-1.1.0-r1.ebuild

diff --git a/net-libs/libnsl/libnsl-0.ebuild b/net-libs/libnsl/libnsl-0.ebuild
new file mode 100644 (file)
index 0000000..f5c6829
--- /dev/null
@@ -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}"
index e56e5624f3433fbe652d73eb063686d9de8bde1b..407fc963fdaa0a72d45b2dddc2c5d69e357b0fdc 100644 (file)
@@ -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="