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, 24 Feb 2016 08:26:57
Message-Id: 1456302395.d644813a2180bd254dfc5d72341229a04d3eea9f.polynomial-c@gentoo
1 commit: d644813a2180bd254dfc5d72341229a04d3eea9f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 24 08:10:05 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 24 08:26:35 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d644813a
7
8 net-fs/samba: Removed old.
9
10 Package-Manager: portage-2.2.27
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.7-r2.ebuild | 251 ------------------------------------
15 net-fs/samba/samba-4.3.4-r1.ebuild | 250 -----------------------------------
16 net-fs/samba/samba-4.4.0_rc2.ebuild | 233 ---------------------------------
17 4 files changed, 739 deletions(-)
18
19 diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest
20 index 8d65308..ac8e140 100644
21 --- a/net-fs/samba/Manifest
22 +++ b/net-fs/samba/Manifest
23 @@ -1,15 +1,10 @@
24 DIST samba-3.5.21.tar.gz 35377315 SHA256 fd9a66056b1ba9496762394efff41fcaa0e58f2e50e71910e6d202b8a59a1c10 SHA512 e6d52530094b2f8284f8536f97411c3944a83e9f1a808836acdca19fe4aee3cc47e136cc2a2eab96ba89526fe289ec1a3d22fb836bd261bf7c8ddfbccd1cf975 WHIRLPOOL a476ea24841cfdec0f640880e0362173a3f6b957afd2d2448f7b4a8b7c927ef558fd22e7fe20b05bd8aecf1169d8e488b87830a99ddfddcbc8be0c9a414966ad
25 DIST samba-3.5.22.tar.gz 35385144 SHA256 b4c98f77f5634478da109063334acd9b6ad7bcb38151a5b1cac6dc5feb6679dc SHA512 0e1b4816d921ca82f0426a254cf103066634cc54e28d707a62da951118413f7f5ca5f87d60688cab802a58b0af87f797fbbe12f4e1284d5d7f545a98aba97616 WHIRLPOOL 6e59655dd7a537f0c7c889c43ddf5afb8060706e1ec79b3835698181c5c7478059f91c93eefbde50b03e0154a686eda35eabf807bb7ae01dd2b9b39648a009ae
26 DIST samba-3.6.25.tar.gz 34121828 SHA256 8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751 SHA512 25a5c56dae4517e82e196b59fa301b661ec75db57effbb0ede35fb23b018f78cdea6513e8760966caf58abc43335fcebda77fe5bf5bb9d4b27fd3ca6e5a3b626 WHIRLPOOL 68c4a335b3912bf3c6baecae337b1131127515191052366ca9a04ec6d919f2fb69c912aefb087e2578134f3a9bde7b496ea880f2197a8dbf8221058dd1e8444d
27 -DIST samba-4.2.7.tar.gz 20741971 SHA256 f586ab3166ce4c663360f15b1de24ef083816a5471856e3ad49bc26b35f0104a SHA512 74314083c04689696f0423bc990947bfafad679edcac97e6c137e99c17de1e262a4d8450b57de733a70c86c746300c7c5a1365b56c0e353ce79b05e0baf8eb9a WHIRLPOOL 84e7d2f3a60701ee929198caf86371c9e1694be6def47a4f0f12d4d221b995209505c23564c304fbdd95ab5ae528f941946bd361ec6e388f7ba4db08792ff3ba
28 DIST samba-4.2.8.tar.gz 20745527 SHA256 d2c0ca97ab415ede829d15ddad411d76e4f7b6a82e280bf7fbc9910c30fa4593 SHA512 cdee04ebc2303c1cadf2c0a45530909b6c97838e611378498faaaa6fcade8850746253d51ae71fd872c741f54ec2d3a9d452651291355e20001ca443fae9054a WHIRLPOOL 84b3f78b41da98eaa463f9b1c467e3c82268d31ac3d3e48d75b0a4dc04f479d12f2387c045281b0caa3a841c351587d0eabec403163ff479d8c700f0b638e5f4
29 -DIST samba-4.3.4.tar.gz 20434434 SHA256 5d0eb52e842832af922f7d57716eacff23192906ec3bdf6727e18ca24f1419d9 SHA512 021351534a70cd351934d7f8bfc3c4e9ed9ea3f11f778f6f9d076b3368103f7f478ff1745cb257de0bf2ee38ae76ecba58e01a4db6cbcacbd8a4876e8e1b30f2 WHIRLPOOL 328721951ed932c5813d6157ca2933e22adb793d5cd6667577e40151bcdae8dcddf5ca4e053cd6494e0f82f5801ae480716520c625dd9c337557abc168e00dec
30 DIST samba-4.3.5.tar.gz 20443260 SHA256 583f927a823b272757fd4df0be267bd20a223b06cfc3c662df17e4870f14bf1c SHA512 0d04eb8d5bbe2e47f3ba810631662083f7d2b5118f47242e27d87c304a6c0f57808e636333c798b5b70c4adbf8c2ea4f89b377c637bfcdfd8a285fdc1f3afc50 WHIRLPOOL 5be389cf08bc83a4ae66da6b2ee78e596cd52df2a693999d311a5a02c194ba7381132a1ec34cefc0926ef24474efaa6677c46d0ed71c8a79efbaff6d094a6ee3
31 -DIST samba-4.4.0rc2.tar.gz 20569387 SHA256 931c6241f239621244fc170f9a5b188c024fe578279c28494dc40e696e5572e3 SHA512 5258eb588f0e553e4d8742440ea9da1e91a4bbdc33fafd2c070e58a1b473bcf2d4a1c4db787856535b3404b08002a639f1de4c182f662284d0c441617ca74977 WHIRLPOOL d0ab40694bee7330fd06f9fd8f461b890ccac36e3366247d020cf9ae284ccd80dc5f1c98e029a5cd38bca65cd092cb4094c6d2c9644212d2e212f2a015c3b720
32 DIST samba-4.4.0rc3.tar.gz 20568791 SHA256 62003df716d8f45fb153ebfce6256e889a2b2239d8486fcb039848fb028e3454 SHA512 c624bd3e2ab2251bd1dd85ca014683c8f628c92e750a82f9707e34a7479773c3a28ccb3fa27c0ce5236ef79a2ad39a0d534398d3935d8b0b7c7b8cf0bff09388 WHIRLPOOL 60b2f2a0ff8bc4cc2219a9c3e8f151830d236f9bbe8628cdd27504f100c984ccbf59ab1802fbe028604cfd43b4f9cca203c2048ca4738a612ca19dc840917368
33 DIST samba-disable-python-patches-4.2.7.tar.xz 6296 SHA256 06a1b9aeb91b622d3c2a02a86edfc26e26f10303699c8b2badbd21ce68b10ec0 SHA512 ff746c2969b254d9ccad1440699fccd5958222eea8284a8e068b96df377d6cea8551ec3c6be7103cebf227b0b9038a5b06d3b06d9b247e181403e9fe1ad7eedf WHIRLPOOL 8ea9f34c5f011624b43c0f3f27601574c27e00c5a728d9af5b1cece090da362d51f93ef6cecd37f1204bbd4e608ed58027f52ef5c3d700a1cfdbbb0e5355c3b8
34 -DIST samba-disable-python-patches-4.3.3.tar.xz 6016 SHA256 00debe6c5cc57b87150ded67db8dc54e5ec487f6ed610c96e8fa393743c47f66 SHA512 775abcee86690605e156f4c560f25d762f5cc2e72177a55003ad5124ed643322f2c84514342ed0eadad2c8e1ea97006bc6ce7d504ca8a29c27a201666ce4bdf6 WHIRLPOOL 86c40669e706f6c3b955e6fb892931532e241dd92cae2e7b5986e78f6b5fe50c42c019b97650942de81c8c4989568bcb93e49a7bcb2f9fd300d189da5fa08fe4
35 DIST samba-disable-python-patches-4.3.5.tar.xz 6028 SHA256 6889d77331e74e24becd638b860d6b3a0f8f92f34d0e3af733d44cef24042915 SHA512 1d3171eacff5d009c4e30405ed96c6b57c2ff4fb0d82f0196bb6d63ad331adf11f8b9e81f8a42cdc5d6ebe32c60c20bff0d07013ce7a431e0e35e9d620240e9a WHIRLPOOL f8c97a57f54da0ac956112131bbf790269460abe904b1e0e2d75449696e0451e80b3d2cd43d05fe14b32ab8c2a21a71d41f67ef9c615bf9c0ba5b07354b78b2e
36 -DIST samba-disable-python-patches-4.4.0.tar.xz 6188 SHA256 35f7aa4b01716d9dd3ed55db3dc2427f00e65cf3e6643b02118de07ecd97aca4 SHA512 d5b6a9e303368982f8d22027e6b497923f7e861d60cfdd286183d67fcbd5ff8055879c846d491fa13af46b36a9f795dd7a363f1b6bef93d7d92370fc92455126 WHIRLPOOL 55af9b0e307d2143a78a613c79465c6584dc81a59ebb9c07b8a0672e98dd2d9484ddb236318baefdcd553afb9e88a16ee61173a1587538799b30038eb7cc5e58
37 DIST samba-disable-python-patches-4.4.0_rc3.tar.xz 6180 SHA256 bfdde228c1cc41cccb489658208402425038ac2834b4cd870bb89dc10510c8e5 SHA512 de88335e0cbcc6f0e47a170bf91efe63f943973e2ae3f5f7b2025426565b09bce28cf2e56d0105424f9f5ffee0b1fb2e9866b8a4c22b7696c7c18e298af2d0cd WHIRLPOOL c8d83d95c87e9bec3efbdecd00a76858da1538b8df05009198d24ed87b8c93f85f3165b0c1d7054dad61ddb46ff701ba03a688327eee7f97ecea1c97e846caa6
38 DIST smb_traffic_analyzer_v2.diff.bz2 12226 SHA256 1bae7eafbe8ac2382313d5ab9d43d73ba64b63a714f0f588516952d476fb868d SHA512 aa0e457a0dd282e61e6dfcd5705c29b319832dca9711b1b5baf8373e2f079991399c3537c050219ccb861a93f86353ebff677a5c625d2e3f1f3a13ee5c4087d0 WHIRLPOOL 85ee72a360f67ebe71be5cd400ecd635280a0d7c64ebb8b94656a5ef1a94f74a987de86408af00ce1b81cc8363b1b3cf14726860d29b72ee610d4bab73d6b139
39
40 diff --git a/net-fs/samba/samba-4.2.7-r2.ebuild b/net-fs/samba/samba-4.2.7-r2.ebuild
41 deleted file mode 100644
42 index 8ea6722..0000000
43 --- a/net-fs/samba/samba-4.2.7-r2.ebuild
44 +++ /dev/null
45 @@ -1,251 +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/~axs/distfiles/samba-disable-python-patches-${PV}.tar.xz"
64 -KEYWORDS="~amd64 ~hppa ~x86"
65 -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
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-libs/libbsd[${MULTILIB_USEDEP}]
91 - dev-libs/iniparser:0
92 - dev-libs/popt[${MULTILIB_USEDEP}]
93 - sys-libs/readline:=
94 - virtual/libiconv
95 - dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}]
96 - >=net-libs/socket_wrapper-1.1.2[${MULTILIB_USEDEP}]
97 - sys-apps/attr[${MULTILIB_USEDEP}]
98 - sys-libs/libcap
99 - >=sys-libs/ldb-1.1.24[${MULTILIB_USEDEP}]
100 - sys-libs/ncurses:0=[${MULTILIB_USEDEP}]
101 - >=sys-libs/nss_wrapper-1.0.2[${MULTILIB_USEDEP}]
102 - >=sys-libs/ntdb-1.0[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
103 - >=sys-libs/talloc-2.1.2[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
104 - >=sys-libs/tdb-1.3.6[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
105 - >=sys-libs/tevent-0.9.25[${MULTILIB_USEDEP}]
106 - >=sys-libs/uid_wrapper-1.0.1[${MULTILIB_USEDEP}]
107 - sys-libs/zlib[${MULTILIB_USEDEP}]
108 - virtual/pam
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 - system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] )
120 - !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] )
121 - systemd? ( sys-apps/systemd:0= )"
122 -DEPEND="${CDEPEND}
123 - virtual/pkgconfig"
124 -RDEPEND="${CDEPEND}
125 - client? ( net-fs/cifs-utils[ads?] )
126 - selinux? ( sec-policy/selinux-samba )
127 -"
128 -
129 -REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
130 - ads? ( acl gnutls ldap )
131 - ${PYTHON_REQUIRED_USE}"
132 -
133 -S="${WORKDIR}/${MY_P}"
134 -
135 -PATCHES=(
136 - "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch"
137 - "${FILESDIR}/${PN}-4.2.7-pam.patch"
138 -)
139 -
140 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
141 -
142 -WAF_BINARY="${S}/buildtools/bin/waf"
143 -
144 -SHAREDMODS=""
145 -
146 -pkg_setup() {
147 - python-single-r1_pkg_setup
148 - if use aio ; then
149 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
150 - ewarn "You must enable AIO support in your kernel config, "
151 - ewarn "to be able to support asynchronous I/O. "
152 - ewarn "You can find it at"
153 - ewarn
154 - ewarn "General Support"
155 - ewarn " Enable AIO support "
156 - ewarn
157 - ewarn "and recompile your kernel..."
158 - fi
159 - fi
160 - if use cluster ; then
161 - SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad"
162 - fi
163 -}
164 -
165 -src_prepare() {
166 - epatch ${PATCHES[@]}
167 -
168 - # install the patches from tarball(s)
169 - EPATCH_SUFFIX="patch" \
170 - EPATCH_FORCE="yes" \
171 - epatch "${WORKDIR}/patches"
172 -
173 - # Allow user patches
174 - epatch_user
175 - multilib_copy_sources
176 -}
177 -
178 -multilib_src_configure() {
179 - local myconf=()
180 - myconf=(
181 - --enable-fhs
182 - --sysconfdir=/etc
183 - --localstatedir=/var
184 - --with-modulesdir=/usr/$(get_libdir)/samba
185 - --with-piddir=/var/run/${PN}
186 - --bundled-libraries=NONE
187 - --builtin-libraries=NONE
188 - --disable-rpath
189 - --disable-rpath-install
190 - --nopyc
191 - --nopyo
192 - )
193 - if multilib_is_native_abi ; then
194 - myconf+=(
195 - $(use_with acl acl-support)
196 - $(usex addc '' '--without-ad-dc')
197 - $(use_with addns dnsupdate)
198 - $(use_with ads)
199 - $(usex ads '--with-shared-modules=idmap_ad' '')
200 - $(use_with aio aio-support)
201 - $(use_enable avahi)
202 - $(use_with cluster cluster-support)
203 - $(use_enable cups)
204 - $(use_with dmapi)
205 - $(use_with fam)
206 - $(use_enable gnutls)
207 - $(use_enable iprint)
208 - $(use_with ldap)
209 - $(use_with pam)
210 - $(use_with pam pam_smbpass)
211 - $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
212 - $(use_with quota quotas)
213 - $(use_with syslog)
214 - $(use_with systemd)
215 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
216 - $(use_with winbind)
217 - $(usex test '--enable-selftest' '')
218 - --with-shared-modules=${SHAREDMODS}
219 - )
220 - else
221 - myconf+=(
222 - --without-acl-support
223 - --without-ad-dc
224 - --without-dnsupdate
225 - --without-ads
226 - --without-aio-support
227 - --disable-avahi
228 - --without-cluster-support
229 - --disable-cups
230 - --without-dmapi
231 - --without-fam
232 - --disable-gnutls
233 - --disable-iprint
234 - $(use_with ldap)
235 - --without-pam
236 - --without-pam_smbpass
237 - --without-quotas
238 - --without-syslog
239 - --without-systemd
240 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
241 - --without-winbind
242 - --disable-python
243 - )
244 - fi
245 -
246 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
247 - waf-utils_src_configure ${myconf[@]}
248 -}
249 -
250 -multilib_src_install() {
251 - waf-utils_src_install
252 -
253 - # Make all .so files executable
254 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
255 -
256 - if multilib_is_native_abi; then
257 - # install ldap schema for server (bug #491002)
258 - if use ldap ; then
259 - insinto /etc/openldap/schema
260 - doins examples/LDAP/samba.schema
261 - fi
262 -
263 - # install example config file
264 - insinto /etc/samba
265 - doins examples/smb.conf.default
266 -
267 - # Install init script and conf.d file
268 - newinitd "${CONFDIR}/samba4.initd-r1" samba
269 - newconfd "${CONFDIR}/samba4.confd" samba
270 -
271 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
272 - systemd_dounit "${FILESDIR}"/nmbd.service
273 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
274 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
275 - systemd_dounit "${FILESDIR}"/winbindd.service
276 - systemd_dounit "${FILESDIR}"/samba.service
277 - fi
278 -}
279 -
280 -multilib_src_test() {
281 - if multilib_is_native_abi ; then
282 - "${WAF_BINARY}" test || die "test failed"
283 - fi
284 -}
285 -
286 -pkg_postinst() {
287 - ewarn "Be aware the this release contains the best of all of Samba's"
288 - ewarn "technology parts, both a file server (that you can reasonably expect"
289 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
290 - ewarn "controller work previously known as 'samba4'."
291 -
292 - elog "For further information and migration steps make sure to read "
293 - elog "http://samba.org/samba/history/${P}.html "
294 - elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
295 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
296 -}
297
298 diff --git a/net-fs/samba/samba-4.3.4-r1.ebuild b/net-fs/samba/samba-4.3.4-r1.ebuild
299 deleted file mode 100644
300 index cf4f9af..0000000
301 --- a/net-fs/samba/samba-4.3.4-r1.ebuild
302 +++ /dev/null
303 @@ -1,250 +0,0 @@
304 -# Copyright 1999-2016 Gentoo Foundation
305 -# Distributed under the terms of the GNU General Public License v2
306 -# $Id$
307 -
308 -EAPI=5
309 -PYTHON_COMPAT=( python2_7 )
310 -PYTHON_REQ_USE='threads(+),xml(+)'
311 -
312 -inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils
313 -
314 -MY_PV="${PV/_rc/rc}"
315 -MY_P="${PN}-${MY_PV}"
316 -
317 -SRC_PATH="stable"
318 -[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
319 -
320 -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz
321 - https://dev.gentoo.org/~axs/distfiles/samba-disable-python-patches-4.3.3.tar.xz"
322 -KEYWORDS="~amd64 ~hppa ~x86"
323 -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
324 -
325 -DESCRIPTION="Samba Suite Version 4"
326 -HOMEPAGE="http://www.samba.org/"
327 -LICENSE="GPL-3"
328 -
329 -SLOT="0"
330 -
331 -IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint
332 -ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind"
333 -
334 -MULTILIB_WRAPPED_HEADERS=(
335 - /usr/include/samba-4.0/policy.h
336 - /usr/include/samba-4.0/dcerpc_server.h
337 - /usr/include/samba-4.0/ctdb.h
338 - /usr/include/samba-4.0/ctdb_client.h
339 - /usr/include/samba-4.0/ctdb_protocol.h
340 - /usr/include/samba-4.0/ctdb_private.h
341 - /usr/include/samba-4.0/ctdb_typesafe_cb.h
342 - /usr/include/samba-4.0/ctdb_version.h
343 -)
344 -
345 -# sys-apps/attr is an automagic dependency (see bug #489748)
346 -CDEPEND="${PYTHON_DEPS}
347 - >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}]
348 - dev-libs/libbsd[${MULTILIB_USEDEP}]
349 - dev-libs/iniparser:0
350 - dev-libs/popt[${MULTILIB_USEDEP}]
351 - sys-libs/readline:=
352 - virtual/libiconv
353 - dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}]
354 - >=net-libs/socket_wrapper-1.1.3[${MULTILIB_USEDEP}]
355 - sys-apps/attr[${MULTILIB_USEDEP}]
356 - sys-libs/libcap
357 - >=sys-libs/ldb-1.1.24[${MULTILIB_USEDEP}]
358 - sys-libs/ncurses:0=[${MULTILIB_USEDEP}]
359 - >=sys-libs/nss_wrapper-1.0.3[${MULTILIB_USEDEP}]
360 - >=sys-libs/talloc-2.1.3[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
361 - >=sys-libs/tdb-1.3.7[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
362 - >=sys-libs/tevent-0.9.25[${MULTILIB_USEDEP}]
363 - >=sys-libs/uid_wrapper-1.1.0[${MULTILIB_USEDEP}]
364 - sys-libs/zlib[${MULTILIB_USEDEP}]
365 - virtual/pam
366 - acl? ( virtual/acl )
367 - addns? ( net-dns/bind-tools[gssapi] )
368 - aio? ( dev-libs/libaio )
369 - cluster? ( !dev-db/ctdb )
370 - cups? ( net-print/cups )
371 - dmapi? ( sys-apps/dmapi )
372 - fam? ( virtual/fam )
373 - gnutls? ( dev-libs/libgcrypt:0
374 - >=net-libs/gnutls-1.4.0 )
375 - ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
376 - system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] )
377 - !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] )
378 - systemd? ( sys-apps/systemd:0= )"
379 -DEPEND="${CDEPEND}
380 - virtual/pkgconfig"
381 -RDEPEND="${CDEPEND}
382 - client? ( net-fs/cifs-utils[ads?] )
383 - selinux? ( sec-policy/selinux-samba )
384 -"
385 -
386 -REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
387 - ads? ( acl gnutls ldap )
388 - ${PYTHON_REQUIRED_USE}"
389 -
390 -S="${WORKDIR}/${MY_P}"
391 -
392 -PATCHES=(
393 - "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch"
394 - "${FILESDIR}/${PN}-4.2.7-pam.patch"
395 -)
396 -
397 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
398 -
399 -WAF_BINARY="${S}/buildtools/bin/waf"
400 -
401 -SHAREDMODS=""
402 -
403 -pkg_setup() {
404 - python-single-r1_pkg_setup
405 - if use aio ; then
406 - if ! linux_config_exists || ! linux_chkconfig_present AIO; then
407 - ewarn "You must enable AIO support in your kernel config, "
408 - ewarn "to be able to support asynchronous I/O. "
409 - ewarn "You can find it at"
410 - ewarn
411 - ewarn "General Support"
412 - ewarn " Enable AIO support "
413 - ewarn
414 - ewarn "and recompile your kernel..."
415 - fi
416 - fi
417 - if use cluster ; then
418 - SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad"
419 - fi
420 -}
421 -
422 -src_prepare() {
423 - epatch ${PATCHES[@]}
424 -
425 - # install the patches from tarball(s)
426 - EPATCH_SUFFIX="patch" \
427 - EPATCH_FORCE="yes" \
428 - epatch "${WORKDIR}/patches"
429 -
430 - # Allow user patches
431 - epatch_user
432 - multilib_copy_sources
433 -}
434 -
435 -multilib_src_configure() {
436 - local myconf=()
437 - myconf=(
438 - --enable-fhs
439 - --sysconfdir=/etc
440 - --localstatedir=/var
441 - --with-modulesdir=/usr/$(get_libdir)/samba
442 - --with-piddir=/var/run/${PN}
443 - --bundled-libraries=NONE
444 - --builtin-libraries=NONE
445 - --disable-rpath
446 - --disable-rpath-install
447 - --nopyc
448 - --nopyo
449 - )
450 - if multilib_is_native_abi ; then
451 - myconf+=(
452 - $(use_with acl acl-support)
453 - $(usex addc '' '--without-ad-dc')
454 - $(use_with addns dnsupdate)
455 - $(use_with ads)
456 - $(usex ads '--with-shared-modules=idmap_ad' '')
457 - $(use_with aio aio-support)
458 - $(use_enable avahi)
459 - $(use_with cluster cluster-support)
460 - $(use_enable cups)
461 - $(use_with dmapi)
462 - $(use_with fam)
463 - $(use_enable gnutls)
464 - $(use_enable iprint)
465 - $(use_with ldap)
466 - $(use_with pam)
467 - $(use_with pam pam_smbpass)
468 - $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
469 - $(use_with quota quotas)
470 - $(use_with syslog)
471 - $(use_with systemd)
472 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
473 - $(use_with winbind)
474 - $(usex test '--enable-selftest' '')
475 - --with-shared-modules=${SHAREDMODS}
476 - )
477 - else
478 - myconf+=(
479 - --without-acl-support
480 - --without-ad-dc
481 - --without-dnsupdate
482 - --without-ads
483 - --without-aio-support
484 - --disable-avahi
485 - --without-cluster-support
486 - --disable-cups
487 - --without-dmapi
488 - --without-fam
489 - --disable-gnutls
490 - --disable-iprint
491 - $(use_with ldap)
492 - --without-pam
493 - --without-pam_smbpass
494 - --without-quotas
495 - --without-syslog
496 - --without-systemd
497 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
498 - --without-winbind
499 - --disable-python
500 - )
501 - fi
502 -
503 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
504 - waf-utils_src_configure ${myconf[@]}
505 -}
506 -
507 -multilib_src_install() {
508 - waf-utils_src_install
509 -
510 - # Make all .so files executable
511 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
512 -
513 - if multilib_is_native_abi; then
514 - # install ldap schema for server (bug #491002)
515 - if use ldap ; then
516 - insinto /etc/openldap/schema
517 - doins examples/LDAP/samba.schema
518 - fi
519 -
520 - # install example config file
521 - insinto /etc/samba
522 - doins examples/smb.conf.default
523 -
524 - # Install init script and conf.d file
525 - newinitd "${CONFDIR}/samba4.initd-r1" samba
526 - newconfd "${CONFDIR}/samba4.confd" samba
527 -
528 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
529 - systemd_dounit "${FILESDIR}"/nmbd.service
530 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
531 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
532 - systemd_dounit "${FILESDIR}"/winbindd.service
533 - systemd_dounit "${FILESDIR}"/samba.service
534 - fi
535 -}
536 -
537 -multilib_src_test() {
538 - if multilib_is_native_abi ; then
539 - "${WAF_BINARY}" test || die "test failed"
540 - fi
541 -}
542 -
543 -pkg_postinst() {
544 - ewarn "Be aware the this release contains the best of all of Samba's"
545 - ewarn "technology parts, both a file server (that you can reasonably expect"
546 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
547 - ewarn "controller work previously known as 'samba4'."
548 -
549 - elog "For further information and migration steps make sure to read "
550 - elog "http://samba.org/samba/history/${P}.html "
551 - elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
552 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
553 -}
554
555 diff --git a/net-fs/samba/samba-4.4.0_rc2.ebuild b/net-fs/samba/samba-4.4.0_rc2.ebuild
556 deleted file mode 100644
557 index fa243f9..0000000
558 --- a/net-fs/samba/samba-4.4.0_rc2.ebuild
559 +++ /dev/null
560 @@ -1,233 +0,0 @@
561 -# Copyright 1999-2016 Gentoo Foundation
562 -# Distributed under the terms of the GNU General Public License v2
563 -# $Id$
564 -
565 -EAPI=5
566 -PYTHON_COMPAT=( python2_7 )
567 -PYTHON_REQ_USE='threads(+),xml(+)'
568 -
569 -inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils
570 -
571 -MY_PV="${PV/_rc/rc}"
572 -MY_P="${PN}-${MY_PV}"
573 -
574 -SRC_PATH="stable"
575 -[[ ${PV} = *_rc* ]] && SRC_PATH="rc"
576 -
577 -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz
578 - https://dev.gentoo.org/~axs/distfiles/samba-disable-python-patches-4.4.0.tar.xz"
579 -KEYWORDS="~amd64 ~hppa ~x86"
580 -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa"
581 -
582 -DESCRIPTION="Samba Suite Version 4"
583 -HOMEPAGE="http://www.samba.org/"
584 -LICENSE="GPL-3"
585 -
586 -SLOT="0"
587 -
588 -IUSE="acl addc addns ads avahi client cluster cups dmapi fam gnutls iprint
589 -ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind"
590 -
591 -MULTILIB_WRAPPED_HEADERS=(
592 - /usr/include/samba-4.0/policy.h
593 - /usr/include/samba-4.0/dcerpc_server.h
594 - /usr/include/samba-4.0/ctdb.h
595 - /usr/include/samba-4.0/ctdb_client.h
596 - /usr/include/samba-4.0/ctdb_protocol.h
597 - /usr/include/samba-4.0/ctdb_private.h
598 - /usr/include/samba-4.0/ctdb_typesafe_cb.h
599 - /usr/include/samba-4.0/ctdb_version.h
600 -)
601 -
602 -# sys-apps/attr is an automagic dependency (see bug #489748)
603 -CDEPEND="${PYTHON_DEPS}
604 - >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}]
605 - dev-libs/libbsd[${MULTILIB_USEDEP}]
606 - dev-libs/iniparser:0
607 - dev-libs/popt[${MULTILIB_USEDEP}]
608 - sys-libs/readline:=
609 - virtual/libiconv
610 - dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}]
611 - >=net-libs/socket_wrapper-1.1.3[${MULTILIB_USEDEP}]
612 - sys-apps/attr[${MULTILIB_USEDEP}]
613 - sys-libs/libcap
614 - >=sys-libs/ldb-1.1.25[${MULTILIB_USEDEP}]
615 - sys-libs/ncurses:0=[${MULTILIB_USEDEP}]
616 - >=sys-libs/nss_wrapper-1.0.3[${MULTILIB_USEDEP}]
617 - >=sys-libs/talloc-2.1.3[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
618 - >=sys-libs/tdb-1.3.7[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
619 - >=sys-libs/tevent-0.9.25[${MULTILIB_USEDEP}]
620 - >=sys-libs/uid_wrapper-1.1.0[${MULTILIB_USEDEP}]
621 - sys-libs/zlib[${MULTILIB_USEDEP}]
622 - virtual/pam
623 - acl? ( virtual/acl )
624 - addns? ( net-dns/bind-tools[gssapi] )
625 - cluster? ( !dev-db/ctdb )
626 - cups? ( net-print/cups )
627 - dmapi? ( sys-apps/dmapi )
628 - fam? ( virtual/fam )
629 - gnutls? ( dev-libs/libgcrypt:0
630 - >=net-libs/gnutls-1.4.0 )
631 - ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
632 - system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] )
633 - !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] )
634 - systemd? ( sys-apps/systemd:0= )"
635 -DEPEND="${CDEPEND}
636 - virtual/pkgconfig"
637 -RDEPEND="${CDEPEND}
638 - client? ( net-fs/cifs-utils[ads?] )
639 - selinux? ( sec-policy/selinux-samba )
640 -"
641 -
642 -REQUIRED_USE="addc? ( gnutls !system-mitkrb5 )
643 - ads? ( acl gnutls ldap )
644 - ${PYTHON_REQUIRED_USE}"
645 -
646 -S="${WORKDIR}/${MY_P}"
647 -
648 -PATCHES=(
649 - "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch"
650 - "${FILESDIR}/${PN}-4.4.0-pam.patch"
651 -)
652 -
653 -CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)"
654 -
655 -WAF_BINARY="${S}/buildtools/bin/waf"
656 -
657 -SHAREDMODS=""
658 -
659 -pkg_setup() {
660 - python-single-r1_pkg_setup
661 - if use cluster ; then
662 - SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad"
663 - fi
664 -}
665 -
666 -src_prepare() {
667 - epatch ${PATCHES[@]}
668 -
669 - # install the patches from tarball(s)
670 - EPATCH_SUFFIX="patch" \
671 - EPATCH_FORCE="yes" \
672 - epatch "${WORKDIR}/patches"
673 -
674 - # Allow user patches
675 - epatch_user
676 - multilib_copy_sources
677 -}
678 -
679 -multilib_src_configure() {
680 - local myconf=()
681 - myconf=(
682 - --enable-fhs
683 - --sysconfdir=/etc
684 - --localstatedir=/var
685 - --with-modulesdir=/usr/$(get_libdir)/samba
686 - --with-piddir=/var/run/${PN}
687 - --bundled-libraries=NONE
688 - --builtin-libraries=NONE
689 - --disable-rpath
690 - --disable-rpath-install
691 - --nopyc
692 - --nopyo
693 - )
694 - if multilib_is_native_abi ; then
695 - myconf+=(
696 - $(use_with acl acl-support)
697 - $(usex addc '' '--without-ad-dc')
698 - $(use_with addns dnsupdate)
699 - $(use_with ads)
700 - $(usex ads '--with-shared-modules=idmap_ad' '')
701 - $(use_enable avahi)
702 - $(use_with cluster cluster-support)
703 - $(use_enable cups)
704 - $(use_with dmapi)
705 - $(use_with fam)
706 - $(use_enable gnutls)
707 - $(use_enable iprint)
708 - $(use_with ldap)
709 - $(use_with pam)
710 - $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '')
711 - $(use_with quota quotas)
712 - $(use_with syslog)
713 - $(use_with systemd)
714 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
715 - $(use_with winbind)
716 - $(usex test '--enable-selftest' '')
717 - --with-shared-modules=${SHAREDMODS}
718 - )
719 - else
720 - myconf+=(
721 - --without-acl-support
722 - --without-ad-dc
723 - --without-dnsupdate
724 - --without-ads
725 - --disable-avahi
726 - --without-cluster-support
727 - --disable-cups
728 - --without-dmapi
729 - --without-fam
730 - --disable-gnutls
731 - --disable-iprint
732 - $(use_with ldap)
733 - --without-pam
734 - --without-quotas
735 - --without-syslog
736 - --without-systemd
737 - $(usex system-mitkrb5 '--with-system-mitkrb5' '')
738 - --without-winbind
739 - --disable-python
740 - )
741 - fi
742 -
743 - CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \
744 - waf-utils_src_configure ${myconf[@]}
745 -}
746 -
747 -multilib_src_install() {
748 - waf-utils_src_install
749 -
750 - # Make all .so files executable
751 - find "${D}" -type f -name "*.so" -exec chmod +x {} +
752 -
753 - if multilib_is_native_abi; then
754 - # install ldap schema for server (bug #491002)
755 - if use ldap ; then
756 - insinto /etc/openldap/schema
757 - doins examples/LDAP/samba.schema
758 - fi
759 -
760 - # install example config file
761 - insinto /etc/samba
762 - doins examples/smb.conf.default
763 -
764 - # Install init script and conf.d file
765 - newinitd "${CONFDIR}/samba4.initd-r1" samba
766 - newconfd "${CONFDIR}/samba4.confd" samba
767 -
768 - systemd_dotmpfilesd "${FILESDIR}"/samba.conf
769 - systemd_dounit "${FILESDIR}"/nmbd.service
770 - systemd_dounit "${FILESDIR}"/smbd.{service,socket}
771 - systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service'
772 - systemd_dounit "${FILESDIR}"/winbindd.service
773 - systemd_dounit "${FILESDIR}"/samba.service
774 - fi
775 -}
776 -
777 -multilib_src_test() {
778 - if multilib_is_native_abi ; then
779 - "${WAF_BINARY}" test || die "test failed"
780 - fi
781 -}
782 -
783 -pkg_postinst() {
784 - ewarn "Be aware the this release contains the best of all of Samba's"
785 - ewarn "technology parts, both a file server (that you can reasonably expect"
786 - ewarn "to upgrade existing Samba 3.x releases to) and the AD domain"
787 - ewarn "controller work previously known as 'samba4'."
788 -
789 - elog "For further information and migration steps make sure to read "
790 - elog "http://samba.org/samba/history/${P}.html "
791 - elog "http://samba.org/samba/history/${PN}-4.2.0.html and"
792 - elog "http://wiki.samba.org/index.php/Samba4/HOWTO "
793 -}