Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/autofs/
Date: Fri, 29 May 2020 09:11:21
Message-Id: 1590743453.421de635e59fc5d886cdb2a49e738b6c10c45339.dlan@gentoo
1 commit: 421de635e59fc5d886cdb2a49e738b6c10c45339
2 Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 29 09:10:53 2020 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Fri May 29 09:10:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=421de635
7
8 net-fs/autofs: drop old
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
12
13 net-fs/autofs/Manifest | 1 -
14 net-fs/autofs/autofs-5.1.5-r2.ebuild | 114 -----------------------------------
15 2 files changed, 115 deletions(-)
16
17 diff --git a/net-fs/autofs/Manifest b/net-fs/autofs/Manifest
18 index 8b3aedee33d..6f533814338 100644
19 --- a/net-fs/autofs/Manifest
20 +++ b/net-fs/autofs/Manifest
21 @@ -1,2 +1 @@
22 -DIST autofs-5.1.5.tar.xz 313476 BLAKE2B 9822f6eb6294a0ee14b08f7982bf6008eb9ac8a79f89cdf3ffa0ed234b83c932db1646fc5591269000372dbfb95ce1b9ded040f0724a7eb4b3888caf20f56a20 SHA512 c8138929a9e2cfa7e0096c1d490b9d7275d1d43a50f5f87ad457bdd9a49c7dd13a4aa5d86ab1e028d66dae630e1a1342661844e5775625fe585867f0f4778898
23 DIST autofs-5.1.6.tar.xz 315316 BLAKE2B 0c5e2351462505c6de0b12e510f0c08a625a0235e1ff8eeaff825946c4530c258449d26aaf6a3794aa82a97e8860711226168f434dd31bfb8a4e70287beb3ca4 SHA512 dc8b2bd86c140905dd1bc461bfc469f92363d9c2687fe422e1e751cc7ad64c0733b011c80bf4840e510e5909176cd1a066968b9a5ba835b62c4cf27537863cf2
24
25 diff --git a/net-fs/autofs/autofs-5.1.5-r2.ebuild b/net-fs/autofs/autofs-5.1.5-r2.ebuild
26 deleted file mode 100644
27 index 31f4171af44..00000000000
28 --- a/net-fs/autofs/autofs-5.1.5-r2.ebuild
29 +++ /dev/null
30 @@ -1,114 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit linux-info systemd toolchain-funcs
37 -
38 -DESCRIPTION="Kernel based automounter"
39 -HOMEPAGE="https://web.archive.org/web/*/http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
40 -SRC_URI="https://www.kernel.org/pub/linux/daemons/${PN}/v5/${P}.tar.xz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
45 -IUSE="-dmalloc ldap +libtirpc mount-locking sasl systemd"
46 -
47 -# currently, sasl code assumes the presence of kerberosV
48 -RDEPEND=">=sys-apps/util-linux-2.20
49 - dmalloc? ( dev-libs/dmalloc[threads] )
50 - ldap? ( >=net-nds/openldap-2.0
51 - sasl? (
52 - dev-libs/cyrus-sasl
53 - dev-libs/libxml2
54 - virtual/krb5
55 - )
56 - )
57 - systemd? ( sys-apps/systemd )
58 - libtirpc? ( net-libs/libtirpc )
59 - !libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) )
60 -"
61 -DEPEND="${RDEPEND}
62 - libtirpc? ( net-libs/rpcsvc-proto )
63 -"
64 -BDEPEND="
65 - sys-devel/flex
66 - virtual/yacc
67 -"
68 -
69 -pkg_setup() {
70 - linux-info_pkg_setup
71 -
72 - local CONFIG_CHECK
73 -
74 - if kernel_is -ge 4 18; then
75 - CONFIG_CHECK="~AUTOFS_FS"
76 - else
77 - CONFIG_CHECK="~AUTOFS4_FS"
78 - fi
79 -
80 - check_extra_config
81 -}
82 -
83 -src_prepare() {
84 - sed -i -e "s:/usr/bin/kill:/bin/kill:" samples/autofs.service.in || die # bug #479492
85 - sed -i -e "/^EnvironmentFile/d" samples/autofs.service.in || die # bug #592334
86 -
87 - # Install samples including autofs.service
88 - sed -i -e "/^SUBDIRS/s/$/ samples/g" Makefile.rules || die
89 -
90 - default
91 -}
92 -
93 -src_configure() {
94 - # bug #483716
95 - tc-export AR
96 - # --with-confdir is for bug #361481
97 - # --with-mapdir is for bug #385113
98 - local myeconfargs=(
99 - --with-confdir=/etc/conf.d
100 - --with-mapdir=/etc/autofs
101 - $(use_with dmalloc)
102 - $(use_with ldap openldap)
103 - $(use_with libtirpc)
104 - $(use_with sasl)
105 - $(use_enable mount-locking)
106 - $(use_with systemd systemd $(systemd_get_systemunitdir)) # bug #479492
107 - --without-hesiod
108 - --disable-ext-env
109 - --enable-sloppy-mount # bug #453778
110 - --enable-force-shutdown
111 - --enable-ignore-busy
112 - RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716
113 - )
114 - econf "${myeconfargs[@]}"
115 -}
116 -
117 -src_install() {
118 - default
119 - rmdir "${D}"/run
120 -
121 - if kernel_is -lt 2 6 30; then
122 - # kernel patches
123 - docinto patches
124 - dodoc patches/${PN}4-2.6.??{,.?{,?}}-v5-update-????????.patch
125 - fi
126 - newinitd "${FILESDIR}"/autofs5.initd autofs
127 - insinto etc/autofs
128 - newins "${FILESDIR}"/autofs5-auto.master auto.master
129 -}
130 -
131 -pkg_postinst() {
132 - if kernel_is -lt 2 6 30; then
133 - elog "This version of ${PN} requires a kernel with autofs4 supporting"
134 - elog "protocol version 5.00. Patches for kernels older than 2.6.30 have"
135 - elog "been installed into"
136 - elog "${EROOT}/usr/share/doc/${P}/patches."
137 - elog "For further instructions how to patch the kernel, please refer to"
138 - elog "${EROOT}/usr/share/doc/${P}/INSTALL."
139 - elog
140 - fi
141 - elog "If you plan on using autofs for automounting remote NFS mounts,"
142 - elog "please check that both portmap (or rpcbind) and rpc.statd/lockd"
143 - elog "are running."
144 -}