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