1 |
stefaan 08/04/28 13:32:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: autofs-5.0.3-r3.ebuild |
5 |
Log: |
6 |
Revision bump to include the most recent patches + to fix bugs #157968 and #154797 |
7 |
(Portage version: 2.1.5_rc6) |
8 |
|
9 |
Revision Changes Path |
10 |
1.70 net-fs/autofs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.70&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.70&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?r1=1.69&r2=1.70 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v |
19 |
retrieving revision 1.69 |
20 |
retrieving revision 1.70 |
21 |
diff -u -r1.69 -r1.70 |
22 |
--- ChangeLog 18 Feb 2008 13:42:23 -0000 1.69 |
23 |
+++ ChangeLog 28 Apr 2008 13:32:32 -0000 1.70 |
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.69 2008/02/18 13:42:23 stefaan Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.70 2008/04/28 13:32:32 stefaan Exp $ |
29 |
+ |
30 |
+*autofs-5.0.3-r3 (28 Apr 2008) |
31 |
+ |
32 |
+ 28 Apr 2008; Stefaan De Roeck <stefaan@g.o> |
33 |
+ +autofs-5.0.3-r3.ebuild: |
34 |
+ Revision bump to include the most recent patches + to fix bugs #157968 and |
35 |
+ #154797 |
36 |
|
37 |
*autofs-5.0.3-r2 (18 Feb 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-fs/autofs/autofs-5.0.3-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.3-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.3-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: autofs-5.0.3-r3.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-r3.ebuild,v 1.1 2008/04/28 13:32:32 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 |
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2 |
60 |
${SRC_URI_BASE}/${P}-ldap-page-control-configure-fix.patch |
61 |
${SRC_URI_BASE}/${P}-xfn-not-supported.patch |
62 |
${SRC_URI_BASE}/${P}-basedn-with-spaces-fix-3.patch |
63 |
${SRC_URI_BASE}/${P}-nfs4-tcp-only.patch |
64 |
${SRC_URI_BASE}/${P}-correct-ldap-lib.patch |
65 |
${SRC_URI_BASE}/${P}-dont-fail-on-empty-master-fix-2.patch |
66 |
${SRC_URI_BASE}/${P}-expire-works-too-hard.patch |
67 |
${SRC_URI_BASE}/${P}-unlink-mount-return-fix.patch |
68 |
${SRC_URI_BASE}/${P}-update-linux-auto_fs4-h.patch |
69 |
${SRC_URI_BASE}/${P}-expire-works-too-hard-update.patch |
70 |
${SRC_URI_BASE}/${P}-expire-works-too-hard-update-2.patch |
71 |
${SRC_URI_BASE}/${P}-handle-zero-length-nis-key.patch |
72 |
${SRC_URI_BASE}/${PN}-5.0.2-init-cb-on-load.patch |
73 |
${SRC_URI_BASE}/${P}-map-type-in-map-name.patch |
74 |
${SRC_URI_BASE}/${P}-mount-thread-create-cond-handling.patch" |
75 |
DEPEND="virtual/libc |
76 |
ldap? ( >=net-nds/openldap-2.0 ) |
77 |
sasl? ( virtual/krb5 )" |
78 |
# currently, sasl code assumes the presence of kerberosV |
79 |
SLOT="0" |
80 |
LICENSE="GPL-2" |
81 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
82 |
|
83 |
src_unpack() { |
84 |
unpack ${P}.tar.bz2 |
85 |
PATCH_LIST=" |
86 |
${P}-ldap-page-control-configure-fix.patch |
87 |
${P}-xfn-not-supported.patch |
88 |
${P}-basedn-with-spaces-fix-3.patch |
89 |
${P}-nfs4-tcp-only.patch |
90 |
${P}-correct-ldap-lib.patch |
91 |
${P}-dont-fail-on-empty-master-fix-2.patch |
92 |
${P}-expire-works-too-hard.patch |
93 |
${P}-unlink-mount-return-fix.patch |
94 |
${P}-update-linux-auto_fs4-h.patch |
95 |
${P}-expire-works-too-hard-update.patch |
96 |
${P}-expire-works-too-hard-update-2.patch |
97 |
${P}-handle-zero-length-nis-key.patch |
98 |
${PN}-5.0.2-init-cb-on-load.patch |
99 |
${P}-map-type-in-map-name.patch |
100 |
${P}-mount-thread-create-cond-handling.patch" |
101 |
for i in ${PATCH_LIST}; do |
102 |
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i} |
103 |
done |
104 |
|
105 |
cd "${S}" |
106 |
|
107 |
# # use CC and CFLAGS from environment (bug #154797) |
108 |
# write these values in Makefile.conf |
109 |
(echo "# Use the compiler and cflags determined by configure"; |
110 |
echo "CC := @CC@"; echo "CFLAGS := @CFLAGS@") >> Makefile.conf.in |
111 |
# make sure Makefile.conf is parsed after Makefile.rules |
112 |
sed -ni '/include Makefile.conf/{x; n; G}; p' Makefile |
113 |
sed -i 's/^\(CC\|CXX\).*//' Makefile.rules |
114 |
sed -i 's/^CFLAGS=-fPIE.*//' configure.in |
115 |
|
116 |
# do not include <nfs/nfs.h>, rather <linux/nfs.h>, |
117 |
# as the former is a lame header for the latter (bug #157968) |
118 |
sed -i 's@nfs/nfs.h@linux/nfs.h@' include/rpc_subs.h |
119 |
|
120 |
eautoreconf || die "Autoconf failed" |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
CFLAGS="${CFLAGS}" \ |
125 |
econf \ |
126 |
$(use_with ldap openldap) \ |
127 |
$(use_with sasl) \ |
128 |
--enable-ignore-busy \ |
129 |
|| die "configure failed" |
130 |
|
131 |
emake || die "make failed" |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
make DESTDIR="${D}" install || die "make install failed" |
136 |
|
137 |
newinitd "${FILESDIR}"/autofs5.rc1 autofs |
138 |
} |
139 |
|
140 |
pkg_postinst() { |
141 |
elog "Note: If you plan on using autofs for automounting" |
142 |
elog "remote NFS mounts without having the NFS daemon running" |
143 |
elog "please add portmap to your default run-level." |
144 |
} |
145 |
|
146 |
|
147 |
|
148 |
-- |
149 |
gentoo-commits@l.g.o mailing list |