1 |
vapier 11/09/01 15:19:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nfs-utils-1.2.4.ebuild |
5 |
Log: |
6 |
Version bump #373651 by teidakankan. |
7 |
|
8 |
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.185 net-fs/nfs-utils/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/ChangeLog?rev=1.185&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/ChangeLog?rev=1.185&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/ChangeLog?r1=1.184&r2=1.185 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v |
20 |
retrieving revision 1.184 |
21 |
retrieving revision 1.185 |
22 |
diff -u -r1.184 -r1.185 |
23 |
--- ChangeLog 1 Sep 2011 15:18:01 -0000 1.184 |
24 |
+++ ChangeLog 1 Sep 2011 15:19:35 -0000 1.185 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-fs/nfs-utils |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.184 2011/09/01 15:18:01 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.185 2011/09/01 15:19:35 vapier Exp $ |
30 |
+ |
31 |
+*nfs-utils-1.2.4 (01 Sep 2011) |
32 |
+ |
33 |
+ 01 Sep 2011; Mike Frysinger <vapier@g.o> +nfs-utils-1.2.4.ebuild, |
34 |
+ +files/nfs-utils-1.2.4-exportfs-skip-dir.patch, |
35 |
+ +files/nfs-utils-1.2.4-exportfs-xlog.patch: |
36 |
+ Version bump #373651 by teidakankan. |
37 |
|
38 |
01 Sep 2011; Mike Frysinger <vapier@g.o> files/nfs.initd: |
39 |
Drop --oknodo usage #377765 by Michael Mair-Keimberger. |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-fs/nfs-utils/nfs-utils-1.2.4.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.2.4.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.2.4.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: nfs-utils-1.2.4.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.2.4.ebuild,v 1.1 2011/09/01 15:19:35 vapier Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit eutils flag-o-matic multilib |
57 |
|
58 |
DESCRIPTION="NFS client and server daemons" |
59 |
HOMEPAGE="http://linux-nfs.org/" |
60 |
SRC_URI="mirror://sourceforge/nfs/${P}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
65 |
IUSE="caps ipv6 kerberos +nfsv3 +nfsv4 tcpd elibc_glibc" |
66 |
RESTRICT="test" #315573 |
67 |
|
68 |
# kth-krb doesn't provide the right include |
69 |
# files, and nfs-utils doesn't build against heimdal either, |
70 |
# so don't depend on virtual/krb. |
71 |
# (04 Feb 2005 agriffis) |
72 |
DEPEND_COMMON="tcpd? ( sys-apps/tcp-wrappers ) |
73 |
caps? ( sys-libs/libcap ) |
74 |
sys-libs/e2fsprogs-libs |
75 |
net-nds/rpcbind |
76 |
net-libs/libtirpc |
77 |
nfsv4? ( |
78 |
>=dev-libs/libevent-1.0b |
79 |
>=net-libs/libnfsidmap-0.21-r1 |
80 |
kerberos? ( |
81 |
net-libs/librpcsecgss |
82 |
net-libs/libgssglue |
83 |
net-libs/libtirpc[kerberos] |
84 |
app-crypt/mit-krb5 |
85 |
) |
86 |
)" |
87 |
RDEPEND="${DEPEND_COMMON} !net-nds/portmap" |
88 |
# util-linux dep is to prevent man-page collision |
89 |
DEPEND="${DEPEND_COMMON} |
90 |
>=sys-apps/util-linux-2.12r-r7" |
91 |
|
92 |
src_prepare() { |
93 |
epatch "${FILESDIR}"/${PN}-1.1.4-mtab-sym.patch |
94 |
epatch "${FILESDIR}"/${PN}-1.2.4-exportfs-xlog.patch |
95 |
epatch "${FILESDIR}"/${PN}-1.2.4-exportfs-skip-dir.patch |
96 |
} |
97 |
|
98 |
src_configure() { |
99 |
econf \ |
100 |
--with-statedir=/var/lib/nfs \ |
101 |
--enable-tirpc \ |
102 |
$(use_with tcpd tcp-wrappers) \ |
103 |
$(use_enable nfsv3) \ |
104 |
$(use_enable nfsv4) \ |
105 |
$(use_enable ipv6) \ |
106 |
$(use_enable caps) \ |
107 |
$(use nfsv4 && use_enable kerberos gss || echo "--disable-gss") |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
emake DESTDIR="${D}" install || die |
112 |
|
113 |
# Don't overwrite existing xtab/etab, install the original |
114 |
# versions somewhere safe... more info in pkg_postinst |
115 |
keepdir /var/lib/nfs/{,sm,sm.bak} |
116 |
mv "${D}"/var/lib "${D}"/usr/$(get_libdir) || die |
117 |
|
118 |
# Install some client-side binaries in /sbin |
119 |
dodir /sbin |
120 |
mv "${D}"/usr/sbin/rpc.statd "${D}"/sbin/ || die |
121 |
|
122 |
dodoc ChangeLog README |
123 |
docinto linux-nfs ; dodoc linux-nfs/* |
124 |
|
125 |
insinto /etc |
126 |
doins "${FILESDIR}"/exports |
127 |
|
128 |
local f list="" opt_need="" |
129 |
if use nfsv4 ; then |
130 |
opt_need="rpc.idmapd" |
131 |
list="${list} rpc.idmapd rpc.pipefs" |
132 |
use kerberos && list="${list} rpc.gssd rpc.svcgssd" |
133 |
fi |
134 |
for f in nfs nfsmount rpc.statd ${list} ; do |
135 |
newinitd "${FILESDIR}"/${f}.initd ${f} || die "doinitd ${f}" |
136 |
done |
137 |
newconfd "${FILESDIR}"/nfs.confd nfs |
138 |
dosed "/^NFS_NEEDED_SERVICES=/s:=.*:=\"${opt_need}\":" /etc/conf.d/nfs #234132 |
139 |
|
140 |
# uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils |
141 |
if ! use elibc_glibc ; then |
142 |
dobin tools/rpcgen/rpcgen || die "rpcgen" |
143 |
newdoc tools/rpcgen/README README.rpcgen |
144 |
fi |
145 |
} |
146 |
|
147 |
pkg_postinst() { |
148 |
# Install default xtab and friends if there's none existing. In |
149 |
# src_install we put them in /usr/lib/nfs for safe-keeping, but |
150 |
# the daemons actually use the files in /var/lib/nfs. #30486 |
151 |
local f |
152 |
mkdir -p "${ROOT}"/var/lib/nfs #368505 |
153 |
for f in "${ROOT}"/usr/$(get_libdir)/nfs/*; do |
154 |
[[ -e ${ROOT}/var/lib/nfs/${f##*/} ]] && continue |
155 |
einfo "Copying default ${f##*/} from /usr/$(get_libdir)/nfs to /var/lib/nfs" |
156 |
cp -pPR "${f}" "${ROOT}"/var/lib/nfs/ |
157 |
done |
158 |
} |