1 |
maksbotan 13/07/30 07:31:20 |
2 |
|
3 |
Modified: autofs-9999.ebuild ChangeLog |
4 |
Added: autofs-5.0.7-r3.ebuild |
5 |
Log: |
6 |
1) fix broken libtirpc link error, bug #464120 2) fix occational parallel build error 3) fix duplicated user_patch 4) fix dmalloc deps. Thanks to Dennis 'dlan' Lan. |
7 |
|
8 |
(Portage version: 2.1.13.1/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 net-fs/autofs/autofs-9999.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/autofs-9999.ebuild?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/autofs-9999.ebuild?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/autofs-9999.ebuild?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: autofs-9999.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-9999.ebuild,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- autofs-9999.ebuild 13 Jun 2013 15:03:59 -0000 1.2 |
24 |
+++ autofs-9999.ebuild 30 Jul 2013 07:31:20 -0000 1.3 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2013 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-9999.ebuild,v 1.2 2013/06/13 15:03:59 robbat2 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-9999.ebuild,v 1.3 2013/07/30 07:31:20 maksbotan Exp $ |
30 |
|
31 |
EAPI=5 |
32 |
|
33 |
@@ -24,6 +24,7 @@ |
34 |
|
35 |
# currently, sasl code assumes the presence of kerberosV |
36 |
RDEPEND=">=sys-apps/util-linux-2.20 |
37 |
+ dmalloc? ( dev-libs/dmalloc[threads] ) |
38 |
hesiod? ( net-dns/hesiod ) |
39 |
ldap? ( >=net-nds/openldap-2.0 |
40 |
sasl? ( |
41 |
@@ -40,11 +41,6 @@ |
42 |
|
43 |
CONFIG_CHECK="~AUTOFS4_FS" |
44 |
|
45 |
-src_prepare() { |
46 |
- epatch_user |
47 |
- autotools-utils_src_prepare |
48 |
-} |
49 |
- |
50 |
src_configure() { |
51 |
# --with-confdir is for bug #361481 |
52 |
# --with-mapdir is for bug #385113 |
53 |
@@ -62,12 +58,16 @@ |
54 |
$(use_enable mount-locking) |
55 |
--disable-ext-env |
56 |
--enable-sloppy-mount |
57 |
- --enable-forced-shutdown |
58 |
+ --enable-force-shutdown |
59 |
--enable-ignore-busy |
60 |
) |
61 |
autotools-utils_src_configure |
62 |
} |
63 |
|
64 |
+src_compile() { |
65 |
+ autotools-utils_src_compile DONTSTRIP=1 |
66 |
+} |
67 |
+ |
68 |
src_install() { |
69 |
autotools-utils_src_install |
70 |
|
71 |
|
72 |
|
73 |
|
74 |
1.155 net-fs/autofs/ChangeLog |
75 |
|
76 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.155&view=markup |
77 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.155&content-type=text/plain |
78 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/ChangeLog?r1=1.154&r2=1.155 |
79 |
|
80 |
Index: ChangeLog |
81 |
=================================================================== |
82 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v |
83 |
retrieving revision 1.154 |
84 |
retrieving revision 1.155 |
85 |
diff -u -r1.154 -r1.155 |
86 |
--- ChangeLog 22 Jul 2013 11:05:44 -0000 1.154 |
87 |
+++ ChangeLog 30 Jul 2013 07:31:20 -0000 1.155 |
88 |
@@ -1,6 +1,17 @@ |
89 |
# ChangeLog for net-fs/autofs |
90 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
91 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.154 2013/07/22 11:05:44 tomwij Exp $ |
92 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.155 2013/07/30 07:31:20 maksbotan Exp $ |
93 |
+ |
94 |
+*autofs-5.0.7-r3 (30 Jul 2013) |
95 |
+ |
96 |
+ 30 Jul 2013; Maxim Koltsov <maksbotan@g.o> +autofs-5.0.7-r3.ebuild, |
97 |
+ +files/autofs-5.0.7-libtirpc-link.patch, |
98 |
+ +files/autofs-5.0.7-parallel-make.patch, |
99 |
+ +files/autofs-5.0.7-respect-user-flags-and-fix-asneeded-r3.patch, |
100 |
+ autofs-9999.ebuild: |
101 |
+ 1) fix broken libtirpc link error, bug #464120 2) fix occational parallel |
102 |
+ build error 3) fix duplicated user_patch 4) fix dmalloc deps. Thanks to Dennis |
103 |
+ 'dlan' Lan. |
104 |
|
105 |
22 Jul 2013; Tom Wijsman <TomWij@g.o> metadata.xml: |
106 |
Drop Dustin from metadata.xml, make Dennis (dlan) Lan primary maintainer; |
107 |
|
108 |
|
109 |
|
110 |
1.1 net-fs/autofs/autofs-5.0.7-r3.ebuild |
111 |
|
112 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/autofs-5.0.7-r3.ebuild?rev=1.1&view=markup |
113 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/autofs-5.0.7-r3.ebuild?rev=1.1&content-type=text/plain |
114 |
|
115 |
Index: autofs-5.0.7-r3.ebuild |
116 |
=================================================================== |
117 |
# Copyright 1999-2013 Gentoo Foundation |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.7-r3.ebuild,v 1.1 2013/07/30 07:31:20 maksbotan Exp $ |
120 |
|
121 |
EAPI=5 |
122 |
|
123 |
AUTOTOOLS_AUTORECONF=true |
124 |
|
125 |
inherit autotools-utils linux-info multilib |
126 |
|
127 |
PATCH_VER=3 |
128 |
[[ -n ${PATCH_VER} ]] && \ |
129 |
PATCHSET_URI="http://dev.gentoo.org/~jlec/distfiles/${P}-patches-${PATCH_VER}.tar.lzma" |
130 |
|
131 |
DESCRIPTION="Kernel based automounter" |
132 |
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html" |
133 |
SRC_URI=" |
134 |
mirror://kernel/linux/daemons/${PN}/v5/${P}.tar.bz2 |
135 |
${PATCHSET_URI}" |
136 |
|
137 |
LICENSE="GPL-2" |
138 |
SLOT="0" |
139 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
140 |
IUSE="-dmalloc hesiod ldap libtirpc mount-locking sasl" |
141 |
|
142 |
# USE="sasl" adds SASL support to the LDAP module which will not be build. If |
143 |
# SASL support should be available, please add "ldap" to the USE flags. |
144 |
REQUIRED_USE="sasl? ( ldap )" |
145 |
|
146 |
# currently, sasl code assumes the presence of kerberosV |
147 |
RDEPEND=">=sys-apps/util-linux-2.20 |
148 |
dmalloc? ( dev-libs/dmalloc[threads] ) |
149 |
hesiod? ( net-dns/hesiod ) |
150 |
ldap? ( >=net-nds/openldap-2.0 |
151 |
sasl? ( |
152 |
dev-libs/cyrus-sasl |
153 |
dev-libs/libxml2 |
154 |
virtual/krb5 |
155 |
) |
156 |
) |
157 |
libtirpc? ( net-libs/libtirpc )" |
158 |
|
159 |
DEPEND="${RDEPEND} |
160 |
sys-devel/flex |
161 |
virtual/yacc" |
162 |
|
163 |
CONFIG_CHECK="~AUTOFS4_FS" |
164 |
|
165 |
PATCHES=( |
166 |
# Fix for bug #210762 |
167 |
# Upstream reference: http://thread.gmane.org/gmane.linux.kernel.autofs/4203 |
168 |
"${FILESDIR}"/${PN}-5.0.3-heimdal.patch |
169 |
|
170 |
# Accumulated fixes for bugs |
171 |
# #154797: Respect CC and CFLAGS |
172 |
# #253412: Respect LDFLAGS |
173 |
# #247969: Link order for --as-needed |
174 |
"${FILESDIR}"/${PN}-5.0.7-respect-user-flags-and-fix-asneeded-r3.patch |
175 |
|
176 |
# Upstream reference: http://thread.gmane.org/gmane.linux.kernel.autofs/5371 |
177 |
"${FILESDIR}"/${PN}-5.0.5-fix-install-deadlink.patch |
178 |
|
179 |
"${FILESDIR}"/${P}-add-missing-endif-HAVE_SASL-in-modules-lookup_ldap.c.patch #361899, #468606 |
180 |
"${FILESDIR}"/${PN}-5.0.6-revert-ldap.patch #381315 |
181 |
"${FILESDIR}"/${PN}-5.0.7-sasl-def.patch #469324 |
182 |
"${FILESDIR}"/${PN}-5.0.7-libtirpc-link.patch #464120 |
183 |
"${FILESDIR}"/${PN}-5.0.7-parallel-make.patch |
184 |
) |
185 |
|
186 |
AUTOTOOLS_IN_SOURCE_BUILD=1 |
187 |
|
188 |
src_prepare() { |
189 |
# Upstream's patchset |
190 |
if [[ -n ${PATCH_VER} ]]; then |
191 |
EPATCH_SUFFIX="patch" \ |
192 |
epatch "${WORKDIR}"/patches |
193 |
fi |
194 |
autotools-utils_src_prepare |
195 |
} |
196 |
|
197 |
src_configure() { |
198 |
# --with-confdir is for bug #361481 |
199 |
# --with-mapdir is for bug #385113 |
200 |
# for systemd support (not enabled yet): |
201 |
# --with-systemd |
202 |
# --disable-move-mount: requires kernel >=2.6.39 |
203 |
local myeconfargs=( |
204 |
--with-confdir=/etc/conf.d |
205 |
--with-mapdir=/etc/autofs |
206 |
$(use_with dmalloc) |
207 |
$(use_with ldap openldap) |
208 |
$(use_with libtirpc) |
209 |
$(use_with sasl) |
210 |
$(use_with hesiod) |
211 |
$(use_enable mount-locking) |
212 |
--disable-ext-env |
213 |
--enable-sloppy-mount # bug #453778 |
214 |
--enable-forced-shutdown |
215 |
--enable-ignore-busy |
216 |
) |
217 |
autotools-utils_src_configure |
218 |
} |
219 |
|
220 |
src_install() { |
221 |
autotools-utils_src_install |
222 |
|
223 |
if kernel_is -lt 2 6 30; then |
224 |
# kernel patches |
225 |
docinto patches |
226 |
dodoc patches/${PN}4-2.6.??{,.?{,?}}-v5-update-????????.patch |
227 |
fi |
228 |
newinitd "${FILESDIR}"/autofs5.initd autofs |
229 |
insinto etc/autofs |
230 |
newins "${FILESDIR}"/autofs5-auto.master auto.master |
231 |
} |
232 |
|
233 |
pkg_postinst() { |
234 |
if kernel_is -lt 2 6 30; then |
235 |
elog "This version of ${PN} requires a kernel with autofs4 supporting" |
236 |
elog "protocol version 5.00. Patches for kernels older than 2.6.30 have" |
237 |
elog "been installed into" |
238 |
elog "${EROOT}usr/share/doc/${P}/patches." |
239 |
elog "For further instructions how to patch the kernel, please refer to" |
240 |
elog "${EROOT}usr/share/doc/${P}/INSTALL." |
241 |
elog |
242 |
fi |
243 |
elog "If you plan on using autofs for automounting remote NFS mounts," |
244 |
elog "please check that both portmap (or rpcbind) and rpc.statd/lockd" |
245 |
elog "are running." |
246 |
} |