1 |
commit: c6028259b90897181309a1c1b1f8381932f4004c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 29 12:17:30 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 29 12:18:07 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6028259 |
7 |
|
8 |
net-fs/samba: Removed old. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-fs/samba/Manifest | 1 - |
14 |
net-fs/samba/samba-4.2.9.ebuild | 258 ---------------------------------------- |
15 |
2 files changed, 259 deletions(-) |
16 |
|
17 |
diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest |
18 |
index d778607..7152925 100644 |
19 |
--- a/net-fs/samba/Manifest |
20 |
+++ b/net-fs/samba/Manifest |
21 |
@@ -1,7 +1,6 @@ |
22 |
DIST samba-3.6.25.tar.gz 34121828 SHA256 8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751 SHA512 25a5c56dae4517e82e196b59fa301b661ec75db57effbb0ede35fb23b018f78cdea6513e8760966caf58abc43335fcebda77fe5bf5bb9d4b27fd3ca6e5a3b626 WHIRLPOOL 68c4a335b3912bf3c6baecae337b1131127515191052366ca9a04ec6d919f2fb69c912aefb087e2578134f3a9bde7b496ea880f2197a8dbf8221058dd1e8444d |
23 |
DIST samba-4.2.11.tar.gz 20875348 SHA256 75bce53c922e51352933c9846f2c4b1e251fabb80927adb426a773a321ee01f8 SHA512 293365f2718e756b66ccaec4b0dbce7044ade615b332f58968cf42dd1ec6b6445576590eaf5bd35fa00ba9aa4ba3be7720afc33763652e97731eebc3149f4820 WHIRLPOOL 1e04fd527e55c8d438c96a43d9a25a9b3e09a3edc504a2a5fe44bc8f9101c833c90e3ba3188b8872b046370916f3798e4fce0ffa7848b65f452b5c51ec7107f1 |
24 |
DIST samba-4.2.14.tar.gz 20883281 SHA256 db820a9947e44f04b0eb25e4aa0c3db32c4042fca541775ee8e2905093e888e6 SHA512 269dd74ba788657434f51ac70953a293c94bcf98280eaa6f44634c5da54169a5ea7865d543a7c23860c4750a40cdee7caeaf5c7fc3dbc137f444e90f31a09890 WHIRLPOOL 925369c2f9c222d718bf4aacc7b1a83b8275acd96bbc1eca52ad96c86847327807560674ee9b180173d17a1e6109307ec4f70f1acbebe2efc8a9e67f2141e17d |
25 |
-DIST samba-4.2.9.tar.gz 20750339 SHA256 ba0229485e8bebac22bd3ae98b1e393e7127f3a958cc90e205a6d752e575354c SHA512 438196f268c0ca0b83e8e7e9eb8e9a8b503d6408d5e2b0dca1d041185e06cfc08147122d5495b72c46ce58dc3cb4be4766551f0101c69b2620b89e749d89ad98 WHIRLPOOL aa7a655a3d2f2bf81d2747d83c86a0c7d464a31414b6e27a413461e1e0ad0ce3d3af5d756d8ce213e775f5141c44ef9c41a792e88d246bcab002b7623552260a |
26 |
DIST samba-4.3.11.tar.gz 20573432 SHA256 90a967310e34a31d5c9fc5f86855f334fc19815e7e59f5c2d72a9bba23cf4fec SHA512 7b9bcdf158c64a26c81e5a03a94a521f238a7573ab31c1252e90f2604ae0d1303c998d3bcda18c4feb9049a659371a3af2bdfcc546b5251314f19a500b6a0b7a WHIRLPOOL b204fdfee8ea071a2fb0431cfc17c1e59307a7228ef7082bf69d63ea5b94a823b0214e09172bb5d397adc8d4dabe1c505e867512922f41da57b73d22b1856b90 |
27 |
DIST samba-4.4.5.tar.gz 20715838 SHA256 b876ef2e63f66265490e80a122e66ef2d7616112b839df68f56ac2e1ce17a7bd SHA512 4e63fabbddc04ebdf08b68a98fe4fa0c525b30f7d949948dd5d2e5cba17d263db820c61bac0c90dcb4e0b530d945a560c358df6c37e225d69788794fef851f0d WHIRLPOOL 420be54d53312b8cef6efd1bce3120de1db1c36a1abccd258d558c598259afb16ca846db461ec7ee94a431ada869c3a4bda34ec741b6dcd1347fc34670dab84e |
28 |
DIST samba-4.5.0rc1.tar.gz 20923420 SHA256 b0b46a5c1b5886380ced6933f418440d688bbd0b4f6bc8d2c355391a0653839a SHA512 29a1ab08b16dee67c447344a6300c0a04d892f0d8a1f4938cb17bcc780b8a82b0f8b08e4c26e53a29643d94d36c4fe0df417fe611cff8a02b9f572989d84cf3f WHIRLPOOL ceb1baea1c13bb5c698df2f5498d443429ac453e8436ed7165bd5f9bf04b6d412e61ecca227d19c94d68be9a276b8728454c0d9a3297d078743b677901248026 |
29 |
|
30 |
diff --git a/net-fs/samba/samba-4.2.9.ebuild b/net-fs/samba/samba-4.2.9.ebuild |
31 |
deleted file mode 100644 |
32 |
index 2fb9128..0000000 |
33 |
--- a/net-fs/samba/samba-4.2.9.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,258 +0,0 @@ |
36 |
-# Copyright 1999-2016 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
-# $Id$ |
39 |
- |
40 |
-EAPI=5 |
41 |
-PYTHON_COMPAT=( python2_7 ) |
42 |
-PYTHON_REQ_USE='threads(+),xml(+)' |
43 |
- |
44 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils |
45 |
- |
46 |
-MY_PV="${PV/_rc/rc}" |
47 |
-MY_P="${PN}-${MY_PV}" |
48 |
- |
49 |
-SRC_PATH="stable" |
50 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
51 |
- |
52 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz |
53 |
- https://dev.gentoo.org/~polynomial-c/samba-disable-python-patches-4.2.9.tar.xz" |
54 |
-KEYWORDS="amd64 arm ~hppa ia64 ppc ppc64 sparc x86" |
55 |
-[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa" |
56 |
- |
57 |
-DESCRIPTION="Samba Suite Version 4" |
58 |
-HOMEPAGE="http://www.samba.org/" |
59 |
-LICENSE="GPL-3" |
60 |
- |
61 |
-SLOT="0" |
62 |
- |
63 |
-IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint |
64 |
-ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind" |
65 |
- |
66 |
-MULTILIB_WRAPPED_HEADERS=( |
67 |
- /usr/include/samba-4.0/policy.h |
68 |
- /usr/include/samba-4.0/dcerpc_server.h |
69 |
- /usr/include/samba-4.0/ctdb.h |
70 |
- /usr/include/samba-4.0/ctdb_client.h |
71 |
- /usr/include/samba-4.0/ctdb_protocol.h |
72 |
- /usr/include/samba-4.0/ctdb_private.h |
73 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
74 |
- /usr/include/samba-4.0/ctdb_version.h |
75 |
-) |
76 |
- |
77 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
78 |
-CDEPEND="${PYTHON_DEPS} |
79 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
80 |
- dev-lang/perl:= |
81 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
82 |
- dev-libs/iniparser:0 |
83 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
84 |
- sys-libs/readline:= |
85 |
- virtual/libiconv |
86 |
- dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
87 |
- >=net-libs/socket_wrapper-1.1.2[${MULTILIB_USEDEP}] |
88 |
- sys-apps/attr[${MULTILIB_USEDEP}] |
89 |
- sys-libs/libcap |
90 |
- >=sys-libs/ldb-1.1.24[${MULTILIB_USEDEP}] |
91 |
- sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
92 |
- >=sys-libs/nss_wrapper-1.0.2[${MULTILIB_USEDEP}] |
93 |
- >=sys-libs/ntdb-1.0[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
94 |
- >=sys-libs/talloc-2.1.2[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
95 |
- >=sys-libs/tdb-1.3.6[python,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
96 |
- >=sys-libs/tevent-0.9.25[${MULTILIB_USEDEP}] |
97 |
- >=sys-libs/uid_wrapper-1.0.1[${MULTILIB_USEDEP}] |
98 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
99 |
- acl? ( virtual/acl ) |
100 |
- addns? ( net-dns/bind-tools[gssapi] ) |
101 |
- aio? ( dev-libs/libaio ) |
102 |
- cluster? ( !dev-db/ctdb ) |
103 |
- cups? ( net-print/cups ) |
104 |
- dmapi? ( sys-apps/dmapi ) |
105 |
- fam? ( virtual/fam ) |
106 |
- gnutls? ( dev-libs/libgcrypt:0 |
107 |
- >=net-libs/gnutls-1.4.0 ) |
108 |
- ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
109 |
- pam? ( virtual/pam ) |
110 |
- system-mitkrb5? ( app-crypt/mit-krb5[${MULTILIB_USEDEP}] ) |
111 |
- !system-mitkrb5? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
112 |
- systemd? ( sys-apps/systemd:0= )" |
113 |
-DEPEND="${CDEPEND} |
114 |
- virtual/pkgconfig" |
115 |
-RDEPEND="${CDEPEND} |
116 |
- client? ( net-fs/cifs-utils[ads?] ) |
117 |
- selinux? ( sec-policy/selinux-samba ) |
118 |
- !dev-perl/Parse-Yapp |
119 |
-" |
120 |
- |
121 |
-REQUIRED_USE="addc? ( gnutls !system-mitkrb5 ) |
122 |
- ads? ( acl gnutls ldap ) |
123 |
- ${PYTHON_REQUIRED_USE}" |
124 |
- |
125 |
-S="${WORKDIR}/${MY_P}" |
126 |
- |
127 |
-PATCHES=( |
128 |
- "${FILESDIR}/${PN}-4.2.3-heimdal_compilefix.patch" |
129 |
- "${FILESDIR}/${PN}-4.2.7-pam.patch" |
130 |
-) |
131 |
- |
132 |
-CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
133 |
- |
134 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
135 |
- |
136 |
-SHAREDMODS="" |
137 |
- |
138 |
-pkg_setup() { |
139 |
- python-single-r1_pkg_setup |
140 |
- if use aio ; then |
141 |
- if ! linux_config_exists || ! linux_chkconfig_present AIO; then |
142 |
- ewarn "You must enable AIO support in your kernel config, " |
143 |
- ewarn "to be able to support asynchronous I/O. " |
144 |
- ewarn "You can find it at" |
145 |
- ewarn |
146 |
- ewarn "General Support" |
147 |
- ewarn " Enable AIO support " |
148 |
- ewarn |
149 |
- ewarn "and recompile your kernel..." |
150 |
- fi |
151 |
- fi |
152 |
- if use cluster ; then |
153 |
- SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad" |
154 |
- fi |
155 |
-} |
156 |
- |
157 |
-src_prepare() { |
158 |
- epatch ${PATCHES[@]} |
159 |
- |
160 |
- # install the patches from tarball(s) |
161 |
- EPATCH_SUFFIX="patch" \ |
162 |
- EPATCH_FORCE="yes" \ |
163 |
- epatch "${WORKDIR}/patches" |
164 |
- |
165 |
- # Allow user patches |
166 |
- epatch_user |
167 |
- multilib_copy_sources |
168 |
-} |
169 |
- |
170 |
-multilib_src_configure() { |
171 |
- local myconf=() |
172 |
- myconf=( |
173 |
- --enable-fhs |
174 |
- --sysconfdir=/etc |
175 |
- --localstatedir=/var |
176 |
- --with-modulesdir=/usr/$(get_libdir)/samba |
177 |
- --with-piddir=/var/run/${PN} |
178 |
- --bundled-libraries=NONE |
179 |
- --builtin-libraries=NONE |
180 |
- --disable-rpath |
181 |
- --disable-rpath-install |
182 |
- --nopyc |
183 |
- --nopyo |
184 |
- ) |
185 |
- if multilib_is_native_abi ; then |
186 |
- myconf+=( |
187 |
- $(use_with acl acl-support) |
188 |
- $(usex addc '' '--without-ad-dc') |
189 |
- $(use_with addns dnsupdate) |
190 |
- $(use_with ads) |
191 |
- $(usex ads '--with-shared-modules=idmap_ad' '') |
192 |
- $(use_with aio aio-support) |
193 |
- $(use_enable avahi) |
194 |
- $(use_with cluster cluster-support) |
195 |
- $(use_enable cups) |
196 |
- $(use_with dmapi) |
197 |
- $(use_with fam) |
198 |
- $(use_enable gnutls) |
199 |
- $(use_enable iprint) |
200 |
- $(use_with ldap) |
201 |
- $(use_with pam) |
202 |
- $(use_with pam pam_smbpass) |
203 |
- $(usex pam "--with-pammodulesdir=/$(get_libdir)/security" '') |
204 |
- $(use_with quota quotas) |
205 |
- $(use_with syslog) |
206 |
- $(use_with systemd) |
207 |
- $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
208 |
- $(use_with winbind) |
209 |
- $(usex test '--enable-selftest' '') |
210 |
- --with-shared-modules=${SHAREDMODS} |
211 |
- ) |
212 |
- else |
213 |
- myconf+=( |
214 |
- --without-acl-support |
215 |
- --without-ad-dc |
216 |
- --without-dnsupdate |
217 |
- --without-ads |
218 |
- --without-aio-support |
219 |
- --disable-avahi |
220 |
- --without-cluster-support |
221 |
- --disable-cups |
222 |
- --without-dmapi |
223 |
- --without-fam |
224 |
- --disable-gnutls |
225 |
- --disable-iprint |
226 |
- $(use_with ldap) |
227 |
- --without-pam |
228 |
- --without-pam_smbpass |
229 |
- --without-quotas |
230 |
- --without-syslog |
231 |
- --without-systemd |
232 |
- $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
233 |
- --without-winbind |
234 |
- --disable-python |
235 |
- ) |
236 |
- fi |
237 |
- |
238 |
- CPPFLAGS="-I${SYSROOT}/usr/include/et ${CPPFLAGS}" \ |
239 |
- waf-utils_src_configure ${myconf[@]} |
240 |
-} |
241 |
- |
242 |
-multilib_src_install() { |
243 |
- waf-utils_src_install |
244 |
- |
245 |
- # Make all .so files executable |
246 |
- find "${D}" -type f -name "*.so" -exec chmod +x {} + |
247 |
- |
248 |
- if multilib_is_native_abi; then |
249 |
- # install ldap schema for server (bug #491002) |
250 |
- if use ldap ; then |
251 |
- insinto /etc/openldap/schema |
252 |
- doins examples/LDAP/samba.schema |
253 |
- fi |
254 |
- |
255 |
- # create symlink for cups (bug #552310) |
256 |
- if use cups ; then |
257 |
- dosym /usr/bin/smbspool /usr/libexec/cups/backend/smb |
258 |
- fi |
259 |
- |
260 |
- # install example config file |
261 |
- insinto /etc/samba |
262 |
- doins examples/smb.conf.default |
263 |
- |
264 |
- # Install init script and conf.d file |
265 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
266 |
- newconfd "${CONFDIR}/samba4.confd" samba |
267 |
- |
268 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
269 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
270 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
271 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
272 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
273 |
- systemd_dounit "${FILESDIR}"/samba.service |
274 |
- fi |
275 |
-} |
276 |
- |
277 |
-multilib_src_test() { |
278 |
- if multilib_is_native_abi ; then |
279 |
- "${WAF_BINARY}" test || die "test failed" |
280 |
- fi |
281 |
-} |
282 |
- |
283 |
-pkg_postinst() { |
284 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
285 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
286 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
287 |
- ewarn "controller work previously known as 'samba4'." |
288 |
- |
289 |
- elog "For further information and migration steps make sure to read " |
290 |
- elog "http://samba.org/samba/history/${P}.html " |
291 |
- elog "http://samba.org/samba/history/${PN}-4.2.0.html and" |
292 |
- elog "http://wiki.samba.org/index.php/Samba4/HOWTO " |
293 |
-} |