1 |
commit: 8d9b41684eb35cc504c092f17226b904238ffaa7 |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 27 22:23:50 2016 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 27 23:05:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9b4168 |
7 |
|
8 |
net-fs/samba: remove 4.3.3 in favour of keeping 4.3.4 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-fs/samba/Manifest | 1 - |
13 |
net-fs/samba/samba-4.3.3-r1.ebuild | 250 ------------------------------------- |
14 |
net-fs/samba/samba-4.3.3.ebuild | 192 ---------------------------- |
15 |
3 files changed, 443 deletions(-) |
16 |
|
17 |
diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest |
18 |
index 6c62fa1..7d70b7a 100644 |
19 |
--- a/net-fs/samba/Manifest |
20 |
+++ b/net-fs/samba/Manifest |
21 |
@@ -2,7 +2,6 @@ DIST samba-3.5.21.tar.gz 35377315 SHA256 fd9a66056b1ba9496762394efff41fcaa0e58f2 |
22 |
DIST samba-3.5.22.tar.gz 35385144 SHA256 b4c98f77f5634478da109063334acd9b6ad7bcb38151a5b1cac6dc5feb6679dc SHA512 0e1b4816d921ca82f0426a254cf103066634cc54e28d707a62da951118413f7f5ca5f87d60688cab802a58b0af87f797fbbe12f4e1284d5d7f545a98aba97616 WHIRLPOOL 6e59655dd7a537f0c7c889c43ddf5afb8060706e1ec79b3835698181c5c7478059f91c93eefbde50b03e0154a686eda35eabf807bb7ae01dd2b9b39648a009ae |
23 |
DIST samba-3.6.25.tar.gz 34121828 SHA256 8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751 SHA512 25a5c56dae4517e82e196b59fa301b661ec75db57effbb0ede35fb23b018f78cdea6513e8760966caf58abc43335fcebda77fe5bf5bb9d4b27fd3ca6e5a3b626 WHIRLPOOL 68c4a335b3912bf3c6baecae337b1131127515191052366ca9a04ec6d919f2fb69c912aefb087e2578134f3a9bde7b496ea880f2197a8dbf8221058dd1e8444d |
24 |
DIST samba-4.2.7.tar.gz 20741971 SHA256 f586ab3166ce4c663360f15b1de24ef083816a5471856e3ad49bc26b35f0104a SHA512 74314083c04689696f0423bc990947bfafad679edcac97e6c137e99c17de1e262a4d8450b57de733a70c86c746300c7c5a1365b56c0e353ce79b05e0baf8eb9a WHIRLPOOL 84e7d2f3a60701ee929198caf86371c9e1694be6def47a4f0f12d4d221b995209505c23564c304fbdd95ab5ae528f941946bd361ec6e388f7ba4db08792ff3ba |
25 |
-DIST samba-4.3.3.tar.gz 20427281 SHA256 e62d21313acbb29e24b0b80aaf2b63fdd1ccce4cfb741f333deca95a1a3a70df SHA512 2c66d97f543e22a25ff77481359e7c69817d97c20b77a3ab02a1aab415e0b8a9a6024f4466abcca8312979f9b26596e016ca5bb78ccfe3746e3e9cec0fa303be WHIRLPOOL dae3cbe3aebd0aa70a726b4946470829b703f30c0aaf59f9ae094e7f4dfa25b0573e6c49690d91308f3dddc25cf6fbf0b1341da33446dc4ee29a115db48f9604 |
26 |
DIST samba-4.3.4.tar.gz 20434434 SHA256 5d0eb52e842832af922f7d57716eacff23192906ec3bdf6727e18ca24f1419d9 SHA512 021351534a70cd351934d7f8bfc3c4e9ed9ea3f11f778f6f9d076b3368103f7f478ff1745cb257de0bf2ee38ae76ecba58e01a4db6cbcacbd8a4876e8e1b30f2 WHIRLPOOL 328721951ed932c5813d6157ca2933e22adb793d5cd6667577e40151bcdae8dcddf5ca4e053cd6494e0f82f5801ae480716520c625dd9c337557abc168e00dec |
27 |
DIST samba-disable-python-patches-4.2.7.tar.xz 6296 SHA256 06a1b9aeb91b622d3c2a02a86edfc26e26f10303699c8b2badbd21ce68b10ec0 SHA512 ff746c2969b254d9ccad1440699fccd5958222eea8284a8e068b96df377d6cea8551ec3c6be7103cebf227b0b9038a5b06d3b06d9b247e181403e9fe1ad7eedf WHIRLPOOL 8ea9f34c5f011624b43c0f3f27601574c27e00c5a728d9af5b1cece090da362d51f93ef6cecd37f1204bbd4e608ed58027f52ef5c3d700a1cfdbbb0e5355c3b8 |
28 |
DIST samba-disable-python-patches-4.3.3.tar.xz 6016 SHA256 00debe6c5cc57b87150ded67db8dc54e5ec487f6ed610c96e8fa393743c47f66 SHA512 775abcee86690605e156f4c560f25d762f5cc2e72177a55003ad5124ed643322f2c84514342ed0eadad2c8e1ea97006bc6ce7d504ca8a29c27a201666ce4bdf6 WHIRLPOOL 86c40669e706f6c3b955e6fb892931532e241dd92cae2e7b5986e78f6b5fe50c42c019b97650942de81c8c4989568bcb93e49a7bcb2f9fd300d189da5fa08fe4 |
29 |
|
30 |
diff --git a/net-fs/samba/samba-4.3.3-r1.ebuild b/net-fs/samba/samba-4.3.3-r1.ebuild |
31 |
deleted file mode 100644 |
32 |
index 17a8911..0000000 |
33 |
--- a/net-fs/samba/samba-4.3.3-r1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,250 +0,0 @@ |
36 |
-# Copyright 1999-2016 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
-# $Id$ |
39 |
- |
40 |
-EAPI=5 |
41 |
-PYTHON_COMPAT=( python2_7 ) |
42 |
-PYTHON_REQ_USE='threads(+)' |
43 |
- |
44 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils |
45 |
- |
46 |
-MY_PV="${PV/_rc/rc}" |
47 |
-MY_P="${PN}-${MY_PV}" |
48 |
- |
49 |
-SRC_PATH="stable" |
50 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
51 |
- |
52 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz |
53 |
- https://dev.gentoo.org/~axs/distfiles/samba-disable-python-patches-${PV}.tar.xz" |
54 |
-KEYWORDS="~amd64 ~hppa ~x86" |
55 |
-[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa" |
56 |
- |
57 |
-DESCRIPTION="Samba Suite Version 4" |
58 |
-HOMEPAGE="http://www.samba.org/" |
59 |
-LICENSE="GPL-3" |
60 |
- |
61 |
-SLOT="0" |
62 |
- |
63 |
-IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint |
64 |
-ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind" |
65 |
- |
66 |
-MULTILIB_WRAPPED_HEADERS=( |
67 |
- /usr/include/samba-4.0/policy.h |
68 |
- /usr/include/samba-4.0/dcerpc_server.h |
69 |
- /usr/include/samba-4.0/ctdb.h |
70 |
- /usr/include/samba-4.0/ctdb_client.h |
71 |
- /usr/include/samba-4.0/ctdb_protocol.h |
72 |
- /usr/include/samba-4.0/ctdb_private.h |
73 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
74 |
- /usr/include/samba-4.0/ctdb_version.h |
75 |
-) |
76 |
- |
77 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
78 |
-CDEPEND="${PYTHON_DEPS} |
79 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
80 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
81 |
- dev-libs/iniparser:0 |
82 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
83 |
- sys-libs/readline:= |
84 |
- virtual/libiconv |
85 |
- dev-python/subunit[${PYTHON_USEDEP}] |
86 |
- >=net-libs/socket_wrapper-1.1.3[${MULTILIB_USEDEP}] |
87 |
- sys-apps/attr[${MULTILIB_USEDEP}] |
88 |
- sys-libs/libcap |
89 |
- >=sys-libs/ldb-1.1.24[${MULTILIB_USEDEP}] |
90 |
- sys-libs/ncurses:0= |
91 |
- >=sys-libs/nss_wrapper-1.0.3[${MULTILIB_USEDEP}] |
92 |
- >=sys-libs/talloc-2.1.3[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
93 |
- >=sys-libs/tdb-1.3.7[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
94 |
- >=sys-libs/tevent-0.9.25[${MULTILIB_USEDEP}] |
95 |
- >=sys-libs/uid_wrapper-1.1.0[${MULTILIB_USEDEP}] |
96 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
97 |
- virtual/pam |
98 |
- acl? ( virtual/acl ) |
99 |
- addns? ( net-dns/bind-tools[gssapi] ) |
100 |
- aio? ( dev-libs/libaio ) |
101 |
- cluster? ( !dev-db/ctdb ) |
102 |
- cups? ( net-print/cups ) |
103 |
- dmapi? ( sys-apps/dmapi ) |
104 |
- fam? ( virtual/fam ) |
105 |
- gnutls? ( dev-libs/libgcrypt:0 |
106 |
- >=net-libs/gnutls-1.4.0 ) |
107 |
- ldap? ( net-nds/openldap ) |
108 |
- system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] ) |
109 |
- !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
110 |
- systemd? ( sys-apps/systemd:0= )" |
111 |
-DEPEND="${CDEPEND} |
112 |
- virtual/pkgconfig" |
113 |
-RDEPEND="${CDEPEND} |
114 |
- client? ( net-fs/cifs-utils[ads?] ) |
115 |
- selinux? ( sec-policy/selinux-samba ) |
116 |
-" |
117 |
- |
118 |
-REQUIRED_USE="addc? ( gnutls !system-mitkrb5 ) |
119 |
- ads? ( acl gnutls ldap ) |
120 |
- ${PYTHON_REQUIRED_USE}" |
121 |
- |
122 |
-S="${WORKDIR}/${MY_P}" |
123 |
- |
124 |
-PATCHES=( |
125 |
- "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" |
126 |
- "${FILESDIR}/${PN}-4.2.7-pam.patch" |
127 |
-) |
128 |
- |
129 |
-CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
130 |
- |
131 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
132 |
- |
133 |
-SHAREDMODS="" |
134 |
- |
135 |
-pkg_setup() { |
136 |
- python-single-r1_pkg_setup |
137 |
- if use aio ; then |
138 |
- if ! linux_config_exists || ! linux_chkconfig_present AIO; then |
139 |
- ewarn "You must enable AIO support in your kernel config, " |
140 |
- ewarn "to be able to support asynchronous I/O. " |
141 |
- ewarn "You can find it at" |
142 |
- ewarn |
143 |
- ewarn "General Support" |
144 |
- ewarn " Enable AIO support " |
145 |
- ewarn |
146 |
- ewarn "and recompile your kernel..." |
147 |
- fi |
148 |
- fi |
149 |
- if use cluster ; then |
150 |
- SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad" |
151 |
- fi |
152 |
-} |
153 |
- |
154 |
-src_prepare() { |
155 |
- epatch ${PATCHES[@]} |
156 |
- |
157 |
- # install the patches from tarball(s) |
158 |
- EPATCH_SUFFIX="patch" \ |
159 |
- EPATCH_FORCE="yes" \ |
160 |
- epatch "${WORKDIR}/patches" |
161 |
- |
162 |
- # Allow user patches |
163 |
- epatch_user |
164 |
- multilib_copy_sources |
165 |
-} |
166 |
- |
167 |
-multilib_src_configure() { |
168 |
- local myconf=() |
169 |
- myconf=( |
170 |
- --enable-fhs |
171 |
- --sysconfdir=/etc |
172 |
- --localstatedir=/var |
173 |
- --with-modulesdir=/usr/$(get_libdir)/samba |
174 |
- --with-piddir=/var/run/${PN} |
175 |
- --bundled-libraries=NONE |
176 |
- --builtin-libraries=NONE |
177 |
- --disable-rpath |
178 |
- --disable-rpath-install |
179 |
- --nopyc |
180 |
- --nopyo |
181 |
- ) |
182 |
- if multilib_is_native_abi ; then |
183 |
- myconf+=( |
184 |
- $(use_with acl acl-support) |
185 |
- $(usex addc '' '--without-ad-dc') |
186 |
- $(use_with addns dnsupdate) |
187 |
- $(use_with ads) |
188 |
- $(usex ads '--with-shared-modules=idmap_ad' '') |
189 |
- $(use_with aio aio-support) |
190 |
- $(use_enable avahi) |
191 |
- $(use_with cluster cluster-support) |
192 |
- $(use_enable cups) |
193 |
- $(use_with dmapi) |
194 |
- $(use_with fam) |
195 |
- $(use_enable gnutls) |
196 |
- $(use_enable iprint) |
197 |
- $(use_with ldap) |
198 |
- $(use_with pam) |
199 |
- $(use_with pam pam_smbpass) |
200 |
- $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '') |
201 |
- $(use_with quota quotas) |
202 |
- $(use_with syslog) |
203 |
- $(use_with systemd) |
204 |
- $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
205 |
- $(use_with winbind) |
206 |
- $(usex test '--enable-selftest' '') |
207 |
- --with-shared-modules=${SHAREDMODS} |
208 |
- ) |
209 |
- else |
210 |
- myconf+=( |
211 |
- --without-acl-support |
212 |
- --without-ad-dc |
213 |
- --without-dnsupdate |
214 |
- --without-ads |
215 |
- --without-aio-support |
216 |
- --disable-avahi |
217 |
- --without-cluster-support |
218 |
- --disable-cups |
219 |
- --without-dmapi |
220 |
- --without-fam |
221 |
- --disable-gnutls |
222 |
- --disable-iprint |
223 |
- --without-ldap |
224 |
- --without-pam |
225 |
- --without-pam_smbpass |
226 |
- --without-quotas |
227 |
- --without-syslog |
228 |
- --without-systemd |
229 |
- $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
230 |
- --without-winbind |
231 |
- --disable-python |
232 |
- ) |
233 |
- fi |
234 |
- |
235 |
- CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \ |
236 |
- waf-utils_src_configure ${myconf[@]} |
237 |
-} |
238 |
- |
239 |
-multilib_src_install() { |
240 |
- waf-utils_src_install |
241 |
- |
242 |
- # Make all .so files executable |
243 |
- find "${D}" -type f -name "*.so" -exec chmod +x {} + |
244 |
- |
245 |
- if multilib_is_native_abi; then |
246 |
- # install ldap schema for server (bug #491002) |
247 |
- if use ldap ; then |
248 |
- insinto /etc/openldap/schema |
249 |
- doins examples/LDAP/samba.schema |
250 |
- fi |
251 |
- |
252 |
- # install example config file |
253 |
- insinto /etc/samba |
254 |
- doins examples/smb.conf.default |
255 |
- |
256 |
- # Install init script and conf.d file |
257 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
258 |
- newconfd "${CONFDIR}/samba4.confd" samba |
259 |
- |
260 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
261 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
262 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
263 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
264 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
265 |
- systemd_dounit "${FILESDIR}"/samba.service |
266 |
- fi |
267 |
-} |
268 |
- |
269 |
-multilib_src_test() { |
270 |
- if multilib_is_native_abi ; then |
271 |
- "${WAF_BINARY}" test || die "test failed" |
272 |
- fi |
273 |
-} |
274 |
- |
275 |
-pkg_postinst() { |
276 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
277 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
278 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
279 |
- ewarn "controller work previously known as 'samba4'." |
280 |
- |
281 |
- elog "For further information and migration steps make sure to read " |
282 |
- elog "http://samba.org/samba/history/${P}.html " |
283 |
- elog "http://samba.org/samba/history/${PN}-4.2.0.html and" |
284 |
- elog "http://wiki.samba.org/index.php/Samba4/HOWTO " |
285 |
-} |
286 |
|
287 |
diff --git a/net-fs/samba/samba-4.3.3.ebuild b/net-fs/samba/samba-4.3.3.ebuild |
288 |
deleted file mode 100644 |
289 |
index e71e35f..0000000 |
290 |
--- a/net-fs/samba/samba-4.3.3.ebuild |
291 |
+++ /dev/null |
292 |
@@ -1,192 +0,0 @@ |
293 |
-# Copyright 1999-2016 Gentoo Foundation |
294 |
-# Distributed under the terms of the GNU General Public License v2 |
295 |
-# $Id$ |
296 |
- |
297 |
-EAPI=5 |
298 |
-PYTHON_COMPAT=( python2_7 ) |
299 |
-PYTHON_REQ_USE='threads(+)' |
300 |
- |
301 |
-inherit python-single-r1 waf-utils multilib linux-info systemd eutils |
302 |
- |
303 |
-MY_PV="${PV/_rc/rc}" |
304 |
-MY_P="${PN}-${MY_PV}" |
305 |
- |
306 |
-SRC_PATH="stable" |
307 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
308 |
- |
309 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" |
310 |
-KEYWORDS="~amd64 ~hppa ~x86" |
311 |
-[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa" |
312 |
- |
313 |
-DESCRIPTION="Samba Suite Version 4" |
314 |
-HOMEPAGE="http://www.samba.org/" |
315 |
-LICENSE="GPL-3" |
316 |
- |
317 |
-SLOT="0" |
318 |
- |
319 |
-IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint |
320 |
-ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind" |
321 |
- |
322 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
323 |
-CDEPEND="${PYTHON_DEPS} |
324 |
- dev-libs/iniparser:0 |
325 |
- dev-libs/popt |
326 |
- sys-libs/readline:= |
327 |
- virtual/libiconv |
328 |
- dev-python/subunit[${PYTHON_USEDEP}] |
329 |
- >=net-libs/socket_wrapper-1.1.3 |
330 |
- sys-apps/attr |
331 |
- sys-libs/libcap |
332 |
- >=sys-libs/ldb-1.1.24 |
333 |
- sys-libs/ncurses:0= |
334 |
- >=sys-libs/nss_wrapper-1.0.3 |
335 |
- >=sys-libs/talloc-2.1.3[python,${PYTHON_USEDEP}] |
336 |
- >=sys-libs/tdb-1.3.7[python,${PYTHON_USEDEP}] |
337 |
- >=sys-libs/tevent-0.9.25 |
338 |
- >=sys-libs/uid_wrapper-1.1.0 |
339 |
- sys-libs/zlib |
340 |
- virtual/pam |
341 |
- acl? ( virtual/acl ) |
342 |
- addns? ( net-dns/bind-tools[gssapi] ) |
343 |
- aio? ( dev-libs/libaio ) |
344 |
- cluster? ( >=dev-db/ctdb-1.0.114_p1 ) |
345 |
- cups? ( net-print/cups ) |
346 |
- dmapi? ( sys-apps/dmapi ) |
347 |
- fam? ( virtual/fam ) |
348 |
- gnutls? ( dev-libs/libgcrypt:0 |
349 |
- >=net-libs/gnutls-1.4.0 ) |
350 |
- ldap? ( net-nds/openldap ) |
351 |
- system-mitkrb5? ( app-crypt/mit-krb5 ) |
352 |
- !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl] ) |
353 |
- systemd? ( sys-apps/systemd:0= )" |
354 |
-DEPEND="${CDEPEND} |
355 |
- virtual/pkgconfig" |
356 |
-RDEPEND="${CDEPEND} |
357 |
- client? ( net-fs/cifs-utils[ads?] ) |
358 |
- selinux? ( sec-policy/selinux-samba ) |
359 |
-" |
360 |
- |
361 |
-REQUIRED_USE="addc? ( gnutls !system-mitkrb5 ) |
362 |
- ads? ( acl gnutls ldap ) |
363 |
- ${PYTHON_REQUIRED_USE}" |
364 |
- |
365 |
-S="${WORKDIR}/${MY_P}" |
366 |
- |
367 |
-PATCHES=( |
368 |
- "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" |
369 |
- "${FILESDIR}/${PN}-4.2.7-pam.patch" |
370 |
-) |
371 |
- |
372 |
-CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
373 |
- |
374 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
375 |
- |
376 |
-pkg_setup() { |
377 |
- python-single-r1_pkg_setup |
378 |
- if use aio ; then |
379 |
- if ! linux_config_exists || ! linux_chkconfig_present AIO; then |
380 |
- ewarn "You must enable AIO support in your kernel config, " |
381 |
- ewarn "to be able to support asynchronous I/O. " |
382 |
- ewarn "You can find it at" |
383 |
- ewarn |
384 |
- ewarn "General Support" |
385 |
- ewarn " Enable AIO support " |
386 |
- ewarn |
387 |
- ewarn "and recompile your kernel..." |
388 |
- fi |
389 |
- fi |
390 |
-} |
391 |
- |
392 |
-src_prepare() { |
393 |
- epatch ${PATCHES[@]} |
394 |
- # Allow user patches |
395 |
- epatch_user |
396 |
-} |
397 |
- |
398 |
-src_configure() { |
399 |
- local myconf=() |
400 |
- myconf=( |
401 |
- --enable-fhs |
402 |
- --sysconfdir=/etc |
403 |
- --localstatedir=/var |
404 |
- --with-modulesdir=/usr/$(get_libdir)/samba |
405 |
- --with-piddir=/var/run/${PN} |
406 |
- --bundled-libraries=NONE |
407 |
- --builtin-libraries=NONE |
408 |
- --disable-rpath |
409 |
- --disable-rpath-install |
410 |
- --nopyc |
411 |
- --nopyo |
412 |
- $(use_with acl acl-support) |
413 |
- $(usex addc '' '--without-ad-dc') |
414 |
- $(use_with addns dnsupdate) |
415 |
- $(use_with ads) |
416 |
- $(usex ads '--with-shared-modules=idmap_ad' '') |
417 |
- $(use_with aio aio-support) |
418 |
- $(usex cluster '--with-ctdb-dir=/usr' '') |
419 |
- $(use_enable avahi) |
420 |
- $(use_with cluster cluster-support) |
421 |
- $(use_enable cups) |
422 |
- $(use_with dmapi) |
423 |
- $(use_with fam) |
424 |
- $(use_enable gnutls) |
425 |
- $(use_enable iprint) |
426 |
- $(use_with ldap) |
427 |
- $(use_with pam) |
428 |
- $(use_with pam pam_smbpass) |
429 |
- $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '') |
430 |
- $(use_with quota quotas) |
431 |
- $(use_with syslog) |
432 |
- $(use_with systemd) |
433 |
- $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
434 |
- $(use_with winbind) |
435 |
- $(usex test '--enable-selftest' '') |
436 |
- ) |
437 |
- |
438 |
- CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \ |
439 |
- waf-utils_src_configure ${myconf[@]} |
440 |
-} |
441 |
- |
442 |
-src_install() { |
443 |
- waf-utils_src_install |
444 |
- |
445 |
- # install ldap schema for server (bug #491002) |
446 |
- if use ldap ; then |
447 |
- insinto /etc/openldap/schema |
448 |
- doins examples/LDAP/samba.schema |
449 |
- fi |
450 |
- |
451 |
- # Make all .so files executable |
452 |
- find "${D}" -type f -name "*.so" -exec chmod +x {} + |
453 |
- |
454 |
- # install example config file |
455 |
- insinto /etc/samba |
456 |
- doins examples/smb.conf.default |
457 |
- |
458 |
- # Install init script and conf.d file |
459 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
460 |
- newconfd "${CONFDIR}/samba4.confd" samba |
461 |
- |
462 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
463 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
464 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
465 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
466 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
467 |
- systemd_dounit "${FILESDIR}"/samba.service |
468 |
-} |
469 |
- |
470 |
-src_test() { |
471 |
- "${WAF_BINARY}" test || die "test failed" |
472 |
-} |
473 |
- |
474 |
-pkg_postinst() { |
475 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
476 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
477 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
478 |
- ewarn "controller work previously known as 'samba4'." |
479 |
- |
480 |
- elog "For further information and migration steps make sure to read " |
481 |
- elog "http://samba.org/samba/history/${P}.html " |
482 |
- elog "http://samba.org/samba/history/${PN}-4.2.0.html and" |
483 |
- elog "http://wiki.samba.org/index.php/Samba4/HOWTO " |
484 |
-} |