1 |
robbat2 08/08/28 00:00:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: autofs-5.0.3-r6.ebuild |
5 |
Log: |
6 |
Bump to include more patches from upstream, fixes LDAP functionality in large deployments. |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.75 net-fs/autofs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.75&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.75&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?r1=1.74&r2=1.75 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v |
19 |
retrieving revision 1.74 |
20 |
retrieving revision 1.75 |
21 |
diff -p -w -b -B -u -u -r1.74 -r1.75 |
22 |
--- ChangeLog 12 May 2008 21:45:33 -0000 1.74 |
23 |
+++ ChangeLog 28 Aug 2008 00:00:26 -0000 1.75 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for net-fs/autofs |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.74 2008/05/12 21:45:33 solar Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.75 2008/08/28 00:00:26 robbat2 Exp $ |
29 |
+ |
30 |
+*autofs-5.0.3-r6 (27 Aug 2008) |
31 |
+ |
32 |
+ 27 Aug 2008; Robin H. Johnson <robbat2@g.o> |
33 |
+ +autofs-5.0.3-r6.ebuild: |
34 |
+ Bump to include more patches from upstream, fixes LDAP functionality in |
35 |
+ large deployments. |
36 |
|
37 |
12 May 2008; <solar@g.o> autofs-5.0.3-r5.ebuild: |
38 |
- Keyworded ~arm per request. Builds native but fails at cross-compiles. |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-fs/autofs/autofs-5.0.3-r6.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.3-r6.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.3-r6.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: autofs-5.0.3-r6.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.3-r6.ebuild,v 1.1 2008/08/28 00:00:26 robbat2 Exp $ |
52 |
|
53 |
inherit eutils multilib autotools |
54 |
|
55 |
IUSE="ldap sasl" |
56 |
DESCRIPTION="Kernel based automounter" |
57 |
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html" |
58 |
SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v5" |
59 |
# This list is taken directly from http://kernel.org/pub/linux/daemons/autofs/v5/patch_order-5.0.3 |
60 |
# Please do not modify the order |
61 |
PATCH_LIST=" |
62 |
${P}-ldap-page-control-configure-fix.patch |
63 |
${P}-xfn-not-supported.patch |
64 |
${P}-basedn-with-spaces-fix-3.patch |
65 |
${P}-nfs4-tcp-only.patch |
66 |
${P}-correct-ldap-lib.patch |
67 |
${P}-dont-fail-on-empty-master-fix-2.patch |
68 |
${P}-expire-works-too-hard.patch |
69 |
${P}-unlink-mount-return-fix.patch |
70 |
${P}-update-linux-auto_fs4-h.patch |
71 |
${P}-expire-works-too-hard-update.patch |
72 |
${P}-expire-works-too-hard-update-2.patch |
73 |
${P}-handle-zero-length-nis-key.patch |
74 |
${PN}-5.0.2-init-cb-on-load.patch |
75 |
${P}-map-type-in-map-name.patch |
76 |
${P}-mount-thread-create-cond-handling.patch |
77 |
${P}-check-for-kernel-automount.patch |
78 |
${P}-nss-source-any.patch |
79 |
${P}-dont-abuse-ap-ghost-field.patch |
80 |
${P}-lookup-next-soucre-stale-entry.patch |
81 |
${P}-remove-redundant-dns-name-lookups.patch |
82 |
${P}-mount-thread-create-cond-handling-fix.patch |
83 |
${P}-allow-dir-create-on-nfs-root.patch |
84 |
${P}-check-direct-path-len.patch |
85 |
${P}-fix-get-user-info-check.patch |
86 |
${P}-fix-couple-of-memory-leaks.patch |
87 |
${P}-override-is-running-check.patch |
88 |
${P}-dont-use-proc-for-is-running-check.patch |
89 |
${P}-fix-included-browse-map-not-found.patch |
90 |
${P}-fix-multi-source-messages.patch |
91 |
${P}-clear-stale-on-map-read.patch |
92 |
${P}-fix-proximity-other-timeout.patch |
93 |
${P}-refactor-mount-request-vars.patch |
94 |
${P}-make-handle_mounts-startup-cond-distinct.patch |
95 |
${P}-submount-shutdown-recovery-12.patch |
96 |
${P}-dont-block-on-expire.patch |
97 |
${P}-add-umount_wait-parameter.patch |
98 |
${P}-fix-multi-mount-race.patch |
99 |
${P}-submount-shutdown-recovery-12-fix.patch |
100 |
${P}-fix-nfs4-colon-escape.patch |
101 |
${P}-check-replicated-list-after-probe.patch |
102 |
${P}-add-replicated-debug-logging.patch |
103 |
${P}-update-replicated-doco.patch |
104 |
${P}-use-dev-urandom.patch |
105 |
${P}-mtab-as-proc-mounts.patch |
106 |
${P}-fix-ifc-buff-size.patch |
107 |
${P}-fix-percent-hack.patch |
108 |
${P}-fix-ifc-buff-size-fix.patch |
109 |
${P}-mtab-as-proc-mounts-fix.patch" |
110 |
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2" |
111 |
for i in ${PATCH_LIST} ; do |
112 |
SRC_URI="${SRC_URI} ${SRC_URI_BASE}/${i}" |
113 |
done ; |
114 |
DEPEND="virtual/libc |
115 |
ldap? ( >=net-nds/openldap-2.0 ) |
116 |
sasl? ( virtual/krb5 )" |
117 |
# currently, sasl code assumes the presence of kerberosV |
118 |
SLOT="0" |
119 |
LICENSE="GPL-2" |
120 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
121 |
|
122 |
src_unpack() { |
123 |
unpack ${P}.tar.bz2 |
124 |
for i in ${PATCH_LIST}; do |
125 |
cp ${DISTDIR}/${i} ${T} |
126 |
done |
127 |
patch "${T}"/${P}-map-type-in-map-name.patch \ |
128 |
< "${FILESDIR}"/${P}-map-patch-fix.patch || die "failed to patch" |
129 |
for i in ${PATCH_LIST}; do |
130 |
EPATCH_OPTS="-p1 -d ${S}" epatch ${T}/${i} |
131 |
rm -f ${T}/${i} |
132 |
done |
133 |
|
134 |
# fixes bug #210762 |
135 |
epatch "${FILESDIR}"/${P}-heimdal.patch |
136 |
|
137 |
cd "${S}" |
138 |
|
139 |
# # use CC and CFLAGS from environment (bug #154797) |
140 |
# write these values in Makefile.conf |
141 |
(echo "# Use the compiler and cflags determined by configure"; |
142 |
echo "CC := @CC@"; echo "CFLAGS := @CFLAGS@") >> Makefile.conf.in |
143 |
# make sure Makefile.conf is parsed after Makefile.rules |
144 |
sed -ni '/include Makefile.conf/{x; n; G}; p' Makefile |
145 |
sed -i 's/^\(CC\|CXX\).*//' Makefile.rules |
146 |
sed -i 's/^CFLAGS=-fPIE.*//' configure.in |
147 |
|
148 |
# do not include <nfs/nfs.h>, rather <linux/nfs.h>, |
149 |
# as the former is a lame header for the latter (bug #157968) |
150 |
sed -i 's@nfs/nfs.h@linux/nfs.h@' include/rpc_subs.h |
151 |
|
152 |
eautoreconf || die "Autoconf failed" |
153 |
} |
154 |
|
155 |
src_compile() { |
156 |
CFLAGS="${CFLAGS}" \ |
157 |
econf \ |
158 |
$(use_with ldap openldap) \ |
159 |
$(use_with sasl) \ |
160 |
--enable-ignore-busy \ |
161 |
|| die "configure failed" |
162 |
|
163 |
emake DONTSTRIP=1 || die "make failed" |
164 |
} |
165 |
|
166 |
src_install() { |
167 |
make DESTDIR="${D}" install || die "make install failed" |
168 |
|
169 |
newinitd "${FILESDIR}"/autofs5.rc1 autofs |
170 |
} |
171 |
|
172 |
pkg_postinst() { |
173 |
elog "Note: If you plan on using autofs for automounting" |
174 |
elog "remote NFS mounts without having the NFS daemon running" |
175 |
elog "please add portmap to your default run-level." |
176 |
} |