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/, net-fs/samba/files/4.0/
Date: Wed, 16 Dec 2015 14:22:03
Message-Id: 1450275710.bd54ed60f4809a9ac52b59745ced0f12fd23c1fe.polynomial-c@gentoo
1 commit: bd54ed60f4809a9ac52b59745ced0f12fd23c1fe
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 16 14:20:36 2015 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 16 14:21:50 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd54ed60
7
8 net-fs/samba: Removed old.
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-fs/samba/Manifest | 6 -
14 net-fs/samba/files/4.0/com_err.patch | 35 ------
15 net-fs/samba/files/4.0/samba4.confd | 38 -------
16 net-fs/samba/files/4.0/samba4.initd-r1 | 56 ----------
17 net-fs/samba/samba-4.0.26-r1.ebuild | 186 -------------------------------
18 net-fs/samba/samba-4.1.21.ebuild | 181 ------------------------------
19 net-fs/samba/samba-4.2.5.ebuild | 197 ---------------------------------
20 net-fs/samba/samba-4.2.6.ebuild | 197 ---------------------------------
21 net-fs/samba/samba-4.3.1.ebuild | 196 --------------------------------
22 net-fs/samba/samba-4.3.2.ebuild | 196 --------------------------------
23 10 files changed, 1288 deletions(-)
24
25 diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest
26 index 0f35323..a64d89b 100644
27 --- a/net-fs/samba/Manifest
28 +++ b/net-fs/samba/Manifest
29 @@ -1,13 +1,7 @@
30 DIST samba-3.5.21.tar.gz 35377315 SHA256 fd9a66056b1ba9496762394efff41fcaa0e58f2e50e71910e6d202b8a59a1c10 SHA512 e6d52530094b2f8284f8536f97411c3944a83e9f1a808836acdca19fe4aee3cc47e136cc2a2eab96ba89526fe289ec1a3d22fb836bd261bf7c8ddfbccd1cf975 WHIRLPOOL a476ea24841cfdec0f640880e0362173a3f6b957afd2d2448f7b4a8b7c927ef558fd22e7fe20b05bd8aecf1169d8e488b87830a99ddfddcbc8be0c9a414966ad
31 DIST samba-3.5.22.tar.gz 35385144 SHA256 b4c98f77f5634478da109063334acd9b6ad7bcb38151a5b1cac6dc5feb6679dc SHA512 0e1b4816d921ca82f0426a254cf103066634cc54e28d707a62da951118413f7f5ca5f87d60688cab802a58b0af87f797fbbe12f4e1284d5d7f545a98aba97616 WHIRLPOOL 6e59655dd7a537f0c7c889c43ddf5afb8060706e1ec79b3835698181c5c7478059f91c93eefbde50b03e0154a686eda35eabf807bb7ae01dd2b9b39648a009ae
32 DIST samba-3.6.25.tar.gz 34121828 SHA256 8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751 SHA512 25a5c56dae4517e82e196b59fa301b661ec75db57effbb0ede35fb23b018f78cdea6513e8760966caf58abc43335fcebda77fe5bf5bb9d4b27fd3ca6e5a3b626 WHIRLPOOL 68c4a335b3912bf3c6baecae337b1131127515191052366ca9a04ec6d919f2fb69c912aefb087e2578134f3a9bde7b496ea880f2197a8dbf8221058dd1e8444d
33 -DIST samba-4.0.26.tar.gz 22155521 SHA256 ce2441992c6d18950d752edb2d1274b3f7e056b2e2e8516fc42e408e4a25894a SHA512 0df6f5961b2b6af1a4356540299acae52473f9d4342762d1556c859a36a63a7b8706c94f835581e96ecbf47a2d7fb09b67f93aa3869812215e9661dda7ee1906 WHIRLPOOL fda98da46719e6f4cefa58aef56f4d75120c4386b5e398e9b2ac3aa693255a6bce9606b1bf5646708d96e4f3c8982586501ccdae7c11f223b629ab128d33ae59
34 -DIST samba-4.1.21.tar.gz 19561830 SHA256 00f1c26cd310811afb2fa1a3fb72a23bd2e5c2f6466e6efdcb530305d7c3ce2e SHA512 e51652964ff193c9a2e3900198ba557268c405811332a32a7a545fb9eaa6cc8dccbf37d2c664a5a8d6ea3f460b08a24bcedcc7334c1bbdc1bda0b469c448fc0e WHIRLPOOL 7d96a7777a909cb088e4d11fd070e46a615c65a2ca653d3da0ba06ad5e94e3af8c3428dc304704002d86f58f7464d6694be9533913be74fe8a9eca6523aeaa34
35 DIST samba-4.1.22.tar.gz 19557688 SHA256 5563a1c94a2dac837ccffd1f0821bb25e097affaa7389fef186f9cfb3486cfe5 SHA512 fc0f49fa4faf84069f17ad20d540aada3d410750d67a32a893c7842fc3720399bea2873686f9eee77ed5c7db4d6e6d4aa68f8c71a37cede8a67984e9ad732546 WHIRLPOOL 22affd2da369af40d8fd7eb27c9f38e908ab68b9668d689e9c268423bedc453089fe708cd565db22e0c7fbd32095305b8a5861ee8e89baf2298a084028e21df8
36 -DIST samba-4.2.5.tar.gz 20734836 SHA256 8191c4c0730daf7f9e9a3ea1cc6e680798d76bf855269807778adcccc8d706cf SHA512 b3581bd6ff33ce107ab2fb3cc8797852e441ed296df680083bcb25164941c08f870c2edadf5cf41280648c012bb264274854890ca8704ba17289a30efbbd1709 WHIRLPOOL a35bf488b81ba8f753871db35c611b2ad99b90e8bf6afd97df85785a9c84e1d7ad120a76832c09347031e0c895346e150ae9c7353e6bee16e4beccfbeaf7fad8
37 -DIST samba-4.2.6.tar.gz 20737135 SHA256 02a6296ec65eb111e5f84466584bc1fd888f204ee419019f88b9a9c8a77bd9b1 SHA512 9a4992ad162958b050b190e1f5c2f5d4d5209b5406f6e53d1e1e921f5b3eae238a42dd6d05aed22efc375a75f2f926ec41eb4de3f7898cdc7a55fecc38a79c8b WHIRLPOOL 11c4af9404e190d6a4c7b579973270fb620cd050213b9637d765c450872ba9288b9d985deac6cfe5055045701e50c45cd022469bfa4ba56b02636da5cc756dc6
38 DIST samba-4.2.7.tar.gz 20741971 SHA256 f586ab3166ce4c663360f15b1de24ef083816a5471856e3ad49bc26b35f0104a SHA512 74314083c04689696f0423bc990947bfafad679edcac97e6c137e99c17de1e262a4d8450b57de733a70c86c746300c7c5a1365b56c0e353ce79b05e0baf8eb9a WHIRLPOOL 84e7d2f3a60701ee929198caf86371c9e1694be6def47a4f0f12d4d221b995209505c23564c304fbdd95ab5ae528f941946bd361ec6e388f7ba4db08792ff3ba
39 -DIST samba-4.3.1.tar.gz 20424516 SHA256 9908a80d95b9e2583906ed4347a8c80b769539a2788158992fb48ea9fb4d2c82 SHA512 4a7c7e27e0d231b852b47407fb51cbe2b7851138d9a957c8149346afe1b14a2afa8fff66505abdbafe1ea43fc78b53800941c96c925fbc281b9ff24ef5ecfc98 WHIRLPOOL de09a933e222acf60e03a085370d218f26c917d98fde77535f55ca2f4a3bdcda0877fc8e0666c17ab271731ecdfa34e4ad4425fe83460a169d9ee2061007f059
40 -DIST samba-4.3.2.tar.gz 20425622 SHA256 61989195caadf0f6fb51ce6bed5e203e6146facc2c276a26ad41901ad9129a75 SHA512 b01330c3e56731c1749e2179b160233c852c739c394be7999f9792e27891679ae2a15bbad50d8917a08a40b39ae3c6990ae2aa0f6345871d51058d234dad2528 WHIRLPOOL 21f4a6d240c57c66ca2159ecb8898f8f79dcb9ebfb85d66224ac31e2fbb365e2f4227a800af3a2934a50616b27cc6bb636a9a1a5d0e6ce57276c0a2e633d13bf
41 DIST samba-4.3.3.tar.gz 20427281 SHA256 e62d21313acbb29e24b0b80aaf2b63fdd1ccce4cfb741f333deca95a1a3a70df SHA512 2c66d97f543e22a25ff77481359e7c69817d97c20b77a3ab02a1aab415e0b8a9a6024f4466abcca8312979f9b26596e016ca5bb78ccfe3746e3e9cec0fa303be WHIRLPOOL dae3cbe3aebd0aa70a726b4946470829b703f30c0aaf59f9ae094e7f4dfa25b0573e6c49690d91308f3dddc25cf6fbf0b1341da33446dc4ee29a115db48f9604
42 DIST smb_traffic_analyzer_v2.diff.bz2 12226 SHA256 1bae7eafbe8ac2382313d5ab9d43d73ba64b63a714f0f588516952d476fb868d SHA512 aa0e457a0dd282e61e6dfcd5705c29b319832dca9711b1b5baf8373e2f079991399c3537c050219ccb861a93f86353ebff677a5c625d2e3f1f3a13ee5c4087d0 WHIRLPOOL 85ee72a360f67ebe71be5cd400ecd635280a0d7c64ebb8b94656a5ef1a94f74a987de86408af00ce1b81cc8363b1b3cf14726860d29b72ee610d4bab73d6b139
43
44 diff --git a/net-fs/samba/files/4.0/com_err.patch b/net-fs/samba/files/4.0/com_err.patch
45 deleted file mode 100644
46 index 2c9ad88..0000000
47 --- a/net-fs/samba/files/4.0/com_err.patch
48 +++ /dev/null
49 @@ -1,35 +0,0 @@
50 -From 2f34bfbc1941127d17a7a91c6598d6a6c35620e2 Mon Sep 17 00:00:00 2001
51 -From: Ewoud Kohl van Wijngaarden <ewoud@××××××××××××××××××.nl>
52 -Date: Thu, 6 Oct 2011 00:19:01 +0200
53 -Subject: [PATCH] Add missing com_err dependencies
54 -
55 ----
56 - auth/kerberos/wscript_build | 2 +-
57 - nsswitch/wscript_build | 2 +-
58 - 2 files changed, 2 insertions(+), 2 deletions(-)
59 -
60 -diff --git a/auth/kerberos/wscript_build b/auth/kerberos/wscript_build
61 -index 1070770..2421b16 100644
62 ---- a/auth/kerberos/wscript_build
63 -+++ b/auth/kerberos/wscript_build
64 -@@ -1,3 +1,3 @@
65 - bld.SAMBA_SUBSYSTEM('KRB5_PAC',
66 - source='gssapi_pac.c kerberos_pac.c',
67 -- deps='gssapi_krb5 krb5 ndr-krb5pac')
68 -+ deps='gssapi_krb5 krb5 ndr-krb5pac com_err')
69 -diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
70 -index 298da06..4e353d3 100644
71 ---- a/nsswitch/wscript_build
72 -+++ b/nsswitch/wscript_build
73 -@@ -33,7 +33,7 @@ if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
74 - if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
75 - bld.SAMBA_LIBRARY('winbind_krb5_locator',
76 - source='winbind_krb5_locator.c',
77 -- deps='wbclient krb5',
78 -+ deps='wbclient krb5 com_err',
79 - realname='winbind_krb5_locator.so')
80 -
81 - bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
82 ---
83 -1.7.3.4
84 -
85
86 diff --git a/net-fs/samba/files/4.0/samba4.confd b/net-fs/samba/files/4.0/samba4.confd
87 deleted file mode 100644
88 index 58b2c78..0000000
89 --- a/net-fs/samba/files/4.0/samba4.confd
90 +++ /dev/null
91 @@ -1,38 +0,0 @@
92 -# Add "winbind" to the daemon_list if you also want winbind to start.
93 -# Replace "smbd nmbd" by "samba4" if you want the active directory domain controller part or the ntvfs
94 -# file server part or the rpc proxy to start.
95 -# Note that samba4 controls 'smbd' by itself, thus it can't be started manually. You can, however,
96 -# tweak the behaviour of a samba4-controlled smbd by modifying your '/etc/samba/smb.conf' file
97 -# accordingly.
98 -daemon_list="smbd nmbd"
99 -
100 -#----------------------------------------------------------------------------
101 -# Daemons calls: <daemon_name>_<command_option>
102 -#----------------------------------------------------------------------------
103 -my_service_name="samba"
104 -my_service_PRE="unset TMP TMPDIR"
105 -my_service_POST=""
106 -
107 -#----------------------------------------------------------------------------
108 -# Daemons calls: <daemon_name>_<command_option>
109 -#----------------------------------------------------------------------------
110 -smbd_start_options="-D"
111 -smbd_start="start-stop-daemon --start --exec /usr/sbin/smbd -- ${smbd_start_options}"
112 -smbd_stop="start-stop-daemon --stop --exec /usr/sbin/smbd"
113 -smbd_reload="killall -HUP smbd"
114 -
115 -nmbd_start_options="-D"
116 -nmbd_start="start-stop-daemon --start --exec /usr/sbin/nmbd -- ${nmbd_start_options}"
117 -nmbd_stop="start-stop-daemon --stop --exec /usr/sbin/nmbd"
118 -nmbd_reload="killall -HUP nmbd"
119 -
120 -samba4_start_options=""
121 -samba4_start="start-stop-daemon --start --exec /usr/sbin/samba -- ${samba4_start_options}"
122 -samba4_stop="start-stop-daemon --stop --exec /usr/sbin/samba"
123 -samba4_reload="killall -HUP samba"
124 -
125 -winbind_start_options=""
126 -winbind_start="start-stop-daemon --start --exec /usr/sbin/winbindd -- ${winbind_start_options}"
127 -winbind_stop="start-stop-daemon --stop --exec /usr/sbin/winbindd"
128 -winbind_reload="killall -HUP winbindd"
129 -
130
131 diff --git a/net-fs/samba/files/4.0/samba4.initd-r1 b/net-fs/samba/files/4.0/samba4.initd-r1
132 deleted file mode 100644
133 index 012e19e..0000000
134 --- a/net-fs/samba/files/4.0/samba4.initd-r1
135 +++ /dev/null
136 @@ -1,56 +0,0 @@
137 -#!/sbin/runscript
138 -# Copyright 1999-2014 Gentoo Foundation
139 -# Distributed under the terms of the GNU General Public License, v2 or later
140 -# $Id$
141 -
142 -extra_started_commands="reload"
143 -piddir="/var/run/samba"
144 -
145 -depend() {
146 - after slapd
147 - need net
148 - use cupsd
149 -}
150 -
151 -DAEMONNAME="${SVCNAME##samba.}"
152 -[ "${DAEMONNAME}" != "samba" ] && daemon_list=${DAEMONNAME}
153 -
154 -signal_do() {
155 - local signal="$1"
156 - [ -z "${signal}" ] && return 0
157 -
158 - local result=0 last_result=0 daemon= cmd_exec=
159 - for daemon in ${daemon_list} ; do
160 - eval cmd_exec=\$${daemon}_${signal}
161 - if [ -n "${cmd_exec}" ]; then
162 - ebegin "${my_service_name} -> ${signal}: ${daemon}"
163 - #echo ${cmd} '->' ${!cmd}
164 - ${cmd_exec} > /dev/null
165 - last_result=$?
166 - eend ${last_result}
167 - fi
168 - result=$(( ${result} + ${last_result} ))
169 - done
170 - return ${result}
171 -}
172 -
173 -start() {
174 - ${my_service_PRE}
175 - [ -d "${piddir}" ] || mkdir -p "${piddir}"
176 - signal_do start && return 0
177 -
178 - eerror "Error: starting services (see system logs)"
179 - signal_do stop
180 - return 1
181 -}
182 -stop() {
183 - ${my_service_PRE}
184 - if signal_do stop ; then
185 - ${my_service_POST}
186 - return 0
187 - fi
188 -}
189 -reload() {
190 - ${my_service_PRE}
191 - signal_do reload
192 -}
193
194 diff --git a/net-fs/samba/samba-4.0.26-r1.ebuild b/net-fs/samba/samba-4.0.26-r1.ebuild
195 deleted file mode 100644
196 index c4ee74a..0000000
197 --- a/net-fs/samba/samba-4.0.26-r1.ebuild
198 +++ /dev/null
199 @@ -1,186 +0,0 @@
200 -# Copyright 1999-2015 Gentoo Foundation
201 -# Distributed under the terms of the GNU General Public License v2
202 -# $Id$
203 -
204 -EAPI=5
205 -PYTHON_COMPAT=( python2_7 )
206 -PYTHON_REQ_USE='threads(+)'
207 -
208 -inherit python-single-r1 waf-utils multilib linux-info systemd eutils
209 -
210 -MY_PV="${PV/_rc/rc}"
211 -MY_P="${PN}-${MY_PV}"
212 -
213 -if [ "${PV}" = "4.9999" ]; then
214 - EGIT_REPO_URI="git://git.samba.org/samba.git"
215 - KEYWORDS=""
216 - inherit git-2
217 -else
218 - SRC_URI="mirror://samba/stable/${MY_P}.tar.gz"
219 - KEYWORDS="~amd64 ~hppa ~x86"
220 -fi
221 -
222 -DESCRIPTION="Samba Suite Version 4"
223 -HOMEPAGE="http://www.samba.org/"
224 -LICENSE="GPL-3"
225 -
226 -SLOT="0"
227 -
228 -IUSE="acl addns ads aio avahi client cluster cups dmapi fam gnutls iprint
229 -ldap quota selinux swat syslog test winbind"
230 -
231 -# sys-apps/attr is an automagic dependency (see bug #489748)
232 -# sys-libs/pam is an automagic dependency (see bug #489770)
233 -CDEPEND="${PYTHON_DEPS}
234 - >=app-crypt/heimdal-1.5[-ssl]
235 - dev-libs/iniparser:0
236 - dev-libs/popt
237 - sys-libs/readline:=
238 - virtual/libiconv
239 - dev-python/subunit[${PYTHON_USEDEP}]
240 - sys-apps/attr
241 - sys-libs/libcap
242 - >=sys-libs/ldb-1.1.16
243 - sys-libs/ncurses:0=
244 - >=sys-libs/tdb-1.2.11[python,${PYTHON_USEDEP}]
245 - >=sys-libs/talloc-2.0.8[python,${PYTHON_USEDEP}]
246 - >=sys-libs/tevent-0.9.18
247 - sys-libs/zlib
248 - virtual/pam
249 - acl? ( virtual/acl )
250 - addns? ( net-dns/bind-tools[gssapi] )
251 - aio? ( dev-libs/libaio )
252 - cluster? ( >=dev-db/ctdb-1.0.114_p1 )
253 - cups? ( net-print/cups )
254 - dmapi? ( sys-apps/dmapi )
255 - fam? ( virtual/fam )
256 - gnutls? ( dev-libs/libgcrypt:0
257 - >=net-libs/gnutls-1.4.0 )
258 - ldap? ( net-nds/openldap )"
259 -DEPEND="${CDEPEND}
260 - virtual/pkgconfig"
261 -RDEPEND="${CDEPEND}
262 - client? ( net-fs/cifs-utils[ads?] )
263 - selinux? ( sec-policy/selinux-samba )
264 -"
265 -
266 -REQUIRED_USE="ads? ( acl ldap )
267 - ${PYTHON_REQUIRED_USE}"
268 -
269 -RESTRICT="mirror"
270 -
271 -S="${WORKDIR}/${MY_P}"
272 -
273 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
274 -
275 -# sys-apps/dmapi is an automagic dependency (see bug #474492)
276 -PATCHES=(
277 - "${FILESDIR}/named.conf.dlz.patch"
278 - "${FILESDIR}/${PN}-4.0.19-automagic_aio_fix.patch"
279 -)
280 -
281 -WAF_BINARY="${S}/buildtools/bin/waf"
282 -
283 -pkg_setup() {
284 - python-single-r1_pkg_setup
285 - if use aio; then
286 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
287 - ewarn "You must enable AIO support in your kernel config, "
288 - ewarn "to be able to support asynchronous I/O. "
289 - ewarn "You can find it at"
290 - ewarn
291 - ewarn "General Support"
292 - ewarn " Enable AIO support "
293 - ewarn
294 - ewarn "and recompile your kernel..."
295 - fi
296 - fi
297 -}
298 -
299 -src_configure() {
300 - local myconf=''
301 - use "cluster" && myconf+=" --with-ctdb-dir=/usr"
302 - use "test" && myconf+=" --enable-selftest"
303 - myconf="${myconf} \
304 - --enable-fhs \
305 - --sysconfdir=/etc \
306 - --localstatedir=/var \
307 - --with-modulesdir=/usr/$(get_libdir)/samba \
308 - --with-pammodulesdir=/$(get_libdir)/security \
309 - --with-piddir=/var/run/${PN} \
310 - --disable-rpath \
311 - --disable-rpath-install \
312 - --nopyc \
313 - --nopyo \
314 - --disable-ntdb \
315 - --bundled-libraries=NONE \
316 - --builtin-libraries=NONE \
317 - $(use_with addns dnsupdate) \
318 - $(use_with acl acl-support) \
319 - $(use_with ads) \
320 - $(use_with aio aio-support) \
321 - $(use_enable avahi) \
322 - $(use_with cluster cluster-support) \
323 - $(use_enable cups) \
324 - $(use_with dmapi) \
325 - $(use_with fam) \
326 - $(use_enable gnutls) \
327 - $(use_enable iprint) \
328 - $(use_with ldap) \
329 - --with-pam \
330 - --with-pam_smbpass \
331 - $(use_with quota quotas) \
332 - $(use_with syslog) \
333 - $(use_with swat) \
334 - $(use_with winbind)
335 - "
336 - use "ads" && myconf+=" --with-shared-modules=idmap_ad"
337 -
338 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
339 - waf-utils_src_configure ${myconf}
340 -}
341 -
342 -src_install() {
343 - waf-utils_src_install
344 -
345 - # install ldap schema for server (bug #491002)
346 - if use ldap ; then
347 - insinto /etc/openldap/schema
348 - doins examples/LDAP/samba.schema
349 - fi
350 -
351 - # Make all .so files executable
352 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
353 -
354 - # install example config file
355 - insinto /etc/samba
356 - doins examples/smb.conf.default
357 -
358 - # Install init script and conf.d file
359 - newinitd "${CONFDIR}/samba4.initd-r1" samba
360 - newconfd "${CONFDIR}/samba4.confd" samba
361 -
362 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
363 - systemd_dounit "${FILESDIR}"/nmbd.service
364 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
365 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
366 - systemd_dounit "${FILESDIR}"/winbindd.service
367 -}
368 -
369 -src_test() {
370 - "${WAF_BINARY}" test || die "test failed"
371 -}
372 -
373 -pkg_postinst() {
374 - elog "This is is the first stable release of Samba 4.0"
375 -
376 - ewarn "Be aware the this release contains the best of all of Samba's"
377 - ewarn "technology parts, both a file server (that you can reasonably expect"
378 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
379 - ewarn "controller work previously known as 'samba4'."
380 -
381 - elog "For further information and migration steps make sure to read "
382 - elog "http://samba.org/samba/history/${P}.html "
383 - elog "http://samba.org/samba/history/${PN}-4.0.0.html and"
384 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
385 -}
386
387 diff --git a/net-fs/samba/samba-4.1.21.ebuild b/net-fs/samba/samba-4.1.21.ebuild
388 deleted file mode 100644
389 index 9a1ba22..0000000
390 --- a/net-fs/samba/samba-4.1.21.ebuild
391 +++ /dev/null
392 @@ -1,181 +0,0 @@
393 -# Copyright 1999-2015 Gentoo Foundation
394 -# Distributed under the terms of the GNU General Public License v2
395 -# $Id$
396 -
397 -EAPI=5
398 -PYTHON_COMPAT=( python2_7 )
399 -PYTHON_REQ_USE='threads(+)'
400 -
401 -inherit python-single-r1 waf-utils multilib linux-info systemd base
402 -
403 -MY_PV="${PV/_rc/rc}"
404 -MY_P="${PN}-${MY_PV}"
405 -
406 -SRC_URI="mirror://samba/stable/${MY_P}.tar.gz"
407 -KEYWORDS="~amd64 ~arm64 ~hppa ~x86"
408 -
409 -DESCRIPTION="Samba Suite Version 4"
410 -HOMEPAGE="http://www.samba.org/"
411 -LICENSE="GPL-3"
412 -
413 -SLOT="0"
414 -
415 -IUSE="acl addns ads aio avahi client cluster cups dmapi fam gnutls iprint
416 -ldap quota selinux syslog systemd test winbind"
417 -
418 -# sys-apps/attr is an automagic dependency (see bug #489748)
419 -# sys-libs/pam is an automagic dependency (see bug #489770)
420 -CDEPEND="${PYTHON_DEPS}
421 - >=app-crypt/heimdal-1.5[-ssl,-threads]
422 - dev-libs/iniparser:0
423 - dev-libs/popt
424 - sys-libs/readline:=
425 - virtual/libiconv
426 - dev-python/subunit[${PYTHON_USEDEP}]
427 - sys-apps/attr
428 - sys-libs/libcap
429 - >=sys-libs/ntdb-1.0[python,${PYTHON_USEDEP}]
430 - >=sys-libs/ldb-1.1.17
431 - sys-libs/ncurses:0=
432 - >=sys-libs/tdb-1.2.12[python,${PYTHON_USEDEP}]
433 - >=sys-libs/talloc-2.1.2[python,${PYTHON_USEDEP}]
434 - >=sys-libs/tevent-0.9.18
435 - sys-libs/zlib
436 - virtual/pam
437 - acl? ( virtual/acl )
438 - addns? ( net-dns/bind-tools[gssapi] )
439 - aio? ( dev-libs/libaio )
440 - cluster? ( >=dev-db/ctdb-1.0.114_p1 )
441 - cups? ( net-print/cups )
442 - dmapi? ( sys-apps/dmapi )
443 - fam? ( virtual/fam )
444 - gnutls? ( dev-libs/libgcrypt:0
445 - >=net-libs/gnutls-1.4.0 )
446 - ldap? ( net-nds/openldap )
447 - systemd? ( sys-apps/systemd:0= )"
448 -DEPEND="${CDEPEND}
449 - virtual/pkgconfig"
450 -RDEPEND="${CDEPEND}
451 - client? ( net-fs/cifs-utils[ads?] )
452 - selinux? ( sec-policy/selinux-samba )
453 -"
454 -
455 -REQUIRED_USE="ads? ( acl ldap )
456 - ${PYTHON_REQUIRED_USE}"
457 -
458 -RESTRICT="mirror"
459 -
460 -S="${WORKDIR}/${MY_P}"
461 -
462 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
463 -
464 -PATCHES=(
465 - "${FILESDIR}/${PN}-4.1.14-named.conf.dlz.patch"
466 - "${FILESDIR}/${PN}-4.0.19-automagic_aio_fix.patch"
467 - # support libsystemd (instead of libsystemd-daemon), bug #526362
468 - "${FILESDIR}/${PN}-4.1.14-libsystemd.patch"
469 -)
470 -
471 -WAF_BINARY="${S}/buildtools/bin/waf"
472 -
473 -pkg_setup() {
474 - python-single-r1_pkg_setup
475 - if use aio; then
476 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
477 - ewarn "You must enable AIO support in your kernel config, "
478 - ewarn "to be able to support asynchronous I/O. "
479 - ewarn "You can find it at"
480 - ewarn
481 - ewarn "General Support"
482 - ewarn " Enable AIO support "
483 - ewarn
484 - ewarn "and recompile your kernel..."
485 - fi
486 - fi
487 -}
488 -
489 -src_configure() {
490 - local myconf=''
491 - use "cluster" && myconf+=" --with-ctdb-dir=/usr"
492 - use "test" && myconf+=" --enable-selftest"
493 - myconf="${myconf} \
494 - --enable-fhs \
495 - --sysconfdir=/etc \
496 - --localstatedir=/var \
497 - --with-modulesdir=/usr/$(get_libdir)/samba \
498 - --with-pammodulesdir=/$(get_libdir)/security \
499 - --with-piddir=/var/run/${PN} \
500 - --disable-rpath \
501 - --disable-rpath-install \
502 - --nopyc \
503 - --nopyo \
504 - --bundled-libraries=NONE \
505 - --builtin-libraries=NONE \
506 - $(use_with addns dnsupdate) \
507 - $(use_with acl acl-support) \
508 - $(use_with ads) \
509 - $(use_with aio aio-support) \
510 - $(use_enable avahi) \
511 - $(use_with cluster cluster-support) \
512 - $(use_enable cups) \
513 - $(use_with dmapi) \
514 - $(use_with fam) \
515 - $(use_enable gnutls) \
516 - $(use_enable iprint) \
517 - $(use_with ldap) \
518 - --with-pam \
519 - --with-pam_smbpass \
520 - $(use_with quota quotas) \
521 - $(use_with syslog) \
522 - $(use_with systemd) \
523 - $(use_with winbind)
524 - "
525 - use "ads" && myconf+=" --with-shared-modules=idmap_ad"
526 -
527 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
528 - waf-utils_src_configure ${myconf}
529 -}
530 -
531 -src_install() {
532 - waf-utils_src_install
533 -
534 - # install ldap schema for server (bug #491002)
535 - if use ldap ; then
536 - insinto /etc/openldap/schema
537 - doins examples/LDAP/samba.schema
538 - fi
539 -
540 - # Make all .so files executable
541 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
542 -
543 - # install example config file
544 - insinto /etc/samba
545 - doins examples/smb.conf.default
546 -
547 - # Install init script and conf.d file
548 - newinitd "${CONFDIR}/samba4.initd-r1" samba
549 - newconfd "${CONFDIR}/samba4.confd" samba
550 -
551 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
552 - systemd_dounit "${FILESDIR}"/nmbd.service
553 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
554 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
555 - systemd_dounit "${FILESDIR}"/winbindd.service
556 - systemd_dounit "${FILESDIR}"/samba.service
557 -}
558 -
559 -src_test() {
560 - "${WAF_BINARY}" test || die "test failed"
561 -}
562 -
563 -pkg_postinst() {
564 - ewarn "Be aware the this release contains the best of all of Samba's"
565 - ewarn "technology parts, both a file server (that you can reasonably expect"
566 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
567 - ewarn "controller work previously known as 'samba4'."
568 -
569 - elog "For further information and migration steps make sure to read "
570 - elog "http://samba.org/samba/history/${P}.html "
571 - elog "http://samba.org/samba/history/${PN}-4.1.0.html and"
572 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
573 -}
574
575 diff --git a/net-fs/samba/samba-4.2.5.ebuild b/net-fs/samba/samba-4.2.5.ebuild
576 deleted file mode 100644
577 index 2703518..0000000
578 --- a/net-fs/samba/samba-4.2.5.ebuild
579 +++ /dev/null
580 @@ -1,197 +0,0 @@
581 -# Copyright 1999-2015 Gentoo Foundation
582 -# Distributed under the terms of the GNU General Public License v2
583 -# $Id$
584 -
585 -EAPI=5
586 -PYTHON_COMPAT=( python2_7 )
587 -PYTHON_REQ_USE='threads(+)'
588 -
589 -inherit python-single-r1 waf-utils multilib linux-info systemd eutils
590 -
591 -MY_PV="${PV/_rc/rc}"
592 -MY_P="${PN}-${MY_PV}"
593 -
594 -SRC_PATH="stable"
595 -[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
596 -
597 -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz"
598 -KEYWORDS="~amd64 ~hppa ~x86"
599 -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
600 -
601 -DESCRIPTION="Samba Suite Version 4"
602 -HOMEPAGE="http://www.samba.org/"
603 -LICENSE="GPL-3"
604 -
605 -SLOT="0"
606 -
607 -IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint
608 -ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind"
609 -
610 -# sys-apps/attr is an automagic dependency (see bug #489748)
611 -# sys-libs/pam is an automagic dependency (see bug #489770)
612 -CDEPEND="${PYTHON_DEPS}
613 - dev-libs/iniparser:0
614 - dev-libs/popt
615 - sys-libs/readline:=
616 - virtual/libiconv
617 - dev-python/subunit[${PYTHON_USEDEP}]
618 - >=net-libs/socket_wrapper-1.1.2
619 - sys-apps/attr
620 - sys-libs/libcap
621 - >=sys-libs/ldb-1.1.20
622 - sys-libs/ncurses:0=
623 - >=sys-libs/nss_wrapper-1.0.2
624 - >=sys-libs/ntdb-1.0[python,${PYTHON_USEDEP}]
625 - >=sys-libs/talloc-2.1.2[python,${PYTHON_USEDEP}]
626 - >=sys-libs/tdb-1.3.6[python,${PYTHON_USEDEP}]
627 - >=sys-libs/tevent-0.9.25
628 - >=sys-libs/uid_wrapper-1.0.1
629 - sys-libs/zlib
630 - virtual/pam
631 - acl? ( virtual/acl )
632 - addns? ( net-dns/bind-tools[gssapi] )
633 - aio? ( dev-libs/libaio )
634 - cluster? ( >=dev-db/ctdb-1.0.114_p1 )
635 - cups? ( net-print/cups )
636 - dmapi? ( sys-apps/dmapi )
637 - fam? ( virtual/fam )
638 - gnutls? ( dev-libs/libgcrypt:0
639 - >=net-libs/gnutls-1.4.0 )
640 - ldap? ( net-nds/openldap )
641 - system-mitkrb5? ( app-crypt/mit-krb5 )
642 - !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl] )
643 - systemd? ( sys-apps/systemd:0= )"
644 -DEPEND="${CDEPEND}
645 - virtual/pkgconfig"
646 -RDEPEND="${CDEPEND}
647 - client? ( net-fs/cifs-utils[ads?] )
648 - selinux? ( sec-policy/selinux-samba )
649 -"
650 -
651 -REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
652 - ads? ( acl gnutls ldap )
653 - ${PYTHON_REQUIRED_USE}"
654 -
655 -S="${WORKDIR}/${MY_P}"
656 -
657 -PATCHES=( "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" )
658 -
659 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
660 -
661 -WAF_BINARY="${S}/buildtools/bin/waf"
662 -
663 -pkg_setup() {
664 - python-single-r1_pkg_setup
665 - if use aio ; then
666 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
667 - ewarn "You must enable AIO support in your kernel config, "
668 - ewarn "to be able to support asynchronous I/O. "
669 - ewarn "You can find it at"
670 - ewarn
671 - ewarn "General Support"
672 - ewarn " Enable AIO support "
673 - ewarn
674 - ewarn "and recompile your kernel..."
675 - fi
676 - fi
677 - if ! use pam ; then
678 - ewarn "You have pam USE flag disabled!"
679 - ewarn "Unfortunately we still have to hard depend on virtual/pam as samba upstream"
680 - ewarn "still unconditionally links libauth4-samba4.so library to libpam.so once being"
681 - ewarn "found on the sytem."
682 - ewarn "Disabling the pam USE flag only disables installation of samba's pam authenti-"
683 - ewarn "cation modules."
684 - fi
685 -}
686 -
687 -src_prepare() {
688 - epatch ${PATCHES[@]}
689 -}
690 -
691 -src_configure() {
692 - local myconf=()
693 - myconf=(
694 - --enable-fhs
695 - --sysconfdir=/etc
696 - --localstatedir=/var
697 - --with-modulesdir=/usr/$(get_libdir)/samba
698 - --with-piddir=/var/run/${PN}
699 - --bundled-libraries=NONE
700 - --builtin-libraries=NONE
701 - --disable-rpath
702 - --disable-rpath-install
703 - --nopyc
704 - --nopyo
705 - $(use_with acl acl-support)
706 - $(usex addc '' '--without-ad-dc')
707 - $(use_with addns dnsupdate)
708 - $(use_with ads)
709 - $(usex ads '--with-shared-modules=idmap_ad' '')
710 - $(use_with aio aio-support)
711 - $(usex cluster '--with-ctdb-dir=/usr' '')
712 - $(use_enable avahi)
713 - $(use_with cluster cluster-support)
714 - $(use_enable cups)
715 - $(use_with dmapi)
716 - $(use_with fam)
717 - $(use_enable gnutls)
718 - $(use_enable iprint)
719 - $(use_with ldap)
720 - $(use_with pam)
721 - $(use_with pam pam_smbpass)
722 - $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
723 - $(use_with quota quotas)
724 - $(use_with syslog)
725 - $(use_with systemd)
726 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
727 - $(use_with winbind)
728 - $(usex test '--enable-selftest' '')
729 - )
730 -
731 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
732 - waf-utils_src_configure ${myconf[@]}
733 -}
734 -
735 -src_install() {
736 - waf-utils_src_install
737 -
738 - # install ldap schema for server (bug #491002)
739 - if use ldap ; then
740 - insinto /etc/openldap/schema
741 - doins examples/LDAP/samba.schema
742 - fi
743 -
744 - # Make all .so files executable
745 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
746 -
747 - # install example config file
748 - insinto /etc/samba
749 - doins examples/smb.conf.default
750 -
751 - # Install init script and conf.d file
752 - newinitd "${CONFDIR}/samba4.initd-r1" samba
753 - newconfd "${CONFDIR}/samba4.confd" samba
754 -
755 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
756 - systemd_dounit "${FILESDIR}"/nmbd.service
757 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
758 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
759 - systemd_dounit "${FILESDIR}"/winbindd.service
760 - systemd_dounit "${FILESDIR}"/samba.service
761 -}
762 -
763 -src_test() {
764 - "${WAF_BINARY}" test || die "test failed"
765 -}
766 -
767 -pkg_postinst() {
768 - ewarn "Be aware the this release contains the best of all of Samba's"
769 - ewarn "technology parts, both a file server (that you can reasonably expect"
770 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
771 - ewarn "controller work previously known as 'samba4'."
772 -
773 - elog "For further information and migration steps make sure to read "
774 - elog "http://samba.org/samba/history/${P}.html "
775 - elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
776 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
777 -}
778
779 diff --git a/net-fs/samba/samba-4.2.6.ebuild b/net-fs/samba/samba-4.2.6.ebuild
780 deleted file mode 100644
781 index 2703518..0000000
782 --- a/net-fs/samba/samba-4.2.6.ebuild
783 +++ /dev/null
784 @@ -1,197 +0,0 @@
785 -# Copyright 1999-2015 Gentoo Foundation
786 -# Distributed under the terms of the GNU General Public License v2
787 -# $Id$
788 -
789 -EAPI=5
790 -PYTHON_COMPAT=( python2_7 )
791 -PYTHON_REQ_USE='threads(+)'
792 -
793 -inherit python-single-r1 waf-utils multilib linux-info systemd eutils
794 -
795 -MY_PV="${PV/_rc/rc}"
796 -MY_P="${PN}-${MY_PV}"
797 -
798 -SRC_PATH="stable"
799 -[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
800 -
801 -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz"
802 -KEYWORDS="~amd64 ~hppa ~x86"
803 -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
804 -
805 -DESCRIPTION="Samba Suite Version 4"
806 -HOMEPAGE="http://www.samba.org/"
807 -LICENSE="GPL-3"
808 -
809 -SLOT="0"
810 -
811 -IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint
812 -ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind"
813 -
814 -# sys-apps/attr is an automagic dependency (see bug #489748)
815 -# sys-libs/pam is an automagic dependency (see bug #489770)
816 -CDEPEND="${PYTHON_DEPS}
817 - dev-libs/iniparser:0
818 - dev-libs/popt
819 - sys-libs/readline:=
820 - virtual/libiconv
821 - dev-python/subunit[${PYTHON_USEDEP}]
822 - >=net-libs/socket_wrapper-1.1.2
823 - sys-apps/attr
824 - sys-libs/libcap
825 - >=sys-libs/ldb-1.1.20
826 - sys-libs/ncurses:0=
827 - >=sys-libs/nss_wrapper-1.0.2
828 - >=sys-libs/ntdb-1.0[python,${PYTHON_USEDEP}]
829 - >=sys-libs/talloc-2.1.2[python,${PYTHON_USEDEP}]
830 - >=sys-libs/tdb-1.3.6[python,${PYTHON_USEDEP}]
831 - >=sys-libs/tevent-0.9.25
832 - >=sys-libs/uid_wrapper-1.0.1
833 - sys-libs/zlib
834 - virtual/pam
835 - acl? ( virtual/acl )
836 - addns? ( net-dns/bind-tools[gssapi] )
837 - aio? ( dev-libs/libaio )
838 - cluster? ( >=dev-db/ctdb-1.0.114_p1 )
839 - cups? ( net-print/cups )
840 - dmapi? ( sys-apps/dmapi )
841 - fam? ( virtual/fam )
842 - gnutls? ( dev-libs/libgcrypt:0
843 - >=net-libs/gnutls-1.4.0 )
844 - ldap? ( net-nds/openldap )
845 - system-mitkrb5? ( app-crypt/mit-krb5 )
846 - !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl] )
847 - systemd? ( sys-apps/systemd:0= )"
848 -DEPEND="${CDEPEND}
849 - virtual/pkgconfig"
850 -RDEPEND="${CDEPEND}
851 - client? ( net-fs/cifs-utils[ads?] )
852 - selinux? ( sec-policy/selinux-samba )
853 -"
854 -
855 -REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
856 - ads? ( acl gnutls ldap )
857 - ${PYTHON_REQUIRED_USE}"
858 -
859 -S="${WORKDIR}/${MY_P}"
860 -
861 -PATCHES=( "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" )
862 -
863 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
864 -
865 -WAF_BINARY="${S}/buildtools/bin/waf"
866 -
867 -pkg_setup() {
868 - python-single-r1_pkg_setup
869 - if use aio ; then
870 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
871 - ewarn "You must enable AIO support in your kernel config, "
872 - ewarn "to be able to support asynchronous I/O. "
873 - ewarn "You can find it at"
874 - ewarn
875 - ewarn "General Support"
876 - ewarn " Enable AIO support "
877 - ewarn
878 - ewarn "and recompile your kernel..."
879 - fi
880 - fi
881 - if ! use pam ; then
882 - ewarn "You have pam USE flag disabled!"
883 - ewarn "Unfortunately we still have to hard depend on virtual/pam as samba upstream"
884 - ewarn "still unconditionally links libauth4-samba4.so library to libpam.so once being"
885 - ewarn "found on the sytem."
886 - ewarn "Disabling the pam USE flag only disables installation of samba's pam authenti-"
887 - ewarn "cation modules."
888 - fi
889 -}
890 -
891 -src_prepare() {
892 - epatch ${PATCHES[@]}
893 -}
894 -
895 -src_configure() {
896 - local myconf=()
897 - myconf=(
898 - --enable-fhs
899 - --sysconfdir=/etc
900 - --localstatedir=/var
901 - --with-modulesdir=/usr/$(get_libdir)/samba
902 - --with-piddir=/var/run/${PN}
903 - --bundled-libraries=NONE
904 - --builtin-libraries=NONE
905 - --disable-rpath
906 - --disable-rpath-install
907 - --nopyc
908 - --nopyo
909 - $(use_with acl acl-support)
910 - $(usex addc '' '--without-ad-dc')
911 - $(use_with addns dnsupdate)
912 - $(use_with ads)
913 - $(usex ads '--with-shared-modules=idmap_ad' '')
914 - $(use_with aio aio-support)
915 - $(usex cluster '--with-ctdb-dir=/usr' '')
916 - $(use_enable avahi)
917 - $(use_with cluster cluster-support)
918 - $(use_enable cups)
919 - $(use_with dmapi)
920 - $(use_with fam)
921 - $(use_enable gnutls)
922 - $(use_enable iprint)
923 - $(use_with ldap)
924 - $(use_with pam)
925 - $(use_with pam pam_smbpass)
926 - $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
927 - $(use_with quota quotas)
928 - $(use_with syslog)
929 - $(use_with systemd)
930 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
931 - $(use_with winbind)
932 - $(usex test '--enable-selftest' '')
933 - )
934 -
935 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
936 - waf-utils_src_configure ${myconf[@]}
937 -}
938 -
939 -src_install() {
940 - waf-utils_src_install
941 -
942 - # install ldap schema for server (bug #491002)
943 - if use ldap ; then
944 - insinto /etc/openldap/schema
945 - doins examples/LDAP/samba.schema
946 - fi
947 -
948 - # Make all .so files executable
949 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
950 -
951 - # install example config file
952 - insinto /etc/samba
953 - doins examples/smb.conf.default
954 -
955 - # Install init script and conf.d file
956 - newinitd "${CONFDIR}/samba4.initd-r1" samba
957 - newconfd "${CONFDIR}/samba4.confd" samba
958 -
959 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
960 - systemd_dounit "${FILESDIR}"/nmbd.service
961 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
962 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
963 - systemd_dounit "${FILESDIR}"/winbindd.service
964 - systemd_dounit "${FILESDIR}"/samba.service
965 -}
966 -
967 -src_test() {
968 - "${WAF_BINARY}" test || die "test failed"
969 -}
970 -
971 -pkg_postinst() {
972 - ewarn "Be aware the this release contains the best of all of Samba's"
973 - ewarn "technology parts, both a file server (that you can reasonably expect"
974 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
975 - ewarn "controller work previously known as 'samba4'."
976 -
977 - elog "For further information and migration steps make sure to read "
978 - elog "http://samba.org/samba/history/${P}.html "
979 - elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
980 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
981 -}
982
983 diff --git a/net-fs/samba/samba-4.3.1.ebuild b/net-fs/samba/samba-4.3.1.ebuild
984 deleted file mode 100644
985 index a11c3b2..0000000
986 --- a/net-fs/samba/samba-4.3.1.ebuild
987 +++ /dev/null
988 @@ -1,196 +0,0 @@
989 -# Copyright 1999-2015 Gentoo Foundation
990 -# Distributed under the terms of the GNU General Public License v2
991 -# $Id$
992 -
993 -EAPI=5
994 -PYTHON_COMPAT=( python2_7 )
995 -PYTHON_REQ_USE='threads(+)'
996 -
997 -inherit python-single-r1 waf-utils multilib linux-info systemd eutils
998 -
999 -MY_PV="${PV/_rc/rc}"
1000 -MY_P="${PN}-${MY_PV}"
1001 -
1002 -SRC_PATH="stable"
1003 -[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
1004 -
1005 -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz"
1006 -KEYWORDS="~amd64 ~hppa ~x86"
1007 -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
1008 -
1009 -DESCRIPTION="Samba Suite Version 4"
1010 -HOMEPAGE="http://www.samba.org/"
1011 -LICENSE="GPL-3"
1012 -
1013 -SLOT="0"
1014 -
1015 -IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint
1016 -ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind"
1017 -
1018 -# sys-apps/attr is an automagic dependency (see bug #489748)
1019 -# sys-libs/pam is an automagic dependency (see bug #489770)
1020 -CDEPEND="${PYTHON_DEPS}
1021 - dev-libs/iniparser:0
1022 - dev-libs/popt
1023 - sys-libs/readline:=
1024 - virtual/libiconv
1025 - dev-python/subunit[${PYTHON_USEDEP}]
1026 - >=net-libs/socket_wrapper-1.1.2
1027 - sys-apps/attr
1028 - sys-libs/libcap
1029 - >=sys-libs/ldb-1.1.21
1030 - sys-libs/ncurses:0=
1031 - >=sys-libs/nss_wrapper-1.0.2
1032 - >=sys-libs/talloc-2.1.3[python,${PYTHON_USEDEP}]
1033 - >=sys-libs/tdb-1.3.6[python,${PYTHON_USEDEP}]
1034 - >=sys-libs/tevent-0.9.25
1035 - >=sys-libs/uid_wrapper-1.0.1
1036 - sys-libs/zlib
1037 - virtual/pam
1038 - acl? ( virtual/acl )
1039 - addns? ( net-dns/bind-tools[gssapi] )
1040 - aio? ( dev-libs/libaio )
1041 - cluster? ( >=dev-db/ctdb-1.0.114_p1 )
1042 - cups? ( net-print/cups )
1043 - dmapi? ( sys-apps/dmapi )
1044 - fam? ( virtual/fam )
1045 - gnutls? ( dev-libs/libgcrypt:0
1046 - >=net-libs/gnutls-1.4.0 )
1047 - ldap? ( net-nds/openldap )
1048 - system-mitkrb5? ( app-crypt/mit-krb5 )
1049 - !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl] )
1050 - systemd? ( sys-apps/systemd:0= )"
1051 -DEPEND="${CDEPEND}
1052 - virtual/pkgconfig"
1053 -RDEPEND="${CDEPEND}
1054 - client? ( net-fs/cifs-utils[ads?] )
1055 - selinux? ( sec-policy/selinux-samba )
1056 -"
1057 -
1058 -REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
1059 - ads? ( acl gnutls ldap )
1060 - ${PYTHON_REQUIRED_USE}"
1061 -
1062 -S="${WORKDIR}/${MY_P}"
1063 -
1064 -PATCHES=( "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" )
1065 -
1066 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
1067 -
1068 -WAF_BINARY="${S}/buildtools/bin/waf"
1069 -
1070 -pkg_setup() {
1071 - python-single-r1_pkg_setup
1072 - if use aio ; then
1073 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
1074 - ewarn "You must enable AIO support in your kernel config, "
1075 - ewarn "to be able to support asynchronous I/O. "
1076 - ewarn "You can find it at"
1077 - ewarn
1078 - ewarn "General Support"
1079 - ewarn " Enable AIO support "
1080 - ewarn
1081 - ewarn "and recompile your kernel..."
1082 - fi
1083 - fi
1084 - if ! use pam ; then
1085 - ewarn "You have pam USE flag disabled!"
1086 - ewarn "Unfortunately we still have to hard depend on virtual/pam as samba upstream"
1087 - ewarn "still unconditionally links libauth4-samba4.so library to libpam.so once being"
1088 - ewarn "found on the sytem."
1089 - ewarn "Disabling the pam USE flag only disables installation of samba's pam authenti-"
1090 - ewarn "cation modules."
1091 - fi
1092 -}
1093 -
1094 -src_prepare() {
1095 - epatch ${PATCHES[@]}
1096 -}
1097 -
1098 -src_configure() {
1099 - local myconf=()
1100 - myconf=(
1101 - --enable-fhs
1102 - --sysconfdir=/etc
1103 - --localstatedir=/var
1104 - --with-modulesdir=/usr/$(get_libdir)/samba
1105 - --with-piddir=/var/run/${PN}
1106 - --bundled-libraries=NONE
1107 - --builtin-libraries=NONE
1108 - --disable-rpath
1109 - --disable-rpath-install
1110 - --nopyc
1111 - --nopyo
1112 - $(use_with acl acl-support)
1113 - $(usex addc '' '--without-ad-dc')
1114 - $(use_with addns dnsupdate)
1115 - $(use_with ads)
1116 - $(usex ads '--with-shared-modules=idmap_ad' '')
1117 - $(use_with aio aio-support)
1118 - $(usex cluster '--with-ctdb-dir=/usr' '')
1119 - $(use_enable avahi)
1120 - $(use_with cluster cluster-support)
1121 - $(use_enable cups)
1122 - $(use_with dmapi)
1123 - $(use_with fam)
1124 - $(use_enable gnutls)
1125 - $(use_enable iprint)
1126 - $(use_with ldap)
1127 - $(use_with pam)
1128 - $(use_with pam pam_smbpass)
1129 - $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
1130 - $(use_with quota quotas)
1131 - $(use_with syslog)
1132 - $(use_with systemd)
1133 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
1134 - $(use_with winbind)
1135 - $(usex test '--enable-selftest' '')
1136 - )
1137 -
1138 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
1139 - waf-utils_src_configure ${myconf[@]}
1140 -}
1141 -
1142 -src_install() {
1143 - waf-utils_src_install
1144 -
1145 - # install ldap schema for server (bug #491002)
1146 - if use ldap ; then
1147 - insinto /etc/openldap/schema
1148 - doins examples/LDAP/samba.schema
1149 - fi
1150 -
1151 - # Make all .so files executable
1152 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
1153 -
1154 - # install example config file
1155 - insinto /etc/samba
1156 - doins examples/smb.conf.default
1157 -
1158 - # Install init script and conf.d file
1159 - newinitd "${CONFDIR}/samba4.initd-r1" samba
1160 - newconfd "${CONFDIR}/samba4.confd" samba
1161 -
1162 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
1163 - systemd_dounit "${FILESDIR}"/nmbd.service
1164 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
1165 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
1166 - systemd_dounit "${FILESDIR}"/winbindd.service
1167 - systemd_dounit "${FILESDIR}"/samba.service
1168 -}
1169 -
1170 -src_test() {
1171 - "${WAF_BINARY}" test || die "test failed"
1172 -}
1173 -
1174 -pkg_postinst() {
1175 - ewarn "Be aware the this release contains the best of all of Samba's"
1176 - ewarn "technology parts, both a file server (that you can reasonably expect"
1177 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
1178 - ewarn "controller work previously known as 'samba4'."
1179 -
1180 - elog "For further information and migration steps make sure to read "
1181 - elog "http://samba.org/samba/history/${P}.html "
1182 - elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
1183 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
1184 -}
1185
1186 diff --git a/net-fs/samba/samba-4.3.2.ebuild b/net-fs/samba/samba-4.3.2.ebuild
1187 deleted file mode 100644
1188 index d53b979..0000000
1189 --- a/net-fs/samba/samba-4.3.2.ebuild
1190 +++ /dev/null
1191 @@ -1,196 +0,0 @@
1192 -# Copyright 1999-2015 Gentoo Foundation
1193 -# Distributed under the terms of the GNU General Public License v2
1194 -# $Id$
1195 -
1196 -EAPI=5
1197 -PYTHON_COMPAT=( python2_7 )
1198 -PYTHON_REQ_USE='threads(+)'
1199 -
1200 -inherit python-single-r1 waf-utils multilib linux-info systemd eutils
1201 -
1202 -MY_PV="${PV/_rc/rc}"
1203 -MY_P="${PN}-${MY_PV}"
1204 -
1205 -SRC_PATH="stable"
1206 -[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
1207 -
1208 -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz"
1209 -KEYWORDS="~amd64 ~hppa ~x86"
1210 -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
1211 -
1212 -DESCRIPTION="Samba Suite Version 4"
1213 -HOMEPAGE="http://www.samba.org/"
1214 -LICENSE="GPL-3"
1215 -
1216 -SLOT="0"
1217 -
1218 -IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint
1219 -ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind"
1220 -
1221 -# sys-apps/attr is an automagic dependency (see bug #489748)
1222 -# sys-libs/pam is an automagic dependency (see bug #489770)
1223 -CDEPEND="${PYTHON_DEPS}
1224 - dev-libs/iniparser:0
1225 - dev-libs/popt
1226 - sys-libs/readline:=
1227 - virtual/libiconv
1228 - dev-python/subunit[${PYTHON_USEDEP}]
1229 - >=net-libs/socket_wrapper-1.1.3
1230 - sys-apps/attr
1231 - sys-libs/libcap
1232 - >=sys-libs/ldb-1.1.21
1233 - sys-libs/ncurses:0=
1234 - >=sys-libs/nss_wrapper-1.0.3
1235 - >=sys-libs/talloc-2.1.3[python,${PYTHON_USEDEP}]
1236 - >=sys-libs/tdb-1.3.7[python,${PYTHON_USEDEP}]
1237 - >=sys-libs/tevent-0.9.25
1238 - >=sys-libs/uid_wrapper-1.1.0
1239 - sys-libs/zlib
1240 - virtual/pam
1241 - acl? ( virtual/acl )
1242 - addns? ( net-dns/bind-tools[gssapi] )
1243 - aio? ( dev-libs/libaio )
1244 - cluster? ( >=dev-db/ctdb-1.0.114_p1 )
1245 - cups? ( net-print/cups )
1246 - dmapi? ( sys-apps/dmapi )
1247 - fam? ( virtual/fam )
1248 - gnutls? ( dev-libs/libgcrypt:0
1249 - >=net-libs/gnutls-1.4.0 )
1250 - ldap? ( net-nds/openldap )
1251 - system-mitkrb5? ( app-crypt/mit-krb5 )
1252 - !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl] )
1253 - systemd? ( sys-apps/systemd:0= )"
1254 -DEPEND="${CDEPEND}
1255 - virtual/pkgconfig"
1256 -RDEPEND="${CDEPEND}
1257 - client? ( net-fs/cifs-utils[ads?] )
1258 - selinux? ( sec-policy/selinux-samba )
1259 -"
1260 -
1261 -REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
1262 - ads? ( acl gnutls ldap )
1263 - ${PYTHON_REQUIRED_USE}"
1264 -
1265 -S="${WORKDIR}/${MY_P}"
1266 -
1267 -PATCHES=( "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" )
1268 -
1269 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
1270 -
1271 -WAF_BINARY="${S}/buildtools/bin/waf"
1272 -
1273 -pkg_setup() {
1274 - python-single-r1_pkg_setup
1275 - if use aio ; then
1276 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
1277 - ewarn "You must enable AIO support in your kernel config, "
1278 - ewarn "to be able to support asynchronous I/O. "
1279 - ewarn "You can find it at"
1280 - ewarn
1281 - ewarn "General Support"
1282 - ewarn " Enable AIO support "
1283 - ewarn
1284 - ewarn "and recompile your kernel..."
1285 - fi
1286 - fi
1287 - if ! use pam ; then
1288 - ewarn "You have pam USE flag disabled!"
1289 - ewarn "Unfortunately we still have to hard depend on virtual/pam as samba upstream"
1290 - ewarn "still unconditionally links libauth4-samba4.so library to libpam.so once being"
1291 - ewarn "found on the sytem."
1292 - ewarn "Disabling the pam USE flag only disables installation of samba's pam authenti-"
1293 - ewarn "cation modules."
1294 - fi
1295 -}
1296 -
1297 -src_prepare() {
1298 - epatch ${PATCHES[@]}
1299 -}
1300 -
1301 -src_configure() {
1302 - local myconf=()
1303 - myconf=(
1304 - --enable-fhs
1305 - --sysconfdir=/etc
1306 - --localstatedir=/var
1307 - --with-modulesdir=/usr/$(get_libdir)/samba
1308 - --with-piddir=/var/run/${PN}
1309 - --bundled-libraries=NONE
1310 - --builtin-libraries=NONE
1311 - --disable-rpath
1312 - --disable-rpath-install
1313 - --nopyc
1314 - --nopyo
1315 - $(use_with acl acl-support)
1316 - $(usex addc '' '--without-ad-dc')
1317 - $(use_with addns dnsupdate)
1318 - $(use_with ads)
1319 - $(usex ads '--with-shared-modules=idmap_ad' '')
1320 - $(use_with aio aio-support)
1321 - $(usex cluster '--with-ctdb-dir=/usr' '')
1322 - $(use_enable avahi)
1323 - $(use_with cluster cluster-support)
1324 - $(use_enable cups)
1325 - $(use_with dmapi)
1326 - $(use_with fam)
1327 - $(use_enable gnutls)
1328 - $(use_enable iprint)
1329 - $(use_with ldap)
1330 - $(use_with pam)
1331 - $(use_with pam pam_smbpass)
1332 - $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
1333 - $(use_with quota quotas)
1334 - $(use_with syslog)
1335 - $(use_with systemd)
1336 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
1337 - $(use_with winbind)
1338 - $(usex test '--enable-selftest' '')
1339 - )
1340 -
1341 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
1342 - waf-utils_src_configure ${myconf[@]}
1343 -}
1344 -
1345 -src_install() {
1346 - waf-utils_src_install
1347 -
1348 - # install ldap schema for server (bug #491002)
1349 - if use ldap ; then
1350 - insinto /etc/openldap/schema
1351 - doins examples/LDAP/samba.schema
1352 - fi
1353 -
1354 - # Make all .so files executable
1355 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
1356 -
1357 - # install example config file
1358 - insinto /etc/samba
1359 - doins examples/smb.conf.default
1360 -
1361 - # Install init script and conf.d file
1362 - newinitd "${CONFDIR}/samba4.initd-r1" samba
1363 - newconfd "${CONFDIR}/samba4.confd" samba
1364 -
1365 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
1366 - systemd_dounit "${FILESDIR}"/nmbd.service
1367 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
1368 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
1369 - systemd_dounit "${FILESDIR}"/winbindd.service
1370 - systemd_dounit "${FILESDIR}"/samba.service
1371 -}
1372 -
1373 -src_test() {
1374 - "${WAF_BINARY}" test || die "test failed"
1375 -}
1376 -
1377 -pkg_postinst() {
1378 - ewarn "Be aware the this release contains the best of all of Samba's"
1379 - ewarn "technology parts, both a file server (that you can reasonably expect"
1380 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
1381 - ewarn "controller work previously known as 'samba4'."
1382 -
1383 - elog "For further information and migration steps make sure to read "
1384 - elog "http://samba.org/samba/history/${P}.html "
1385 - elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
1386 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
1387 -}