1 |
commit: ac6a398029190edbeb2662fcf867d0ed7e015c0f |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 30 01:26:30 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 30 01:26:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=ac6a3980 |
7 |
|
8 |
net-libs/libnsl: in tree version works |
9 |
|
10 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
11 |
|
12 |
net-libs/libnsl/Manifest | 1 - |
13 |
net-libs/libnsl/files/libnsl-1.1.0-musl.patch | 47 ------------------------ |
14 |
net-libs/libnsl/libnsl-1.1.0-r3.ebuild | 52 --------------------------- |
15 |
net-libs/libnsl/metadata.xml | 12 ------- |
16 |
4 files changed, 112 deletions(-) |
17 |
|
18 |
diff --git a/net-libs/libnsl/Manifest b/net-libs/libnsl/Manifest |
19 |
deleted file mode 100644 |
20 |
index 399abba..0000000 |
21 |
--- a/net-libs/libnsl/Manifest |
22 |
+++ /dev/null |
23 |
@@ -1 +0,0 @@ |
24 |
-DIST libnsl-1.1.0.tar.gz 209148 SHA256 a23cfcf7f29f168b95e821d01217600096c05be8cd5c085450cb4f160425277b SHA512 12555ed701d06247b6774c6c2759ada280ffce73820976adb4aaa48b50b97121b1805412541778dfcdd8845af6a10b2e5a9dc0eb7b953e84467d0a40ad3360cd WHIRLPOOL c347bbd72b75d1e3ab0069f802da8e4e4e4931a8a61b4abed1dd664c4576e7e22e96c012858c684ec79a981aea84460eae3a2ccb8e94aa7bfecfdd99c3e54730 |
25 |
|
26 |
diff --git a/net-libs/libnsl/files/libnsl-1.1.0-musl.patch b/net-libs/libnsl/files/libnsl-1.1.0-musl.patch |
27 |
deleted file mode 100644 |
28 |
index 7b73c49..0000000 |
29 |
--- a/net-libs/libnsl/files/libnsl-1.1.0-musl.patch |
30 |
+++ /dev/null |
31 |
@@ -1,47 +0,0 @@ |
32 |
-diff -Naur libnsl-libnsl-1.1.0.orig/src/rpcsvc/nis.h libnsl-libnsl-1.1.0/src/rpcsvc/nis.h |
33 |
---- libnsl-libnsl-1.1.0.orig/src/rpcsvc/nis.h 2017-08-18 12:40:34.000000000 -0700 |
34 |
-+++ libnsl-libnsl-1.1.0/src/rpcsvc/nis.h 2017-09-16 16:48:58.148882799 -0700 |
35 |
-@@ -56,10 +56,42 @@ |
36 |
- * <kukuk@××××.de> |
37 |
- */ |
38 |
- |
39 |
-- |
40 |
- #ifndef __nis_object_h |
41 |
- #define __nis_object_h |
42 |
- |
43 |
-+#ifndef rawmemchr |
44 |
-+#define rawmemchr(s, c) memchr((s),(size_t)-1,(c)) |
45 |
-+#endif |
46 |
-+ |
47 |
-+#ifndef __asprintf |
48 |
-+#define __asprintf asprintf |
49 |
-+#endif |
50 |
-+ |
51 |
-+#ifndef __mempcpy |
52 |
-+#define __mempcpy mempcpy |
53 |
-+#endif |
54 |
-+ |
55 |
-+#ifdef __stpcpy |
56 |
-+#define __stpcpy stpcpy |
57 |
-+#endif |
58 |
-+ |
59 |
-+#ifndef __strtok_r |
60 |
-+#define __strtok_r strtok_r |
61 |
-+#endif |
62 |
-+ |
63 |
-+#ifndef __always_inline |
64 |
-+#define __always_inline inline |
65 |
-+#endif |
66 |
-+ |
67 |
-+#ifndef TEMP_FAILURE_RETRY |
68 |
-+#define TEMP_FAILURE_RETRY(exp) ({ \ |
69 |
-+ typeof (exp) _rc; \ |
70 |
-+ do { \ |
71 |
-+ _rc = (exp); \ |
72 |
-+ } while (_rc == -1 && errno == EINTR); \ |
73 |
-+ _rc; }) |
74 |
-+#endif |
75 |
-+ |
76 |
- #define NIS_MAXSTRINGLEN 255 |
77 |
- #define NIS_MAXNAMELEN 1024 |
78 |
- #define NIS_MAXATTRNAME 32 |
79 |
|
80 |
diff --git a/net-libs/libnsl/libnsl-1.1.0-r3.ebuild b/net-libs/libnsl/libnsl-1.1.0-r3.ebuild |
81 |
deleted file mode 100644 |
82 |
index 85388a1..0000000 |
83 |
--- a/net-libs/libnsl/libnsl-1.1.0-r3.ebuild |
84 |
+++ /dev/null |
85 |
@@ -1,52 +0,0 @@ |
86 |
-# Copyright 1999-2017 Gentoo Foundation |
87 |
-# Distributed under the terms of the GNU General Public License v2 |
88 |
- |
89 |
-EAPI=6 |
90 |
- |
91 |
-inherit autotools multilib-minimal |
92 |
- |
93 |
-DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version" |
94 |
-HOMEPAGE="https://github.com/thkukuk/libnsl" |
95 |
-SRC_URI="https://github.com/thkukuk/${PN}/archive/${P}.tar.gz" |
96 |
- |
97 |
-SLOT="0/2" |
98 |
-LICENSE="LGPL-2.1+" |
99 |
- |
100 |
-# Stabilize together with glibc-2.26! |
101 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~sh ~sparc ~x86" |
102 |
- |
103 |
-IUSE="" |
104 |
- |
105 |
-DEPEND=" |
106 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
107 |
-" |
108 |
-RDEPEND="${DEPEND} |
109 |
- !<sys-libs/glibc-2.26 |
110 |
-" |
111 |
- |
112 |
-PATCHES=( "${FILESDIR}"/${P}-musl.patch ) |
113 |
- |
114 |
-S=${WORKDIR}/${PN}-${P} |
115 |
- |
116 |
-src_prepare(){ |
117 |
- default |
118 |
- find "${S}" -name '*.h' -exec \ |
119 |
- sed -e 's|^__BEGIN_DECLS$|#ifdef __cplusplus\nextern "C" {\n#endif|' \ |
120 |
- -e 's|^__END_DECLS$|#ifdef __cplusplus\n}\n#endif|' \ |
121 |
- -e 's| __THROW||' \ |
122 |
- -i {} \; || die |
123 |
- eautoreconf |
124 |
-} |
125 |
- |
126 |
-multilib_src_configure() { |
127 |
- local myconf=( |
128 |
- --enable-shared |
129 |
- --disable-static |
130 |
- ) |
131 |
- ECONF_SOURCE=${S} econf "${myconf[@]}" |
132 |
-} |
133 |
- |
134 |
-multilib_src_install_all() { |
135 |
- einstalldocs |
136 |
- find "${ED}" -name '*.la' -delete || die |
137 |
-} |
138 |
|
139 |
diff --git a/net-libs/libnsl/metadata.xml b/net-libs/libnsl/metadata.xml |
140 |
deleted file mode 100644 |
141 |
index bcf493e..0000000 |
142 |
--- a/net-libs/libnsl/metadata.xml |
143 |
+++ /dev/null |
144 |
@@ -1,12 +0,0 @@ |
145 |
-<?xml version="1.0" encoding="UTF-8"?> |
146 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
147 |
-<pkgmetadata> |
148 |
-<maintainer type="project"> |
149 |
- <email>toolchain@g.o</email> |
150 |
- <name>Gentoo Toolchain Project</name> |
151 |
-</maintainer> |
152 |
-<maintainer type="project"> |
153 |
- <email>base-system@g.o</email> |
154 |
- <name>Gentoo Base System Project</name> |
155 |
-</maintainer> |
156 |
-</pkgmetadata> |