1 |
patrick 10/02/19 17:20:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: samba-client-3.5.0_rc3.ebuild |
5 |
Log: |
6 |
Bump for new rc |
7 |
(Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.26 net-fs/samba-client/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-client/ChangeLog?rev=1.26&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-client/ChangeLog?rev=1.26&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-client/ChangeLog?r1=1.25&r2=1.26 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba-client/ChangeLog,v |
19 |
retrieving revision 1.25 |
20 |
retrieving revision 1.26 |
21 |
diff -u -r1.25 -r1.26 |
22 |
--- ChangeLog 26 Jan 2010 19:03:08 -0000 1.25 |
23 |
+++ ChangeLog 19 Feb 2010 17:19:59 -0000 1.26 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-fs/samba-client |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-client/ChangeLog,v 1.25 2010/01/26 19:03:08 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-client/ChangeLog,v 1.26 2010/02/19 17:19:59 patrick Exp $ |
29 |
+ |
30 |
+*samba-client-3.5.0_rc3 (19 Feb 2010) |
31 |
+ |
32 |
+ 19 Feb 2010; Patrick Lauer <patrick@g.o> |
33 |
+ +samba-client-3.5.0_rc3.ebuild: |
34 |
+ Bump for new rc |
35 |
|
36 |
*samba-client-3.5.0_rc2 (26 Jan 2010) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-fs/samba-client/samba-client-3.5.0_rc3.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-client/samba-client-3.5.0_rc3.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-client/samba-client-3.5.0_rc3.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: samba-client-3.5.0_rc3.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-client/samba-client-3.5.0_rc3.ebuild,v 1.1 2010/02/19 17:19:59 patrick Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit pam confutils versionator multilib eutils toolchain-funcs autotools |
55 |
|
56 |
MY_PV=${PV/_/} |
57 |
MY_P="samba-${MY_PV}" |
58 |
|
59 |
DESCRIPTION="Client bits of the samba network filesystem" |
60 |
HOMEPAGE="http://www.samba.org/" |
61 |
SRC_URI="http://samba.org/samba/ftp/rc/${MY_P}.tar.gz" |
62 |
LICENSE="GPL-3" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
65 |
IUSE="samba4 ads aio avahi caps cluster cups debug ldap minimal syslog winbind zeroconf" |
66 |
|
67 |
DEPEND="!<net-fs/samba-3.3 |
68 |
!net-fs/mount-cifs |
69 |
ads? ( virtual/krb5 sys-fs/e2fsprogs |
70 |
net-fs/samba-libs[ads] sys-apps/keyutils ) |
71 |
!minimal? ( |
72 |
dev-libs/popt |
73 |
dev-libs/iniparser |
74 |
virtual/libiconv |
75 |
zeroconf? ( || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) ) |
76 |
caps? ( sys-libs/libcap ) |
77 |
cups? ( net-print/cups ) |
78 |
debug? ( dev-libs/dmalloc ) |
79 |
ldap? ( net-nds/openldap ) |
80 |
syslog? ( virtual/logger ) |
81 |
sys-libs/tdb |
82 |
sys-libs/talloc |
83 |
~net-fs/samba-libs-${PV}[caps?,cups?,ldap?,syslog?,winbind?,ads?,samba4?,netapi] )" |
84 |
RDEPEND="${DEPEND}" |
85 |
|
86 |
S="${WORKDIR}/${MY_P}" |
87 |
|
88 |
# TODO: |
89 |
# - enable iPrint on Prefix/OSX and Darwin? |
90 |
# - selftest-prefix? selftest? |
91 |
|
92 |
RESTRICT="test" |
93 |
|
94 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
95 |
BINPROGS="bin/smbclient bin/net bin/smbget bin/smbtree bin/nmblookup bin/smbpasswd bin/rpcclient bin/smbcacls bin/smbcquotas bin/ntlm_auth" |
96 |
|
97 |
pkg_setup() { |
98 |
confutils_use_depend_all samba4 ads |
99 |
confutils_use_depend_all ads ldap |
100 |
} |
101 |
|
102 |
src_prepare() { |
103 |
|
104 |
cp "${FILESDIR}/samba-3.4.2-lib.tevent.python.mk" "lib/tevent/python.mk" |
105 |
|
106 |
cd "source3" |
107 |
eautoconf -Ilibreplace -Im4 -I../m4 -I../lib/replace -I../source4 |
108 |
} |
109 |
|
110 |
src_configure() { |
111 |
cd "source3" |
112 |
local myconf |
113 |
|
114 |
# compile franky samba4 hybrid |
115 |
# http://wiki.samba.org/index.php/Franky |
116 |
if use samba4 ; then |
117 |
myconf="${myconf} --enable-merged-build --enable-developer" |
118 |
if has_version app-crypt/heimdal ; then |
119 |
myconf="${myconf} --with-krb5=/usr/" |
120 |
elif has_version app-crypt/mit-krb5 ; then |
121 |
die "MIT Kerberos not supported by samba 4, use heimdal" |
122 |
else |
123 |
die "No supported kerberos provider detected" |
124 |
fi |
125 |
fi |
126 |
|
127 |
# Filter out -fPIE |
128 |
[[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" |
129 |
use hppa && myconf="${myconf} --disable-pie" |
130 |
|
131 |
# Upstream refuses to make this configurable |
132 |
export ac_cv_header_sys_capability_h=no |
133 |
if ! use minimal ; then |
134 |
use caps && export ac_cv_header_sys_capability_h=yes |
135 |
fi |
136 |
|
137 |
if ! use minimal || use ads; then |
138 |
# Notes: |
139 |
# - FAM is a plugin for the server |
140 |
# - DNS-SD is only used in client/server code |
141 |
# - AFS is a pw-auth-method and only used in client/server code |
142 |
# - AFSACL is a server module |
143 |
# - automount is only needed in conjunction with NIS and we don't have that |
144 |
# anymore |
145 |
# - quota-support is only needed in server-code |
146 |
# - acl-support is only used in server-code |
147 |
# - --without-dce-dfs and --without-nisplus-home can't be passed to configure but are disabled by default |
148 |
# - current DNS/SD support in the client is via the mdnsresponder-compat api in avahi |
149 |
econf ${myconf} \ |
150 |
--sysconfdir=/etc/samba \ |
151 |
--localstatedir=/var \ |
152 |
$(use_enable debug developer) \ |
153 |
--enable-largefile \ |
154 |
--enable-socket-wrapper \ |
155 |
--enable-nss-wrapper \ |
156 |
--disable-swat \ |
157 |
$(use_enable debug dmalloc) \ |
158 |
$(use minimal && echo "--disable-cups" || echo "$(use_enable cups)") \ |
159 |
--disable-iprint \ |
160 |
--disable-fam \ |
161 |
--enable-shared-libs \ |
162 |
$(use minimal && echo "--disable-dnssd" || echo "$(use_enable avahi dnssd)") \ |
163 |
--disable-avahi \ |
164 |
--with-fhs \ |
165 |
--with-privatedir=/var/lib/samba/private \ |
166 |
--with-rootsbindir=/var/cache/samba \ |
167 |
--with-lockdir=/var/cache/samba \ |
168 |
--with-swatdir=/usr/share/doc/${PF}/swat \ |
169 |
--with-configdir=/etc/samba \ |
170 |
--with-logfilebase=/var/log/samba \ |
171 |
--with-pammodulesdir=$(getpam_mod_dir) \ |
172 |
--without-afs \ |
173 |
--without-fake-kaserver \ |
174 |
--without-vfs-afsacl \ |
175 |
$(use minimal && echo "--without-ldap" || echo "$(use_with ldap)") \ |
176 |
$(use minimal && echo "--without-ads" || echo "$(use_with ads)") \ |
177 |
$(use minimal && echo "--without-krb5" || echo "$(use_with ads krb5 /usr)") \ |
178 |
$(use minimal && echo "--without-dnsupdate" || echo "$(use_with ads dnsupdate)") \ |
179 |
--without-automount \ |
180 |
--without-cifsmount \ |
181 |
--without-cifsupcall \ |
182 |
--without-pam \ |
183 |
--without-pam_smbpass \ |
184 |
$(use minimal && echo "--without-syslog" || echo "$(use_with syslog)") \ |
185 |
--without-quotas \ |
186 |
--without-sys-quotas \ |
187 |
--without-utmp \ |
188 |
--without-lib{talloc,tdb,netapi,smbclient,smbsharemodes} \ |
189 |
--without-libaddns \ |
190 |
$(use minimal && echo "--without-ctdb" || echo "$(use_with cluster ctdb /usr)") \ |
191 |
$(use minimal && echo "--without-cluster" || echo "$(use_with cluster cluster-support)") \ |
192 |
--without-acl-support \ |
193 |
$(use minimal && echo "--without-aio-support" || echo "$(use_with aio aio-support)") \ |
194 |
--with-sendfile-support \ |
195 |
$(use minimal && echo "--without-winbind" || echo "$(use_with winbind)") \ |
196 |
--without-included-popt \ |
197 |
--without-included-iniparser |
198 |
fi |
199 |
} |
200 |
|
201 |
src_compile() { |
202 |
mkdir bin |
203 |
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bin/mount.cifs client/{mount.cifs,mtab}.c || die "building mount.cifs failed" |
204 |
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o bin/umount.cifs client/{umount.cifs,mtab}.c || die "building umount.cifs failed" |
205 |
|
206 |
if use ads ; then |
207 |
emake bin/cifs.upcall || die "emake cifs.upcall failed" |
208 |
fi |
209 |
|
210 |
cd "source3" |
211 |
if ! use minimal ; then |
212 |
emake ${BINPROGS} || die "emake binprogs failed" |
213 |
if use cups ; then |
214 |
emake bin/smbspool || die "emake smbspool failed" |
215 |
fi |
216 |
fi |
217 |
} |
218 |
|
219 |
src_install() { |
220 |
into / |
221 |
dosbin bin/mount.cifs bin/umount.cifs || die "u/mount.cifs not around" |
222 |
doman docs/manpages/{u,}mount.cifs.8 || die "can't create man pages" |
223 |
dohtml docs/htmldocs/manpages/{u,}mount.cifs.8.html || die "dohtml failed" |
224 |
|
225 |
into /usr |
226 |
if use ads ; then |
227 |
dosbin bin/cifs.upcall || die "cifs.upcall not around" |
228 |
doman docs/manpages/cifs.upcall.8 || die "doman failed" |
229 |
dohtml docs/htmldocs/manpages/cifs.upcall.8.html || die "doman failed" |
230 |
fi |
231 |
|
232 |
if ! use minimal ; then |
233 |
for prog in ${BINPROGS} ; do |
234 |
dobin source3/${prog} || die "not all bins around" |
235 |
done |
236 |
|
237 |
for prog in ${BINPROGS} ; do |
238 |
doman docs/manpages/${prog/bin\/}* || die "doman failed" |
239 |
dohtml docs/htmldocs/manpages/${prog/bin\/}*.html || die "dohtml failed" |
240 |
done |
241 |
|
242 |
if use cups ; then |
243 |
dobin source3/bin/smbspool || die "smbspool not around" |
244 |
doman docs/manpages/smbspool.8 || die "doman failed" |
245 |
dohtml docs/htmldocs/manpages/smbspool.8.html || die "dohtml failed" |
246 |
dosym /usr/bin/smbspool $(cups-config --serverbin)/backend/smb |
247 |
fi |
248 |
fi |
249 |
} |