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