1 |
stefaan 08/01/24 10:09:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: autofs-4.1.3-r8.ebuild |
5 |
Log: |
6 |
Fix bug #110887, + avoid segfault on amd64 |
7 |
(Portage version: 2.1.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.64 net-fs/autofs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.64&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?rev=1.64&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/ChangeLog?r1=1.63&r2=1.64 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v |
19 |
retrieving revision 1.63 |
20 |
retrieving revision 1.64 |
21 |
diff -u -r1.63 -r1.64 |
22 |
--- ChangeLog 6 May 2007 10:07:34 -0000 1.63 |
23 |
+++ ChangeLog 24 Jan 2008 10:09:19 -0000 1.64 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-fs/autofs |
26 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.63 2007/05/06 10:07:34 genone Exp $ |
28 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.64 2008/01/24 10:09:19 stefaan Exp $ |
30 |
+ |
31 |
+*autofs-4.1.3-r8 (24 Jan 2008) |
32 |
+ |
33 |
+ 24 Jan 2008; Stefaan De Roeck <stefaan@g.o> +files/autofs.rc13, |
34 |
+ +autofs-4.1.3-r8.ebuild: |
35 |
+ Fix bug #110887, + avoid segfault on amd64 |
36 |
|
37 |
06 May 2007; Marius Mauch <genone@g.o> autofs-3.1.7-r4.ebuild, |
38 |
autofs-3.1.7-r5.ebuild, autofs-3.1.7-r6.ebuild, autofs-4.0.0.ebuild, |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-fs/autofs/autofs-4.1.3-r8.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-4.1.3-r8.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/autofs/autofs-4.1.3-r8.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: autofs-4.1.3-r8.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-4.1.3-r8.ebuild,v 1.1 2008/01/24 10:09:19 stefaan Exp $ |
52 |
|
53 |
inherit eutils multilib |
54 |
|
55 |
IUSE="ldap" |
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}/v4" |
59 |
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2 |
60 |
${SRC_URI_BASE}/${P}-strict.patch |
61 |
${SRC_URI_BASE}/${P}-mtab_lock.patch |
62 |
${SRC_URI_BASE}/${P}-bad_chdir.patch |
63 |
${SRC_URI_BASE}/${P}-non_block_ping.patch |
64 |
${SRC_URI_BASE}/${P}-sock-leak-fix.patch |
65 |
${SRC_URI_BASE}/${P}-replicated_server_select.patch |
66 |
mirror://gentoo/${P}-miscfixes.patch.gz" |
67 |
DEPEND="virtual/libc |
68 |
ldap? ( >=net-nds/openldap-2.0 )" |
69 |
SLOT="0" |
70 |
LICENSE="GPL-2" |
71 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
72 |
|
73 |
src_unpack() { |
74 |
unpack ${P}.tar.bz2 |
75 |
PATCH_LIST="${P}-strict.patch ${P}-mtab_lock.patch ${P}-bad_chdir.patch ${P}-non_block_ping.patch ${P}-sock-leak-fix.patch ${P}-replicated_server_select.patch ${P}-miscfixes.patch.gz" |
76 |
for i in ${PATCH_LIST}; do |
77 |
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i} |
78 |
done |
79 |
|
80 |
# Upstream version of this patch is incorrect |
81 |
epatch "${FILESDIR}"/${P}-signal-race-fix.patch |
82 |
|
83 |
cd "${S}" |
84 |
autoconf || die "Autoconf failed" |
85 |
|
86 |
cd "${S}"/daemon |
87 |
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile \ |
88 |
|| die "LIBLDAP change failed" |
89 |
|
90 |
cd "${S}"/lib |
91 |
sed -i '/^listmount.o:/s,$, mount.h,g' Makefile \ |
92 |
|| die "Failed to fix dependancies" |
93 |
} |
94 |
|
95 |
src_compile() { |
96 |
local myconf |
97 |
use ldap || myconf="--without-openldap" |
98 |
|
99 |
econf ${myconf} || die |
100 |
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules || die "Failed to remove (C|CXX|LD)FLAGS" |
101 |
# fixes segfaults on startup on amd64 |
102 |
use amd64 && CFLAGS="${CFLAGS} -DLDAP_DEPRECATED" |
103 |
emake || die "make failed" |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
into /usr |
108 |
dosbin daemon/automount |
109 |
exeinto /usr/$(get_libdir)/autofs |
110 |
doexe modules/*.so |
111 |
|
112 |
dodoc COPYRIGHT NEWS README* TODO CHANGELOG CREDITS |
113 |
cd "${S}"/samples |
114 |
docinto samples ; dodoc auto.misc auto.master |
115 |
cd "${S}"/man |
116 |
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in || die "Failed to update path in manpages" |
117 |
doman auto.master.5 autofs.5 autofs.8 automount.8 |
118 |
|
119 |
insinto /etc/autofs ; doins "${FILESDIR}"/auto.master |
120 |
insinto /etc/autofs ; doins "${FILESDIR}"/auto.misc |
121 |
exeinto /etc/autofs ; doexe "${FILESDIR}"/auto.net # chmod 755 is important! |
122 |
|
123 |
newinitd "${FILESDIR}"/autofs.rc13 autofs |
124 |
newconfd "${FILESDIR}"/autofs.confd9 autofs |
125 |
if use ldap; then |
126 |
cd "${S}"/samples |
127 |
docinto samples ; dodoc ldap* auto.master.ldap |
128 |
insinto /etc/openldap/schema ; doins autofs.schema |
129 |
exeinto /usr/$(get_libdir)/autofs ; doexe autofs-ldap-auto-master |
130 |
fi |
131 |
} |
132 |
|
133 |
pkg_postinst() { |
134 |
elog "Note: If you plan on using autofs for automounting" |
135 |
elog "remote NFS mounts without having the NFS daemon running" |
136 |
elog "please add portmap to your default run-level." |
137 |
elog |
138 |
elog "Also the normal autofs status has been renamed stats" |
139 |
elog "as there is already a predefined Gentoo status" |
140 |
} |
141 |
|
142 |
|
143 |
|
144 |
-- |
145 |
gentoo-commits@l.g.o mailing list |