1 |
commit: 301a73b29a3dc0bb92055a27590be607eeb2291d |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 25 04:14:36 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 25 04:15:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=301a73b2 |
7 |
|
8 |
net-fs/autofs: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
net-fs/autofs/Manifest | 3 - |
13 |
net-fs/autofs/autofs-5.1.2.ebuild | 121 --------------------- |
14 |
net-fs/autofs/autofs-5.1.3.ebuild | 109 ------------------- |
15 |
net-fs/autofs/autofs-5.1.4.ebuild | 109 ------------------- |
16 |
net-fs/autofs/autofs-5.1.5-r1.ebuild | 114 ------------------- |
17 |
.../files/autofs-5.1.2-libtirpc-as-need.patch | 28 ----- |
18 |
6 files changed, 484 deletions(-) |
19 |
|
20 |
diff --git a/net-fs/autofs/Manifest b/net-fs/autofs/Manifest |
21 |
index 0fcd312e462..4685af6e6ed 100644 |
22 |
--- a/net-fs/autofs/Manifest |
23 |
+++ b/net-fs/autofs/Manifest |
24 |
@@ -1,4 +1 @@ |
25 |
-DIST autofs-5.1.2.tar.xz 294792 BLAKE2B eeecac768726a1b2d336908b48222c53b1ffbc9eeff7b7f597ccbf55214d35f0d99eaeaa1c065509fffa31ec86729bdd51be873e003aa1fb7d88a9e2ab04f4c8 SHA512 435bcb41c9d467947c194d879e46692b5976131b8e923793bdeac34f70420ede740c4d70ec393413fff0b1010495ac7fe5fa8b45a59d15a2430ecae9ec3fe7e1 |
26 |
-DIST autofs-5.1.3.tar.xz 300632 BLAKE2B 500325ec790304442e896208e94e25cf862621fc2354fa3c31fbf277dcc570d0b2b27894728d9f881efdcca262b1ef6e2c957cd23e2aea1d5b3cd2cd822c813b SHA512 d5363f4442be5258465140920a32cb63340c5da060ef2e66678f003d6a0c00579880837f0a04f59c7bce57d1cbc0f42bdd26546a2195f87e7bd46334c9e32e35 |
27 |
-DIST autofs-5.1.4.tar.xz 304864 BLAKE2B 7348aa1106554eb765919c765c0585b5d975d7a0ea036dec5b509711bf33cefd0f3e1e857a6865434adabbd1e323cfe8ffb09eb234495672e81101f79b8f4d0f SHA512 1ef48800a1e44d6bf7048923109f3b8299ef266ff0fbaf5f979c32f42c6c5e28620c1876f64b9d913fddb69244ff83226c01c666401ff6271dd6b53d31860589 |
28 |
DIST autofs-5.1.5.tar.xz 313476 BLAKE2B 9822f6eb6294a0ee14b08f7982bf6008eb9ac8a79f89cdf3ffa0ed234b83c932db1646fc5591269000372dbfb95ce1b9ded040f0724a7eb4b3888caf20f56a20 SHA512 c8138929a9e2cfa7e0096c1d490b9d7275d1d43a50f5f87ad457bdd9a49c7dd13a4aa5d86ab1e028d66dae630e1a1342661844e5775625fe585867f0f4778898 |
29 |
|
30 |
diff --git a/net-fs/autofs/autofs-5.1.2.ebuild b/net-fs/autofs/autofs-5.1.2.ebuild |
31 |
deleted file mode 100644 |
32 |
index 902979caabd..00000000000 |
33 |
--- a/net-fs/autofs/autofs-5.1.2.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,121 +0,0 @@ |
36 |
-# Copyright 1999-2018 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=5 |
40 |
- |
41 |
-AUTOTOOLS_AUTORECONF=true |
42 |
-AUTOTOOLS_IN_SOURCE_BUILD=true |
43 |
- |
44 |
-inherit autotools-utils linux-info multilib systemd toolchain-funcs |
45 |
- |
46 |
-PATCH_VER= |
47 |
-[[ -n ${PATCH_VER} ]] && \ |
48 |
- PATCHSET_URI="https://dev.gentoo.org/~jlec/distfiles/${P}-patches-${PATCH_VER}.tar.lzma" |
49 |
- |
50 |
-DESCRIPTION="Kernel based automounter" |
51 |
-HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html" |
52 |
-SRC_URI=" |
53 |
- mirror://kernel/linux/daemons/${PN}/v5/${P}.tar.xz |
54 |
- ${PATCHSET_URI}" |
55 |
- |
56 |
-LICENSE="GPL-2" |
57 |
-SLOT="0" |
58 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86" |
59 |
-IUSE="-dmalloc ldap +libtirpc mount-locking sasl" |
60 |
- |
61 |
-# USE="sasl" adds SASL support to the LDAP module which will not be build. If |
62 |
-# SASL support should be available, please add "ldap" to the USE flags. |
63 |
-REQUIRED_USE="sasl? ( ldap )" |
64 |
- |
65 |
-# currently, sasl code assumes the presence of kerberosV |
66 |
-RDEPEND=">=sys-apps/util-linux-2.20 |
67 |
- dmalloc? ( dev-libs/dmalloc[threads] ) |
68 |
- ldap? ( >=net-nds/openldap-2.0 |
69 |
- sasl? ( |
70 |
- dev-libs/cyrus-sasl |
71 |
- dev-libs/libxml2 |
72 |
- virtual/krb5 |
73 |
- ) |
74 |
- ) |
75 |
- libtirpc? ( net-libs/libtirpc ) |
76 |
- !libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) |
77 |
-" |
78 |
- |
79 |
-DEPEND="${RDEPEND} |
80 |
- sys-devel/flex |
81 |
- virtual/yacc |
82 |
- libtirpc? ( net-libs/rpcsvc-proto ) |
83 |
-" |
84 |
- |
85 |
-CONFIG_CHECK="~AUTOFS4_FS" |
86 |
- |
87 |
-PATCHES=( |
88 |
- "${FILESDIR}"/${P}-libtirpc-as-need.patch |
89 |
-) |
90 |
- |
91 |
-src_prepare() { |
92 |
- # Upstream's patchset |
93 |
- if [[ -n ${PATCH_VER} ]]; then |
94 |
- EPATCH_SUFFIX="patch" \ |
95 |
- epatch "${WORKDIR}"/patches |
96 |
- fi |
97 |
- |
98 |
- sed -i -e "s:/usr/bin/kill:/bin/kill:" samples/autofs.service.in || die #bug #479492 |
99 |
- autotools-utils_src_prepare |
100 |
-} |
101 |
- |
102 |
-src_configure() { |
103 |
- # bug #483716 |
104 |
- tc-export AR |
105 |
- # --with-confdir is for bug #361481 |
106 |
- # --with-mapdir is for bug #385113 |
107 |
- local myeconfargs=( |
108 |
- --with-confdir=/etc/conf.d |
109 |
- --with-mapdir=/etc/autofs |
110 |
- $(use_with dmalloc) |
111 |
- $(use_with ldap openldap) |
112 |
- $(use_with libtirpc) |
113 |
- $(use_with sasl) |
114 |
- $(use_enable mount-locking) |
115 |
- --without-hesiod |
116 |
- --disable-ext-env |
117 |
- --enable-sloppy-mount # bug #453778 |
118 |
- --enable-force-shutdown |
119 |
- --enable-ignore-busy |
120 |
- --with-systemd="$(systemd_get_unitdir)" #bug #479492 |
121 |
- RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716 |
122 |
- ) |
123 |
- autotools-utils_src_configure |
124 |
-} |
125 |
- |
126 |
-src_compile() { |
127 |
- autotools-utils_src_compile DONTSTRIP=1 |
128 |
-} |
129 |
- |
130 |
-src_install() { |
131 |
- autotools-utils_src_install |
132 |
- |
133 |
- if kernel_is -lt 2 6 30; then |
134 |
- # kernel patches |
135 |
- docinto patches |
136 |
- dodoc patches/${PN}4-2.6.??{,.?{,?}}-v5-update-????????.patch |
137 |
- fi |
138 |
- newinitd "${FILESDIR}"/autofs5.initd autofs |
139 |
- insinto etc/autofs |
140 |
- newins "${FILESDIR}"/autofs5-auto.master auto.master |
141 |
-} |
142 |
- |
143 |
-pkg_postinst() { |
144 |
- if kernel_is -lt 2 6 30; then |
145 |
- elog "This version of ${PN} requires a kernel with autofs4 supporting" |
146 |
- elog "protocol version 5.00. Patches for kernels older than 2.6.30 have" |
147 |
- elog "been installed into" |
148 |
- elog "${EROOT}usr/share/doc/${P}/patches." |
149 |
- elog "For further instructions how to patch the kernel, please refer to" |
150 |
- elog "${EROOT}usr/share/doc/${P}/INSTALL." |
151 |
- elog |
152 |
- fi |
153 |
- elog "If you plan on using autofs for automounting remote NFS mounts," |
154 |
- elog "please check that both portmap (or rpcbind) and rpc.statd/lockd" |
155 |
- elog "are running." |
156 |
-} |
157 |
|
158 |
diff --git a/net-fs/autofs/autofs-5.1.3.ebuild b/net-fs/autofs/autofs-5.1.3.ebuild |
159 |
deleted file mode 100644 |
160 |
index c09dd3334e1..00000000000 |
161 |
--- a/net-fs/autofs/autofs-5.1.3.ebuild |
162 |
+++ /dev/null |
163 |
@@ -1,109 +0,0 @@ |
164 |
-# Copyright 1999-2018 Gentoo Foundation |
165 |
-# Distributed under the terms of the GNU General Public License v2 |
166 |
- |
167 |
-EAPI=6 |
168 |
- |
169 |
-inherit linux-info multilib systemd toolchain-funcs |
170 |
- |
171 |
-PATCH_VER= |
172 |
-[[ -n ${PATCH_VER} ]] && \ |
173 |
- PATCHSET_URI="https://dev.gentoo.org/~jlec/distfiles/${P}-patches-${PATCH_VER}.tar.lzma" |
174 |
- |
175 |
-DESCRIPTION="Kernel based automounter" |
176 |
-HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html" |
177 |
-SRC_URI=" |
178 |
- mirror://kernel/linux/daemons/${PN}/v5/${P}.tar.xz |
179 |
- ${PATCHSET_URI}" |
180 |
- |
181 |
-LICENSE="GPL-2" |
182 |
-SLOT="0" |
183 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
184 |
-IUSE="-dmalloc ldap +libtirpc mount-locking sasl" |
185 |
- |
186 |
-# USE="sasl" adds SASL support to the LDAP module which will not be build. If |
187 |
-# SASL support should be available, please add "ldap" to the USE flags. |
188 |
-REQUIRED_USE="sasl? ( ldap )" |
189 |
- |
190 |
-# currently, sasl code assumes the presence of kerberosV |
191 |
-RDEPEND=">=sys-apps/util-linux-2.20 |
192 |
- dmalloc? ( dev-libs/dmalloc[threads] ) |
193 |
- ldap? ( >=net-nds/openldap-2.0 |
194 |
- sasl? ( |
195 |
- dev-libs/cyrus-sasl |
196 |
- dev-libs/libxml2 |
197 |
- virtual/krb5 |
198 |
- ) |
199 |
- ) |
200 |
- libtirpc? ( net-libs/libtirpc ) |
201 |
- !libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) |
202 |
-" |
203 |
-DEPEND="${RDEPEND} |
204 |
- sys-devel/flex |
205 |
- virtual/yacc |
206 |
- libtirpc? ( net-libs/rpcsvc-proto ) |
207 |
-" |
208 |
- |
209 |
-CONFIG_CHECK="~AUTOFS4_FS" |
210 |
- |
211 |
-src_prepare() { |
212 |
- # Upstream's patchset |
213 |
- if [[ -n ${PATCH_VER} ]]; then |
214 |
- EPATCH_SUFFIX="patch" \ |
215 |
- epatch "${WORKDIR}"/patches |
216 |
- fi |
217 |
- |
218 |
- sed -i -e "s:/usr/bin/kill:/bin/kill:" samples/autofs.service.in || die #bug #479492 |
219 |
- default |
220 |
-} |
221 |
- |
222 |
-src_configure() { |
223 |
- # bug #483716 |
224 |
- tc-export AR |
225 |
- # --with-confdir is for bug #361481 |
226 |
- # --with-mapdir is for bug #385113 |
227 |
- local myeconfargs=( |
228 |
- --with-confdir=/etc/conf.d |
229 |
- --with-mapdir=/etc/autofs |
230 |
- $(use_with dmalloc) |
231 |
- $(use_with ldap openldap) |
232 |
- $(use_with libtirpc) |
233 |
- $(use_with sasl) |
234 |
- $(use_enable mount-locking) |
235 |
- --without-hesiod |
236 |
- --disable-ext-env |
237 |
- --enable-sloppy-mount # bug #453778 |
238 |
- --enable-force-shutdown |
239 |
- --enable-ignore-busy |
240 |
- --with-systemd="$(systemd_get_systemunitdir)" #bug #479492 |
241 |
- RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716 |
242 |
- ) |
243 |
- econf "${myeconfargs[@]}" |
244 |
-} |
245 |
- |
246 |
-src_install() { |
247 |
- default |
248 |
- |
249 |
- if kernel_is -lt 2 6 30; then |
250 |
- # kernel patches |
251 |
- docinto patches |
252 |
- dodoc patches/${PN}4-2.6.??{,.?{,?}}-v5-update-????????.patch |
253 |
- fi |
254 |
- newinitd "${FILESDIR}"/autofs5.initd autofs |
255 |
- insinto etc/autofs |
256 |
- newins "${FILESDIR}"/autofs5-auto.master auto.master |
257 |
-} |
258 |
- |
259 |
-pkg_postinst() { |
260 |
- if kernel_is -lt 2 6 30; then |
261 |
- elog "This version of ${PN} requires a kernel with autofs4 supporting" |
262 |
- elog "protocol version 5.00. Patches for kernels older than 2.6.30 have" |
263 |
- elog "been installed into" |
264 |
- elog "${EROOT}usr/share/doc/${P}/patches." |
265 |
- elog "For further instructions how to patch the kernel, please refer to" |
266 |
- elog "${EROOT}usr/share/doc/${P}/INSTALL." |
267 |
- elog |
268 |
- fi |
269 |
- elog "If you plan on using autofs for automounting remote NFS mounts," |
270 |
- elog "please check that both portmap (or rpcbind) and rpc.statd/lockd" |
271 |
- elog "are running." |
272 |
-} |
273 |
|
274 |
diff --git a/net-fs/autofs/autofs-5.1.4.ebuild b/net-fs/autofs/autofs-5.1.4.ebuild |
275 |
deleted file mode 100644 |
276 |
index c09dd3334e1..00000000000 |
277 |
--- a/net-fs/autofs/autofs-5.1.4.ebuild |
278 |
+++ /dev/null |
279 |
@@ -1,109 +0,0 @@ |
280 |
-# Copyright 1999-2018 Gentoo Foundation |
281 |
-# Distributed under the terms of the GNU General Public License v2 |
282 |
- |
283 |
-EAPI=6 |
284 |
- |
285 |
-inherit linux-info multilib systemd toolchain-funcs |
286 |
- |
287 |
-PATCH_VER= |
288 |
-[[ -n ${PATCH_VER} ]] && \ |
289 |
- PATCHSET_URI="https://dev.gentoo.org/~jlec/distfiles/${P}-patches-${PATCH_VER}.tar.lzma" |
290 |
- |
291 |
-DESCRIPTION="Kernel based automounter" |
292 |
-HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html" |
293 |
-SRC_URI=" |
294 |
- mirror://kernel/linux/daemons/${PN}/v5/${P}.tar.xz |
295 |
- ${PATCHSET_URI}" |
296 |
- |
297 |
-LICENSE="GPL-2" |
298 |
-SLOT="0" |
299 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
300 |
-IUSE="-dmalloc ldap +libtirpc mount-locking sasl" |
301 |
- |
302 |
-# USE="sasl" adds SASL support to the LDAP module which will not be build. If |
303 |
-# SASL support should be available, please add "ldap" to the USE flags. |
304 |
-REQUIRED_USE="sasl? ( ldap )" |
305 |
- |
306 |
-# currently, sasl code assumes the presence of kerberosV |
307 |
-RDEPEND=">=sys-apps/util-linux-2.20 |
308 |
- dmalloc? ( dev-libs/dmalloc[threads] ) |
309 |
- ldap? ( >=net-nds/openldap-2.0 |
310 |
- sasl? ( |
311 |
- dev-libs/cyrus-sasl |
312 |
- dev-libs/libxml2 |
313 |
- virtual/krb5 |
314 |
- ) |
315 |
- ) |
316 |
- libtirpc? ( net-libs/libtirpc ) |
317 |
- !libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) |
318 |
-" |
319 |
-DEPEND="${RDEPEND} |
320 |
- sys-devel/flex |
321 |
- virtual/yacc |
322 |
- libtirpc? ( net-libs/rpcsvc-proto ) |
323 |
-" |
324 |
- |
325 |
-CONFIG_CHECK="~AUTOFS4_FS" |
326 |
- |
327 |
-src_prepare() { |
328 |
- # Upstream's patchset |
329 |
- if [[ -n ${PATCH_VER} ]]; then |
330 |
- EPATCH_SUFFIX="patch" \ |
331 |
- epatch "${WORKDIR}"/patches |
332 |
- fi |
333 |
- |
334 |
- sed -i -e "s:/usr/bin/kill:/bin/kill:" samples/autofs.service.in || die #bug #479492 |
335 |
- default |
336 |
-} |
337 |
- |
338 |
-src_configure() { |
339 |
- # bug #483716 |
340 |
- tc-export AR |
341 |
- # --with-confdir is for bug #361481 |
342 |
- # --with-mapdir is for bug #385113 |
343 |
- local myeconfargs=( |
344 |
- --with-confdir=/etc/conf.d |
345 |
- --with-mapdir=/etc/autofs |
346 |
- $(use_with dmalloc) |
347 |
- $(use_with ldap openldap) |
348 |
- $(use_with libtirpc) |
349 |
- $(use_with sasl) |
350 |
- $(use_enable mount-locking) |
351 |
- --without-hesiod |
352 |
- --disable-ext-env |
353 |
- --enable-sloppy-mount # bug #453778 |
354 |
- --enable-force-shutdown |
355 |
- --enable-ignore-busy |
356 |
- --with-systemd="$(systemd_get_systemunitdir)" #bug #479492 |
357 |
- RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716 |
358 |
- ) |
359 |
- econf "${myeconfargs[@]}" |
360 |
-} |
361 |
- |
362 |
-src_install() { |
363 |
- default |
364 |
- |
365 |
- if kernel_is -lt 2 6 30; then |
366 |
- # kernel patches |
367 |
- docinto patches |
368 |
- dodoc patches/${PN}4-2.6.??{,.?{,?}}-v5-update-????????.patch |
369 |
- fi |
370 |
- newinitd "${FILESDIR}"/autofs5.initd autofs |
371 |
- insinto etc/autofs |
372 |
- newins "${FILESDIR}"/autofs5-auto.master auto.master |
373 |
-} |
374 |
- |
375 |
-pkg_postinst() { |
376 |
- if kernel_is -lt 2 6 30; then |
377 |
- elog "This version of ${PN} requires a kernel with autofs4 supporting" |
378 |
- elog "protocol version 5.00. Patches for kernels older than 2.6.30 have" |
379 |
- elog "been installed into" |
380 |
- elog "${EROOT}usr/share/doc/${P}/patches." |
381 |
- elog "For further instructions how to patch the kernel, please refer to" |
382 |
- elog "${EROOT}usr/share/doc/${P}/INSTALL." |
383 |
- elog |
384 |
- fi |
385 |
- elog "If you plan on using autofs for automounting remote NFS mounts," |
386 |
- elog "please check that both portmap (or rpcbind) and rpc.statd/lockd" |
387 |
- elog "are running." |
388 |
-} |
389 |
|
390 |
diff --git a/net-fs/autofs/autofs-5.1.5-r1.ebuild b/net-fs/autofs/autofs-5.1.5-r1.ebuild |
391 |
deleted file mode 100644 |
392 |
index c7f1f39104f..00000000000 |
393 |
--- a/net-fs/autofs/autofs-5.1.5-r1.ebuild |
394 |
+++ /dev/null |
395 |
@@ -1,114 +0,0 @@ |
396 |
-# Copyright 1999-2019 Gentoo Authors |
397 |
-# Distributed under the terms of the GNU General Public License v2 |
398 |
- |
399 |
-EAPI=7 |
400 |
- |
401 |
-inherit linux-info multilib systemd toolchain-funcs |
402 |
- |
403 |
-PATCH_VER= |
404 |
-[[ -n ${PATCH_VER} ]] && \ |
405 |
- PATCHSET_URI="https://dev.gentoo.org/~jlec/distfiles/${P}-patches-${PATCH_VER}.tar.lzma" |
406 |
- |
407 |
-DESCRIPTION="Kernel based automounter" |
408 |
-HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html" |
409 |
-SRC_URI=" |
410 |
- mirror://kernel/linux/daemons/${PN}/v5/${P}.tar.xz |
411 |
- ${PATCHSET_URI}" |
412 |
- |
413 |
-LICENSE="GPL-2" |
414 |
-SLOT="0" |
415 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
416 |
-IUSE="-dmalloc ldap +libtirpc mount-locking sasl systemd" |
417 |
- |
418 |
-# USE="sasl" adds SASL support to the LDAP module which will not be build. If |
419 |
-# SASL support should be available, please add "ldap" to the USE flags. |
420 |
-REQUIRED_USE="sasl? ( ldap )" |
421 |
- |
422 |
-# currently, sasl code assumes the presence of kerberosV |
423 |
-RDEPEND=">=sys-apps/util-linux-2.20 |
424 |
- dmalloc? ( dev-libs/dmalloc[threads] ) |
425 |
- ldap? ( >=net-nds/openldap-2.0 |
426 |
- sasl? ( |
427 |
- dev-libs/cyrus-sasl |
428 |
- dev-libs/libxml2 |
429 |
- virtual/krb5 |
430 |
- ) |
431 |
- ) |
432 |
- systemd? ( sys-apps/systemd ) |
433 |
- libtirpc? ( net-libs/libtirpc ) |
434 |
- !libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) |
435 |
-" |
436 |
-DEPEND="${RDEPEND} |
437 |
- sys-devel/flex |
438 |
- virtual/yacc |
439 |
- libtirpc? ( net-libs/rpcsvc-proto ) |
440 |
-" |
441 |
- |
442 |
-CONFIG_CHECK="~AUTOFS4_FS" |
443 |
- |
444 |
-src_prepare() { |
445 |
- # Upstream's patchset |
446 |
- if [[ -n ${PATCH_VER} ]]; then |
447 |
- EPATCH_SUFFIX="patch" \ |
448 |
- epatch "${WORKDIR}"/patches |
449 |
- fi |
450 |
- |
451 |
- sed -i -e "s:/usr/bin/kill:/bin/kill:" samples/autofs.service.in || die #bug #479492 |
452 |
- |
453 |
- # need for install autofs.service |
454 |
- sed -i -e "/^SUBDIRS/s/$/ samples/g" Makefile.rules || die |
455 |
- |
456 |
- default |
457 |
-} |
458 |
- |
459 |
-src_configure() { |
460 |
- # bug #483716 |
461 |
- tc-export AR |
462 |
- # --with-confdir is for bug #361481 |
463 |
- # --with-mapdir is for bug #385113 |
464 |
- local myeconfargs=( |
465 |
- --with-confdir=/etc/conf.d |
466 |
- --with-mapdir=/etc/autofs |
467 |
- $(use_with dmalloc) |
468 |
- $(use_with ldap openldap) |
469 |
- $(use_with libtirpc) |
470 |
- $(use_with sasl) |
471 |
- $(use_enable mount-locking) |
472 |
- $(use_with systemd systemd $(systemd_get_systemunitdir)) #bug #479492 |
473 |
- --without-hesiod |
474 |
- --disable-ext-env |
475 |
- --enable-sloppy-mount # bug #453778 |
476 |
- --enable-force-shutdown |
477 |
- --enable-ignore-busy |
478 |
- RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716 |
479 |
- ) |
480 |
- econf "${myeconfargs[@]}" |
481 |
-} |
482 |
- |
483 |
-src_install() { |
484 |
- default |
485 |
- |
486 |
- if kernel_is -lt 2 6 30; then |
487 |
- # kernel patches |
488 |
- docinto patches |
489 |
- dodoc patches/${PN}4-2.6.??{,.?{,?}}-v5-update-????????.patch |
490 |
- fi |
491 |
- newinitd "${FILESDIR}"/autofs5.initd autofs |
492 |
- insinto etc/autofs |
493 |
- newins "${FILESDIR}"/autofs5-auto.master auto.master |
494 |
-} |
495 |
- |
496 |
-pkg_postinst() { |
497 |
- if kernel_is -lt 2 6 30; then |
498 |
- elog "This version of ${PN} requires a kernel with autofs4 supporting" |
499 |
- elog "protocol version 5.00. Patches for kernels older than 2.6.30 have" |
500 |
- elog "been installed into" |
501 |
- elog "${EROOT}/usr/share/doc/${P}/patches." |
502 |
- elog "For further instructions how to patch the kernel, please refer to" |
503 |
- elog "${EROOT}/usr/share/doc/${P}/INSTALL." |
504 |
- elog |
505 |
- fi |
506 |
- elog "If you plan on using autofs for automounting remote NFS mounts," |
507 |
- elog "please check that both portmap (or rpcbind) and rpc.statd/lockd" |
508 |
- elog "are running." |
509 |
-} |
510 |
|
511 |
diff --git a/net-fs/autofs/files/autofs-5.1.2-libtirpc-as-need.patch b/net-fs/autofs/files/autofs-5.1.2-libtirpc-as-need.patch |
512 |
deleted file mode 100644 |
513 |
index f6e17697816..00000000000 |
514 |
--- a/net-fs/autofs/files/autofs-5.1.2-libtirpc-as-need.patch |
515 |
+++ /dev/null |
516 |
@@ -1,28 +0,0 @@ |
517 |
-Make configure compatible with -Wl,--as-needed following |
518 |
-https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed#Failure_in_..2Fconfigure |
519 |
- |
520 |
-2016-07-05 Martin von Gagern |
521 |
- |
522 |
---- autofs-5.1.2.orig/aclocal.m4 |
523 |
-+++ autofs-5.1.2/aclocal.m4 |
524 |
-@@ -413,9 +413,9 @@ AC_DEFUN([AF_CHECK_LIBTIRPC], |
525 |
- [ |
526 |
- # save current flags |
527 |
- af_check_libtirpc_save_cflags="$CFLAGS" |
528 |
--af_check_libtirpc_save_ldflags="$LDFLAGS" |
529 |
-+af_check_libtirpc_save_libs="$LIBS" |
530 |
- CFLAGS="$CFLAGS -I/usr/include/tirpc" |
531 |
--LDFLAGS="$LDFLAGS -ltirpc" |
532 |
-+LIBS="$LIBS -ltirpc" |
533 |
- |
534 |
- AC_TRY_LINK( |
535 |
- [ #include <rpc/rpc.h> ], |
536 |
-@@ -438,7 +438,7 @@ AC_CHECK_FUNCS([getrpcbyname getservbyna |
537 |
- |
538 |
- # restore flags |
539 |
- CFLAGS="$af_check_libtirpc_save_cflags" |
540 |
--LDFLAGS="$af_check_libtirpc_save_ldflags" |
541 |
-+LIBS="$af_check_libtirpc_save_libs" |
542 |
- ]) |
543 |
- |
544 |
- AC_DEFUN([AF_WITH_LIBTIRPC], |