1 |
commit: 59670267e6dd415f3aff10567a0f04ce406735c7 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 28 18:54:07 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 28 18:54:07 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59670267 |
7 |
|
8 |
net-libs/libnsl: Make a fake libnsl version that "uses" old glibc |
9 |
|
10 |
This helps the portage resolver do the upgrade later on. |
11 |
Drop keywords on libnsl-1.1.0; we'll have to restore them at the |
12 |
same time as glibc-2.26 gets keywords. |
13 |
|
14 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
15 |
|
16 |
.../{libnsl-1.1.0-r1.ebuild => libnsl-0.ebuild} | 27 ++++------------------ |
17 |
net-libs/libnsl/libnsl-1.1.0-r1.ebuild | 7 ++++-- |
18 |
2 files changed, 10 insertions(+), 24 deletions(-) |
19 |
|
20 |
diff --git a/net-libs/libnsl/libnsl-1.1.0-r1.ebuild b/net-libs/libnsl/libnsl-0.ebuild |
21 |
similarity index 51% |
22 |
copy from net-libs/libnsl/libnsl-1.1.0-r1.ebuild |
23 |
copy to net-libs/libnsl/libnsl-0.ebuild |
24 |
index e56e5624f34..f5c68293a69 100644 |
25 |
--- a/net-libs/libnsl/libnsl-1.1.0-r1.ebuild |
26 |
+++ b/net-libs/libnsl/libnsl-0.ebuild |
27 |
@@ -3,32 +3,15 @@ |
28 |
|
29 |
EAPI=6 |
30 |
|
31 |
-inherit autotools multilib-minimal |
32 |
- |
33 |
DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version" |
34 |
HOMEPAGE="https://github.com/thkukuk/libnsl" |
35 |
-SRC_URI="https://github.com/thkukuk/${PN}/archive/${P}.tar.gz" |
36 |
|
37 |
-SLOT="0" |
38 |
+# Fake version to help portage upgrading. |
39 |
+ |
40 |
+SLOT="0/1" |
41 |
LICENSE="LGPL-2.1+" |
42 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
43 |
IUSE="" |
44 |
|
45 |
-DEPEND=" |
46 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
47 |
-" |
48 |
-RDEPEND="${DEPEND} |
49 |
- !<sys-libs/glibc-2.26 |
50 |
-" |
51 |
- |
52 |
-S=${WORKDIR}/${PN}-${P} |
53 |
- |
54 |
-src_prepare(){ |
55 |
- default |
56 |
- eautoreconf |
57 |
-} |
58 |
- |
59 |
-multilib_src_configure() { |
60 |
- # Fool multilib-minimal to run ./configure in out-of-tree build |
61 |
- ECONF_SOURCE=${S} econf |
62 |
-} |
63 |
+DEPEND="<sys-libs/glibc-2.26" |
64 |
+RDEPEND="${DEPEND}" |
65 |
|
66 |
diff --git a/net-libs/libnsl/libnsl-1.1.0-r1.ebuild b/net-libs/libnsl/libnsl-1.1.0-r1.ebuild |
67 |
index e56e5624f34..407fc963fda 100644 |
68 |
--- a/net-libs/libnsl/libnsl-1.1.0-r1.ebuild |
69 |
+++ b/net-libs/libnsl/libnsl-1.1.0-r1.ebuild |
70 |
@@ -9,9 +9,12 @@ DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready versio |
71 |
HOMEPAGE="https://github.com/thkukuk/libnsl" |
72 |
SRC_URI="https://github.com/thkukuk/${PN}/archive/${P}.tar.gz" |
73 |
|
74 |
-SLOT="0" |
75 |
+SLOT="0/2" |
76 |
LICENSE="LGPL-2.1+" |
77 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
78 |
+ |
79 |
+# Restore keywords and stabilize together with glibc-2.26! |
80 |
+KEYWORDS="" |
81 |
+ |
82 |
IUSE="" |
83 |
|
84 |
DEPEND=" |