1 |
stefaan 09/04/27 09:04:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: autofs-5.0.4-r3.ebuild |
5 |
Log: |
6 |
Update patch set, probably fixing bugs #253806 and #255369 |
7 |
(Portage version: 2.2_rc31/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.84 net-fs/autofs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.84&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.84&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?r1=1.83&r2=1.84 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v |
19 |
retrieving revision 1.83 |
20 |
retrieving revision 1.84 |
21 |
diff -u -r1.83 -r1.84 |
22 |
--- ChangeLog 8 Apr 2009 13:14:10 -0000 1.83 |
23 |
+++ ChangeLog 27 Apr 2009 09:04:27 -0000 1.84 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for net-fs/autofs |
26 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.83 2009/04/08 13:14:10 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.84 2009/04/27 09:04:27 stefaan Exp $ |
29 |
+ |
30 |
+*autofs-5.0.4-r3 (27 Apr 2009) |
31 |
+ |
32 |
+ 27 Apr 2009; Stefaan De Roeck <stefaan@g.o> |
33 |
+ +files/autofs-5.0.4-user-ldflags-and-as-needed-v2.patch, |
34 |
+ +autofs-5.0.4-r3.ebuild: |
35 |
+ Update patch set, probably fixing bugs #253806 and #255369 |
36 |
|
37 |
08 Apr 2009; Raúl Porcel <armin76@g.o> autofs-5.0.3-r6.ebuild: |
38 |
arm/ia64/sparc stable wrt #257097 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-fs/autofs/autofs-5.0.4-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.4-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.4-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: autofs-5.0.4-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 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.4-r3.ebuild,v 1.1 2009/04/27 09:04:27 stefaan 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}-fix-dumb-libxml2-check.patch |
63 |
${P}-expire-specific-submount-only.patch |
64 |
${P}-fix-negative-cache-non-existent-key.patch |
65 |
${P}-fix-ldap-detection.patch |
66 |
${P}-use-CLOEXEC-flag.patch |
67 |
${P}-fix-select-fd-limit.patch |
68 |
${P}-make-hash-table-scale-to-thousands-of-entries.patch |
69 |
${P}-fix-quoted-mess.patch |
70 |
${P}-use-CLOEXEC-flag-setmntent.patch |
71 |
${P}-fix-hosts-map-use-after-free.patch |
72 |
${P}-uris-list-locking-fix.patch |
73 |
${P}-renew-sasl-creds-upon-reconnect-fail.patch |
74 |
${P}-library-reload-fix-update.patch |
75 |
${P}-force-unlink-umount.patch |
76 |
${P}-always-read-file-maps.patch |
77 |
${P}-code-analysis-corrections.patch |
78 |
${P}-make-MAX_ERR_BUF-and-PARSE_MAX_BUF-use-easier-to-audit.patch |
79 |
${P}-easy-alloca-replacements.patch |
80 |
${P}-configure-libtirpc.patch |
81 |
${P}-ipv6-name-and-address-support.patch |
82 |
${P}-ipv6-parse.patch |
83 |
${P}-add-missing-changelog-entries.patch |
84 |
${P}-use-CLOEXEC-flag-setmntent-include-fix.patch |
85 |
${P}-easy-alloca-replacements-fix.patch |
86 |
${P}-libxml2-workaround-fix.patch |
87 |
${P}-configure-libtirpc-fix.patch |
88 |
${P}-add-nfs-mount-proto-default-conf-option.patch |
89 |
${P}-fix-bad-token-declare.patch |
90 |
${P}-fix-return-start-status-on-fail.patch |
91 |
${P}-fix-double-free-in-expire_proc.patch |
92 |
${P}-another-easy-alloca-replacements-fix.patch |
93 |
${P}-add-lsb-init-script-parameter-block.patch |
94 |
${P}-always-read-file-maps-fix.patch |
95 |
${P}-use-misc-device.patch |
96 |
${P}-fix-restorecon.patch |
97 |
${P}-clear-rpc-client-on-lookup-fail.patch |
98 |
${P}-fix-lsb-init-script-header.patch |
99 |
${P}-fix-memory-leak-reading-ldap-master.patch |
100 |
${P}-fix-st_remove_tasks-locking.patch |
101 |
${P}-reset-flex-scanner-when-setting-buffer.patch |
102 |
${P}-zero-s_magic-is-valid.patch |
103 |
${P}-use-percent-hack-for-master.patch |
104 |
${P}-use-intr-as-hosts-mount-default.patch |
105 |
${P}-fix-kernel-includes.patch |
106 |
${P}-dont-umount-existing-direct-mount-on-reread.patch" |
107 |
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2" |
108 |
for i in ${PATCH_LIST} ; do |
109 |
SRC_URI="${SRC_URI} ${SRC_URI_BASE}/${i}" |
110 |
done ; |
111 |
DEPEND="virtual/libc |
112 |
ldap? ( >=net-nds/openldap-2.0 ) |
113 |
sasl? ( virtual/krb5 )" |
114 |
# currently, sasl code assumes the presence of kerberosV |
115 |
RDEPEND="${DEPEND}" |
116 |
SLOT="0" |
117 |
LICENSE="GPL-2" |
118 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
119 |
|
120 |
src_unpack() { |
121 |
unpack ${P}.tar.bz2 |
122 |
for i in ${PATCH_LIST}; do |
123 |
EPATCH_OPTS="-p1 -d ${S}" epatch "${DISTDIR}"/${i} |
124 |
done |
125 |
|
126 |
cd "${S}" |
127 |
|
128 |
# fixes bug #210762 |
129 |
epatch "${FILESDIR}"/${PN}-5.0.3-heimdal.patch |
130 |
|
131 |
# fixes bugs #253412 and #247969 |
132 |
epatch "${FILESDIR}"/${P}-user-ldflags-and-as-needed-v2.patch |
133 |
|
134 |
# # use CC and CFLAGS from environment (bug #154797) |
135 |
# write these values in Makefile.conf |
136 |
(echo "# Use the compiler and cflags determined by configure"; |
137 |
echo "CC := @CC@"; echo "CFLAGS := @CFLAGS@") >> Makefile.conf.in |
138 |
# make sure Makefile.conf is parsed after Makefile.rules |
139 |
sed -ni '/include Makefile.conf/{x; n; G}; p' Makefile |
140 |
sed -i 's/^\(CC\|CXX\).*//' Makefile.rules |
141 |
sed -i 's/^CFLAGS=-fPIE.*//' configure.in |
142 |
|
143 |
# do not include <nfs/nfs.h>, rather <linux/nfs.h>, |
144 |
# as the former is a lame header for the latter (bug #157968) |
145 |
sed -i 's@nfs/nfs.h@linux/nfs.h@' include/rpc_subs.h |
146 |
|
147 |
eautoreconf || die "Autoconf failed" |
148 |
} |
149 |
|
150 |
src_compile() { |
151 |
CFLAGS="${CFLAGS}" \ |
152 |
econf \ |
153 |
$(use_with ldap openldap) \ |
154 |
$(use_with sasl) \ |
155 |
--enable-ignore-busy \ |
156 |
|| die "configure failed" |
157 |
|
158 |
emake DONTSTRIP=1 || die "make failed" |
159 |
} |
160 |
|
161 |
src_install() { |
162 |
make DESTDIR="${D}" install || die "make install failed" |
163 |
|
164 |
newinitd "${FILESDIR}"/autofs5.rc1 autofs |
165 |
} |
166 |
|
167 |
pkg_postinst() { |
168 |
elog "Note: If you plan on using autofs for automounting" |
169 |
elog "remote NFS mounts without having the NFS daemon running" |
170 |
elog "please add portmap to your default run-level." |
171 |
} |