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