1 |
commit: 813ebd9e75a8b4ecde3dc01182903dc903116e2f |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 9 05:54:18 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 9 06:05:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813ebd9e |
7 |
|
8 |
net-fs/samba: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-fs/samba/Manifest | 3 - |
14 |
net-fs/samba/samba-4.10.0.ebuild | 306 ------------------------------------- |
15 |
net-fs/samba/samba-4.10.1.ebuild | 306 ------------------------------------- |
16 |
net-fs/samba/samba-4.9.4-r1.ebuild | 305 ------------------------------------ |
17 |
net-fs/samba/samba-4.9.5.ebuild | 305 ------------------------------------ |
18 |
5 files changed, 1225 deletions(-) |
19 |
|
20 |
diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest |
21 |
index 9f412a59f1e..2fcfb02c6aa 100644 |
22 |
--- a/net-fs/samba/Manifest |
23 |
+++ b/net-fs/samba/Manifest |
24 |
@@ -1,11 +1,8 @@ |
25 |
-DIST samba-4.10.0.tar.gz 18270804 BLAKE2B 53faf392aa4d09412f3d525410e290385f796dd7ef16e48d403ce8ff0466150312992c7459adee21ebf4c217c67a77d244b69f706dae16245058670a2ccd2087 SHA512 e82a8ec78cea666a653bddab066eaa22382f5b016b38f7618492e39f470d6f4c3ddd6dc21e9f0e9fde73ab98c4dd3da1a3823fd457f085ac14c36070b447ac90 |
26 |
-DIST samba-4.10.1.tar.gz 18280677 BLAKE2B e14142d51e35d0745d21832825af59216032df5316db4adb39044e3121911ac06bc3d7070c9a03f7fdda03e18f537293e9e3a4c4a78bd1c3c93244d23171ca39 SHA512 cfd86999d2eacb7700f03a25112211f4c79f64685d758744f690046728b5f5d66e4699d6cc9dc3e1ae108eb630ed18d9f62791ca101daabcebafa3cca2b3d838 |
27 |
DIST samba-4.10.2.tar.gz 18280710 BLAKE2B f15b117d1159dfa6cd279c5011629d688fcfba94a2ca8184a827d0787a31f76a38f46b355454b916f2e62c0a88109b86664f6bb16fc0e23d0f61d09908e587cd SHA512 3d146ea12567ebb02a7babcad779b82339ffbfb19f6f2be5cac33eb18af2c9b546dc1cd910072a5c9e152ba9c4a632ed6870c48a8f6ad9d04304b130f240a4bf |
28 |
DIST samba-4.5.11-disable-python-patches.tar.xz 6292 BLAKE2B c2a32a1059a02bc1c87ce5f604cbc5878c654b8f693c8486b5ba63b37513444915a7b6389fe82b7e31ab2f9577dd8462eddba60b4f4f756b4ed1145ce7bd90ae SHA512 f0e3076e3e1ecaae3f06b3ef30efc81719fb3f63a1041dcbdae4b62ca4cf693732f9eb16f047d046d4930136fed82194e82b455ea888e12cf845b3e6a122d57d |
29 |
DIST samba-4.5.16.tar.gz 21024396 BLAKE2B e737559fb748044076608fa233700eb54c7e1c56bc234763f062b6341a179cc78a4a8cdf9f3d6f4d7f3cf8a79f846852ddd5cc753a468c3adb3a0451e1809ed9 SHA512 de8a41013cfb5ef3adcb290efd97a78a5de876d90ad05764d631f14e663a1849bb53e4ac394b46c906f1109be5748fee9316407a659c57007d36851ae8adcd7f |
30 |
DIST samba-4.7.12.tar.gz 16923189 BLAKE2B 98ea5e535482a4cdfeb4f9ad70bc8c40bb6d5a8920ce9bc6dda84f20698245c3c5d472a5f79984efc81f9c32d1d1e72b1fcdffb137e3a27634f4c521a1d46a48 SHA512 951dfc0ea7130da9d9aa3069ca276e630d67171a1995dba368459e0cdf00337d0f6271827bffec694371010614a1a7ce2349840ddedd0231315f6a56dce2fcac |
31 |
DIST samba-4.8.6.tar.gz 17723841 BLAKE2B 38da52e14b4417f26462eef2226c4498e54d2c276b4056e8c6d6c66079f33bcda24c1eab30b29bc7413280ec89a74a55e043e8274ac50f9a25bae7563717ff34 SHA512 f6afab5ca466bd8653a56c205b71ce94ecf0ad0c6e4c9d64cbba7b1e56f1987bc2022e6b629d87eb6078e3f6ba53833c19cfb41e40b6d589e4317ea9d85de273 |
32 |
DIST samba-4.8.9.tar.gz 17750151 BLAKE2B 09f350be7f262889708c1b8f779c0e003cc292e0de2afb19f35ec12d43c4c5874151e984699218a563a11eb24b13f1af33607d2accfe699fb0b5f6bdb1b9b367 SHA512 733eb769e21fc563d4deef17c54de025d05ceec85f8b16513bbeefdb3cb99c3611027e049014d3c29cb6463ce2660be92c97f8b5f741a6b67424c8f329a88ea4 |
33 |
-DIST samba-4.9.4.tar.gz 18053738 BLAKE2B 337444e55fc8a8864e3960609719087e64e7d14faaf150c510b9011f67ffdc8a9bd6533c60be938e742db8a2e5401a065e7d14fae0480ee7a996a1f71ef0448d SHA512 ecd9937caa12d409b9b4cf34982b1670346fa64c7ecd111b390e296771476e13eb7b868997bfe489f36b7bdc5c9fc3af42cd5ad276e9d85aaedfa8ac4cfc0617 |
34 |
DIST samba-4.9.5.tar.gz 18065757 BLAKE2B 541b2534cdfb94a155aee629645bb4f1cbe429c6cb4f3170973807c4c5d2728013137eb65e478da763169315e0fc720f5dc54a70f7f9dcce4e2d5b69271a82cd SHA512 0ce49721dcd1b16148448bdf516c42f8fdeb3cb48e7fa8113fac508f8585251ead23d5b679f99eb7925e7a6fbedc2da75d339946b0cecb15698f3ea0cb542750 |
35 |
DIST samba-4.9.6.tar.gz 18068196 BLAKE2B 03a04abb430abc4b7ba6fc5ade8690c215948d24fe1044d79c2dd1f8242b6708f0618045e37ad73114413dcef70bcf45de15f358a0e012cecfea045b9ab9165c SHA512 462774e60f0165aa445821795c373ab6845ac2790578a68e84c0c82f761ddf29bf5186106a95f394e24b8ef7393d7abe003f95e72f5c5892bbf992f58e350531 |
36 |
|
37 |
diff --git a/net-fs/samba/samba-4.10.0.ebuild b/net-fs/samba/samba-4.10.0.ebuild |
38 |
deleted file mode 100644 |
39 |
index 3dd2aa09db2..00000000000 |
40 |
--- a/net-fs/samba/samba-4.10.0.ebuild |
41 |
+++ /dev/null |
42 |
@@ -1,306 +0,0 @@ |
43 |
-# Copyright 1999-2019 Gentoo Authors |
44 |
-# Distributed under the terms of the GNU General Public License v2 |
45 |
- |
46 |
-EAPI=6 |
47 |
-PYTHON_COMPAT=( python3_{4,5,6,7} ) |
48 |
-PYTHON_REQ_USE='threads(+),xml(+)' |
49 |
- |
50 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam |
51 |
- |
52 |
-MY_PV="${PV/_rc/rc}" |
53 |
-MY_P="${PN}-${MY_PV}" |
54 |
- |
55 |
-SRC_PATH="stable" |
56 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
57 |
- |
58 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" |
59 |
-[[ ${PV} = *_rc* ]] || \ |
60 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
61 |
- |
62 |
-DESCRIPTION="Samba Suite Version 4" |
63 |
-HOMEPAGE="https://www.samba.org/" |
64 |
-LICENSE="GPL-3" |
65 |
- |
66 |
-SLOT="0" |
67 |
- |
68 |
-IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint json ldap |
69 |
-pam python quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf" |
70 |
- |
71 |
-MULTILIB_WRAPPED_HEADERS=( |
72 |
- /usr/include/samba-4.0/policy.h |
73 |
- /usr/include/samba-4.0/dcerpc_server.h |
74 |
- /usr/include/samba-4.0/ctdb.h |
75 |
- /usr/include/samba-4.0/ctdb_client.h |
76 |
- /usr/include/samba-4.0/ctdb_protocol.h |
77 |
- /usr/include/samba-4.0/ctdb_private.h |
78 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
79 |
- /usr/include/samba-4.0/ctdb_version.h |
80 |
-) |
81 |
- |
82 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
83 |
-CDEPEND=" |
84 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
85 |
- dev-lang/perl:= |
86 |
- dev-libs/libaio[${MULTILIB_USEDEP}] |
87 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
88 |
- dev-libs/iniparser:0 |
89 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
90 |
- dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
91 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
92 |
- net-libs/libnsl:=[${MULTILIB_USEDEP}] |
93 |
- sys-apps/attr[${MULTILIB_USEDEP}] |
94 |
- >=sys-libs/ldb-1.5.4[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
95 |
- <sys-libs/ldb-1.6.0[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
96 |
- sys-libs/libcap |
97 |
- sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
98 |
- sys-libs/readline:0= |
99 |
- >=sys-libs/talloc-2.1.16[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
100 |
- >=sys-libs/tdb-1.3.18[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
101 |
- >=sys-libs/tevent-0.9.39[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
102 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
103 |
- virtual/libiconv |
104 |
- pam? ( virtual/pam ) |
105 |
- acl? ( virtual/acl ) |
106 |
- addns? ( |
107 |
- net-dns/bind-tools[gssapi] |
108 |
- dev-python/dnspython:=[${PYTHON_USEDEP}] |
109 |
- ) |
110 |
- ceph? ( sys-cluster/ceph ) |
111 |
- cluster? ( |
112 |
- net-libs/rpcsvc-proto |
113 |
- !dev-db/ctdb |
114 |
- ) |
115 |
- cups? ( net-print/cups ) |
116 |
- debug? ( dev-util/lttng-ust ) |
117 |
- dmapi? ( sys-apps/dmapi ) |
118 |
- fam? ( virtual/fam ) |
119 |
- gnutls? ( |
120 |
- dev-libs/libgcrypt:0 |
121 |
- >=net-libs/gnutls-1.4.0 |
122 |
- ) |
123 |
- gpg? ( app-crypt/gpgme ) |
124 |
- json? ( dev-libs/jansson ) |
125 |
- ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
126 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
127 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) |
128 |
- systemd? ( sys-apps/systemd:0= ) |
129 |
-" |
130 |
-DEPEND="${CDEPEND} |
131 |
- ${PYTHON_DEPS} |
132 |
- app-text/docbook-xsl-stylesheets |
133 |
- dev-libs/libxslt |
134 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
135 |
- virtual/pkgconfig |
136 |
- || ( |
137 |
- net-libs/rpcsvc-proto |
138 |
- <sys-libs/glibc-2.26[rpc(+)] |
139 |
- ) |
140 |
- test? ( |
141 |
- !system-mitkrb5? ( |
142 |
- >=sys-libs/nss_wrapper-1.1.3 |
143 |
- >=net-dns/resolv_wrapper-1.1.4 |
144 |
- >=net-libs/socket_wrapper-1.1.9 |
145 |
- >=sys-libs/uid_wrapper-1.2.1 |
146 |
- ) |
147 |
- )" |
148 |
-RDEPEND="${CDEPEND} |
149 |
- python? ( ${PYTHON_DEPS} ) |
150 |
- client? ( net-fs/cifs-utils[ads?] ) |
151 |
- selinux? ( sec-policy/selinux-samba ) |
152 |
- !dev-perl/Parse-Yapp |
153 |
-" |
154 |
- |
155 |
-REQUIRED_USE=" |
156 |
- addc? ( python gnutls json winbind ) |
157 |
- addns? ( python ) |
158 |
- ads? ( acl gnutls ldap winbind ) |
159 |
- cluster? ( ads ) |
160 |
- gpg? ( addc ) |
161 |
- test? ( python ) |
162 |
- ?? ( system-heimdal system-mitkrb5 ) |
163 |
- ${PYTHON_REQUIRED_USE} |
164 |
-" |
165 |
- |
166 |
-# the test suite is messed, it uses system-installed samba |
167 |
-# bits instead of what was built, tests things disabled via use |
168 |
-# flags, and generally just fails to work in a way ebuilds could |
169 |
-# rely on in its current state |
170 |
-RESTRICT="test" |
171 |
- |
172 |
-S="${WORKDIR}/${MY_P}" |
173 |
- |
174 |
-PATCHES=( |
175 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
176 |
- "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" |
177 |
- "${FILESDIR}/${PN}-4.9.2-timespec.patch" |
178 |
-) |
179 |
- |
180 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
181 |
-CONFDIR="${FILESDIR}/4.4" |
182 |
- |
183 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
184 |
- |
185 |
-SHAREDMODS="" |
186 |
- |
187 |
-pkg_setup() { |
188 |
- python-single-r1_pkg_setup |
189 |
- if use cluster ; then |
190 |
- SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad" |
191 |
- elif use ads ; then |
192 |
- SHAREDMODS="idmap_ad" |
193 |
- fi |
194 |
-} |
195 |
- |
196 |
-src_prepare() { |
197 |
- default |
198 |
- |
199 |
- # un-bundle dnspython |
200 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
201 |
- |
202 |
- # unbundle iso8601 unless tests are enabled |
203 |
- if ! use test ; then |
204 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
205 |
- fi |
206 |
- |
207 |
- # ugly hackaround for bug #592502 |
208 |
- cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
209 |
- |
210 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
211 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
212 |
- || die |
213 |
- |
214 |
- # Friggin' WAF shit |
215 |
- multilib_copy_sources |
216 |
-} |
217 |
- |
218 |
-multilib_src_configure() { |
219 |
- # when specifying libs for samba build you must append NONE to the end to |
220 |
- # stop it automatically including things |
221 |
- local bundled_libs="NONE" |
222 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
223 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
224 |
- fi |
225 |
- |
226 |
- local myconf=( |
227 |
- --enable-fhs |
228 |
- --sysconfdir="${EPREFIX}/etc" |
229 |
- --localstatedir="${EPREFIX}/var" |
230 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
231 |
- --with-piddir="${EPREFIX}/run/${PN}" |
232 |
- --bundled-libraries="${bundled_libs}" |
233 |
- --builtin-libraries=NONE |
234 |
- --disable-rpath |
235 |
- --disable-rpath-install |
236 |
- --nopyc |
237 |
- --nopyo |
238 |
- $(multilib_native_use_with acl acl-support) |
239 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
240 |
- $(multilib_native_use_with addns dnsupdate) |
241 |
- $(multilib_native_use_with ads) |
242 |
- $(multilib_native_use_enable ceph cephfs) |
243 |
- $(multilib_native_use_with cluster cluster-support) |
244 |
- $(multilib_native_use_enable cups) |
245 |
- $(multilib_native_use_with dmapi) |
246 |
- $(multilib_native_use_with fam) |
247 |
- $(multilib_native_use_with gpg gpgme) |
248 |
- $(multilib_native_use_with json) |
249 |
- $(multilib_native_use_enable iprint) |
250 |
- $(multilib_native_use_with pam) |
251 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
252 |
- $(multilib_native_use_with quota quotas) |
253 |
- $(multilib_native_use_with syslog) |
254 |
- $(multilib_native_use_with systemd) |
255 |
- $(multilib_native_use_with winbind) |
256 |
- $(multilib_native_usex python '' '--disable-python') |
257 |
- $(multilib_native_use_enable zeroconf avahi) |
258 |
- $(multilib_native_usex test '--enable-selftest' '') |
259 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
260 |
- $(use_enable gnutls) |
261 |
- $(use_with debug lttng) |
262 |
- $(use_with ldap) |
263 |
- ) |
264 |
- |
265 |
- multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} ) |
266 |
- |
267 |
- CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \ |
268 |
- waf-utils_src_configure ${myconf[@]} |
269 |
-} |
270 |
- |
271 |
-multilib_src_compile() { |
272 |
- waf-utils_src_compile |
273 |
-} |
274 |
- |
275 |
-multilib_src_install() { |
276 |
- waf-utils_src_install |
277 |
- |
278 |
- # Make all .so files executable |
279 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
280 |
- |
281 |
- if multilib_is_native_abi ; then |
282 |
- # install ldap schema for server (bug #491002) |
283 |
- if use ldap ; then |
284 |
- insinto /etc/openldap/schema |
285 |
- doins examples/LDAP/samba.schema |
286 |
- fi |
287 |
- |
288 |
- # create symlink for cups (bug #552310) |
289 |
- if use cups ; then |
290 |
- dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb |
291 |
- fi |
292 |
- |
293 |
- # install example config file |
294 |
- insinto /etc/samba |
295 |
- doins examples/smb.conf.default |
296 |
- |
297 |
- # Fix paths in example file (#603964) |
298 |
- sed \ |
299 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
300 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
301 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
302 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
303 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
304 |
- -i "${ED%/}"/etc/samba/smb.conf.default || die |
305 |
- |
306 |
- # Install init script and conf.d file |
307 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
308 |
- newconfd "${CONFDIR}/samba4.confd" samba |
309 |
- |
310 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
311 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
312 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
313 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
314 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
315 |
- systemd_dounit "${FILESDIR}"/samba.service |
316 |
- fi |
317 |
- |
318 |
- if use pam && use winbind ; then |
319 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
320 |
- # bugs #376853 and #590374 |
321 |
- insinto /etc/security |
322 |
- doins examples/pam_winbind/pam_winbind.conf || die |
323 |
- fi |
324 |
- |
325 |
- keepdir /var/cache/samba |
326 |
- keepdir /var/lib/ctdb |
327 |
- keepdir /var/lib/samba/{bind-dns,private} |
328 |
- keepdir /var/lock/samba |
329 |
- keepdir /var/log/samba |
330 |
- keepdir /var/run/{ctdb,samba} |
331 |
-} |
332 |
- |
333 |
-multilib_src_test() { |
334 |
- if multilib_is_native_abi ; then |
335 |
- "${WAF_BINARY}" test || die "test failed" |
336 |
- fi |
337 |
-} |
338 |
- |
339 |
-pkg_postinst() { |
340 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
341 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
342 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
343 |
- ewarn "controller work previously known as 'samba4'." |
344 |
- |
345 |
- elog "For further information and migration steps make sure to read " |
346 |
- elog "https://samba.org/samba/history/${P}.html " |
347 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
348 |
-} |
349 |
|
350 |
diff --git a/net-fs/samba/samba-4.10.1.ebuild b/net-fs/samba/samba-4.10.1.ebuild |
351 |
deleted file mode 100644 |
352 |
index 3dd2aa09db2..00000000000 |
353 |
--- a/net-fs/samba/samba-4.10.1.ebuild |
354 |
+++ /dev/null |
355 |
@@ -1,306 +0,0 @@ |
356 |
-# Copyright 1999-2019 Gentoo Authors |
357 |
-# Distributed under the terms of the GNU General Public License v2 |
358 |
- |
359 |
-EAPI=6 |
360 |
-PYTHON_COMPAT=( python3_{4,5,6,7} ) |
361 |
-PYTHON_REQ_USE='threads(+),xml(+)' |
362 |
- |
363 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam |
364 |
- |
365 |
-MY_PV="${PV/_rc/rc}" |
366 |
-MY_P="${PN}-${MY_PV}" |
367 |
- |
368 |
-SRC_PATH="stable" |
369 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
370 |
- |
371 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" |
372 |
-[[ ${PV} = *_rc* ]] || \ |
373 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
374 |
- |
375 |
-DESCRIPTION="Samba Suite Version 4" |
376 |
-HOMEPAGE="https://www.samba.org/" |
377 |
-LICENSE="GPL-3" |
378 |
- |
379 |
-SLOT="0" |
380 |
- |
381 |
-IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint json ldap |
382 |
-pam python quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf" |
383 |
- |
384 |
-MULTILIB_WRAPPED_HEADERS=( |
385 |
- /usr/include/samba-4.0/policy.h |
386 |
- /usr/include/samba-4.0/dcerpc_server.h |
387 |
- /usr/include/samba-4.0/ctdb.h |
388 |
- /usr/include/samba-4.0/ctdb_client.h |
389 |
- /usr/include/samba-4.0/ctdb_protocol.h |
390 |
- /usr/include/samba-4.0/ctdb_private.h |
391 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
392 |
- /usr/include/samba-4.0/ctdb_version.h |
393 |
-) |
394 |
- |
395 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
396 |
-CDEPEND=" |
397 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
398 |
- dev-lang/perl:= |
399 |
- dev-libs/libaio[${MULTILIB_USEDEP}] |
400 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
401 |
- dev-libs/iniparser:0 |
402 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
403 |
- dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
404 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
405 |
- net-libs/libnsl:=[${MULTILIB_USEDEP}] |
406 |
- sys-apps/attr[${MULTILIB_USEDEP}] |
407 |
- >=sys-libs/ldb-1.5.4[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
408 |
- <sys-libs/ldb-1.6.0[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
409 |
- sys-libs/libcap |
410 |
- sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
411 |
- sys-libs/readline:0= |
412 |
- >=sys-libs/talloc-2.1.16[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
413 |
- >=sys-libs/tdb-1.3.18[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
414 |
- >=sys-libs/tevent-0.9.39[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
415 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
416 |
- virtual/libiconv |
417 |
- pam? ( virtual/pam ) |
418 |
- acl? ( virtual/acl ) |
419 |
- addns? ( |
420 |
- net-dns/bind-tools[gssapi] |
421 |
- dev-python/dnspython:=[${PYTHON_USEDEP}] |
422 |
- ) |
423 |
- ceph? ( sys-cluster/ceph ) |
424 |
- cluster? ( |
425 |
- net-libs/rpcsvc-proto |
426 |
- !dev-db/ctdb |
427 |
- ) |
428 |
- cups? ( net-print/cups ) |
429 |
- debug? ( dev-util/lttng-ust ) |
430 |
- dmapi? ( sys-apps/dmapi ) |
431 |
- fam? ( virtual/fam ) |
432 |
- gnutls? ( |
433 |
- dev-libs/libgcrypt:0 |
434 |
- >=net-libs/gnutls-1.4.0 |
435 |
- ) |
436 |
- gpg? ( app-crypt/gpgme ) |
437 |
- json? ( dev-libs/jansson ) |
438 |
- ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
439 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
440 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) |
441 |
- systemd? ( sys-apps/systemd:0= ) |
442 |
-" |
443 |
-DEPEND="${CDEPEND} |
444 |
- ${PYTHON_DEPS} |
445 |
- app-text/docbook-xsl-stylesheets |
446 |
- dev-libs/libxslt |
447 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
448 |
- virtual/pkgconfig |
449 |
- || ( |
450 |
- net-libs/rpcsvc-proto |
451 |
- <sys-libs/glibc-2.26[rpc(+)] |
452 |
- ) |
453 |
- test? ( |
454 |
- !system-mitkrb5? ( |
455 |
- >=sys-libs/nss_wrapper-1.1.3 |
456 |
- >=net-dns/resolv_wrapper-1.1.4 |
457 |
- >=net-libs/socket_wrapper-1.1.9 |
458 |
- >=sys-libs/uid_wrapper-1.2.1 |
459 |
- ) |
460 |
- )" |
461 |
-RDEPEND="${CDEPEND} |
462 |
- python? ( ${PYTHON_DEPS} ) |
463 |
- client? ( net-fs/cifs-utils[ads?] ) |
464 |
- selinux? ( sec-policy/selinux-samba ) |
465 |
- !dev-perl/Parse-Yapp |
466 |
-" |
467 |
- |
468 |
-REQUIRED_USE=" |
469 |
- addc? ( python gnutls json winbind ) |
470 |
- addns? ( python ) |
471 |
- ads? ( acl gnutls ldap winbind ) |
472 |
- cluster? ( ads ) |
473 |
- gpg? ( addc ) |
474 |
- test? ( python ) |
475 |
- ?? ( system-heimdal system-mitkrb5 ) |
476 |
- ${PYTHON_REQUIRED_USE} |
477 |
-" |
478 |
- |
479 |
-# the test suite is messed, it uses system-installed samba |
480 |
-# bits instead of what was built, tests things disabled via use |
481 |
-# flags, and generally just fails to work in a way ebuilds could |
482 |
-# rely on in its current state |
483 |
-RESTRICT="test" |
484 |
- |
485 |
-S="${WORKDIR}/${MY_P}" |
486 |
- |
487 |
-PATCHES=( |
488 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
489 |
- "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" |
490 |
- "${FILESDIR}/${PN}-4.9.2-timespec.patch" |
491 |
-) |
492 |
- |
493 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
494 |
-CONFDIR="${FILESDIR}/4.4" |
495 |
- |
496 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
497 |
- |
498 |
-SHAREDMODS="" |
499 |
- |
500 |
-pkg_setup() { |
501 |
- python-single-r1_pkg_setup |
502 |
- if use cluster ; then |
503 |
- SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad" |
504 |
- elif use ads ; then |
505 |
- SHAREDMODS="idmap_ad" |
506 |
- fi |
507 |
-} |
508 |
- |
509 |
-src_prepare() { |
510 |
- default |
511 |
- |
512 |
- # un-bundle dnspython |
513 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
514 |
- |
515 |
- # unbundle iso8601 unless tests are enabled |
516 |
- if ! use test ; then |
517 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
518 |
- fi |
519 |
- |
520 |
- # ugly hackaround for bug #592502 |
521 |
- cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
522 |
- |
523 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
524 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
525 |
- || die |
526 |
- |
527 |
- # Friggin' WAF shit |
528 |
- multilib_copy_sources |
529 |
-} |
530 |
- |
531 |
-multilib_src_configure() { |
532 |
- # when specifying libs for samba build you must append NONE to the end to |
533 |
- # stop it automatically including things |
534 |
- local bundled_libs="NONE" |
535 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
536 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
537 |
- fi |
538 |
- |
539 |
- local myconf=( |
540 |
- --enable-fhs |
541 |
- --sysconfdir="${EPREFIX}/etc" |
542 |
- --localstatedir="${EPREFIX}/var" |
543 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
544 |
- --with-piddir="${EPREFIX}/run/${PN}" |
545 |
- --bundled-libraries="${bundled_libs}" |
546 |
- --builtin-libraries=NONE |
547 |
- --disable-rpath |
548 |
- --disable-rpath-install |
549 |
- --nopyc |
550 |
- --nopyo |
551 |
- $(multilib_native_use_with acl acl-support) |
552 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
553 |
- $(multilib_native_use_with addns dnsupdate) |
554 |
- $(multilib_native_use_with ads) |
555 |
- $(multilib_native_use_enable ceph cephfs) |
556 |
- $(multilib_native_use_with cluster cluster-support) |
557 |
- $(multilib_native_use_enable cups) |
558 |
- $(multilib_native_use_with dmapi) |
559 |
- $(multilib_native_use_with fam) |
560 |
- $(multilib_native_use_with gpg gpgme) |
561 |
- $(multilib_native_use_with json) |
562 |
- $(multilib_native_use_enable iprint) |
563 |
- $(multilib_native_use_with pam) |
564 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
565 |
- $(multilib_native_use_with quota quotas) |
566 |
- $(multilib_native_use_with syslog) |
567 |
- $(multilib_native_use_with systemd) |
568 |
- $(multilib_native_use_with winbind) |
569 |
- $(multilib_native_usex python '' '--disable-python') |
570 |
- $(multilib_native_use_enable zeroconf avahi) |
571 |
- $(multilib_native_usex test '--enable-selftest' '') |
572 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
573 |
- $(use_enable gnutls) |
574 |
- $(use_with debug lttng) |
575 |
- $(use_with ldap) |
576 |
- ) |
577 |
- |
578 |
- multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} ) |
579 |
- |
580 |
- CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \ |
581 |
- waf-utils_src_configure ${myconf[@]} |
582 |
-} |
583 |
- |
584 |
-multilib_src_compile() { |
585 |
- waf-utils_src_compile |
586 |
-} |
587 |
- |
588 |
-multilib_src_install() { |
589 |
- waf-utils_src_install |
590 |
- |
591 |
- # Make all .so files executable |
592 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
593 |
- |
594 |
- if multilib_is_native_abi ; then |
595 |
- # install ldap schema for server (bug #491002) |
596 |
- if use ldap ; then |
597 |
- insinto /etc/openldap/schema |
598 |
- doins examples/LDAP/samba.schema |
599 |
- fi |
600 |
- |
601 |
- # create symlink for cups (bug #552310) |
602 |
- if use cups ; then |
603 |
- dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb |
604 |
- fi |
605 |
- |
606 |
- # install example config file |
607 |
- insinto /etc/samba |
608 |
- doins examples/smb.conf.default |
609 |
- |
610 |
- # Fix paths in example file (#603964) |
611 |
- sed \ |
612 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
613 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
614 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
615 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
616 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
617 |
- -i "${ED%/}"/etc/samba/smb.conf.default || die |
618 |
- |
619 |
- # Install init script and conf.d file |
620 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
621 |
- newconfd "${CONFDIR}/samba4.confd" samba |
622 |
- |
623 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
624 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
625 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
626 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
627 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
628 |
- systemd_dounit "${FILESDIR}"/samba.service |
629 |
- fi |
630 |
- |
631 |
- if use pam && use winbind ; then |
632 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
633 |
- # bugs #376853 and #590374 |
634 |
- insinto /etc/security |
635 |
- doins examples/pam_winbind/pam_winbind.conf || die |
636 |
- fi |
637 |
- |
638 |
- keepdir /var/cache/samba |
639 |
- keepdir /var/lib/ctdb |
640 |
- keepdir /var/lib/samba/{bind-dns,private} |
641 |
- keepdir /var/lock/samba |
642 |
- keepdir /var/log/samba |
643 |
- keepdir /var/run/{ctdb,samba} |
644 |
-} |
645 |
- |
646 |
-multilib_src_test() { |
647 |
- if multilib_is_native_abi ; then |
648 |
- "${WAF_BINARY}" test || die "test failed" |
649 |
- fi |
650 |
-} |
651 |
- |
652 |
-pkg_postinst() { |
653 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
654 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
655 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
656 |
- ewarn "controller work previously known as 'samba4'." |
657 |
- |
658 |
- elog "For further information and migration steps make sure to read " |
659 |
- elog "https://samba.org/samba/history/${P}.html " |
660 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
661 |
-} |
662 |
|
663 |
diff --git a/net-fs/samba/samba-4.9.4-r1.ebuild b/net-fs/samba/samba-4.9.4-r1.ebuild |
664 |
deleted file mode 100644 |
665 |
index a88b87d0c31..00000000000 |
666 |
--- a/net-fs/samba/samba-4.9.4-r1.ebuild |
667 |
+++ /dev/null |
668 |
@@ -1,305 +0,0 @@ |
669 |
-# Copyright 1999-2019 Gentoo Authors |
670 |
-# Distributed under the terms of the GNU General Public License v2 |
671 |
- |
672 |
-EAPI=6 |
673 |
-PYTHON_COMPAT=( python2_7 ) |
674 |
-PYTHON_REQ_USE='threads(+),xml(+)' |
675 |
- |
676 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam |
677 |
- |
678 |
-MY_PV="${PV/_rc/rc}" |
679 |
-MY_P="${PN}-${MY_PV}" |
680 |
- |
681 |
-SRC_PATH="stable" |
682 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
683 |
- |
684 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" |
685 |
-[[ ${PV} = *_rc* ]] || \ |
686 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
687 |
- |
688 |
-DESCRIPTION="Samba Suite Version 4" |
689 |
-HOMEPAGE="https://www.samba.org/" |
690 |
-LICENSE="GPL-3" |
691 |
- |
692 |
-SLOT="0" |
693 |
- |
694 |
-IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint json ldap |
695 |
-pam python quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf" |
696 |
- |
697 |
-MULTILIB_WRAPPED_HEADERS=( |
698 |
- /usr/include/samba-4.0/policy.h |
699 |
- /usr/include/samba-4.0/dcerpc_server.h |
700 |
- /usr/include/samba-4.0/ctdb.h |
701 |
- /usr/include/samba-4.0/ctdb_client.h |
702 |
- /usr/include/samba-4.0/ctdb_protocol.h |
703 |
- /usr/include/samba-4.0/ctdb_private.h |
704 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
705 |
- /usr/include/samba-4.0/ctdb_version.h |
706 |
-) |
707 |
- |
708 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
709 |
-CDEPEND=" |
710 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
711 |
- dev-lang/perl:= |
712 |
- dev-libs/libaio[${MULTILIB_USEDEP}] |
713 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
714 |
- dev-libs/iniparser:0 |
715 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
716 |
- dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
717 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
718 |
- net-libs/libnsl:=[${MULTILIB_USEDEP}] |
719 |
- sys-apps/attr[${MULTILIB_USEDEP}] |
720 |
- >=sys-libs/ldb-1.4.3[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
721 |
- <sys-libs/ldb-1.5.0[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
722 |
- sys-libs/libcap |
723 |
- sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
724 |
- sys-libs/readline:0= |
725 |
- >=sys-libs/talloc-2.1.14[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
726 |
- >=sys-libs/tdb-1.3.16[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
727 |
- >=sys-libs/tevent-0.9.37[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
728 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
729 |
- virtual/libiconv |
730 |
- pam? ( virtual/pam ) |
731 |
- acl? ( virtual/acl ) |
732 |
- addns? ( |
733 |
- net-dns/bind-tools[gssapi] |
734 |
- dev-python/dnspython:=[${PYTHON_USEDEP}] |
735 |
- ) |
736 |
- ceph? ( sys-cluster/ceph ) |
737 |
- cluster? ( |
738 |
- net-libs/rpcsvc-proto |
739 |
- !dev-db/ctdb |
740 |
- ) |
741 |
- cups? ( net-print/cups ) |
742 |
- debug? ( dev-util/lttng-ust ) |
743 |
- dmapi? ( sys-apps/dmapi ) |
744 |
- fam? ( virtual/fam ) |
745 |
- gnutls? ( |
746 |
- dev-libs/libgcrypt:0 |
747 |
- >=net-libs/gnutls-1.4.0 |
748 |
- ) |
749 |
- gpg? ( app-crypt/gpgme ) |
750 |
- json? ( dev-libs/jansson ) |
751 |
- ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
752 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
753 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) |
754 |
- systemd? ( sys-apps/systemd:0= ) |
755 |
-" |
756 |
-DEPEND="${CDEPEND} |
757 |
- ${PYTHON_DEPS} |
758 |
- app-text/docbook-xsl-stylesheets |
759 |
- dev-libs/libxslt |
760 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
761 |
- virtual/pkgconfig |
762 |
- || ( |
763 |
- net-libs/rpcsvc-proto |
764 |
- <sys-libs/glibc-2.26[rpc(+)] |
765 |
- ) |
766 |
- test? ( |
767 |
- !system-mitkrb5? ( |
768 |
- >=sys-libs/nss_wrapper-1.1.3 |
769 |
- >=net-dns/resolv_wrapper-1.1.4 |
770 |
- >=net-libs/socket_wrapper-1.1.9 |
771 |
- >=sys-libs/uid_wrapper-1.2.1 |
772 |
- ) |
773 |
- )" |
774 |
-RDEPEND="${CDEPEND} |
775 |
- python? ( ${PYTHON_DEPS} ) |
776 |
- client? ( net-fs/cifs-utils[ads?] ) |
777 |
- selinux? ( sec-policy/selinux-samba ) |
778 |
- !dev-perl/Parse-Yapp |
779 |
-" |
780 |
- |
781 |
-REQUIRED_USE=" |
782 |
- addc? ( python gnutls json winbind ) |
783 |
- addns? ( python ) |
784 |
- ads? ( acl gnutls ldap winbind ) |
785 |
- cluster? ( ads ) |
786 |
- gpg? ( addc ) |
787 |
- test? ( python ) |
788 |
- ?? ( system-heimdal system-mitkrb5 ) |
789 |
- ${PYTHON_REQUIRED_USE} |
790 |
-" |
791 |
- |
792 |
-# the test suite is messed, it uses system-installed samba |
793 |
-# bits instead of what was built, tests things disabled via use |
794 |
-# flags, and generally just fails to work in a way ebuilds could |
795 |
-# rely on in its current state |
796 |
-RESTRICT="test" |
797 |
- |
798 |
-S="${WORKDIR}/${MY_P}" |
799 |
- |
800 |
-PATCHES=( |
801 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
802 |
- "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" |
803 |
- "${FILESDIR}/${PN}-4.9.2-timespec.patch" |
804 |
-) |
805 |
- |
806 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
807 |
-CONFDIR="${FILESDIR}/4.4" |
808 |
- |
809 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
810 |
- |
811 |
-SHAREDMODS="" |
812 |
- |
813 |
-pkg_setup() { |
814 |
- python-single-r1_pkg_setup |
815 |
- if use cluster ; then |
816 |
- SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad" |
817 |
- elif use ads ; then |
818 |
- SHAREDMODS="idmap_ad" |
819 |
- fi |
820 |
-} |
821 |
- |
822 |
-src_prepare() { |
823 |
- default |
824 |
- |
825 |
- # un-bundle dnspython |
826 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
827 |
- |
828 |
- # unbundle iso8601 unless tests are enabled |
829 |
- if ! use test ; then |
830 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
831 |
- fi |
832 |
- |
833 |
- # ugly hackaround for bug #592502 |
834 |
- cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
835 |
- |
836 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
837 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
838 |
- || die |
839 |
- |
840 |
- # Friggin' WAF shit |
841 |
- multilib_copy_sources |
842 |
-} |
843 |
- |
844 |
-multilib_src_configure() { |
845 |
- # when specifying libs for samba build you must append NONE to the end to |
846 |
- # stop it automatically including things |
847 |
- local bundled_libs="NONE" |
848 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
849 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
850 |
- fi |
851 |
- |
852 |
- local myconf=( |
853 |
- --enable-fhs |
854 |
- --sysconfdir="${EPREFIX}/etc" |
855 |
- --localstatedir="${EPREFIX}/var" |
856 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
857 |
- --with-piddir="${EPREFIX}/run/${PN}" |
858 |
- --bundled-libraries="${bundled_libs}" |
859 |
- --builtin-libraries=NONE |
860 |
- --disable-rpath |
861 |
- --disable-rpath-install |
862 |
- --nopyc |
863 |
- --nopyo |
864 |
- $(multilib_native_use_with acl acl-support) |
865 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
866 |
- $(multilib_native_use_with addns dnsupdate) |
867 |
- $(multilib_native_use_with ads) |
868 |
- $(multilib_native_use_enable ceph cephfs) |
869 |
- $(multilib_native_use_with cluster cluster-support) |
870 |
- $(multilib_native_use_enable cups) |
871 |
- $(multilib_native_use_with dmapi) |
872 |
- $(multilib_native_use_with fam) |
873 |
- $(multilib_native_use_with gpg gpgme) |
874 |
- $(multilib_native_use_with json json-audit) |
875 |
- $(multilib_native_use_enable iprint) |
876 |
- $(multilib_native_use_with pam) |
877 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
878 |
- $(multilib_native_use_with quota quotas) |
879 |
- $(multilib_native_use_with syslog) |
880 |
- $(multilib_native_use_with systemd) |
881 |
- $(multilib_native_use_with winbind) |
882 |
- $(multilib_native_usex python '' '--disable-python') |
883 |
- $(multilib_native_use_enable zeroconf avahi) |
884 |
- $(multilib_native_usex test '--enable-selftest' '') |
885 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
886 |
- $(use_enable gnutls) |
887 |
- $(use_with debug lttng) |
888 |
- $(use_with ldap) |
889 |
- ) |
890 |
- multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} ) |
891 |
- |
892 |
- CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \ |
893 |
- waf-utils_src_configure ${myconf[@]} |
894 |
-} |
895 |
- |
896 |
-multilib_src_compile() { |
897 |
- waf-utils_src_compile |
898 |
-} |
899 |
- |
900 |
-multilib_src_install() { |
901 |
- waf-utils_src_install |
902 |
- |
903 |
- # Make all .so files executable |
904 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
905 |
- |
906 |
- if multilib_is_native_abi ; then |
907 |
- # install ldap schema for server (bug #491002) |
908 |
- if use ldap ; then |
909 |
- insinto /etc/openldap/schema |
910 |
- doins examples/LDAP/samba.schema |
911 |
- fi |
912 |
- |
913 |
- # create symlink for cups (bug #552310) |
914 |
- if use cups ; then |
915 |
- dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb |
916 |
- fi |
917 |
- |
918 |
- # install example config file |
919 |
- insinto /etc/samba |
920 |
- doins examples/smb.conf.default |
921 |
- |
922 |
- # Fix paths in example file (#603964) |
923 |
- sed \ |
924 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
925 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
926 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
927 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
928 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
929 |
- -i "${ED%/}"/etc/samba/smb.conf.default || die |
930 |
- |
931 |
- # Install init script and conf.d file |
932 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
933 |
- newconfd "${CONFDIR}/samba4.confd" samba |
934 |
- |
935 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
936 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
937 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
938 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
939 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
940 |
- systemd_dounit "${FILESDIR}"/samba.service |
941 |
- fi |
942 |
- |
943 |
- if use pam && use winbind ; then |
944 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
945 |
- # bugs #376853 and #590374 |
946 |
- insinto /etc/security |
947 |
- doins examples/pam_winbind/pam_winbind.conf || die |
948 |
- fi |
949 |
- |
950 |
- keepdir /var/cache/samba |
951 |
- keepdir /var/lib/ctdb |
952 |
- keepdir /var/lib/samba/{bind-dns,private} |
953 |
- keepdir /var/lock/samba |
954 |
- keepdir /var/log/samba |
955 |
- keepdir /var/run/{ctdb,samba} |
956 |
-} |
957 |
- |
958 |
-multilib_src_test() { |
959 |
- if multilib_is_native_abi ; then |
960 |
- "${WAF_BINARY}" test || die "test failed" |
961 |
- fi |
962 |
-} |
963 |
- |
964 |
-pkg_postinst() { |
965 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
966 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
967 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
968 |
- ewarn "controller work previously known as 'samba4'." |
969 |
- |
970 |
- elog "For further information and migration steps make sure to read " |
971 |
- elog "https://samba.org/samba/history/${P}.html " |
972 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
973 |
-} |
974 |
|
975 |
diff --git a/net-fs/samba/samba-4.9.5.ebuild b/net-fs/samba/samba-4.9.5.ebuild |
976 |
deleted file mode 100644 |
977 |
index 6427d579620..00000000000 |
978 |
--- a/net-fs/samba/samba-4.9.5.ebuild |
979 |
+++ /dev/null |
980 |
@@ -1,305 +0,0 @@ |
981 |
-# Copyright 1999-2019 Gentoo Authors |
982 |
-# Distributed under the terms of the GNU General Public License v2 |
983 |
- |
984 |
-EAPI=6 |
985 |
-PYTHON_COMPAT=( python2_7 ) |
986 |
-PYTHON_REQ_USE='threads(+),xml(+)' |
987 |
- |
988 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam |
989 |
- |
990 |
-MY_PV="${PV/_rc/rc}" |
991 |
-MY_P="${PN}-${MY_PV}" |
992 |
- |
993 |
-SRC_PATH="stable" |
994 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
995 |
- |
996 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" |
997 |
-[[ ${PV} = *_rc* ]] || \ |
998 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
999 |
- |
1000 |
-DESCRIPTION="Samba Suite Version 4" |
1001 |
-HOMEPAGE="https://www.samba.org/" |
1002 |
-LICENSE="GPL-3" |
1003 |
- |
1004 |
-SLOT="0" |
1005 |
- |
1006 |
-IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint json ldap |
1007 |
-pam python quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf" |
1008 |
- |
1009 |
-MULTILIB_WRAPPED_HEADERS=( |
1010 |
- /usr/include/samba-4.0/policy.h |
1011 |
- /usr/include/samba-4.0/dcerpc_server.h |
1012 |
- /usr/include/samba-4.0/ctdb.h |
1013 |
- /usr/include/samba-4.0/ctdb_client.h |
1014 |
- /usr/include/samba-4.0/ctdb_protocol.h |
1015 |
- /usr/include/samba-4.0/ctdb_private.h |
1016 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
1017 |
- /usr/include/samba-4.0/ctdb_version.h |
1018 |
-) |
1019 |
- |
1020 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
1021 |
-CDEPEND=" |
1022 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
1023 |
- dev-lang/perl:= |
1024 |
- dev-libs/libaio[${MULTILIB_USEDEP}] |
1025 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
1026 |
- dev-libs/iniparser:0 |
1027 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
1028 |
- dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
1029 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
1030 |
- net-libs/libnsl:=[${MULTILIB_USEDEP}] |
1031 |
- sys-apps/attr[${MULTILIB_USEDEP}] |
1032 |
- >=sys-libs/ldb-1.4.6[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
1033 |
- <sys-libs/ldb-1.5.0[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
1034 |
- sys-libs/libcap |
1035 |
- sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
1036 |
- sys-libs/readline:0= |
1037 |
- >=sys-libs/talloc-2.1.14[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
1038 |
- >=sys-libs/tdb-1.3.16[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
1039 |
- >=sys-libs/tevent-0.9.37[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
1040 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
1041 |
- virtual/libiconv |
1042 |
- pam? ( virtual/pam ) |
1043 |
- acl? ( virtual/acl ) |
1044 |
- addns? ( |
1045 |
- net-dns/bind-tools[gssapi] |
1046 |
- dev-python/dnspython:=[${PYTHON_USEDEP}] |
1047 |
- ) |
1048 |
- ceph? ( sys-cluster/ceph ) |
1049 |
- cluster? ( |
1050 |
- net-libs/rpcsvc-proto |
1051 |
- !dev-db/ctdb |
1052 |
- ) |
1053 |
- cups? ( net-print/cups ) |
1054 |
- debug? ( dev-util/lttng-ust ) |
1055 |
- dmapi? ( sys-apps/dmapi ) |
1056 |
- fam? ( virtual/fam ) |
1057 |
- gnutls? ( |
1058 |
- dev-libs/libgcrypt:0 |
1059 |
- >=net-libs/gnutls-1.4.0 |
1060 |
- ) |
1061 |
- gpg? ( app-crypt/gpgme ) |
1062 |
- json? ( dev-libs/jansson ) |
1063 |
- ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
1064 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
1065 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) |
1066 |
- systemd? ( sys-apps/systemd:0= ) |
1067 |
-" |
1068 |
-DEPEND="${CDEPEND} |
1069 |
- ${PYTHON_DEPS} |
1070 |
- app-text/docbook-xsl-stylesheets |
1071 |
- dev-libs/libxslt |
1072 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
1073 |
- virtual/pkgconfig |
1074 |
- || ( |
1075 |
- net-libs/rpcsvc-proto |
1076 |
- <sys-libs/glibc-2.26[rpc(+)] |
1077 |
- ) |
1078 |
- test? ( |
1079 |
- !system-mitkrb5? ( |
1080 |
- >=sys-libs/nss_wrapper-1.1.3 |
1081 |
- >=net-dns/resolv_wrapper-1.1.4 |
1082 |
- >=net-libs/socket_wrapper-1.1.9 |
1083 |
- >=sys-libs/uid_wrapper-1.2.1 |
1084 |
- ) |
1085 |
- )" |
1086 |
-RDEPEND="${CDEPEND} |
1087 |
- python? ( ${PYTHON_DEPS} ) |
1088 |
- client? ( net-fs/cifs-utils[ads?] ) |
1089 |
- selinux? ( sec-policy/selinux-samba ) |
1090 |
- !dev-perl/Parse-Yapp |
1091 |
-" |
1092 |
- |
1093 |
-REQUIRED_USE=" |
1094 |
- addc? ( python gnutls json winbind ) |
1095 |
- addns? ( python ) |
1096 |
- ads? ( acl gnutls ldap winbind ) |
1097 |
- cluster? ( ads ) |
1098 |
- gpg? ( addc ) |
1099 |
- test? ( python ) |
1100 |
- ?? ( system-heimdal system-mitkrb5 ) |
1101 |
- ${PYTHON_REQUIRED_USE} |
1102 |
-" |
1103 |
- |
1104 |
-# the test suite is messed, it uses system-installed samba |
1105 |
-# bits instead of what was built, tests things disabled via use |
1106 |
-# flags, and generally just fails to work in a way ebuilds could |
1107 |
-# rely on in its current state |
1108 |
-RESTRICT="test" |
1109 |
- |
1110 |
-S="${WORKDIR}/${MY_P}" |
1111 |
- |
1112 |
-PATCHES=( |
1113 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
1114 |
- "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" |
1115 |
- "${FILESDIR}/${PN}-4.9.2-timespec.patch" |
1116 |
-) |
1117 |
- |
1118 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
1119 |
-CONFDIR="${FILESDIR}/4.4" |
1120 |
- |
1121 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
1122 |
- |
1123 |
-SHAREDMODS="" |
1124 |
- |
1125 |
-pkg_setup() { |
1126 |
- python-single-r1_pkg_setup |
1127 |
- if use cluster ; then |
1128 |
- SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad" |
1129 |
- elif use ads ; then |
1130 |
- SHAREDMODS="idmap_ad" |
1131 |
- fi |
1132 |
-} |
1133 |
- |
1134 |
-src_prepare() { |
1135 |
- default |
1136 |
- |
1137 |
- # un-bundle dnspython |
1138 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
1139 |
- |
1140 |
- # unbundle iso8601 unless tests are enabled |
1141 |
- if ! use test ; then |
1142 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
1143 |
- fi |
1144 |
- |
1145 |
- # ugly hackaround for bug #592502 |
1146 |
- cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
1147 |
- |
1148 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
1149 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
1150 |
- || die |
1151 |
- |
1152 |
- # Friggin' WAF shit |
1153 |
- multilib_copy_sources |
1154 |
-} |
1155 |
- |
1156 |
-multilib_src_configure() { |
1157 |
- # when specifying libs for samba build you must append NONE to the end to |
1158 |
- # stop it automatically including things |
1159 |
- local bundled_libs="NONE" |
1160 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
1161 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
1162 |
- fi |
1163 |
- |
1164 |
- local myconf=( |
1165 |
- --enable-fhs |
1166 |
- --sysconfdir="${EPREFIX}/etc" |
1167 |
- --localstatedir="${EPREFIX}/var" |
1168 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
1169 |
- --with-piddir="${EPREFIX}/run/${PN}" |
1170 |
- --bundled-libraries="${bundled_libs}" |
1171 |
- --builtin-libraries=NONE |
1172 |
- --disable-rpath |
1173 |
- --disable-rpath-install |
1174 |
- --nopyc |
1175 |
- --nopyo |
1176 |
- $(multilib_native_use_with acl acl-support) |
1177 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
1178 |
- $(multilib_native_use_with addns dnsupdate) |
1179 |
- $(multilib_native_use_with ads) |
1180 |
- $(multilib_native_use_enable ceph cephfs) |
1181 |
- $(multilib_native_use_with cluster cluster-support) |
1182 |
- $(multilib_native_use_enable cups) |
1183 |
- $(multilib_native_use_with dmapi) |
1184 |
- $(multilib_native_use_with fam) |
1185 |
- $(multilib_native_use_with gpg gpgme) |
1186 |
- $(multilib_native_use_with json json-audit) |
1187 |
- $(multilib_native_use_enable iprint) |
1188 |
- $(multilib_native_use_with pam) |
1189 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
1190 |
- $(multilib_native_use_with quota quotas) |
1191 |
- $(multilib_native_use_with syslog) |
1192 |
- $(multilib_native_use_with systemd) |
1193 |
- $(multilib_native_use_with winbind) |
1194 |
- $(multilib_native_usex python '' '--disable-python') |
1195 |
- $(multilib_native_use_enable zeroconf avahi) |
1196 |
- $(multilib_native_usex test '--enable-selftest' '') |
1197 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
1198 |
- $(use_enable gnutls) |
1199 |
- $(use_with debug lttng) |
1200 |
- $(use_with ldap) |
1201 |
- ) |
1202 |
- multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} ) |
1203 |
- |
1204 |
- CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \ |
1205 |
- waf-utils_src_configure ${myconf[@]} |
1206 |
-} |
1207 |
- |
1208 |
-multilib_src_compile() { |
1209 |
- waf-utils_src_compile |
1210 |
-} |
1211 |
- |
1212 |
-multilib_src_install() { |
1213 |
- waf-utils_src_install |
1214 |
- |
1215 |
- # Make all .so files executable |
1216 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
1217 |
- |
1218 |
- if multilib_is_native_abi ; then |
1219 |
- # install ldap schema for server (bug #491002) |
1220 |
- if use ldap ; then |
1221 |
- insinto /etc/openldap/schema |
1222 |
- doins examples/LDAP/samba.schema |
1223 |
- fi |
1224 |
- |
1225 |
- # create symlink for cups (bug #552310) |
1226 |
- if use cups ; then |
1227 |
- dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb |
1228 |
- fi |
1229 |
- |
1230 |
- # install example config file |
1231 |
- insinto /etc/samba |
1232 |
- doins examples/smb.conf.default |
1233 |
- |
1234 |
- # Fix paths in example file (#603964) |
1235 |
- sed \ |
1236 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
1237 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
1238 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
1239 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
1240 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
1241 |
- -i "${ED%/}"/etc/samba/smb.conf.default || die |
1242 |
- |
1243 |
- # Install init script and conf.d file |
1244 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
1245 |
- newconfd "${CONFDIR}/samba4.confd" samba |
1246 |
- |
1247 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
1248 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
1249 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
1250 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
1251 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
1252 |
- systemd_dounit "${FILESDIR}"/samba.service |
1253 |
- fi |
1254 |
- |
1255 |
- if use pam && use winbind ; then |
1256 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
1257 |
- # bugs #376853 and #590374 |
1258 |
- insinto /etc/security |
1259 |
- doins examples/pam_winbind/pam_winbind.conf || die |
1260 |
- fi |
1261 |
- |
1262 |
- keepdir /var/cache/samba |
1263 |
- keepdir /var/lib/ctdb |
1264 |
- keepdir /var/lib/samba/{bind-dns,private} |
1265 |
- keepdir /var/lock/samba |
1266 |
- keepdir /var/log/samba |
1267 |
- keepdir /var/run/{ctdb,samba} |
1268 |
-} |
1269 |
- |
1270 |
-multilib_src_test() { |
1271 |
- if multilib_is_native_abi ; then |
1272 |
- "${WAF_BINARY}" test || die "test failed" |
1273 |
- fi |
1274 |
-} |
1275 |
- |
1276 |
-pkg_postinst() { |
1277 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
1278 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
1279 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
1280 |
- ewarn "controller work previously known as 'samba4'." |
1281 |
- |
1282 |
- elog "For further information and migration steps make sure to read " |
1283 |
- elog "https://samba.org/samba/history/${P}.html " |
1284 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
1285 |
-} |