1 |
stefaan 09/01/31 11:48:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: autofs-5.0.4-r2.ebuild |
5 |
Removed: autofs-5.0.4-r1.ebuild |
6 |
Log: |
7 |
Update upstream patch set |
8 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.79 net-fs/autofs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.79&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.79&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?r1=1.78&r2=1.79 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v |
20 |
retrieving revision 1.78 |
21 |
retrieving revision 1.79 |
22 |
diff -u -r1.78 -r1.79 |
23 |
--- ChangeLog 20 Jan 2009 09:09:43 -0000 1.78 |
24 |
+++ ChangeLog 31 Jan 2009 11:48:35 -0000 1.79 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-fs/autofs |
27 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.78 2009/01/20 09:09:43 stefaan Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.79 2009/01/31 11:48:35 stefaan Exp $ |
30 |
+ |
31 |
+*autofs-5.0.4-r2 (31 Jan 2009) |
32 |
+ |
33 |
+ 31 Jan 2009; Stefaan De Roeck <stefaan@g.o> |
34 |
+ -autofs-5.0.4-r1.ebuild, +autofs-5.0.4-r2.ebuild: |
35 |
+ Update upstream patch set |
36 |
|
37 |
*autofs-5.0.4-r1 (20 Jan 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-fs/autofs/autofs-5.0.4-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.4-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.4-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: autofs-5.0.4-r2.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-r2.ebuild,v 1.1 2009/01/31 11:48:35 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 |
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2" |
71 |
for i in ${PATCH_LIST} ; do |
72 |
SRC_URI="${SRC_URI} ${SRC_URI_BASE}/${i}" |
73 |
done ; |
74 |
DEPEND="virtual/libc |
75 |
ldap? ( >=net-nds/openldap-2.0 ) |
76 |
sasl? ( virtual/krb5 )" |
77 |
# currently, sasl code assumes the presence of kerberosV |
78 |
RDEPEND="${DEPEND}" |
79 |
SLOT="0" |
80 |
LICENSE="GPL-2" |
81 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
82 |
|
83 |
src_unpack() { |
84 |
unpack ${P}.tar.bz2 |
85 |
for i in ${PATCH_LIST}; do |
86 |
EPATCH_OPTS="-p1 -d ${S}" epatch "${DISTDIR}"/${i} |
87 |
done |
88 |
|
89 |
cd "${S}" |
90 |
|
91 |
# fixes bug #210762 |
92 |
epatch "${FILESDIR}"/${PN}-5.0.3-heimdal.patch |
93 |
|
94 |
# fixes bugs #253412 and #247969 |
95 |
epatch "${FILESDIR}"/${P}-user-ldflags-and-as-needed.patch |
96 |
|
97 |
# # use CC and CFLAGS from environment (bug #154797) |
98 |
# write these values in Makefile.conf |
99 |
(echo "# Use the compiler and cflags determined by configure"; |
100 |
echo "CC := @CC@"; echo "CFLAGS := @CFLAGS@") >> Makefile.conf.in |
101 |
# make sure Makefile.conf is parsed after Makefile.rules |
102 |
sed -ni '/include Makefile.conf/{x; n; G}; p' Makefile |
103 |
sed -i 's/^\(CC\|CXX\).*//' Makefile.rules |
104 |
sed -i 's/^CFLAGS=-fPIE.*//' configure.in |
105 |
|
106 |
# do not include <nfs/nfs.h>, rather <linux/nfs.h>, |
107 |
# as the former is a lame header for the latter (bug #157968) |
108 |
sed -i 's@nfs/nfs.h@linux/nfs.h@' include/rpc_subs.h |
109 |
|
110 |
eautoreconf || die "Autoconf failed" |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
CFLAGS="${CFLAGS}" \ |
115 |
econf \ |
116 |
$(use_with ldap openldap) \ |
117 |
$(use_with sasl) \ |
118 |
--enable-ignore-busy \ |
119 |
|| die "configure failed" |
120 |
|
121 |
emake DONTSTRIP=1 || die "make failed" |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
make DESTDIR="${D}" install || die "make install failed" |
126 |
|
127 |
newinitd "${FILESDIR}"/autofs5.rc1 autofs |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
elog "Note: If you plan on using autofs for automounting" |
132 |
elog "remote NFS mounts without having the NFS daemon running" |
133 |
elog "please add portmap to your default run-level." |
134 |
} |