1 |
patrick 09/10/02 13:55:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: samba-server-3.3.8.ebuild |
5 |
Log: |
6 |
Bump |
7 |
(Portage version: 2.2_rc42/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.11 net-fs/samba-server/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-server/ChangeLog?rev=1.11&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-server/ChangeLog?rev=1.11&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-server/ChangeLog?r1=1.10&r2=1.11 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba-server/ChangeLog,v |
19 |
retrieving revision 1.10 |
20 |
retrieving revision 1.11 |
21 |
diff -u -r1.10 -r1.11 |
22 |
--- ChangeLog 30 Sep 2009 20:10:01 -0000 1.10 |
23 |
+++ ChangeLog 2 Oct 2009 13:55:28 -0000 1.11 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-fs/samba-server |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-server/ChangeLog,v 1.10 2009/09/30 20:10:01 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-server/ChangeLog,v 1.11 2009/10/02 13:55:28 patrick Exp $ |
29 |
+ |
30 |
+*samba-server-3.3.8 (02 Oct 2009) |
31 |
+ |
32 |
+ 02 Oct 2009; Patrick Lauer <patrick@g.o> |
33 |
+ +samba-server-3.3.8.ebuild: |
34 |
+ Bump |
35 |
|
36 |
30 Sep 2009; Jeroen Roovers <jer@g.o> samba-server-3.3.7-r1.ebuild: |
37 |
Marked ~hppa (bug #285952). |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-fs/samba-server/samba-server-3.3.8.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-server/samba-server-3.3.8.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-server/samba-server-3.3.8.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: samba-server-3.3.8.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-server/samba-server-3.3.8.ebuild,v 1.1 2009/10/02 13:55:28 patrick Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit pam confutils versionator multilib |
55 |
|
56 |
MY_P="samba-${PV}" |
57 |
|
58 |
DESCRIPTION="Libraries from Samba" |
59 |
HOMEPAGE="http://www.samba.org/" |
60 |
SRC_URI="mirror://samba/${MY_P}.tar.gz" |
61 |
LICENSE="GPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86" |
64 |
IUSE="acl ads aio avahi caps cluster cups debug doc examples fam ldap quota swat syslog winbind zeroconf" |
65 |
|
66 |
# currently a bit broken |
67 |
RESTRICT="test" |
68 |
|
69 |
DEPEND="!<net-fs/samba-3.3 |
70 |
ads? ( virtual/krb5 sys-fs/e2fsprogs net-fs/samba-libs[ads] ) |
71 |
dev-libs/popt |
72 |
virtual/libiconv |
73 |
avahi? ( net-dns/avahi ) |
74 |
zeroconf? ( !avahi? ( || ( net-dns/avahi[mdnsresponder-compat] net-misc/mDNSResponder ) ) ) |
75 |
caps? ( sys-libs/libcap ) |
76 |
cups? ( net-print/cups ) |
77 |
debug? ( dev-libs/dmalloc ) |
78 |
ldap? ( net-nds/openldap ) |
79 |
syslog? ( virtual/logger ) |
80 |
net-fs/samba-libs[caps?,cluster?,cups?,ldap?,syslog?,winbind?]" |
81 |
RDEPEND="${DEPEND}" |
82 |
|
83 |
S="${WORKDIR}/${MY_P}/source" |
84 |
|
85 |
# TODO: |
86 |
# - enable iPrint on Prefix/OSX and Darwin? |
87 |
# - selftest-prefix? selftest? |
88 |
|
89 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
90 |
SBINPROGS="bin/smbd bin/nmbd" |
91 |
BINPROGS="bin/testparm bin/smbstatus bin/smbcontrol bin/tdbbackup bin/pdbedit |
92 |
bin/tdbdump bin/tdbtool bin/profiles bin/sharesec |
93 |
bin/eventlogadm bin/ldbedit bin/ldbsearch bin/ldbadd bin/ldbdel bin/ldbmodify bin/ldbrename" |
94 |
|
95 |
pkg_setup() { |
96 |
confutils_use_depend_all ads ldap |
97 |
} |
98 |
|
99 |
src_prepare() { |
100 |
sed -i \ |
101 |
-e 's|"lib32" ||' \ |
102 |
-e 's|if test -d "$i/$l" ;|if test -d "$i/$l" -o -L "$i/$l";|' \ |
103 |
configure || die "sed failed" |
104 |
|
105 |
sed -i \ |
106 |
-e 's|@LIBTALLOC_SHARED@||g' \ |
107 |
-e 's|@LIBTDB_SHARED@||g' \ |
108 |
-e 's|@LIBWBCLIENT_SHARED@||g' \ |
109 |
-e 's|@LIBNETAPI_SHARED@||g' \ |
110 |
-e 's|$(REG_SMBCONF_OBJ) @LIBNETAPI_STATIC@ $(LIBNET_OBJ)|$(REG_SMBCONF_OBJ) @LIBNETAPI_LIBS@ $(LIBNET_OBJ)|' \ |
111 |
Makefile.in || die "sed failed" |
112 |
|
113 |
# Upstream doesn't want us to link certain things dynamically, but those binaries here seem to work |
114 |
sed -i \ |
115 |
-e '/^LINK_LIBNETAPI/d' \ |
116 |
configure || die "sed failed" |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
local myconf |
121 |
|
122 |
# Filter out -fPIE |
123 |
[[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" |
124 |
use hppa && myconf="${myconf} --disable-pie" |
125 |
|
126 |
# Upstream refuses to make this configurable |
127 |
export ac_cv_header_sys_capability_h=no |
128 |
use caps && export ac_cv_header_sys_capability_h=yes |
129 |
|
130 |
local dnssd="--disable-dnssd" |
131 |
use zeroconf && ! use avahi && dnssd="--enable-dnssd" |
132 |
|
133 |
# Notes: |
134 |
# - FAM is a plugin for the server |
135 |
# - DNS-SD is only used in client/server code |
136 |
# - AFS is a pw-auth-method and only used in client/server code |
137 |
# - AFSACL is a server module |
138 |
# - automount is only needed in conjunction with NIS and we don't have that |
139 |
# anymore |
140 |
# - quota-support is only needed in server-code |
141 |
# - acl-support is only used in server-code |
142 |
# - --without-dce-dfs and --without-nisplus-home can't be passed to configure but are disabled by default |
143 |
econf ${myconf} \ |
144 |
--with-piddir=/var/run/samba \ |
145 |
--sysconfdir=/etc/samba \ |
146 |
--localstatedir=/var \ |
147 |
$(use_enable debug developer) \ |
148 |
--enable-largefile \ |
149 |
--enable-socket-wrapper \ |
150 |
--enable-nss-wrapper \ |
151 |
$(use_enable swat) \ |
152 |
$(use_enable debug dmalloc) \ |
153 |
$(use_enable cups) \ |
154 |
--disable-iprint \ |
155 |
$(use_enable fam) \ |
156 |
--enable-shared-libs \ |
157 |
${dnssd} \ |
158 |
$(use_enable avahi) \ |
159 |
--with-fhs \ |
160 |
--with-privatedir=/var/lib/samba/private \ |
161 |
--with-rootsbindir=/var/cache/samba \ |
162 |
--with-lockdir=/var/cache/samba \ |
163 |
--with-swatdir=/usr/share/doc/${PF}/swat \ |
164 |
--with-configdir=/etc/samba \ |
165 |
--with-logfilebase=/var/log/samba \ |
166 |
--with-pammodulesdir=$(getpam_mod_dir) \ |
167 |
--without-afs \ |
168 |
--without-fake-kaserver \ |
169 |
--without-vfs-afsacl \ |
170 |
$(use_with ldap) \ |
171 |
$(use_with ads) \ |
172 |
$(use_with ads krb5 /usr) \ |
173 |
$(use_with ads dnsupdate) \ |
174 |
--without-automount \ |
175 |
--without-cifsmount \ |
176 |
--without-cifsupcall \ |
177 |
--without-pam \ |
178 |
--without-pam_smbpass \ |
179 |
$(use_with syslog) \ |
180 |
$(use_with quota quotas) \ |
181 |
$(use_with quota sys-quotas) \ |
182 |
--without-utmp \ |
183 |
--with-lib{talloc,tdb,netapi,smbclient,smbsharemodes} \ |
184 |
--without-libaddns \ |
185 |
$(use_with cluster ctdb /usr) \ |
186 |
$(use_with cluster cluster-support) \ |
187 |
$(use_with acl acl-support) \ |
188 |
$(use_with aio aio-support) \ |
189 |
--with-sendfile-support \ |
190 |
$(use_with winbind) |
191 |
|
192 |
use swat && SBINPROGS="${SBINPROGS} bin/swat" |
193 |
use winbind && SBINPROGS="${SBINPROGS} bin/winbindd" |
194 |
use ads && use winbind && SBIN_PROGS="${SBINPROGS} bin/winbind_krb5_locator" |
195 |
|
196 |
use winbind && BINPROGS="${BINPROGS} bin/wbinfo" |
197 |
} |
198 |
|
199 |
src_compile() { |
200 |
emake ${SBINPROGS} || die "building server binaries failed" |
201 |
emake modules || die "building modules failed" |
202 |
emake ${BINPROGS} || die "building binaries failed" |
203 |
} |
204 |
|
205 |
src_install() { |
206 |
dosbin ${SBINPROGS} || die "installing server binaries failed" |
207 |
|
208 |
emake DESTDIR="${D}" installmodules || die "installing modules failed" |
209 |
|
210 |
dobin ${BINPROGS} || die "installing binaries failed" |
211 |
|
212 |
for prog in ${BINPROGS} ${SBINPROGS} ; do |
213 |
doman ../docs/manpages/${prog/bin\/}* |
214 |
done |
215 |
|
216 |
doman ../docs/manpages/vfs* ../docs/manpages/samba.7 ../docs/manpages/smb.conf.5 |
217 |
|
218 |
diropts -m0700 |
219 |
keepdir /var/lib/samba/private |
220 |
|
221 |
diropts -m1777 |
222 |
keepdir /var/spool/samba |
223 |
|
224 |
diropts -m0755 |
225 |
keepdir /var/{cache,log}/samba |
226 |
keepdir /var/lib/samba/{netlogon,profiles} |
227 |
keepdir /var/lib/samba/printers/{W32X86,WIN40,W32ALPHA,W32MIPS,W32PPC,X64,IA64,COLOR} |
228 |
keepdir /usr/$(get_libdir)/samba/{auth,pdb,rpc,idmap,nss_info,gpext} |
229 |
|
230 |
newconfd "${CONFDIR}/samba.confd" samba |
231 |
newinitd "${CONFDIR}/samba.initd" samba |
232 |
|
233 |
insinto /etc/samba |
234 |
doins "${CONFDIR}"/{smbusers,lmhosts,smb.conf.default} |
235 |
|
236 |
insinto /usr/"$(get_libdir)"/samba |
237 |
doins codepages/{valid.dat,upcase.dat,lowcase.dat} |
238 |
|
239 |
if use ldap ; then |
240 |
insinto /etc/openldap/schema |
241 |
doins ../examples/LDAP/samba.schema |
242 |
fi |
243 |
|
244 |
if use swat ; then |
245 |
insinto /etc/xinetd.d |
246 |
newins "${CONFDIR}/swat.xinetd" swat |
247 |
fi |
248 |
|
249 |
dodoc ../MAINTAINERS ../README* ../Roadmap ../WHATSNEW.txt ../docs/THANKS |
250 |
|
251 |
if use doc ; then |
252 |
dohtml -r ../docs/htmldocs/* |
253 |
dodoc ../docs/*.pdf |
254 |
fi |
255 |
|
256 |
if use examples ; then |
257 |
cd ../examples |
258 |
insinto /usr/share/doc/${PF}/examples |
259 |
doins -r \ |
260 |
auth autofs dce-dfs LDAP logon misc pdb perfcounter \ |
261 |
printer-accounting printing scripts tridge validchars VFS |
262 |
fi |
263 |
} |