1 |
pva 11/04/03 09:49:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: autofs-5.0.5-r1.ebuild |
5 |
Log: |
6 |
Rev bump, bug #346537. Mention nfs-utils in elog for NFS mounts, bug 163210 reported by Kai Krakow. Fixed ldap module linkage with krb5, bug 285216 reported by Jonas Jonsson and bug 302377 reported by Duncan Exon Smith. Finally respect LDFLAGS, bug 333971 wrt Cyprien Nicolas (fulax). Incoporate upstream fix to fix ghost entries upon SIGHUP, bug 340761 reported by Faustus. Avoid /etc/mtab access violation, bug 355975 thank Sean McGovern for report. Install /etc/conf.d/autofs on systems with /etc/sysconfig dir, bug 361481 thank Juergen Rose for report. And of course thank Dustin Polke - autofs maintainer! |
7 |
|
8 |
(Portage version: 2.1.9.45/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.99 net-fs/autofs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.99&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.99&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/ChangeLog?r1=1.98&r2=1.99 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v |
20 |
retrieving revision 1.98 |
21 |
retrieving revision 1.99 |
22 |
diff -u -r1.98 -r1.99 |
23 |
--- ChangeLog 29 Sep 2010 16:54:27 -0000 1.98 |
24 |
+++ ChangeLog 3 Apr 2011 09:49:15 -0000 1.99 |
25 |
@@ -1,6 +1,22 @@ |
26 |
# ChangeLog for net-fs/autofs |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.98 2010/09/29 16:54:27 jer Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.99 2011/04/03 09:49:15 pva Exp $ |
31 |
+ |
32 |
+*autofs-5.0.5-r1 (03 Apr 2011) |
33 |
+ |
34 |
+ 03 Apr 2011; Peter Volkov <pva@g.o> +autofs-5.0.5-r1.ebuild, |
35 |
+ +files/autofs5.initd, +files/autofs-5.0.5-fix-building-without-ldap.patch, |
36 |
+ +files/autofs-5.0.5-fix-install-deadlink.patch, |
37 |
+ +files/autofs-5.0.5-respect-user-flags-and-fix-asneeded-v1.patch: |
38 |
+ Rev bump, bug #346537. Mention nfs-utils in elog for NFS mounts, bug 163210 |
39 |
+ reported by Kai Krakow. Fixed ldap module linkage with krb5, bug 285216 |
40 |
+ reported by Jonas Jonsson and bug 302377 reported by Duncan Exon Smith. |
41 |
+ Finally respect LDFLAGS, bug 333971 wrt Cyprien Nicolas (fulax). Incoporate |
42 |
+ upstream fix to fix ghost entries upon SIGHUP, bug 340761 reported by |
43 |
+ Faustus. Avoid /etc/mtab access violation, bug 355975 thank Sean McGovern for |
44 |
+ report. Install /etc/conf.d/autofs on systems with /etc/sysconfig dir, bug |
45 |
+ 361481 thank Juergen Rose for report. And of course thank Dustin Polke - |
46 |
+ autofs maintainer! |
47 |
|
48 |
29 Sep 2010; Jeroen Roovers <jer@g.o> autofs-5.0.4-r5.ebuild: |
49 |
Stable for HPPA (bug #292147). |
50 |
|
51 |
|
52 |
|
53 |
1.1 net-fs/autofs/autofs-5.0.5-r1.ebuild |
54 |
|
55 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/autofs-5.0.5-r1.ebuild?rev=1.1&view=markup |
56 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/autofs/autofs-5.0.5-r1.ebuild?rev=1.1&content-type=text/plain |
57 |
|
58 |
Index: autofs-5.0.5-r1.ebuild |
59 |
=================================================================== |
60 |
# Copyright 1999-2011 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.5-r1.ebuild,v 1.1 2011/04/03 09:49:15 pva Exp $ |
63 |
|
64 |
EAPI="4" |
65 |
inherit eutils multilib autotools linux-info |
66 |
|
67 |
DESCRIPTION="Kernel based automounter" |
68 |
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html" |
69 |
PATCH_VER="3" |
70 |
SRC_URI="mirror://kernel/linux/daemons/${PN}/v5/${P}.tar.bz2 |
71 |
mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma" |
72 |
|
73 |
LICENSE="GPL-2" |
74 |
SLOT="0" |
75 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
76 |
IUSE="hesiod ldap sasl" |
77 |
|
78 |
# USE="sasl" adds SASL support to the LDAP module which will not be build. If |
79 |
# SASL support should be available, please add "ldap" to the USE flags. |
80 |
REQUIRED_USE="sasl? ( ldap )" |
81 |
|
82 |
# currently, sasl code assumes the presence of kerberosV |
83 |
RDEPEND="hesiod? ( net-dns/hesiod ) |
84 |
ldap? ( >=net-nds/openldap-2.0 |
85 |
sasl? ( dev-libs/cyrus-sasl |
86 |
dev-libs/libxml2 |
87 |
virtual/krb5 ) )" |
88 |
DEPEND="${RDEPEND}" |
89 |
|
90 |
src_prepare() { |
91 |
# Upstream's patchset |
92 |
EPATCH_SUFFIX="patch" \ |
93 |
epatch "${WORKDIR}"/patches |
94 |
|
95 |
# Fix for bug #210762 |
96 |
# Upstream reference: http://thread.gmane.org/gmane.linux.kernel.autofs/4203 |
97 |
epatch "${FILESDIR}"/${PN}-5.0.3-heimdal.patch |
98 |
|
99 |
# Accumulated fixes for bugs |
100 |
# #154797: Respect CC and CFLAGS |
101 |
# #253412: Respect LDFLAGS |
102 |
# #247969: Link order for --as-needed |
103 |
epatch "${FILESDIR}"/${P}-respect-user-flags-and-fix-asneeded-v1.patch |
104 |
|
105 |
# do not include <nfs/nfs.h>, rather <linux/nfs.h>, |
106 |
# as the former is a lame header for the latter (bug #157968) |
107 |
sed 's@nfs/nfs.h@linux/nfs.h@' -i include/rpc_subs.h || die |
108 |
|
109 |
# Upstream reference: http://thread.gmane.org/gmane.linux.kernel.autofs/5591 |
110 |
epatch "${FILESDIR}"/${P}-fix-building-without-sasl.patch |
111 |
|
112 |
# Upstream reference: http://thread.gmane.org/gmane.linux.kernel.autofs/5371 |
113 |
epatch "${FILESDIR}"/${P}-fix-install-deadlink.patch |
114 |
|
115 |
# Upstream reference: http://thread.gmane.org/gmane.linux.kernel.autofs/6039 |
116 |
# Disable LDAP specific code if USE="-ldap", let's see what upstream says... |
117 |
epatch "${FILESDIR}"/${P}-fix-building-without-ldap.patch |
118 |
|
119 |
eautoreconf |
120 |
} |
121 |
|
122 |
src_configure() { |
123 |
# work around bug #355975 (mount modifies timestamp of /etc/mtab) |
124 |
# with >=sys-apps/util-linux-2.19, |
125 |
addpredict "/etc/mtab" |
126 |
|
127 |
# --with-confdir is for bug #361481 |
128 |
econf \ |
129 |
--with-confdir=/etc/conf.d \ |
130 |
$(use_with ldap openldap) \ |
131 |
$(use_with sasl) \ |
132 |
$(use_with hesiod) \ |
133 |
--enable-ignore-busy |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
emake DESTDIR="${D}" install |
138 |
|
139 |
dodoc README* CHANGELOG CREDITS COPYRIGHT INSTALL |
140 |
|
141 |
# kernel patches |
142 |
docinto patches |
143 |
dodoc patches/${PN}4-2.6.??{,.?{,?}}-v5-update-????????.patch |
144 |
|
145 |
newinitd "${FILESDIR}"/autofs5.initd autofs |
146 |
} |
147 |
|
148 |
pkg_postinst() { |
149 |
if kernel_is -lt 2 6 30; then |
150 |
elog "This version of ${PN} requires a kernel with autofs4 supporting" |
151 |
elog "protocol version 5.00. Patches for kernels older than 2.6.30 have" |
152 |
elog "been installed into" |
153 |
elog "${EROOT}usr/share/doc/${P}/patches." |
154 |
elog "For further instructions how to patch the kernel, please refer to" |
155 |
elog "${EROOT}usr/share/doc/${P}/INSTALL." |
156 |
elog |
157 |
fi |
158 |
elog "If you plan on using autofs for automounting remote NFS mounts," |
159 |
elog "please check that both portmap (or rpcbind) and rpc.statd/lockd" |
160 |
elog "are running." |
161 |
} |