Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/samba/
Date: Tue, 21 Nov 2017 19:32:02
Message-Id: 1511292709.e0ca73fa06d04def97606aec50aee9f29b2d606a.axs@gentoo
1 commit: e0ca73fa06d04def97606aec50aee9f29b2d606a
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 21 19:29:44 2017 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 21 19:31:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0ca73fa
7
8 net-fs/samba: upstream version bumps
9
10 Bumped the samba 4.5, 4.6 and 4.7 series to upstream latest:
11 4.5.15, 4.6.11, 4.7.3
12
13 Also addressed an absolute-path symlink warning related to smbspool
14
15 Package-Manager: Portage-2.3.13, Repoman-2.3.3
16
17 net-fs/samba/Manifest | 3 +
18 net-fs/samba/samba-4.5.15.ebuild | 282 +++++++++++++++++++++++++++++++++++
19 net-fs/samba/samba-4.6.11.ebuild | 308 +++++++++++++++++++++++++++++++++++++++
20 net-fs/samba/samba-4.7.3.ebuild | 305 ++++++++++++++++++++++++++++++++++++++
21 4 files changed, 898 insertions(+)
22
23 diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest
24 index afa7278f189..dc379f4aa95 100644
25 --- a/net-fs/samba/Manifest
26 +++ b/net-fs/samba/Manifest
27 @@ -3,10 +3,13 @@ DIST samba-4.5.10.tar.gz 20989431 SHA256 7cb753f5f6d5527ef40d4c1f47dacafb7c876cb
28 DIST samba-4.5.11-disable-python-patches.tar.xz 6292 SHA256 8db451910c3d46fc715203e0b674c49846528cf864c381520dc93de20a3637d3 SHA512 f0e3076e3e1ecaae3f06b3ef30efc81719fb3f63a1041dcbdae4b62ca4cf693732f9eb16f047d046d4930136fed82194e82b455ea888e12cf845b3e6a122d57d WHIRLPOOL 641d429fc4865e12e89bad28110b03ca87c6b658f59943f4d44c0b3a91fc49b5dc90e496a8a9d391c2897aec87fc43ea1c9a26084f3394b1883ad9755fd0eca3
29 DIST samba-4.5.13.tar.gz 21013879 SHA256 5fc4762d2259469bfb0067c10f77378cb720f2ebdaf2f37b5ca1918dbe84d04d SHA512 c495dffeee4dd83d710182713c8a0e6730f250fab2d03b62cc0f5354497fbc41d5140d7dea5c4089c026a7e9b820e48c94806bbc44b6594c9e5bad977793eb4a WHIRLPOOL 9e720801f44ac7fab65c748dd24c52763b8568d1af73b64006d847c53604df0a7f3d4febeac2dd467c2fd1c3940b86253c37f99e2e2f39028d43acc4f99668ee
30 DIST samba-4.5.14.tar.gz 21016317 SHA256 15dc04fd2b19081daf1118318f43f88ef7260b3fc6e4f86ee7c7913bb7c92ed9 SHA512 35b6ec38b6750ebdd387eade3c7a1f61c83a4d6642c9a2a8a811d84b506c9f20ed69fa1db9065852ce792fd769fe151177200cdd55de308017cd5416f80eb095 WHIRLPOOL b374abd1439072ab16d84f12b4876f4c44c8d34b734e3c4a0b909e685bb3eb1f02f5b58d9c8173909f2154e97d3e60743646252818a527358ba7316f5a348140
31 +DIST samba-4.5.15.tar.gz 21020181 SHA256 811bf727892a1e1e3d170eb72eb39c43d06ed8ff557e5e036a41aabc19008e94 SHA512 e77d746767d55ff933cddbb4d6e0f97f0b12e630c564852bee02f5f9764633167f1c098df7606af2a1930a9bdd4665fb79d7748ff07532db4e9a581fb639450c WHIRLPOOL dfd0244976da688115d4cd93bf98d77ddd52f98917e6fce57c5f4486ab387d19811b5332ad9f9126e077fb91fefd7670d5b56c251580966ee12b005bde31f271
32 +DIST samba-4.6.11.tar.gz 21157318 SHA256 051b7ab0fa088d77dc0df039ff5d6b8fd998372f0c29ecb455b149457c20ed1d SHA512 8acb0620cc7fa87692edfa1b42883384b1ae88c6b9d75432169d53c1c6f20415ed4980b2ba9d023cc69a8a1b457bcb25ecea9bdf427accfe9fc05431c3480283 WHIRLPOOL 26ac581f5303222a81b6ecd980908ac2585be4851f44766148e87d2ada29e14faa09e4477ffc043d5472d0298513fd41814b37b529200d74cc526a4ed936d46b
33 DIST samba-4.6.7-disable-python-patches.tar.xz 8896 SHA256 33702adba80e9886625fda8cba46d4017ae603f5d9cf9d3dc78e5ef30ff6f5eb SHA512 c45e548a49735e17b568bebf07dc7409de3de0f93256d1dcf345d2723a27d22a51d860ed921785354fda691f83be4eca3b9d618d5c332438ebf97518a01983eb WHIRLPOOL 1cb176480b8583369e1085c8e122958112c0d13aa8ba78cd57dfd04b17c7d8f0a0664a43d277deba86775f1944eab052f4fb9459f64506215ae25184c86cbe40
34 DIST samba-4.6.8.tar.gz 21139872 SHA256 581deeb2543f5cedcb556cb950d0e82690d9f0cd33811d76624502ca0c32575d SHA512 fb40144210361bdeab09007aa49fa85077fbc8eeae2c49bcdafb01d33ec40425160882979f0829005a89766ed4fd4e36d7f952f6dbf6e0178f5b0945dc8d8efb WHIRLPOOL d669df156dcae5846d814eb30f577b9df0513383be91a87886b91dff12451d82c236dd7c1fd996a378d90619aabee5adc33ecd488534b612b8f82b7b88d0840a
35 DIST samba-4.6.9.tar.gz 21154233 SHA256 c31db4aad82f0b9588ef6c4b4dab5dce3fa1787bd298e62d953c2628bb1af21a SHA512 20a0828afe2b7f834543a3efc8618bba78951f728da99434f084b7220477ef9e4b1ef09d5a3a5a16a96e1f0704bb2c8d2c3418402f0b8e5f8201bc022a4937aa WHIRLPOOL 996bc727317f0fa7ce9fd94f68cd9b20b7f10eea08c0ab100af73a2ac5a23700aa26abe3dbca6f384c20bb642ceb3755eb995e62e8991ca09bf94f7898a085fa
36 DIST samba-4.7.0.tar.gz 16830569 SHA256 bd16d169988eb513e685a87e9964a5210482498fa9b3a22aaa8287a061e3c936 SHA512 c69da34566ec672ed17f86ecf793154374c71dd33b588adceed5fbd9345d978a4ffeced5d3a4033edb4daedac2294ed088beed8cdde19724f9d03da54e22e4ee WHIRLPOOL d2635df77e8dc82d0a6aeb345eebf5616fba1ab826b90aedac1f49669ff7faae8845737267c908956ade1904a2c85e918b6db678197e3a6c1f35f78ccc78021f
37 DIST samba-4.7.1.tar.gz 16844730 SHA256 7ba932523c821ebfa4c31ebd183f7aa20d663059f9761563fcdec85cd1e9be1a SHA512 eaaa494501e0029fab8b0f1789fb28d33104a51b7365ba53741218786a4331f5adc5ea86d65aac1ccd970103c74a99fb875c4ba74460bd8b4597aaefbab18c7c WHIRLPOOL 1a09be343d47d2e61e7f236bd7ba4817de990f722a6e130150a0043ccc29da453e90b2eaf8443a48c5491bcbcbb0070b1ca72a3b5b25ec94759981ea13cb712d
38 +DIST samba-4.7.3.tar.gz 16845436 SHA256 06e4152ca1cb803f005e92eb6baedb6cc874998b44ee37c2a7819e77a55bfd2c SHA512 3fd9d5f208201e3137c5966e10878ba2fc00fa80b3468e8b402e08f941b5508edd7181720033aaa25fcff0ee0ae5438619423d41a9b9b3d14dc3743fbe3f902f WHIRLPOOL 58df81323644f14dd45ffea115ba397b5b8650769856c824c9687411362a5bb576438315fc33a95bc39add01073916c1cdf10ae6b12bfb5f0580da4c2b18e34c
39 DIST samba-disable-python-patches-4.2.12.tar.xz 6052 SHA256 8903eacbabdfaf7b64cbde03d7c367d1efdc92e54090f0f4b9ed5d2a462b1c18 SHA512 c527d0a052d3211e5b12c17bc94db56cc5e5545189ed65a760c0656c94c22e27a4b159e6439eb0370873e1619873a741f3b3bd10d3876b38eb3914a87eace372 WHIRLPOOL ad63db55d5dc96f56e6c9b30c2092e2f6e206b0ed5d13c249879d10753c8db2f475c5d4e651e2fc042ad992b648d3b4465f1b28c6b4bbf821cf503d27f741f7e
40 DIST samba-disable-python-patches-4.5.0_rc1.tar.xz 6204 SHA256 fa0d776e04e3222c0dc4761e376717f4154937cdcb85f4117b8978dfb770a78e SHA512 920089ba3c6e8e7d913b1d7ef1017262a19d1af41215adb30cfc98a57556efc4b0116931d4ef774c01124149d8eca2be3a23814ce7e11daf0180d2c111799927 WHIRLPOOL 6d55710895435ad012e23f8c252e5276966241014710349ca7fa9cf037e8742030b8e053f7cb71309a0a45f48d2235d55393243bf4d19476a22dd39bb1b7748d
41
42 diff --git a/net-fs/samba/samba-4.5.15.ebuild b/net-fs/samba/samba-4.5.15.ebuild
43 new file mode 100644
44 index 00000000000..f73bbd3a65e
45 --- /dev/null
46 +++ b/net-fs/samba/samba-4.5.15.ebuild
47 @@ -0,0 +1,282 @@
48 +# Copyright 1999-2017 Gentoo Foundation
49 +# Distributed under the terms of the GNU General Public License v2
50 +
51 +EAPI=6
52 +PYTHON_COMPAT=( python2_7 )
53 +PYTHON_REQ_USE='threads(+),xml(+)'
54 +
55 +inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils
56 +
57 +MY_PV="${PV/_rc/rc}"
58 +MY_P="${PN}-${MY_PV}"
59 +
60 +SRC_PATH="stable"
61 +[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
62 +
63 +SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz
64 + https://dev.gentoo.org/~polynomial-c/samba-4.5.11-disable-python-patches.tar.xz"
65 +[[ ${PV} = *_rc* ]] || \
66 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
67 +
68 +DESCRIPTION="Samba Suite Version 4"
69 +HOMEPAGE="http://www.samba.org/"
70 +LICENSE="GPL-3"
71 +
72 +SLOT="0"
73 +
74 +IUSE="acl addc addns ads client cluster cups dmapi fam gnutls gpg iprint ldap pam
75 +quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf"
76 +
77 +MULTILIB_WRAPPED_HEADERS=(
78 + /usr/include/samba-4.0/policy.h
79 + /usr/include/samba-4.0/dcerpc_server.h
80 + /usr/include/samba-4.0/ctdb.h
81 + /usr/include/samba-4.0/ctdb_client.h
82 + /usr/include/samba-4.0/ctdb_protocol.h
83 + /usr/include/samba-4.0/ctdb_private.h
84 + /usr/include/samba-4.0/ctdb_typesafe_cb.h
85 + /usr/include/samba-4.0/ctdb_version.h
86 +)
87 +
88 +# sys-apps/attr is an automagic dependency (see bug #489748)
89 +CDEPEND="${PYTHON_DEPS}
90 + >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}]
91 + dev-lang/perl:=
92 + dev-libs/libaio[${MULTILIB_USEDEP}]
93 + dev-libs/libbsd[${MULTILIB_USEDEP}]
94 + dev-libs/iniparser:0
95 + dev-libs/popt[${MULTILIB_USEDEP}]
96 + dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}]
97 + sys-apps/attr[${MULTILIB_USEDEP}]
98 + >=sys-libs/ldb-1.1.27[ldap(+)?,python(+),${MULTILIB_USEDEP}]
99 + <sys-libs/ldb-1.1.30[ldap(+)?,python(+),${MULTILIB_USEDEP}]
100 + sys-libs/libcap
101 + sys-libs/ncurses:0=[${MULTILIB_USEDEP}]
102 + sys-libs/readline:0=
103 + >=sys-libs/talloc-2.1.8[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
104 + >=sys-libs/tdb-1.3.10[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
105 + >=sys-libs/tevent-0.9.31-r1[${MULTILIB_USEDEP}]
106 + sys-libs/zlib[${MULTILIB_USEDEP}]
107 + virtual/libiconv
108 + pam? ( virtual/pam )
109 + acl? ( virtual/acl )
110 + addns? ( net-dns/bind-tools[gssapi] )
111 + cluster? ( !dev-db/ctdb )
112 + cups? ( net-print/cups )
113 + dmapi? ( sys-apps/dmapi )
114 + fam? ( virtual/fam )
115 + gnutls? (
116 + dev-libs/libgcrypt:0
117 + >=net-libs/gnutls-1.4.0
118 + )
119 + gpg? ( app-crypt/gpgme )
120 + ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
121 + system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] )
122 + system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] )
123 + systemd? ( sys-apps/systemd:0= )"
124 +DEPEND="${CDEPEND}
125 + app-text/docbook-xsl-stylesheets
126 + dev-libs/libxslt
127 + virtual/pkgconfig
128 + test? (
129 + !system-mitkrb5? (
130 + >=sys-libs/nss_wrapper-1.1.3
131 + >=net-dns/resolv_wrapper-1.1.4
132 + >=net-libs/socket_wrapper-1.1.7
133 + >=sys-libs/uid_wrapper-1.2.1
134 + )
135 + )"
136 +RDEPEND="${CDEPEND}
137 + client? ( net-fs/cifs-utils[ads?] )
138 + selinux? ( sec-policy/selinux-samba )
139 + !dev-perl/Parse-Yapp
140 +"
141 +
142 +REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
143 + ads? ( acl gnutls ldap )
144 + gpg? ( addc )
145 + ?? ( system-heimdal system-mitkrb5 )
146 + ${PYTHON_REQUIRED_USE}"
147 +
148 +S="${WORKDIR}/${MY_P}"
149 +
150 +PATCHES=(
151 + "${FILESDIR}/${PN}-4.4.0-pam.patch"
152 + "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch"
153 +)
154 +
155 +#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
156 +CONFDIR="${FILESDIR}/4.4"
157 +
158 +WAF_BINARY="${S}/buildtools/bin/waf"
159 +
160 +SHAREDMODS=""
161 +
162 +pkg_setup() {
163 + python-single-r1_pkg_setup
164 + if use cluster ; then
165 + SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad"
166 + elif use ads ; then
167 + SHAREDMODS="idmap_ad"
168 + fi
169 +}
170 +
171 +src_prepare() {
172 + default
173 +
174 + # install the patches from tarball(s)
175 + eapply "${WORKDIR}/patches"
176 +
177 + # ugly hackaround for bug #592502
178 + cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die
179 +
180 + sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \
181 + -i source4/dsdb/samdb/ldb_modules/password_hash.c \
182 + || die
183 +
184 + # Friggin' WAF shit
185 + multilib_copy_sources
186 +}
187 +
188 +multilib_src_configure() {
189 + # when specifying libs for samba build you must append NONE to the end to
190 + # stop it automatically including things
191 + local bundled_libs="NONE"
192 + if ! use system-heimdal && ! use system-mitkrb5 ; then
193 + bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE"
194 + fi
195 +
196 + local myconf=()
197 + myconf=(
198 + --enable-fhs
199 + --sysconfdir="${EPREFIX}/etc"
200 + --localstatedir="${EPREFIX}/var"
201 + --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba"
202 + --with-piddir="${EPREFIX}/run/${PN}"
203 + --without-lttng
204 + --bundled-libraries="${bundled_libs}"
205 + --builtin-libraries=NONE
206 + --disable-rpath
207 + --disable-rpath-install
208 + --nopyc
209 + --nopyo
210 + )
211 + if multilib_is_native_abi ; then
212 + myconf+=(
213 + $(use_with acl acl-support)
214 + $(usex addc '' '--without-ad-dc')
215 + $(use_with addns dnsupdate)
216 + $(use_with ads)
217 + $(use_with cluster cluster-support)
218 + $(use_enable cups)
219 + $(use_with dmapi)
220 + $(use_with fam)
221 + $(use_enable gnutls)
222 + $(use_with gpg gpgme)
223 + $(use_enable iprint)
224 + $(use_with ldap)
225 + $(use_with pam)
226 + $(usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '')
227 + $(use_with quota quotas)
228 + $(use_with syslog)
229 + $(use_with systemd)
230 + $(usex system-mitkrb5 '--with-system-mitkrb5' '')
231 + $(use_with winbind)
232 + $(usex test '--enable-selftest' '')
233 + $(use_enable zeroconf avahi)
234 + --with-shared-modules=${SHAREDMODS}
235 + )
236 + else
237 + myconf+=(
238 + --without-acl-support
239 + --without-ad-dc
240 + --without-dnsupdate
241 + --without-ads
242 + --disable-avahi
243 + --without-cluster-support
244 + --disable-cups
245 + --without-dmapi
246 + --without-fam
247 + --disable-gnutls
248 + --without-gpgme
249 + --disable-iprint
250 + $(use_with ldap)
251 + --without-pam
252 + --without-quotas
253 + --without-syslog
254 + --without-systemd
255 + $(usex system-mitkrb5 '--with-system-mitkrb5' '')
256 + --without-winbind
257 + --disable-python
258 + )
259 + fi
260 +
261 + CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \
262 + waf-utils_src_configure ${myconf[@]}
263 +}
264 +
265 +multilib_src_compile() {
266 + waf-utils_src_compile
267 +}
268 +
269 +multilib_src_install() {
270 + waf-utils_src_install
271 +
272 + # Make all .so files executable
273 + find "${D}" -type f -name "*.so" -exec chmod +x {} +
274 +
275 + if multilib_is_native_abi; then
276 + # install ldap schema for server (bug #491002)
277 + if use ldap ; then
278 + insinto /etc/openldap/schema
279 + doins examples/LDAP/samba.schema
280 + fi
281 +
282 + # create symlink for cups (bug #552310)
283 + if use cups ; then
284 + dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb
285 + fi
286 +
287 + # install example config file
288 + insinto /etc/samba
289 + doins examples/smb.conf.default
290 +
291 + # Fix paths in example file (#603964)
292 + sed \
293 + -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \
294 + -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \
295 + -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \
296 + -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \
297 + -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \
298 + -i "${ED%/}"/etc/samba/smb.conf.default || die
299 +
300 + # Install init script and conf.d file
301 + newinitd "${CONFDIR}/samba4.initd-r1" samba
302 + newconfd "${CONFDIR}/samba4.confd" samba
303 +
304 + systemd_dotmpfilesd "${FILESDIR}"/samba.conf
305 + systemd_dounit "${FILESDIR}"/nmbd.service
306 + systemd_dounit "${FILESDIR}"/smbd.{service,socket}
307 + systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
308 + systemd_dounit "${FILESDIR}"/winbindd.service
309 + systemd_dounit "${FILESDIR}"/samba.service
310 + fi
311 +}
312 +
313 +multilib_src_test() {
314 + if multilib_is_native_abi ; then
315 + "${WAF_BINARY}" test || die "test failed"
316 + fi
317 +}
318 +
319 +pkg_postinst() {
320 + ewarn "Be aware the this release contains the best of all of Samba's"
321 + ewarn "technology parts, both a file server (that you can reasonably expect"
322 + ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
323 + ewarn "controller work previously known as 'samba4'."
324 +
325 + elog "For further information and migration steps make sure to read "
326 + elog "http://samba.org/samba/history/${P}.html "
327 + elog "http://samba.org/samba/history/${PN}-4.5.0.html and"
328 + elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
329 +}
330
331 diff --git a/net-fs/samba/samba-4.6.11.ebuild b/net-fs/samba/samba-4.6.11.ebuild
332 new file mode 100644
333 index 00000000000..89f52e0eaf4
334 --- /dev/null
335 +++ b/net-fs/samba/samba-4.6.11.ebuild
336 @@ -0,0 +1,308 @@
337 +# Copyright 1999-2017 Gentoo Foundation
338 +# Distributed under the terms of the GNU General Public License v2
339 +
340 +EAPI=6
341 +PYTHON_COMPAT=( python2_7 )
342 +PYTHON_REQ_USE='threads(+),xml(+)'
343 +
344 +inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils
345 +
346 +MY_PV="${PV/_rc/rc}"
347 +MY_P="${PN}-${MY_PV}"
348 +
349 +SRC_PATH="stable"
350 +[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
351 +
352 +SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz
353 + https://dev.gentoo.org/~axs/samba-4.6.7-disable-python-patches.tar.xz"
354 +[[ ${PV} = *_rc* ]] || \
355 +KEYWORDS="~amd64 ~arm64 ~x86"
356 +
357 +DESCRIPTION="Samba Suite Version 4"
358 +HOMEPAGE="http://www.samba.org/"
359 +LICENSE="GPL-3"
360 +
361 +SLOT="0"
362 +
363 +IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint ldap pam python
364 +quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf"
365 +
366 +MULTILIB_WRAPPED_HEADERS=(
367 + /usr/include/samba-4.0/policy.h
368 + /usr/include/samba-4.0/dcerpc_server.h
369 + /usr/include/samba-4.0/ctdb.h
370 + /usr/include/samba-4.0/ctdb_client.h
371 + /usr/include/samba-4.0/ctdb_protocol.h
372 + /usr/include/samba-4.0/ctdb_private.h
373 + /usr/include/samba-4.0/ctdb_typesafe_cb.h
374 + /usr/include/samba-4.0/ctdb_version.h
375 +)
376 +
377 +# sys-apps/attr is an automagic dependency (see bug #489748)
378 +CDEPEND="
379 + >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}]
380 + dev-lang/perl:=
381 + dev-libs/libaio[${MULTILIB_USEDEP}]
382 + dev-libs/libbsd[${MULTILIB_USEDEP}]
383 + dev-libs/iniparser:0
384 + dev-libs/popt[${MULTILIB_USEDEP}]
385 + dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}]
386 + >=dev-util/cmocka-1.0.0[${MULTILIB_USEDEP}]
387 + sys-apps/attr[${MULTILIB_USEDEP}]
388 + ~sys-libs/ldb-1.1.29[ldap(+)?,python(+),${PYTHON_USEDEP},${MULTILIB_USEDEP}]
389 + sys-libs/libcap
390 + sys-libs/ncurses:0=[${MULTILIB_USEDEP}]
391 + sys-libs/readline:0=
392 + >=sys-libs/talloc-2.1.9[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
393 + >=sys-libs/tdb-1.3.12[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
394 + >=sys-libs/tevent-0.9.34[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
395 + sys-libs/zlib[${MULTILIB_USEDEP}]
396 + virtual/libiconv
397 + pam? ( virtual/pam )
398 + acl? ( virtual/acl )
399 + addns? (
400 + net-dns/bind-tools[gssapi]
401 + dev-python/dnspython:=[${PYTHON_USEDEP}]
402 + )
403 + ceph? ( sys-cluster/ceph )
404 + cluster? ( !dev-db/ctdb )
405 + cups? ( net-print/cups )
406 + debug? ( dev-util/lttng-ust )
407 + dmapi? ( sys-apps/dmapi )
408 + fam? ( virtual/fam )
409 + gnutls? (
410 + dev-libs/libgcrypt:0
411 + >=net-libs/gnutls-1.4.0
412 + )
413 + gpg? ( app-crypt/gpgme )
414 + ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
415 + system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] )
416 + system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] )
417 + systemd? ( sys-apps/systemd:0= )"
418 +DEPEND="${CDEPEND}
419 + ${PYTHON_DEPS}
420 + app-text/docbook-xsl-stylesheets
421 + dev-libs/libxslt
422 + virtual/pkgconfig
423 + test? (
424 + !system-mitkrb5? (
425 + >=sys-libs/nss_wrapper-1.1.3
426 + >=net-dns/resolv_wrapper-1.1.4
427 + >=net-libs/socket_wrapper-1.1.7
428 + >=sys-libs/uid_wrapper-1.2.1
429 + )
430 + )"
431 +RDEPEND="${CDEPEND}
432 + python? ( ${PYTHON_DEPS} )
433 + client? ( net-fs/cifs-utils[ads?] )
434 + selinux? ( sec-policy/selinux-samba )
435 + !dev-perl/Parse-Yapp
436 +"
437 +
438 +REQUIRED_USE="addc? ( python gnutls !system-mitkrb5 )
439 + test? ( python )
440 + addns? ( python )
441 + ads? ( acl gnutls ldap )
442 + gpg? ( addc )
443 + ?? ( system-heimdal system-mitkrb5 )
444 + ${PYTHON_REQUIRED_USE}"
445 +
446 +# the test suite is messed, it uses system-installed samba
447 +# bits instead of what was built, tests things disabled via use
448 +# flags, and generally just fails to work in a way ebuilds could
449 +# rely on in its current state
450 +RESTRICT="test"
451 +
452 +S="${WORKDIR}/${MY_P}"
453 +
454 +PATCHES=(
455 + "${FILESDIR}/${PN}-4.4.0-pam.patch"
456 + "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch"
457 + "${FILESDIR}/${PN}-glibc-2.26-no_rpc.patch" #637320
458 +)
459 +
460 +#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
461 +CONFDIR="${FILESDIR}/4.4"
462 +
463 +WAF_BINARY="${S}/buildtools/bin/waf"
464 +
465 +SHAREDMODS=""
466 +
467 +pkg_setup() {
468 + python-single-r1_pkg_setup
469 + if use cluster ; then
470 + SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad"
471 + elif use ads ; then
472 + SHAREDMODS="idmap_ad"
473 + fi
474 +}
475 +
476 +src_prepare() {
477 + default
478 +
479 + # install the patches from tarball(s)
480 + eapply "${WORKDIR}/patches"
481 +
482 + # un-bundle dnspython
483 + sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die
484 +
485 + # unbundle iso8601 unless tests are enabled
486 + use test || sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die
487 +
488 + # ugly hackaround for bug #592502
489 + cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die
490 +
491 + sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \
492 + -i source4/dsdb/samdb/ldb_modules/password_hash.c \
493 + || die
494 +
495 + # Friggin' WAF shit
496 + multilib_copy_sources
497 +}
498 +
499 +multilib_src_configure() {
500 + # when specifying libs for samba build you must append NONE to the end to
501 + # stop it automatically including things
502 + local bundled_libs="NONE"
503 + if ! use system-heimdal && ! use system-mitkrb5 ; then
504 + bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE"
505 + fi
506 +
507 + local myconf=()
508 + myconf=(
509 + --enable-fhs
510 + --sysconfdir="${EPREFIX}/etc"
511 + --localstatedir="${EPREFIX}/var"
512 + --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba"
513 + --with-piddir="${EPREFIX}/run/${PN}"
514 + --bundled-libraries="${bundled_libs}"
515 + --builtin-libraries=NONE
516 + --disable-rpath
517 + --disable-rpath-install
518 + --nopyc
519 + --nopyo
520 + )
521 + if multilib_is_native_abi ; then
522 + myconf+=(
523 + $(use_with acl acl-support)
524 + $(usex addc '' '--without-ad-dc')
525 + $(use_with addns dnsupdate)
526 + $(use_with ads)
527 + $(use_enable ceph cephfs)
528 + $(use_with cluster cluster-support)
529 + $(use_enable cups)
530 + $(use_with debug lttng)
531 + $(use_with dmapi)
532 + $(use_with fam)
533 + $(use_enable gnutls)
534 + $(use_with gpg gpgme)
535 + $(use_enable iprint)
536 + $(use_with ldap)
537 + $(use_with pam)
538 + $(usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '')
539 + $(use_with quota quotas)
540 + $(use_with syslog)
541 + $(use_with systemd)
542 + $(usex system-mitkrb5 '--with-system-mitkrb5' '')
543 + $(use_with winbind)
544 + $(usex python '' '--disable-python')
545 + $(usex test '--enable-selftest' '')
546 + $(use_enable zeroconf avahi)
547 + --with-shared-modules=${SHAREDMODS}
548 + )
549 + else
550 + myconf+=(
551 + --without-acl-support
552 + --without-ad-dc
553 + --without-dnsupdate
554 + --without-ads
555 + --disable-avahi
556 + --disable-cephfs
557 + --without-cluster-support
558 + --disable-cups
559 + --without-dmapi
560 + --without-fam
561 + --disable-gnutls
562 + --without-gpgme
563 + --disable-iprint
564 + $(use_with ldap)
565 + $(use_with debug lttng)
566 + --without-pam
567 + --without-quotas
568 + --without-syslog
569 + --without-systemd
570 + $(usex system-mitkrb5 '--with-system-mitkrb5' '')
571 + --without-winbind
572 + --disable-python
573 + )
574 + fi
575 +
576 + CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \
577 + waf-utils_src_configure ${myconf[@]}
578 +}
579 +
580 +multilib_src_compile() {
581 + waf-utils_src_compile
582 +}
583 +
584 +multilib_src_install() {
585 + waf-utils_src_install
586 +
587 + # Make all .so files executable
588 + find "${D}" -type f -name "*.so" -exec chmod +x {} +
589 +
590 + if multilib_is_native_abi; then
591 + # install ldap schema for server (bug #491002)
592 + if use ldap ; then
593 + insinto /etc/openldap/schema
594 + doins examples/LDAP/samba.schema
595 + fi
596 +
597 + # create symlink for cups (bug #552310)
598 + if use cups ; then
599 + dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb
600 + fi
601 +
602 + # install example config file
603 + insinto /etc/samba
604 + doins examples/smb.conf.default
605 +
606 + # Fix paths in example file (#603964)
607 + sed \
608 + -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \
609 + -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \
610 + -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \
611 + -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \
612 + -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \
613 + -i "${ED%/}"/etc/samba/smb.conf.default || die
614 +
615 + # Install init script and conf.d file
616 + newinitd "${CONFDIR}/samba4.initd-r1" samba
617 + newconfd "${CONFDIR}/samba4.confd" samba
618 +
619 + systemd_dotmpfilesd "${FILESDIR}"/samba.conf
620 + systemd_dounit "${FILESDIR}"/nmbd.service
621 + systemd_dounit "${FILESDIR}"/smbd.{service,socket}
622 + systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
623 + systemd_dounit "${FILESDIR}"/winbindd.service
624 + systemd_dounit "${FILESDIR}"/samba.service
625 + fi
626 +}
627 +
628 +multilib_src_test() {
629 + if multilib_is_native_abi ; then
630 + "${WAF_BINARY}" test || die "test failed"
631 + fi
632 +}
633 +
634 +pkg_postinst() {
635 + ewarn "Be aware the this release contains the best of all of Samba's"
636 + ewarn "technology parts, both a file server (that you can reasonably expect"
637 + ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
638 + ewarn "controller work previously known as 'samba4'."
639 +
640 + elog "For further information and migration steps make sure to read "
641 + elog "http://samba.org/samba/history/${P}.html "
642 + elog "http://samba.org/samba/history/${PN}-4.5.0.html and"
643 + elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
644 +}
645
646 diff --git a/net-fs/samba/samba-4.7.3.ebuild b/net-fs/samba/samba-4.7.3.ebuild
647 new file mode 100644
648 index 00000000000..5656d87fe61
649 --- /dev/null
650 +++ b/net-fs/samba/samba-4.7.3.ebuild
651 @@ -0,0 +1,305 @@
652 +# Copyright 1999-2017 Gentoo Foundation
653 +# Distributed under the terms of the GNU General Public License v2
654 +
655 +EAPI=6
656 +PYTHON_COMPAT=( python2_7 )
657 +PYTHON_REQ_USE='threads(+),xml(+)'
658 +
659 +inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils
660 +
661 +MY_PV="${PV/_rc/rc}"
662 +MY_P="${PN}-${MY_PV}"
663 +
664 +SRC_PATH="stable"
665 +[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
666 +
667 +SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz"
668 +[[ ${PV} = *_rc* ]] || \
669 +KEYWORDS="~amd64 ~arm64 ~x86"
670 +
671 +DESCRIPTION="Samba Suite Version 4"
672 +HOMEPAGE="http://www.samba.org/"
673 +LICENSE="GPL-3"
674 +
675 +SLOT="0"
676 +
677 +IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint ldap pam python
678 +quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf"
679 +
680 +MULTILIB_WRAPPED_HEADERS=(
681 + /usr/include/samba-4.0/policy.h
682 + /usr/include/samba-4.0/dcerpc_server.h
683 + /usr/include/samba-4.0/ctdb.h
684 + /usr/include/samba-4.0/ctdb_client.h
685 + /usr/include/samba-4.0/ctdb_protocol.h
686 + /usr/include/samba-4.0/ctdb_private.h
687 + /usr/include/samba-4.0/ctdb_typesafe_cb.h
688 + /usr/include/samba-4.0/ctdb_version.h
689 +)
690 +
691 +# sys-apps/attr is an automagic dependency (see bug #489748)
692 +CDEPEND="
693 + >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}]
694 + dev-lang/perl:=
695 + dev-libs/libaio[${MULTILIB_USEDEP}]
696 + dev-libs/libbsd[${MULTILIB_USEDEP}]
697 + dev-libs/iniparser:0
698 + dev-libs/popt[${MULTILIB_USEDEP}]
699 + dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}]
700 + >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
701 + sys-apps/attr[${MULTILIB_USEDEP}]
702 + >=sys-libs/ldb-1.2.2[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
703 + sys-libs/libcap
704 + sys-libs/ncurses:0=[${MULTILIB_USEDEP}]
705 + sys-libs/readline:0=
706 + >=sys-libs/talloc-2.1.9[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
707 + >=sys-libs/tdb-1.3.14[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
708 + >=sys-libs/tevent-0.9.34[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
709 + sys-libs/zlib[${MULTILIB_USEDEP}]
710 + virtual/libiconv
711 + pam? ( virtual/pam )
712 + acl? ( virtual/acl )
713 + addns? (
714 + net-dns/bind-tools[gssapi]
715 + dev-python/dnspython:=[${PYTHON_USEDEP}]
716 + )
717 + ceph? ( sys-cluster/ceph )
718 + cluster? ( !dev-db/ctdb )
719 + cups? ( net-print/cups )
720 + debug? ( dev-util/lttng-ust )
721 + dmapi? ( sys-apps/dmapi )
722 + fam? ( virtual/fam )
723 + gnutls? (
724 + dev-libs/libgcrypt:0
725 + >=net-libs/gnutls-1.4.0
726 + )
727 + gpg? ( app-crypt/gpgme )
728 + ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
729 + system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] )
730 + system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] )
731 + systemd? ( sys-apps/systemd:0= )"
732 +DEPEND="${CDEPEND}
733 + ${PYTHON_DEPS}
734 + app-text/docbook-xsl-stylesheets
735 + dev-libs/libxslt
736 + virtual/pkgconfig
737 + test? (
738 + !system-mitkrb5? (
739 + >=sys-libs/nss_wrapper-1.1.3
740 + >=net-dns/resolv_wrapper-1.1.4
741 + >=net-libs/socket_wrapper-1.1.7
742 + >=sys-libs/uid_wrapper-1.2.1
743 + )
744 + )"
745 +RDEPEND="${CDEPEND}
746 + python? ( ${PYTHON_DEPS} )
747 + client? ( net-fs/cifs-utils[ads?] )
748 + selinux? ( sec-policy/selinux-samba )
749 + !dev-perl/Parse-Yapp
750 +"
751 +
752 +REQUIRED_USE="addc? ( python gnutls )
753 + test? ( python )
754 + addns? ( python )
755 + ads? ( acl gnutls ldap )
756 + gpg? ( addc )
757 + ?? ( system-heimdal system-mitkrb5 )
758 + ${PYTHON_REQUIRED_USE}"
759 +
760 +# the test suite is messed, it uses system-installed samba
761 +# bits instead of what was built, tests things disabled via use
762 +# flags, and generally just fails to work in a way ebuilds could
763 +# rely on in its current state
764 +RESTRICT="test"
765 +
766 +S="${WORKDIR}/${MY_P}"
767 +
768 +PATCHES=(
769 + "${FILESDIR}/${PN}-4.4.0-pam.patch"
770 + "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch"
771 + "${FILESDIR}"/talloc-disable-python.patch
772 + "${FILESDIR}/${PN}-glibc-2.26-no_rpc.patch" #637320
773 +)
774 +
775 +#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
776 +CONFDIR="${FILESDIR}/4.4"
777 +
778 +WAF_BINARY="${S}/buildtools/bin/waf"
779 +
780 +SHAREDMODS=""
781 +
782 +pkg_setup() {
783 + python-single-r1_pkg_setup
784 + if use cluster ; then
785 + SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad"
786 + elif use ads ; then
787 + SHAREDMODS="idmap_ad"
788 + fi
789 +}
790 +
791 +src_prepare() {
792 + default
793 +
794 + # un-bundle dnspython
795 + sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die
796 +
797 + # unbundle iso8601 unless tests are enabled
798 + use test || sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die
799 +
800 + # ugly hackaround for bug #592502
801 + cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die
802 +
803 + sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \
804 + -i source4/dsdb/samdb/ldb_modules/password_hash.c \
805 + || die
806 +
807 + # Friggin' WAF shit
808 + multilib_copy_sources
809 +}
810 +
811 +multilib_src_configure() {
812 + # when specifying libs for samba build you must append NONE to the end to
813 + # stop it automatically including things
814 + local bundled_libs="NONE"
815 + if ! use system-heimdal && ! use system-mitkrb5 ; then
816 + bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE"
817 + fi
818 +
819 + local myconf=()
820 + myconf=(
821 + --enable-fhs
822 + --sysconfdir="${EPREFIX}/etc"
823 + --localstatedir="${EPREFIX}/var"
824 + --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba"
825 + --with-piddir="${EPREFIX}/run/${PN}"
826 + --bundled-libraries="${bundled_libs}"
827 + --builtin-libraries=NONE
828 + --disable-rpath
829 + --disable-rpath-install
830 + --nopyc
831 + --nopyo
832 + )
833 + if multilib_is_native_abi ; then
834 + myconf+=(
835 + $(use_with acl acl-support)
836 + $(usex addc '' '--without-ad-dc')
837 + $(use_with addns dnsupdate)
838 + $(use_with ads)
839 + $(use_enable ceph cephfs)
840 + $(use_with cluster cluster-support)
841 + $(use_enable cups)
842 + $(use_with debug lttng)
843 + $(use_with dmapi)
844 + $(use_with fam)
845 + $(use_enable gnutls)
846 + $(use_with gpg gpgme)
847 + $(use_enable iprint)
848 + $(use_with ldap)
849 + $(use_with pam)
850 + $(usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '')
851 + $(use_with quota quotas)
852 + $(use_with syslog)
853 + $(use_with systemd)
854 + $(usex system-mitkrb5 '--with-system-mitkrb5' '')
855 + $(use_with winbind)
856 + $(usex python '' '--disable-python')
857 + $(usex test '--enable-selftest' '')
858 + $(use_enable zeroconf avahi)
859 + --with-shared-modules=${SHAREDMODS}
860 + )
861 + else
862 + myconf+=(
863 + --without-acl-support
864 + --without-ad-dc
865 + --without-dnsupdate
866 + --without-ads
867 + --disable-avahi
868 + --disable-cephfs
869 + --without-cluster-support
870 + --disable-cups
871 + --without-dmapi
872 + --without-fam
873 + --disable-gnutls
874 + --without-gpgme
875 + --disable-iprint
876 + $(use_with ldap)
877 + $(use_with debug lttng)
878 + --without-pam
879 + --without-quotas
880 + --without-syslog
881 + --without-systemd
882 + $(usex system-mitkrb5 '--with-system-mitkrb5' '')
883 + --without-winbind
884 + --disable-python
885 + )
886 + fi
887 +
888 + CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \
889 + waf-utils_src_configure ${myconf[@]}
890 +}
891 +
892 +multilib_src_compile() {
893 + waf-utils_src_compile
894 +}
895 +
896 +multilib_src_install() {
897 + waf-utils_src_install
898 +
899 + # Make all .so files executable
900 + find "${D}" -type f -name "*.so" -exec chmod +x {} +
901 +
902 + if multilib_is_native_abi; then
903 + # install ldap schema for server (bug #491002)
904 + if use ldap ; then
905 + insinto /etc/openldap/schema
906 + doins examples/LDAP/samba.schema
907 + fi
908 +
909 + # create symlink for cups (bug #552310)
910 + if use cups ; then
911 + dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb
912 + fi
913 +
914 + # install example config file
915 + insinto /etc/samba
916 + doins examples/smb.conf.default
917 +
918 + # Fix paths in example file (#603964)
919 + sed \
920 + -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \
921 + -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \
922 + -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \
923 + -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \
924 + -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \
925 + -i "${ED%/}"/etc/samba/smb.conf.default || die
926 +
927 + # Install init script and conf.d file
928 + newinitd "${CONFDIR}/samba4.initd-r1" samba
929 + newconfd "${CONFDIR}/samba4.confd" samba
930 +
931 + systemd_dotmpfilesd "${FILESDIR}"/samba.conf
932 + systemd_dounit "${FILESDIR}"/nmbd.service
933 + systemd_dounit "${FILESDIR}"/smbd.{service,socket}
934 + systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
935 + systemd_dounit "${FILESDIR}"/winbindd.service
936 + systemd_dounit "${FILESDIR}"/samba.service
937 + fi
938 +}
939 +
940 +multilib_src_test() {
941 + if multilib_is_native_abi ; then
942 + "${WAF_BINARY}" test || die "test failed"
943 + fi
944 +}
945 +
946 +pkg_postinst() {
947 + ewarn "Be aware the this release contains the best of all of Samba's"
948 + ewarn "technology parts, both a file server (that you can reasonably expect"
949 + ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
950 + ewarn "controller work previously known as 'samba4'."
951 +
952 + elog "For further information and migration steps make sure to read "
953 + elog "http://samba.org/samba/history/${P}.html "
954 + elog "http://samba.org/samba/history/${PN}-4.5.0.html and"
955 + elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
956 +}