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: Wed, 02 Dec 2015 08:27:59
Message-Id: 1449044869.1ea38d953a6b1bb69a309df3df9a21b0c10d94f8.polynomial-c@gentoo
1 commit: 1ea38d953a6b1bb69a309df3df9a21b0c10d94f8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 2 08:26:48 2015 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 2 08:27:49 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea38d95
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 | 3 -
14 net-fs/samba/samba-4.1.20-r1.ebuild | 181 ---------------------------------
15 net-fs/samba/samba-4.2.4-r1.ebuild | 197 ------------------------------------
16 net-fs/samba/samba-4.3.0.ebuild | 196 -----------------------------------
17 4 files changed, 577 deletions(-)
18
19 diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest
20 index 5007bc2..74a4ff8 100644
21 --- a/net-fs/samba/Manifest
22 +++ b/net-fs/samba/Manifest
23 @@ -2,11 +2,8 @@ DIST samba-3.5.21.tar.gz 35377315 SHA256 fd9a66056b1ba9496762394efff41fcaa0e58f2
24 DIST samba-3.5.22.tar.gz 35385144 SHA256 b4c98f77f5634478da109063334acd9b6ad7bcb38151a5b1cac6dc5feb6679dc SHA512 0e1b4816d921ca82f0426a254cf103066634cc54e28d707a62da951118413f7f5ca5f87d60688cab802a58b0af87f797fbbe12f4e1284d5d7f545a98aba97616 WHIRLPOOL 6e59655dd7a537f0c7c889c43ddf5afb8060706e1ec79b3835698181c5c7478059f91c93eefbde50b03e0154a686eda35eabf807bb7ae01dd2b9b39648a009ae
25 DIST samba-3.6.25.tar.gz 34121828 SHA256 8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751 SHA512 25a5c56dae4517e82e196b59fa301b661ec75db57effbb0ede35fb23b018f78cdea6513e8760966caf58abc43335fcebda77fe5bf5bb9d4b27fd3ca6e5a3b626 WHIRLPOOL 68c4a335b3912bf3c6baecae337b1131127515191052366ca9a04ec6d919f2fb69c912aefb087e2578134f3a9bde7b496ea880f2197a8dbf8221058dd1e8444d
26 DIST samba-4.0.26.tar.gz 22155521 SHA256 ce2441992c6d18950d752edb2d1274b3f7e056b2e2e8516fc42e408e4a25894a SHA512 0df6f5961b2b6af1a4356540299acae52473f9d4342762d1556c859a36a63a7b8706c94f835581e96ecbf47a2d7fb09b67f93aa3869812215e9661dda7ee1906 WHIRLPOOL fda98da46719e6f4cefa58aef56f4d75120c4386b5e398e9b2ac3aa693255a6bce9606b1bf5646708d96e4f3c8982586501ccdae7c11f223b629ab128d33ae59
27 -DIST samba-4.1.20.tar.gz 19561057 SHA256 adcf021c2ee7ebdba99ed90bb06e45bcc8e3fd9419667622704276607b832038 SHA512 abdd696bb19ac458f72304208d62c21f0fee5459b9f8c4241e4cd8c1654e07455c0876013236a10296ba7ef72a7fca3de0bb6e1cd9d03817500720fb493b1988 WHIRLPOOL 48302e865be9860db7775ad864e30b4ca4bc30f9e791d529353b67e29bec79a11e1409e4b59a974111171927d73193fec46ae1dc40197e5a72ade775e82cd41d
28 DIST samba-4.1.21.tar.gz 19561830 SHA256 00f1c26cd310811afb2fa1a3fb72a23bd2e5c2f6466e6efdcb530305d7c3ce2e SHA512 e51652964ff193c9a2e3900198ba557268c405811332a32a7a545fb9eaa6cc8dccbf37d2c664a5a8d6ea3f460b08a24bcedcc7334c1bbdc1bda0b469c448fc0e WHIRLPOOL 7d96a7777a909cb088e4d11fd070e46a615c65a2ca653d3da0ba06ad5e94e3af8c3428dc304704002d86f58f7464d6694be9533913be74fe8a9eca6523aeaa34
29 -DIST samba-4.2.4.tar.gz 20735687 SHA256 fb326ea486973ab684f183774e93bb943fc231ab89937512e70331b86acdf6ae SHA512 a389fb2540858b778677197f01b5e2aa90c85c28e008d2f8e13a422cbf00a19ce862320b57b8141bd7838f74cbd4641efbe030c0fc2d86058f6584f9f8504d2f WHIRLPOOL 90dffe178647233fc8dec9b9ac15c7864f1700fc2aa739f24e33714e81f04ed364f6837ec95827a8ed6af6c7646e1b0eca83f22eaf196706ad9ea1ef8f425635
30 DIST samba-4.2.5.tar.gz 20734836 SHA256 8191c4c0730daf7f9e9a3ea1cc6e680798d76bf855269807778adcccc8d706cf SHA512 b3581bd6ff33ce107ab2fb3cc8797852e441ed296df680083bcb25164941c08f870c2edadf5cf41280648c012bb264274854890ca8704ba17289a30efbbd1709 WHIRLPOOL a35bf488b81ba8f753871db35c611b2ad99b90e8bf6afd97df85785a9c84e1d7ad120a76832c09347031e0c895346e150ae9c7353e6bee16e4beccfbeaf7fad8
31 -DIST samba-4.3.0.tar.gz 20417699 SHA256 d8dbb6b29dec1d9aa295655c4aa4eadd1e5367ef7047be22f4d6a18ba8acdb63 SHA512 7edad171dd98a332ebfd51c7c380b1def3d1508399755fc2d333671ce4a7d5e73782871c5760341cb71460d3f7fc4b666d906d61b9e2b28f977301d08bc9a872 WHIRLPOOL cd204bb122cc344b63b01aebc151aeb01e533402eb511ba7c440fc718a568f8004f754a4502c74dfd58869e2e22cfd0f9822c2602e3642da5b69d2bdd2b76d39
32 DIST samba-4.3.1.tar.gz 20424516 SHA256 9908a80d95b9e2583906ed4347a8c80b769539a2788158992fb48ea9fb4d2c82 SHA512 4a7c7e27e0d231b852b47407fb51cbe2b7851138d9a957c8149346afe1b14a2afa8fff66505abdbafe1ea43fc78b53800941c96c925fbc281b9ff24ef5ecfc98 WHIRLPOOL de09a933e222acf60e03a085370d218f26c917d98fde77535f55ca2f4a3bdcda0877fc8e0666c17ab271731ecdfa34e4ad4425fe83460a169d9ee2061007f059
33 DIST samba-4.3.2.tar.gz 20425622 SHA256 61989195caadf0f6fb51ce6bed5e203e6146facc2c276a26ad41901ad9129a75 SHA512 b01330c3e56731c1749e2179b160233c852c739c394be7999f9792e27891679ae2a15bbad50d8917a08a40b39ae3c6990ae2aa0f6345871d51058d234dad2528 WHIRLPOOL 21f4a6d240c57c66ca2159ecb8898f8f79dcb9ebfb85d66224ac31e2fbb365e2f4227a800af3a2934a50616b27cc6bb636a9a1a5d0e6ce57276c0a2e633d13bf
34 DIST smb_traffic_analyzer_v2.diff.bz2 12226 SHA256 1bae7eafbe8ac2382313d5ab9d43d73ba64b63a714f0f588516952d476fb868d SHA512 aa0e457a0dd282e61e6dfcd5705c29b319832dca9711b1b5baf8373e2f079991399c3537c050219ccb861a93f86353ebff677a5c625d2e3f1f3a13ee5c4087d0 WHIRLPOOL 85ee72a360f67ebe71be5cd400ecd635280a0d7c64ebb8b94656a5ef1a94f74a987de86408af00ce1b81cc8363b1b3cf14726860d29b72ee610d4bab73d6b139
35
36 diff --git a/net-fs/samba/samba-4.1.20-r1.ebuild b/net-fs/samba/samba-4.1.20-r1.ebuild
37 deleted file mode 100644
38 index 9a1ba22..0000000
39 --- a/net-fs/samba/samba-4.1.20-r1.ebuild
40 +++ /dev/null
41 @@ -1,181 +0,0 @@
42 -# Copyright 1999-2015 Gentoo Foundation
43 -# Distributed under the terms of the GNU General Public License v2
44 -# $Id$
45 -
46 -EAPI=5
47 -PYTHON_COMPAT=( python2_7 )
48 -PYTHON_REQ_USE='threads(+)'
49 -
50 -inherit python-single-r1 waf-utils multilib linux-info systemd base
51 -
52 -MY_PV="${PV/_rc/rc}"
53 -MY_P="${PN}-${MY_PV}"
54 -
55 -SRC_URI="mirror://samba/stable/${MY_P}.tar.gz"
56 -KEYWORDS="~amd64 ~arm64 ~hppa ~x86"
57 -
58 -DESCRIPTION="Samba Suite Version 4"
59 -HOMEPAGE="http://www.samba.org/"
60 -LICENSE="GPL-3"
61 -
62 -SLOT="0"
63 -
64 -IUSE="acl addns ads aio avahi client cluster cups dmapi fam gnutls iprint
65 -ldap quota selinux syslog systemd test winbind"
66 -
67 -# sys-apps/attr is an automagic dependency (see bug #489748)
68 -# sys-libs/pam is an automagic dependency (see bug #489770)
69 -CDEPEND="${PYTHON_DEPS}
70 - >=app-crypt/heimdal-1.5[-ssl,-threads]
71 - dev-libs/iniparser:0
72 - dev-libs/popt
73 - sys-libs/readline:=
74 - virtual/libiconv
75 - dev-python/subunit[${PYTHON_USEDEP}]
76 - sys-apps/attr
77 - sys-libs/libcap
78 - >=sys-libs/ntdb-1.0[python,${PYTHON_USEDEP}]
79 - >=sys-libs/ldb-1.1.17
80 - sys-libs/ncurses:0=
81 - >=sys-libs/tdb-1.2.12[python,${PYTHON_USEDEP}]
82 - >=sys-libs/talloc-2.1.2[python,${PYTHON_USEDEP}]
83 - >=sys-libs/tevent-0.9.18
84 - sys-libs/zlib
85 - virtual/pam
86 - acl? ( virtual/acl )
87 - addns? ( net-dns/bind-tools[gssapi] )
88 - aio? ( dev-libs/libaio )
89 - cluster? ( >=dev-db/ctdb-1.0.114_p1 )
90 - cups? ( net-print/cups )
91 - dmapi? ( sys-apps/dmapi )
92 - fam? ( virtual/fam )
93 - gnutls? ( dev-libs/libgcrypt:0
94 - >=net-libs/gnutls-1.4.0 )
95 - ldap? ( net-nds/openldap )
96 - systemd? ( sys-apps/systemd:0= )"
97 -DEPEND="${CDEPEND}
98 - virtual/pkgconfig"
99 -RDEPEND="${CDEPEND}
100 - client? ( net-fs/cifs-utils[ads?] )
101 - selinux? ( sec-policy/selinux-samba )
102 -"
103 -
104 -REQUIRED_USE="ads? ( acl ldap )
105 - ${PYTHON_REQUIRED_USE}"
106 -
107 -RESTRICT="mirror"
108 -
109 -S="${WORKDIR}/${MY_P}"
110 -
111 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
112 -
113 -PATCHES=(
114 - "${FILESDIR}/${PN}-4.1.14-named.conf.dlz.patch"
115 - "${FILESDIR}/${PN}-4.0.19-automagic_aio_fix.patch"
116 - # support libsystemd (instead of libsystemd-daemon), bug #526362
117 - "${FILESDIR}/${PN}-4.1.14-libsystemd.patch"
118 -)
119 -
120 -WAF_BINARY="${S}/buildtools/bin/waf"
121 -
122 -pkg_setup() {
123 - python-single-r1_pkg_setup
124 - if use aio; then
125 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
126 - ewarn "You must enable AIO support in your kernel config, "
127 - ewarn "to be able to support asynchronous I/O. "
128 - ewarn "You can find it at"
129 - ewarn
130 - ewarn "General Support"
131 - ewarn " Enable AIO support "
132 - ewarn
133 - ewarn "and recompile your kernel..."
134 - fi
135 - fi
136 -}
137 -
138 -src_configure() {
139 - local myconf=''
140 - use "cluster" && myconf+=" --with-ctdb-dir=/usr"
141 - use "test" && myconf+=" --enable-selftest"
142 - myconf="${myconf} \
143 - --enable-fhs \
144 - --sysconfdir=/etc \
145 - --localstatedir=/var \
146 - --with-modulesdir=/usr/$(get_libdir)/samba \
147 - --with-pammodulesdir=/$(get_libdir)/security \
148 - --with-piddir=/var/run/${PN} \
149 - --disable-rpath \
150 - --disable-rpath-install \
151 - --nopyc \
152 - --nopyo \
153 - --bundled-libraries=NONE \
154 - --builtin-libraries=NONE \
155 - $(use_with addns dnsupdate) \
156 - $(use_with acl acl-support) \
157 - $(use_with ads) \
158 - $(use_with aio aio-support) \
159 - $(use_enable avahi) \
160 - $(use_with cluster cluster-support) \
161 - $(use_enable cups) \
162 - $(use_with dmapi) \
163 - $(use_with fam) \
164 - $(use_enable gnutls) \
165 - $(use_enable iprint) \
166 - $(use_with ldap) \
167 - --with-pam \
168 - --with-pam_smbpass \
169 - $(use_with quota quotas) \
170 - $(use_with syslog) \
171 - $(use_with systemd) \
172 - $(use_with winbind)
173 - "
174 - use "ads" && myconf+=" --with-shared-modules=idmap_ad"
175 -
176 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
177 - waf-utils_src_configure ${myconf}
178 -}
179 -
180 -src_install() {
181 - waf-utils_src_install
182 -
183 - # install ldap schema for server (bug #491002)
184 - if use ldap ; then
185 - insinto /etc/openldap/schema
186 - doins examples/LDAP/samba.schema
187 - fi
188 -
189 - # Make all .so files executable
190 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
191 -
192 - # install example config file
193 - insinto /etc/samba
194 - doins examples/smb.conf.default
195 -
196 - # Install init script and conf.d file
197 - newinitd "${CONFDIR}/samba4.initd-r1" samba
198 - newconfd "${CONFDIR}/samba4.confd" samba
199 -
200 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
201 - systemd_dounit "${FILESDIR}"/nmbd.service
202 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
203 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
204 - systemd_dounit "${FILESDIR}"/winbindd.service
205 - systemd_dounit "${FILESDIR}"/samba.service
206 -}
207 -
208 -src_test() {
209 - "${WAF_BINARY}" test || die "test failed"
210 -}
211 -
212 -pkg_postinst() {
213 - ewarn "Be aware the this release contains the best of all of Samba's"
214 - ewarn "technology parts, both a file server (that you can reasonably expect"
215 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
216 - ewarn "controller work previously known as 'samba4'."
217 -
218 - elog "For further information and migration steps make sure to read "
219 - elog "http://samba.org/samba/history/${P}.html "
220 - elog "http://samba.org/samba/history/${PN}-4.1.0.html and"
221 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
222 -}
223
224 diff --git a/net-fs/samba/samba-4.2.4-r1.ebuild b/net-fs/samba/samba-4.2.4-r1.ebuild
225 deleted file mode 100644
226 index 2703518..0000000
227 --- a/net-fs/samba/samba-4.2.4-r1.ebuild
228 +++ /dev/null
229 @@ -1,197 +0,0 @@
230 -# Copyright 1999-2015 Gentoo Foundation
231 -# Distributed under the terms of the GNU General Public License v2
232 -# $Id$
233 -
234 -EAPI=5
235 -PYTHON_COMPAT=( python2_7 )
236 -PYTHON_REQ_USE='threads(+)'
237 -
238 -inherit python-single-r1 waf-utils multilib linux-info systemd eutils
239 -
240 -MY_PV="${PV/_rc/rc}"
241 -MY_P="${PN}-${MY_PV}"
242 -
243 -SRC_PATH="stable"
244 -[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
245 -
246 -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz"
247 -KEYWORDS="~amd64 ~hppa ~x86"
248 -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
249 -
250 -DESCRIPTION="Samba Suite Version 4"
251 -HOMEPAGE="http://www.samba.org/"
252 -LICENSE="GPL-3"
253 -
254 -SLOT="0"
255 -
256 -IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint
257 -ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind"
258 -
259 -# sys-apps/attr is an automagic dependency (see bug #489748)
260 -# sys-libs/pam is an automagic dependency (see bug #489770)
261 -CDEPEND="${PYTHON_DEPS}
262 - dev-libs/iniparser:0
263 - dev-libs/popt
264 - sys-libs/readline:=
265 - virtual/libiconv
266 - dev-python/subunit[${PYTHON_USEDEP}]
267 - >=net-libs/socket_wrapper-1.1.2
268 - sys-apps/attr
269 - sys-libs/libcap
270 - >=sys-libs/ldb-1.1.20
271 - sys-libs/ncurses:0=
272 - >=sys-libs/nss_wrapper-1.0.2
273 - >=sys-libs/ntdb-1.0[python,${PYTHON_USEDEP}]
274 - >=sys-libs/talloc-2.1.2[python,${PYTHON_USEDEP}]
275 - >=sys-libs/tdb-1.3.6[python,${PYTHON_USEDEP}]
276 - >=sys-libs/tevent-0.9.25
277 - >=sys-libs/uid_wrapper-1.0.1
278 - sys-libs/zlib
279 - virtual/pam
280 - acl? ( virtual/acl )
281 - addns? ( net-dns/bind-tools[gssapi] )
282 - aio? ( dev-libs/libaio )
283 - cluster? ( >=dev-db/ctdb-1.0.114_p1 )
284 - cups? ( net-print/cups )
285 - dmapi? ( sys-apps/dmapi )
286 - fam? ( virtual/fam )
287 - gnutls? ( dev-libs/libgcrypt:0
288 - >=net-libs/gnutls-1.4.0 )
289 - ldap? ( net-nds/openldap )
290 - system-mitkrb5? ( app-crypt/mit-krb5 )
291 - !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl] )
292 - systemd? ( sys-apps/systemd:0= )"
293 -DEPEND="${CDEPEND}
294 - virtual/pkgconfig"
295 -RDEPEND="${CDEPEND}
296 - client? ( net-fs/cifs-utils[ads?] )
297 - selinux? ( sec-policy/selinux-samba )
298 -"
299 -
300 -REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
301 - ads? ( acl gnutls ldap )
302 - ${PYTHON_REQUIRED_USE}"
303 -
304 -S="${WORKDIR}/${MY_P}"
305 -
306 -PATCHES=( "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" )
307 -
308 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
309 -
310 -WAF_BINARY="${S}/buildtools/bin/waf"
311 -
312 -pkg_setup() {
313 - python-single-r1_pkg_setup
314 - if use aio ; then
315 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
316 - ewarn "You must enable AIO support in your kernel config, "
317 - ewarn "to be able to support asynchronous I/O. "
318 - ewarn "You can find it at"
319 - ewarn
320 - ewarn "General Support"
321 - ewarn " Enable AIO support "
322 - ewarn
323 - ewarn "and recompile your kernel..."
324 - fi
325 - fi
326 - if ! use pam ; then
327 - ewarn "You have pam USE flag disabled!"
328 - ewarn "Unfortunately we still have to hard depend on virtual/pam as samba upstream"
329 - ewarn "still unconditionally links libauth4-samba4.so library to libpam.so once being"
330 - ewarn "found on the sytem."
331 - ewarn "Disabling the pam USE flag only disables installation of samba's pam authenti-"
332 - ewarn "cation modules."
333 - fi
334 -}
335 -
336 -src_prepare() {
337 - epatch ${PATCHES[@]}
338 -}
339 -
340 -src_configure() {
341 - local myconf=()
342 - myconf=(
343 - --enable-fhs
344 - --sysconfdir=/etc
345 - --localstatedir=/var
346 - --with-modulesdir=/usr/$(get_libdir)/samba
347 - --with-piddir=/var/run/${PN}
348 - --bundled-libraries=NONE
349 - --builtin-libraries=NONE
350 - --disable-rpath
351 - --disable-rpath-install
352 - --nopyc
353 - --nopyo
354 - $(use_with acl acl-support)
355 - $(usex addc '' '--without-ad-dc')
356 - $(use_with addns dnsupdate)
357 - $(use_with ads)
358 - $(usex ads '--with-shared-modules=idmap_ad' '')
359 - $(use_with aio aio-support)
360 - $(usex cluster '--with-ctdb-dir=/usr' '')
361 - $(use_enable avahi)
362 - $(use_with cluster cluster-support)
363 - $(use_enable cups)
364 - $(use_with dmapi)
365 - $(use_with fam)
366 - $(use_enable gnutls)
367 - $(use_enable iprint)
368 - $(use_with ldap)
369 - $(use_with pam)
370 - $(use_with pam pam_smbpass)
371 - $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
372 - $(use_with quota quotas)
373 - $(use_with syslog)
374 - $(use_with systemd)
375 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
376 - $(use_with winbind)
377 - $(usex test '--enable-selftest' '')
378 - )
379 -
380 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
381 - waf-utils_src_configure ${myconf[@]}
382 -}
383 -
384 -src_install() {
385 - waf-utils_src_install
386 -
387 - # install ldap schema for server (bug #491002)
388 - if use ldap ; then
389 - insinto /etc/openldap/schema
390 - doins examples/LDAP/samba.schema
391 - fi
392 -
393 - # Make all .so files executable
394 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
395 -
396 - # install example config file
397 - insinto /etc/samba
398 - doins examples/smb.conf.default
399 -
400 - # Install init script and conf.d file
401 - newinitd "${CONFDIR}/samba4.initd-r1" samba
402 - newconfd "${CONFDIR}/samba4.confd" samba
403 -
404 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
405 - systemd_dounit "${FILESDIR}"/nmbd.service
406 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
407 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
408 - systemd_dounit "${FILESDIR}"/winbindd.service
409 - systemd_dounit "${FILESDIR}"/samba.service
410 -}
411 -
412 -src_test() {
413 - "${WAF_BINARY}" test || die "test failed"
414 -}
415 -
416 -pkg_postinst() {
417 - ewarn "Be aware the this release contains the best of all of Samba's"
418 - ewarn "technology parts, both a file server (that you can reasonably expect"
419 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
420 - ewarn "controller work previously known as 'samba4'."
421 -
422 - elog "For further information and migration steps make sure to read "
423 - elog "http://samba.org/samba/history/${P}.html "
424 - elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
425 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
426 -}
427
428 diff --git a/net-fs/samba/samba-4.3.0.ebuild b/net-fs/samba/samba-4.3.0.ebuild
429 deleted file mode 100644
430 index a11c3b2..0000000
431 --- a/net-fs/samba/samba-4.3.0.ebuild
432 +++ /dev/null
433 @@ -1,196 +0,0 @@
434 -# Copyright 1999-2015 Gentoo Foundation
435 -# Distributed under the terms of the GNU General Public License v2
436 -# $Id$
437 -
438 -EAPI=5
439 -PYTHON_COMPAT=( python2_7 )
440 -PYTHON_REQ_USE='threads(+)'
441 -
442 -inherit python-single-r1 waf-utils multilib linux-info systemd eutils
443 -
444 -MY_PV="${PV/_rc/rc}"
445 -MY_P="${PN}-${MY_PV}"
446 -
447 -SRC_PATH="stable"
448 -[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
449 -
450 -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz"
451 -KEYWORDS="~amd64 ~hppa ~x86"
452 -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
453 -
454 -DESCRIPTION="Samba Suite Version 4"
455 -HOMEPAGE="http://www.samba.org/"
456 -LICENSE="GPL-3"
457 -
458 -SLOT="0"
459 -
460 -IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint
461 -ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind"
462 -
463 -# sys-apps/attr is an automagic dependency (see bug #489748)
464 -# sys-libs/pam is an automagic dependency (see bug #489770)
465 -CDEPEND="${PYTHON_DEPS}
466 - dev-libs/iniparser:0
467 - dev-libs/popt
468 - sys-libs/readline:=
469 - virtual/libiconv
470 - dev-python/subunit[${PYTHON_USEDEP}]
471 - >=net-libs/socket_wrapper-1.1.2
472 - sys-apps/attr
473 - sys-libs/libcap
474 - >=sys-libs/ldb-1.1.21
475 - sys-libs/ncurses:0=
476 - >=sys-libs/nss_wrapper-1.0.2
477 - >=sys-libs/talloc-2.1.3[python,${PYTHON_USEDEP}]
478 - >=sys-libs/tdb-1.3.6[python,${PYTHON_USEDEP}]
479 - >=sys-libs/tevent-0.9.25
480 - >=sys-libs/uid_wrapper-1.0.1
481 - sys-libs/zlib
482 - virtual/pam
483 - acl? ( virtual/acl )
484 - addns? ( net-dns/bind-tools[gssapi] )
485 - aio? ( dev-libs/libaio )
486 - cluster? ( >=dev-db/ctdb-1.0.114_p1 )
487 - cups? ( net-print/cups )
488 - dmapi? ( sys-apps/dmapi )
489 - fam? ( virtual/fam )
490 - gnutls? ( dev-libs/libgcrypt:0
491 - >=net-libs/gnutls-1.4.0 )
492 - ldap? ( net-nds/openldap )
493 - system-mitkrb5? ( app-crypt/mit-krb5 )
494 - !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl] )
495 - systemd? ( sys-apps/systemd:0= )"
496 -DEPEND="${CDEPEND}
497 - virtual/pkgconfig"
498 -RDEPEND="${CDEPEND}
499 - client? ( net-fs/cifs-utils[ads?] )
500 - selinux? ( sec-policy/selinux-samba )
501 -"
502 -
503 -REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
504 - ads? ( acl gnutls ldap )
505 - ${PYTHON_REQUIRED_USE}"
506 -
507 -S="${WORKDIR}/${MY_P}"
508 -
509 -PATCHES=( "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" )
510 -
511 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
512 -
513 -WAF_BINARY="${S}/buildtools/bin/waf"
514 -
515 -pkg_setup() {
516 - python-single-r1_pkg_setup
517 - if use aio ; then
518 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
519 - ewarn "You must enable AIO support in your kernel config, "
520 - ewarn "to be able to support asynchronous I/O. "
521 - ewarn "You can find it at"
522 - ewarn
523 - ewarn "General Support"
524 - ewarn " Enable AIO support "
525 - ewarn
526 - ewarn "and recompile your kernel..."
527 - fi
528 - fi
529 - if ! use pam ; then
530 - ewarn "You have pam USE flag disabled!"
531 - ewarn "Unfortunately we still have to hard depend on virtual/pam as samba upstream"
532 - ewarn "still unconditionally links libauth4-samba4.so library to libpam.so once being"
533 - ewarn "found on the sytem."
534 - ewarn "Disabling the pam USE flag only disables installation of samba's pam authenti-"
535 - ewarn "cation modules."
536 - fi
537 -}
538 -
539 -src_prepare() {
540 - epatch ${PATCHES[@]}
541 -}
542 -
543 -src_configure() {
544 - local myconf=()
545 - myconf=(
546 - --enable-fhs
547 - --sysconfdir=/etc
548 - --localstatedir=/var
549 - --with-modulesdir=/usr/$(get_libdir)/samba
550 - --with-piddir=/var/run/${PN}
551 - --bundled-libraries=NONE
552 - --builtin-libraries=NONE
553 - --disable-rpath
554 - --disable-rpath-install
555 - --nopyc
556 - --nopyo
557 - $(use_with acl acl-support)
558 - $(usex addc '' '--without-ad-dc')
559 - $(use_with addns dnsupdate)
560 - $(use_with ads)
561 - $(usex ads '--with-shared-modules=idmap_ad' '')
562 - $(use_with aio aio-support)
563 - $(usex cluster '--with-ctdb-dir=/usr' '')
564 - $(use_enable avahi)
565 - $(use_with cluster cluster-support)
566 - $(use_enable cups)
567 - $(use_with dmapi)
568 - $(use_with fam)
569 - $(use_enable gnutls)
570 - $(use_enable iprint)
571 - $(use_with ldap)
572 - $(use_with pam)
573 - $(use_with pam pam_smbpass)
574 - $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
575 - $(use_with quota quotas)
576 - $(use_with syslog)
577 - $(use_with systemd)
578 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
579 - $(use_with winbind)
580 - $(usex test '--enable-selftest' '')
581 - )
582 -
583 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
584 - waf-utils_src_configure ${myconf[@]}
585 -}
586 -
587 -src_install() {
588 - waf-utils_src_install
589 -
590 - # install ldap schema for server (bug #491002)
591 - if use ldap ; then
592 - insinto /etc/openldap/schema
593 - doins examples/LDAP/samba.schema
594 - fi
595 -
596 - # Make all .so files executable
597 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
598 -
599 - # install example config file
600 - insinto /etc/samba
601 - doins examples/smb.conf.default
602 -
603 - # Install init script and conf.d file
604 - newinitd "${CONFDIR}/samba4.initd-r1" samba
605 - newconfd "${CONFDIR}/samba4.confd" samba
606 -
607 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
608 - systemd_dounit "${FILESDIR}"/nmbd.service
609 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
610 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
611 - systemd_dounit "${FILESDIR}"/winbindd.service
612 - systemd_dounit "${FILESDIR}"/samba.service
613 -}
614 -
615 -src_test() {
616 - "${WAF_BINARY}" test || die "test failed"
617 -}
618 -
619 -pkg_postinst() {
620 - ewarn "Be aware the this release contains the best of all of Samba's"
621 - ewarn "technology parts, both a file server (that you can reasonably expect"
622 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
623 - ewarn "controller work previously known as 'samba4'."
624 -
625 - elog "For further information and migration steps make sure to read "
626 - elog "http://samba.org/samba/history/${P}.html "
627 - elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
628 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
629 -}