1 |
patrick 09/10/02 13:55:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: samba-libs-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.7 net-fs/samba-libs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-libs/ChangeLog?rev=1.7&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-libs/ChangeLog?rev=1.7&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-libs/ChangeLog?r1=1.6&r2=1.7 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-fs/samba-libs/ChangeLog,v |
19 |
retrieving revision 1.6 |
20 |
retrieving revision 1.7 |
21 |
diff -u -r1.6 -r1.7 |
22 |
--- ChangeLog 30 Sep 2009 20:09:26 -0000 1.6 |
23 |
+++ ChangeLog 2 Oct 2009 13:55:05 -0000 1.7 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-fs/samba-libs |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-libs/ChangeLog,v 1.6 2009/09/30 20:09:26 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-libs/ChangeLog,v 1.7 2009/10/02 13:55:05 patrick Exp $ |
29 |
+ |
30 |
+*samba-libs-3.3.8 (02 Oct 2009) |
31 |
+ |
32 |
+ 02 Oct 2009; Patrick Lauer <patrick@g.o> +samba-libs-3.3.8.ebuild: |
33 |
+ Bump |
34 |
|
35 |
30 Sep 2009; Jeroen Roovers <jer@g.o> samba-libs-3.3.7.ebuild: |
36 |
Marked ~hppa (bug #285952). |
37 |
|
38 |
|
39 |
|
40 |
1.1 net-fs/samba-libs/samba-libs-3.3.8.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-libs/samba-libs-3.3.8.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/samba-libs/samba-libs-3.3.8.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: samba-libs-3.3.8.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba-libs/samba-libs-3.3.8.ebuild,v 1.1 2009/10/02 13:55:05 patrick Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
inherit pam confutils versionator multilib |
54 |
|
55 |
MY_P="samba-${PV}" |
56 |
|
57 |
DESCRIPTION="Libraries from Samba" |
58 |
HOMEPAGE="http://www.samba.org/" |
59 |
SRC_URI="mirror://samba/${MY_P}.tar.gz" |
60 |
LICENSE="GPL-3" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86" |
63 |
IUSE="ads aio caps cluster cups debug examples ldap pam syslog winbind" |
64 |
|
65 |
DEPEND="dev-libs/popt |
66 |
virtual/libiconv |
67 |
ads? ( virtual/krb5 sys-fs/e2fsprogs ) |
68 |
caps? ( sys-libs/libcap ) |
69 |
cluster? ( dev-db/ctdb ) |
70 |
cups? ( net-print/cups ) |
71 |
debug? ( dev-libs/dmalloc ) |
72 |
ldap? ( net-nds/openldap ) |
73 |
pam? ( virtual/pam |
74 |
winbind? ( dev-libs/iniparser ) ) |
75 |
syslog? ( virtual/logger ) |
76 |
!<net-fs/samba-3.3" |
77 |
RDEPEND="${DEPEND}" |
78 |
|
79 |
# Disable tests since we don't want to build that much here |
80 |
RESTRICT="test" |
81 |
|
82 |
S="${WORKDIR}/${MY_P}/source" |
83 |
|
84 |
# TODO: |
85 |
# - enable iPrint on Prefix/OSX and Darwin? |
86 |
# - selftest-prefix? selftest? |
87 |
|
88 |
CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
89 |
|
90 |
pkg_setup() { |
91 |
confutils_use_depend_all ads ldap |
92 |
} |
93 |
|
94 |
src_prepare() { |
95 |
sed -i \ |
96 |
-e 's|"lib32" ||' \ |
97 |
-e 's|if test -d "$i/$l" ;|if test -d "$i/$l" -o -L "$i/$l";|' \ |
98 |
configure || die "sed failed" |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
local myconf |
103 |
|
104 |
# Filter out -fPIE |
105 |
[[ ${CHOST} == *-*bsd* ]] && myconf="${myconf} --disable-pie" |
106 |
use hppa && myconf="${myconf} --disable-pie" |
107 |
|
108 |
# Upstream refuses to make this configurable |
109 |
use caps && export ac_cv_header_sys_capability_h=yes || export ac_cv_header_sys_capability_h=no |
110 |
|
111 |
# Notes: |
112 |
# - FAM is a plugin for the server |
113 |
# - DNS-SD is only used in client/server code |
114 |
# - AFS is a pw-auth-method and only used in client/server code |
115 |
# - AFSACL is a server module |
116 |
# - automount is only needed in conjunction with NIS and we don't have that |
117 |
# anymore |
118 |
# - quota-support is only needed in server-code |
119 |
# - acl-support is only used in server-code |
120 |
# - --without-dce-dfs and --without-nisplus-home can't be passed to configure but are disabled by default |
121 |
econf ${myconf} \ |
122 |
--sysconfdir=/etc/samba \ |
123 |
--localstatedir=/var \ |
124 |
$(use_enable debug developer) \ |
125 |
--enable-largefile \ |
126 |
--enable-socket-wrapper \ |
127 |
--enable-nss-wrapper \ |
128 |
--disable-swat \ |
129 |
$(use_enable debug dmalloc) \ |
130 |
$(use_enable cups) \ |
131 |
--disable-iprint \ |
132 |
--disable-fam \ |
133 |
--enable-shared-libs \ |
134 |
--disable-dnssd \ |
135 |
--disable-avahi \ |
136 |
--with-fhs \ |
137 |
--with-privatedir=/var/lib/samba/private \ |
138 |
--with-rootsbindir=/var/cache/samba \ |
139 |
--with-lockdir=/var/cache/samba \ |
140 |
--with-swatdir=/usr/share/doc/${PF}/swat \ |
141 |
--with-configdir=/etc/samba \ |
142 |
--with-logfilebase=/var/log/samba \ |
143 |
--with-pammodulesdir=$(getpam_mod_dir) \ |
144 |
--without-afs \ |
145 |
--without-fake-kaserver \ |
146 |
--without-vfs-afsacl \ |
147 |
$(use_with ldap) \ |
148 |
$(use_with ads) \ |
149 |
$(use_with ads krb5 /usr) \ |
150 |
$(use_with ads dnsupdate) \ |
151 |
--without-automount \ |
152 |
--without-cifsmount \ |
153 |
--without-cifsupcall \ |
154 |
$(use_with pam) \ |
155 |
$(use_with pam pam_smbpass) \ |
156 |
$(use_with syslog) \ |
157 |
--without-quotas \ |
158 |
--without-sys-quotas \ |
159 |
--without-utmp \ |
160 |
--with-lib{talloc,tdb,netapi,smbclient,smbsharemodes} \ |
161 |
--without-libaddns \ |
162 |
$(use_with cluster ctdb /usr) \ |
163 |
$(use_with cluster cluster-support) \ |
164 |
--without-acl-support \ |
165 |
$(use_with aio aio-support) \ |
166 |
--with-sendfile-support \ |
167 |
$(use_with winbind) \ |
168 |
--without-included-popt \ |
169 |
--without-included-iniparser |
170 |
} |
171 |
|
172 |
src_compile() { |
173 |
emake libs pam_modules nss_modules || die "emake failed" |
174 |
} |
175 |
|
176 |
src_install() { |
177 |
emake DESTDIR="${D}" installlibs || die "emake installlibs failed" |
178 |
if use pam ; then |
179 |
emake DESTDIR="${D}" installpammodules || die "emake installpammodules failed" |
180 |
fi |
181 |
|
182 |
# Remove empty installation directories |
183 |
rmdir \ |
184 |
"${D}/usr/$(get_libdir)/samba" \ |
185 |
"${D}/usr"/{sbin,bin} \ |
186 |
"${D}/usr/share"/{man,locale,} \ |
187 |
"${D}/var"/{run,lib/samba/private,lib/samba,lib,cache/samba,cache,} \ |
188 |
|| die "tried to remove non-empty dirs, this seems like a bug in the ebuild" |
189 |
|
190 |
# Nsswitch extensions. Make link for wins and winbind resolvers |
191 |
if use winbind ; then |
192 |
dolib.so nsswitch/libnss_wins.so |
193 |
dosym libnss_wins.so /usr/$(get_libdir)/libnss_wins.so.2 |
194 |
dolib.so nsswitch/libnss_winbind.so |
195 |
dosym libnss_winbind.so /usr/$(get_libdir)/libnss_winbind.so.2 |
196 |
fi |
197 |
|
198 |
if use pam ; then |
199 |
if use winbind ; then |
200 |
newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
201 |
doman ../docs/manpages/pam_winbind.7 |
202 |
dohtml ../docs/htmldocs/manpages/pam_winbind.7.html |
203 |
|
204 |
if use examples ; then |
205 |
insinto /usr/share/doc/${PF}/examples |
206 |
doins -r ../examples/pam_winbind |
207 |
fi |
208 |
fi |
209 |
|
210 |
newpamd "${CONFDIR}/samba.pam" samba |
211 |
dodoc pam_smbpass/README |
212 |
fi |
213 |
|
214 |
if use examples ; then |
215 |
insinto /usr/share/doc/${PF}/examples |
216 |
doins -r ../examples/libsmbclient |
217 |
|
218 |
use winbind && doins -r ../examples/nss |
219 |
fi |
220 |
|
221 |
} |