Gentoo Archives: gentoo-commits

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