Gentoo Archives: gentoo-commits

From: "Stefaan De Roeck (stefaan)" <stefaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/autofs: ChangeLog autofs-5.0.3-r4.ebuild autofs-5.0.3-r5.ebuild
Date: Sat, 03 May 2008 09:17:02
Message-Id: E1JsDrX-0004A0-RV@stork.gentoo.org
1 stefaan 08/05/03 09:16:59
2
3 Modified: ChangeLog autofs-5.0.3-r4.ebuild
4 Added: autofs-5.0.3-r5.ebuild
5 Log:
6 Support also heimdal's krb5 implementation (fixes bug #210762) + some QA
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.72 net-fs/autofs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.72&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.72&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?r1=1.71&r2=1.72
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v
19 retrieving revision 1.71
20 retrieving revision 1.72
21 diff -u -r1.71 -r1.72
22 --- ChangeLog 28 Apr 2008 19:53:27 -0000 1.71
23 +++ ChangeLog 3 May 2008 09:16:59 -0000 1.72
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.71 2008/04/28 19:53:27 stefaan Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.72 2008/05/03 09:16:59 stefaan Exp $
29 +
30 +*autofs-5.0.3-r5 (03 May 2008)
31 +
32 + 03 May 2008; Stefaan De Roeck <stefaan@g.o>
33 + +files/autofs-5.0.3-heimdal.patch, autofs-5.0.3-r4.ebuild,
34 + +autofs-5.0.3-r5.ebuild:
35 + Support also heimdal's krb5 implementation (fixes bug #210762) + some QA
36
37 *autofs-5.0.3-r4 (28 Apr 2008)
38
39
40
41
42 1.2 net-fs/autofs/autofs-5.0.3-r4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.3-r4.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.3-r4.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.3-r4.ebuild?r1=1.1&r2=1.2
47
48 Index: autofs-5.0.3-r4.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.3-r4.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- autofs-5.0.3-r4.ebuild 28 Apr 2008 19:53:27 -0000 1.1
55 +++ autofs-5.0.3-r4.ebuild 3 May 2008 09:16:59 -0000 1.2
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2008 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.3-r4.ebuild,v 1.1 2008/04/28 19:53:27 stefaan Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.3-r4.ebuild,v 1.2 2008/05/03 09:16:59 stefaan Exp $
61
62 inherit eutils multilib autotools
63
64 @@ -34,8 +34,8 @@
65
66 src_unpack() {
67 unpack ${P}.tar.bz2
68 - patch ${DISTDIR}/${P}-map-type-in-map-name.patch \
69 - < ${FILESDIR}/${P}-map-patch-fix.patch || die "failed to patch"
70 + patch "${DISTDIR}"/${P}-map-type-in-map-name.patch \
71 + < "${FILESDIR}"/${P}-map-patch-fix.patch || die "failed to patch"
72 PATCH_LIST="
73 ${P}-ldap-page-control-configure-fix.patch
74 ${P}-xfn-not-supported.patch
75
76
77
78 1.1 net-fs/autofs/autofs-5.0.3-r5.ebuild
79
80 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.3-r5.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-5.0.3-r5.ebuild?rev=1.1&content-type=text/plain
82
83 Index: autofs-5.0.3-r5.ebuild
84 ===================================================================
85 # Copyright 1999-2008 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.3-r5.ebuild,v 1.1 2008/05/03 09:16:59 stefaan Exp $
88
89 inherit eutils multilib autotools
90
91 IUSE="ldap sasl"
92 DESCRIPTION="Kernel based automounter"
93 HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
94 SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v5"
95 SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
96 ${SRC_URI_BASE}/${P}-ldap-page-control-configure-fix.patch
97 ${SRC_URI_BASE}/${P}-xfn-not-supported.patch
98 ${SRC_URI_BASE}/${P}-basedn-with-spaces-fix-3.patch
99 ${SRC_URI_BASE}/${P}-nfs4-tcp-only.patch
100 ${SRC_URI_BASE}/${P}-correct-ldap-lib.patch
101 ${SRC_URI_BASE}/${P}-dont-fail-on-empty-master-fix-2.patch
102 ${SRC_URI_BASE}/${P}-expire-works-too-hard.patch
103 ${SRC_URI_BASE}/${P}-unlink-mount-return-fix.patch
104 ${SRC_URI_BASE}/${P}-update-linux-auto_fs4-h.patch
105 ${SRC_URI_BASE}/${P}-expire-works-too-hard-update.patch
106 ${SRC_URI_BASE}/${P}-expire-works-too-hard-update-2.patch
107 ${SRC_URI_BASE}/${P}-handle-zero-length-nis-key.patch
108 ${SRC_URI_BASE}/${PN}-5.0.2-init-cb-on-load.patch
109 ${SRC_URI_BASE}/${P}-map-type-in-map-name.patch
110 ${SRC_URI_BASE}/${P}-mount-thread-create-cond-handling.patch"
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 SLOT="0"
116 LICENSE="GPL-2"
117 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
118
119 src_unpack() {
120 unpack ${P}.tar.bz2
121 patch "${DISTDIR}"/${P}-map-type-in-map-name.patch \
122 < "${FILESDIR}"/${P}-map-patch-fix.patch || die "failed to patch"
123 PATCH_LIST="
124 ${P}-ldap-page-control-configure-fix.patch
125 ${P}-xfn-not-supported.patch
126 ${P}-basedn-with-spaces-fix-3.patch
127 ${P}-nfs4-tcp-only.patch
128 ${P}-correct-ldap-lib.patch
129 ${P}-dont-fail-on-empty-master-fix-2.patch
130 ${P}-expire-works-too-hard.patch
131 ${P}-unlink-mount-return-fix.patch
132 ${P}-update-linux-auto_fs4-h.patch
133 ${P}-expire-works-too-hard-update.patch
134 ${P}-expire-works-too-hard-update-2.patch
135 ${P}-handle-zero-length-nis-key.patch
136 ${PN}-5.0.2-init-cb-on-load.patch
137 ${P}-map-type-in-map-name.patch
138 ${P}-mount-thread-create-cond-handling.patch"
139 for i in ${PATCH_LIST}; do
140 EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
141 done
142
143 # fixes bug #210762
144 epatch "${FILESDIR}"/${P}-heimdal.patch
145
146 cd "${S}"
147
148 # # use CC and CFLAGS from environment (bug #154797)
149 # write these values in Makefile.conf
150 (echo "# Use the compiler and cflags determined by configure";
151 echo "CC := @CC@"; echo "CFLAGS := @CFLAGS@") >> Makefile.conf.in
152 # make sure Makefile.conf is parsed after Makefile.rules
153 sed -ni '/include Makefile.conf/{x; n; G}; p' Makefile
154 sed -i 's/^\(CC\|CXX\).*//' Makefile.rules
155 sed -i 's/^CFLAGS=-fPIE.*//' configure.in
156
157 # do not include <nfs/nfs.h>, rather <linux/nfs.h>,
158 # as the former is a lame header for the latter (bug #157968)
159 sed -i 's@nfs/nfs.h@linux/nfs.h@' include/rpc_subs.h
160
161 eautoreconf || die "Autoconf failed"
162 }
163
164 src_compile() {
165 CFLAGS="${CFLAGS}" \
166 econf \
167 $(use_with ldap openldap) \
168 $(use_with sasl) \
169 --enable-ignore-busy \
170 || die "configure failed"
171
172 emake DONTSTRIP=1 || die "make failed"
173 }
174
175 src_install() {
176 make DESTDIR="${D}" install || die "make install failed"
177
178 newinitd "${FILESDIR}"/autofs5.rc1 autofs
179 }
180
181 pkg_postinst() {
182 elog "Note: If you plan on using autofs for automounting"
183 elog "remote NFS mounts without having the NFS daemon running"
184 elog "please add portmap to your default run-level."
185 }
186
187
188
189 --
190 gentoo-commits@l.g.o mailing list