1 |
commit: 5f830999816a3afdadab6182b347021c5e400b74 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 13 00:53:51 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 13 00:54:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f830999 |
7 |
|
8 |
net-fs/samba: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-fs/samba/Manifest | 1 - |
14 |
net-fs/samba/samba-4.8.8-r1.ebuild | 301 ------------------------------------- |
15 |
2 files changed, 302 deletions(-) |
16 |
|
17 |
diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest |
18 |
index a810da39fb8..2b5069c368f 100644 |
19 |
--- a/net-fs/samba/Manifest |
20 |
+++ b/net-fs/samba/Manifest |
21 |
@@ -3,7 +3,6 @@ DIST samba-4.5.11-disable-python-patches.tar.xz 6292 BLAKE2B c2a32a1059a02bc1c87 |
22 |
DIST samba-4.5.16.tar.gz 21024396 BLAKE2B e737559fb748044076608fa233700eb54c7e1c56bc234763f062b6341a179cc78a4a8cdf9f3d6f4d7f3cf8a79f846852ddd5cc753a468c3adb3a0451e1809ed9 SHA512 de8a41013cfb5ef3adcb290efd97a78a5de876d90ad05764d631f14e663a1849bb53e4ac394b46c906f1109be5748fee9316407a659c57007d36851ae8adcd7f |
23 |
DIST samba-4.7.12.tar.gz 16923189 BLAKE2B 98ea5e535482a4cdfeb4f9ad70bc8c40bb6d5a8920ce9bc6dda84f20698245c3c5d472a5f79984efc81f9c32d1d1e72b1fcdffb137e3a27634f4c521a1d46a48 SHA512 951dfc0ea7130da9d9aa3069ca276e630d67171a1995dba368459e0cdf00337d0f6271827bffec694371010614a1a7ce2349840ddedd0231315f6a56dce2fcac |
24 |
DIST samba-4.8.6.tar.gz 17723841 BLAKE2B 38da52e14b4417f26462eef2226c4498e54d2c276b4056e8c6d6c66079f33bcda24c1eab30b29bc7413280ec89a74a55e043e8274ac50f9a25bae7563717ff34 SHA512 f6afab5ca466bd8653a56c205b71ce94ecf0ad0c6e4c9d64cbba7b1e56f1987bc2022e6b629d87eb6078e3f6ba53833c19cfb41e40b6d589e4317ea9d85de273 |
25 |
-DIST samba-4.8.8.tar.gz 17742757 BLAKE2B 2d5f51b9702a01227a7527a5500f35484f2c743aa1599c7e2f30438cab9c5ac0e6aa8d53d699cbb94c08e77c30a7306b08472538d46981cbca518d6f3d3186ce SHA512 2fac0d15de924dabbd5f6d8f4050239cb7b293abcba7b82a4a56708f68b9a4a1291cd1dd6f8bd6273c621e1b5727bc58cce0ca097dfff51d3417145defff64ee |
26 |
DIST samba-4.8.9.tar.gz 17750151 BLAKE2B 09f350be7f262889708c1b8f779c0e003cc292e0de2afb19f35ec12d43c4c5874151e984699218a563a11eb24b13f1af33607d2accfe699fb0b5f6bdb1b9b367 SHA512 733eb769e21fc563d4deef17c54de025d05ceec85f8b16513bbeefdb3cb99c3611027e049014d3c29cb6463ce2660be92c97f8b5f741a6b67424c8f329a88ea4 |
27 |
DIST samba-4.9.4.tar.gz 18053738 BLAKE2B 337444e55fc8a8864e3960609719087e64e7d14faaf150c510b9011f67ffdc8a9bd6533c60be938e742db8a2e5401a065e7d14fae0480ee7a996a1f71ef0448d SHA512 ecd9937caa12d409b9b4cf34982b1670346fa64c7ecd111b390e296771476e13eb7b868997bfe489f36b7bdc5c9fc3af42cd5ad276e9d85aaedfa8ac4cfc0617 |
28 |
DIST samba-4.9.5.tar.gz 18065757 BLAKE2B 541b2534cdfb94a155aee629645bb4f1cbe429c6cb4f3170973807c4c5d2728013137eb65e478da763169315e0fc720f5dc54a70f7f9dcce4e2d5b69271a82cd SHA512 0ce49721dcd1b16148448bdf516c42f8fdeb3cb48e7fa8113fac508f8585251ead23d5b679f99eb7925e7a6fbedc2da75d339946b0cecb15698f3ea0cb542750 |
29 |
|
30 |
diff --git a/net-fs/samba/samba-4.8.8-r1.ebuild b/net-fs/samba/samba-4.8.8-r1.ebuild |
31 |
deleted file mode 100644 |
32 |
index cc6479aa66b..00000000000 |
33 |
--- a/net-fs/samba/samba-4.8.8-r1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,301 +0,0 @@ |
36 |
-# Copyright 1999-2019 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
-PYTHON_COMPAT=( python2_7 ) |
41 |
-PYTHON_REQ_USE='threads(+),xml(+)' |
42 |
- |
43 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam |
44 |
- |
45 |
-MY_PV="${PV/_rc/rc}" |
46 |
-MY_P="${PN}-${MY_PV}" |
47 |
- |
48 |
-SRC_PATH="stable" |
49 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
50 |
- |
51 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" |
52 |
-[[ ${PV} = *_rc* ]] || \ |
53 |
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
54 |
- |
55 |
-DESCRIPTION="Samba Suite Version 4" |
56 |
-HOMEPAGE="https://www.samba.org/" |
57 |
-LICENSE="GPL-3" |
58 |
- |
59 |
-SLOT="0" |
60 |
- |
61 |
-IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint ldap pam python |
62 |
-quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf" |
63 |
- |
64 |
-MULTILIB_WRAPPED_HEADERS=( |
65 |
- /usr/include/samba-4.0/policy.h |
66 |
- /usr/include/samba-4.0/dcerpc_server.h |
67 |
- /usr/include/samba-4.0/ctdb.h |
68 |
- /usr/include/samba-4.0/ctdb_client.h |
69 |
- /usr/include/samba-4.0/ctdb_protocol.h |
70 |
- /usr/include/samba-4.0/ctdb_private.h |
71 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
72 |
- /usr/include/samba-4.0/ctdb_version.h |
73 |
-) |
74 |
- |
75 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
76 |
-CDEPEND=" |
77 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
78 |
- dev-lang/perl:= |
79 |
- dev-libs/libaio[${MULTILIB_USEDEP}] |
80 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
81 |
- dev-libs/iniparser:0 |
82 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
83 |
- dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
84 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
85 |
- net-libs/libnsl:=[${MULTILIB_USEDEP}] |
86 |
- sys-apps/attr[${MULTILIB_USEDEP}] |
87 |
- >=sys-libs/ldb-1.3.6[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
88 |
- <sys-libs/ldb-1.4.0[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
89 |
- sys-libs/libcap |
90 |
- sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
91 |
- sys-libs/readline:0= |
92 |
- >=sys-libs/talloc-2.1.11[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
93 |
- >=sys-libs/tdb-1.3.15[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
94 |
- >=sys-libs/tevent-0.9.36[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
95 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
96 |
- virtual/libiconv |
97 |
- pam? ( virtual/pam ) |
98 |
- acl? ( virtual/acl ) |
99 |
- addns? ( |
100 |
- net-dns/bind-tools[gssapi] |
101 |
- dev-python/dnspython:=[${PYTHON_USEDEP}] |
102 |
- ) |
103 |
- ceph? ( sys-cluster/ceph ) |
104 |
- cluster? ( |
105 |
- net-libs/rpcsvc-proto |
106 |
- !dev-db/ctdb |
107 |
- ) |
108 |
- cups? ( net-print/cups ) |
109 |
- debug? ( dev-util/lttng-ust ) |
110 |
- dmapi? ( sys-apps/dmapi ) |
111 |
- fam? ( virtual/fam ) |
112 |
- gnutls? ( |
113 |
- dev-libs/libgcrypt:0 |
114 |
- >=net-libs/gnutls-1.4.0 |
115 |
- ) |
116 |
- gpg? ( app-crypt/gpgme ) |
117 |
- ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
118 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
119 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) |
120 |
- systemd? ( sys-apps/systemd:0= ) |
121 |
-" |
122 |
-DEPEND="${CDEPEND} |
123 |
- ${PYTHON_DEPS} |
124 |
- app-text/docbook-xsl-stylesheets |
125 |
- dev-libs/libxslt |
126 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
127 |
- virtual/pkgconfig |
128 |
- || ( |
129 |
- net-libs/rpcsvc-proto |
130 |
- <sys-libs/glibc-2.26[rpc(+)] |
131 |
- ) |
132 |
- test? ( |
133 |
- !system-mitkrb5? ( |
134 |
- >=sys-libs/nss_wrapper-1.1.3 |
135 |
- >=net-dns/resolv_wrapper-1.1.4 |
136 |
- >=net-libs/socket_wrapper-1.1.9 |
137 |
- >=sys-libs/uid_wrapper-1.2.1 |
138 |
- ) |
139 |
- )" |
140 |
-RDEPEND="${CDEPEND} |
141 |
- python? ( ${PYTHON_DEPS} ) |
142 |
- client? ( net-fs/cifs-utils[ads?] ) |
143 |
- selinux? ( sec-policy/selinux-samba ) |
144 |
- !dev-perl/Parse-Yapp |
145 |
-" |
146 |
- |
147 |
-REQUIRED_USE=" |
148 |
- addc? ( python gnutls winbind ) |
149 |
- addns? ( python ) |
150 |
- ads? ( acl gnutls ldap winbind ) |
151 |
- cluster? ( ads ) |
152 |
- gpg? ( addc ) |
153 |
- test? ( python ) |
154 |
- ?? ( system-heimdal system-mitkrb5 ) |
155 |
- ${PYTHON_REQUIRED_USE} |
156 |
-" |
157 |
- |
158 |
-# the test suite is messed, it uses system-installed samba |
159 |
-# bits instead of what was built, tests things disabled via use |
160 |
-# flags, and generally just fails to work in a way ebuilds could |
161 |
-# rely on in its current state |
162 |
-RESTRICT="test" |
163 |
- |
164 |
-S="${WORKDIR}/${MY_P}" |
165 |
- |
166 |
-PATCHES=( |
167 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
168 |
- "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" |
169 |
- "${FILESDIR}/${PN}-4.8.6-no-pydsdb-when-no-addc.patch" |
170 |
-) |
171 |
- |
172 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
173 |
-CONFDIR="${FILESDIR}/4.4" |
174 |
- |
175 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
176 |
- |
177 |
-SHAREDMODS="" |
178 |
- |
179 |
-pkg_setup() { |
180 |
- python-single-r1_pkg_setup |
181 |
- if use cluster ; then |
182 |
- SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad" |
183 |
- elif use ads ; then |
184 |
- SHAREDMODS="idmap_ad" |
185 |
- fi |
186 |
-} |
187 |
- |
188 |
-src_prepare() { |
189 |
- default |
190 |
- |
191 |
- # un-bundle dnspython |
192 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
193 |
- |
194 |
- # unbundle iso8601 unless tests are enabled |
195 |
- use test || sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
196 |
- |
197 |
- # ugly hackaround for bug #592502 |
198 |
- cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
199 |
- |
200 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
201 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
202 |
- || die |
203 |
- |
204 |
- # Friggin' WAF shit |
205 |
- multilib_copy_sources |
206 |
-} |
207 |
- |
208 |
-multilib_src_configure() { |
209 |
- # when specifying libs for samba build you must append NONE to the end to |
210 |
- # stop it automatically including things |
211 |
- local bundled_libs="NONE" |
212 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
213 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
214 |
- fi |
215 |
- |
216 |
- local myconf=( |
217 |
- --enable-fhs |
218 |
- --sysconfdir="${EPREFIX}/etc" |
219 |
- --localstatedir="${EPREFIX}/var" |
220 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
221 |
- --with-piddir="${EPREFIX}/run/${PN}" |
222 |
- --bundled-libraries="${bundled_libs}" |
223 |
- --builtin-libraries=NONE |
224 |
- --disable-rpath |
225 |
- --disable-rpath-install |
226 |
- --nopyc |
227 |
- --nopyo |
228 |
- $(multilib_native_use_with acl acl-support) |
229 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
230 |
- $(multilib_native_use_with addns dnsupdate) |
231 |
- $(multilib_native_use_with ads) |
232 |
- $(multilib_native_use_enable ceph cephfs) |
233 |
- $(multilib_native_use_with cluster cluster-support) |
234 |
- $(multilib_native_use_enable cups) |
235 |
- $(multilib_native_use_with dmapi) |
236 |
- $(multilib_native_use_with fam) |
237 |
- $(multilib_native_use_with gpg gpgme) |
238 |
- $(multilib_native_use_enable iprint) |
239 |
- $(multilib_native_use_with pam) |
240 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
241 |
- $(multilib_native_use_with quota quotas) |
242 |
- $(multilib_native_use_with syslog) |
243 |
- $(multilib_native_use_with systemd) |
244 |
- $(multilib_native_use_with winbind) |
245 |
- $(multilib_native_usex python '' '--disable-python') |
246 |
- $(multilib_native_use_enable zeroconf avahi) |
247 |
- $(multilib_native_usex test '--enable-selftest' '') |
248 |
- $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
249 |
- $(use_enable gnutls) |
250 |
- $(use_with debug lttng) |
251 |
- $(use_with ldap) |
252 |
- ) |
253 |
- multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} ) |
254 |
- |
255 |
- CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \ |
256 |
- waf-utils_src_configure ${myconf[@]} |
257 |
-} |
258 |
- |
259 |
-multilib_src_compile() { |
260 |
- waf-utils_src_compile |
261 |
-} |
262 |
- |
263 |
-multilib_src_install() { |
264 |
- waf-utils_src_install |
265 |
- |
266 |
- # Make all .so files executable |
267 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + |
268 |
- |
269 |
- if multilib_is_native_abi ; then |
270 |
- # install ldap schema for server (bug #491002) |
271 |
- if use ldap ; then |
272 |
- insinto /etc/openldap/schema |
273 |
- doins examples/LDAP/samba.schema |
274 |
- fi |
275 |
- |
276 |
- # create symlink for cups (bug #552310) |
277 |
- if use cups ; then |
278 |
- dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb |
279 |
- fi |
280 |
- |
281 |
- # install example config file |
282 |
- insinto /etc/samba |
283 |
- doins examples/smb.conf.default |
284 |
- |
285 |
- # Fix paths in example file (#603964) |
286 |
- sed \ |
287 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
288 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
289 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
290 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
291 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
292 |
- -i "${ED%/}"/etc/samba/smb.conf.default || die |
293 |
- |
294 |
- # Install init script and conf.d file |
295 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
296 |
- newconfd "${CONFDIR}/samba4.confd" samba |
297 |
- |
298 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
299 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
300 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
301 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
302 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
303 |
- systemd_dounit "${FILESDIR}"/samba.service |
304 |
- fi |
305 |
- |
306 |
- if use pam && use winbind ; then |
307 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
308 |
- # bugs #376853 and #590374 |
309 |
- insinto /etc/security |
310 |
- doins examples/pam_winbind/pam_winbind.conf || die |
311 |
- fi |
312 |
- |
313 |
- keepdir /var/cache/samba |
314 |
- keepdir /var/lib/ctdb |
315 |
- keepdir /var/lib/samba/{bind-dns,private} |
316 |
- keepdir /var/lock/samba |
317 |
- keepdir /var/log/samba |
318 |
- keepdir /var/run/{ctdb,samba} |
319 |
-} |
320 |
- |
321 |
-multilib_src_test() { |
322 |
- if multilib_is_native_abi ; then |
323 |
- "${WAF_BINARY}" test || die "test failed" |
324 |
- fi |
325 |
-} |
326 |
- |
327 |
-pkg_postinst() { |
328 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
329 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
330 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
331 |
- ewarn "controller work previously known as 'samba4'." |
332 |
- |
333 |
- elog "For further information and migration steps make sure to read " |
334 |
- elog "https://samba.org/samba/history/${P}.html " |
335 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
336 |
-} |