1 |
commit: 3848e804db4dfbed1caa3112d18d38a44a177aed |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 02:47:55 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 02:47:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3848e804 |
7 |
|
8 |
net-fs/samba: drop versions |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
net-fs/samba/Manifest | 6 - |
13 |
net-fs/samba/samba-4.14.12-r3.ebuild | 342 ---------------------------------- |
14 |
net-fs/samba/samba-4.15.4-r3.ebuild | 340 ---------------------------------- |
15 |
net-fs/samba/samba-4.15.6-r1.ebuild | 340 ---------------------------------- |
16 |
net-fs/samba/samba-4.16.0-r2.ebuild | 346 ---------------------------------- |
17 |
net-fs/samba/samba-4.16.1-r1.ebuild | 347 ---------------------------------- |
18 |
net-fs/samba/samba-4.16.2-r1.ebuild | 349 ----------------------------------- |
19 |
7 files changed, 2070 deletions(-) |
20 |
|
21 |
diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest |
22 |
index 6ff93d85bb2d..5d4928840127 100644 |
23 |
--- a/net-fs/samba/Manifest |
24 |
+++ b/net-fs/samba/Manifest |
25 |
@@ -1,11 +1,5 @@ |
26 |
-DIST samba-4.14.12.tar.gz 19145135 BLAKE2B 94ffc6dee4448e302591bf30bc34f75c5cdeab8acaa04b2d1105a0f0155ba13d366e61f2d0b38060fccb841febcc212d8ab7b6dfd860d784ae9299a375cb98c3 SHA512 6a021d61dc2a8894c646a9b6d85e38c9020b3c227f10d1820cbdf2ad6793c0beeacedd5fff5f75718d4083ec9169cb1fb58f65636e1a50e638fcefce355690d9 |
27 |
DIST samba-4.14.13.tar.gz 19161242 BLAKE2B 068d17872536edcc0de400ee925723a9a55022dd43fd5309562cf65a92d992011f9963b4009170405394b724eafab4760c689d571884b164a63661a99b42ec4c SHA512 477a94a2b9d9eeff21055c7601f3539e9ff01ab536320c303ac9a6578d5e7f09f46e7f4f5a971594e11ad19fe9a566f209d201cc32b78c164b885c1c4d591b9b |
28 |
DIST samba-4.14.14.tar.gz 19174363 BLAKE2B 5714ab40bc22d2692c81502fd6b05e222099818ebb3b7f26a91a89c78a6a2bfd8044b81f053a958b41ec156bb5a55e245af70a28eb315cc51292857f34858730 SHA512 77b9a51e8d542e4535eacf25b653dc21732f4608505507690d3ac3e8f8657c09e4f8b9c5bb9a24381d8e5316d712a914b021bb18dc4c464ee9a00755f6f7956f |
29 |
-DIST samba-4.15.4.tar.gz 19280813 BLAKE2B 3106f2f265263e871fe3f82d3eecaac2e5f642925ff5dd2a9d163092fd13e9348a3910e40431d51cb94a1abeb3b9c32c487ce1f8caebe59a8d6d90641b4d9201 SHA512 e55473dd4971816a01880870309ca44f022625cd529511bcf386c865a2e7e79118577ee4866559f607952de47dc0d310d6426bd08dd4293db95ddbbe3982383d |
30 |
-DIST samba-4.15.6.tar.gz 19290189 BLAKE2B 14a8d3cf03de303cce54e5b336f5866f5d3dedbcc435827791929a6722797111a4ae6b9720f64cca18803a4edb0dc3590657f680686613cf9a32dc552db41180 SHA512 cd193d74173831449abc24f1769f0af2dabd5dd8a65507af7b09fde6dd5780d30336d59600add939b044cfa5781f357ec9192c7fed1a1e7278812b6c07b824e2 |
31 |
DIST samba-4.15.7.tar.gz 19290930 BLAKE2B 4a295f79d38212d4c6917ed61a22e4204b5ea3d5e26f30b65d1e7e81842e92405870dd40fd4d05ec1126a532bdb1ddea300848387a4c64370ba5c2c1354ee8e5 SHA512 beffb09b5bcd62991398d39c7a8aec5fed0c51d550e2f0fb42b2e0a09094f4c6a8f29adf708c4969db12329f5c7343d2debd04315107b79bef59e99a4a7e4ce4 |
32 |
DIST samba-4.15.9.tar.gz 19324742 BLAKE2B 36cca5ac1b449339f2ce420d4f29f25151bcd536556bfc571db6422a95e9c5daed98b9a71387babbfc61d43e5ff183a1b69255dbec966f80a1cb8fe0ad40f636 SHA512 2ee5d66f5a7c1ff5b27c959be6310335eb6484476c1eadb3b8ca1bc84fb2260487136c1318539e1dc459b81bca66f268fd979f6a816ff5f905bd605a99685004 |
33 |
-DIST samba-4.16.0.tar.gz 30583390 BLAKE2B 6ea27634690d00779ec7f671e48b17246285c9576221d9b9b3f9238cd72310e8aaaeb646031212e65c239d2e959deef7bd9739932db0c716b7ea79cc11f2f7b8 SHA512 cea6bab64021779d217669e58612d192b907c2c481ef30e40e449bc6b8f8993a9b7b7b5bfcfebe54d8f70b8f720893cfa77a9d674ef8e07dd45a55a0fbc673e2 |
34 |
-DIST samba-4.16.1.tar.gz 30590897 BLAKE2B 4e22b1a8bbef28116cad71c87da1aaaa39459d5eeb30e975aec6444369576ce716917d3ee89c0b328e457e2dcda17abe705d1f33d12b4205efcebdc54ba7f2fd SHA512 d82ab250e87cb64b083345b61da8c4edbb2185a13f8cef33232f823fd510822570ed27c7b260a1fefd3af3b2fc4b271257c2c3e6ab3241c8c147bebae6ab39fc |
35 |
-DIST samba-4.16.2.tar.gz 30597031 BLAKE2B d1268cb34ef951a47bd6cd8b76fa8576f3db2a4faca1fdae90f096f25d5e90e9eaca49c73f7952a6c8cf48a200247fb9957b230efb9ec725c29a1af16d8aa37e SHA512 ed85acca0f23f9166530b600ae569f3259c2122d15e361fd3fe48a82921cd53bbb459d6c102bb60cc40b2dd811cde1262a3fb17ed6015a260432bffe5af83366 |
36 |
DIST samba-4.16.4.tar.gz 30605121 BLAKE2B e685511a76770272cabd1292f36d2b005e2d21212e4782cdf4fd05039f7667b35501873cffa9a53547d523805b2a91ffeba0881aaee905304968c42efef22dfa SHA512 9754275ace30755b75f747e201f8ad4550a823c8606e550c0ce6b3ccbaf048dd895bf2c21127271298304be7f80de9b6451091c4949ebe267ee1cf3ab497cd85 |
37 |
|
38 |
diff --git a/net-fs/samba/samba-4.14.12-r3.ebuild b/net-fs/samba/samba-4.14.12-r3.ebuild |
39 |
deleted file mode 100644 |
40 |
index fbb716f96f4d..000000000000 |
41 |
--- a/net-fs/samba/samba-4.14.12-r3.ebuild |
42 |
+++ /dev/null |
43 |
@@ -1,342 +0,0 @@ |
44 |
-# Copyright 1999-2022 Gentoo Authors |
45 |
-# Distributed under the terms of the GNU General Public License v2 |
46 |
- |
47 |
-EAPI=7 |
48 |
- |
49 |
-PYTHON_COMPAT=( python3_{8..9} ) |
50 |
-PYTHON_REQ_USE="threads(+),xml(+)" |
51 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam tmpfiles |
52 |
- |
53 |
-DESCRIPTION="Samba Suite Version 4" |
54 |
-HOMEPAGE="https://samba.org/" |
55 |
- |
56 |
-MY_PV="${PV/_rc/rc}" |
57 |
-MY_P="${PN}-${MY_PV}" |
58 |
-if [[ ${PV} = *_rc* ]]; then |
59 |
- SRC_URI="mirror://samba/rc/${MY_P}.tar.gz" |
60 |
-else |
61 |
- SRC_URI="mirror://samba/stable/${MY_P}.tar.gz" |
62 |
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" |
63 |
-fi |
64 |
-S="${WORKDIR}/${MY_P}" |
65 |
- |
66 |
-LICENSE="GPL-3" |
67 |
-SLOT="0" |
68 |
-IUSE="acl addc addns ads ceph client cluster cups debug fam glusterfs |
69 |
-gpg iprint json ldap ntvfs pam profiling-data python quota +regedit selinux |
70 |
-snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test winbind |
71 |
-zeroconf" |
72 |
- |
73 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
74 |
- addc? ( python json winbind ) |
75 |
- addns? ( python ) |
76 |
- ads? ( acl ldap winbind ) |
77 |
- cluster? ( ads ) |
78 |
- gpg? ( addc ) |
79 |
- ntvfs? ( addc ) |
80 |
- spotlight? ( json ) |
81 |
- test? ( python ) |
82 |
- !ads? ( !addc ) |
83 |
- ?? ( system-heimdal system-mitkrb5 ) |
84 |
-" |
85 |
- |
86 |
-# the test suite is messed, it uses system-installed samba |
87 |
-# bits instead of what was built, tests things disabled via use |
88 |
-# flags, and generally just fails to work in a way ebuilds could |
89 |
-# rely on in its current state |
90 |
-RESTRICT="test" |
91 |
- |
92 |
-MULTILIB_WRAPPED_HEADERS=( |
93 |
- /usr/include/samba-4.0/policy.h |
94 |
- /usr/include/samba-4.0/dcerpc_server.h |
95 |
- /usr/include/samba-4.0/ctdb.h |
96 |
- /usr/include/samba-4.0/ctdb_client.h |
97 |
- /usr/include/samba-4.0/ctdb_protocol.h |
98 |
- /usr/include/samba-4.0/ctdb_private.h |
99 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
100 |
- /usr/include/samba-4.0/ctdb_version.h |
101 |
-) |
102 |
- |
103 |
-COMMON_DEPEND=" |
104 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
105 |
- dev-lang/perl:= |
106 |
- dev-libs/icu:=[${MULTILIB_USEDEP}] |
107 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
108 |
- dev-libs/libtasn1[${MULTILIB_USEDEP}] |
109 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
110 |
- dev-perl/Parse-Yapp |
111 |
- >=net-libs/gnutls-3.4.7[${MULTILIB_USEDEP}] |
112 |
- net-libs/libnsl:=[${MULTILIB_USEDEP}] |
113 |
- >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] |
114 |
- >=sys-libs/ldb-2.3.2[ldap(+)?,${MULTILIB_USEDEP}] |
115 |
- <sys-libs/ldb-2.4.0[ldap(+)?,${MULTILIB_USEDEP}] |
116 |
- sys-libs/libcap[${MULTILIB_USEDEP}] |
117 |
- sys-libs/liburing:=[${MULTILIB_USEDEP}] |
118 |
- sys-libs/ncurses:0= |
119 |
- sys-libs/readline:0= |
120 |
- >=sys-libs/talloc-2.3.2[${MULTILIB_USEDEP}] |
121 |
- >=sys-libs/tdb-1.4.3[${MULTILIB_USEDEP}] |
122 |
- >=sys-libs/tevent-0.10.2[${MULTILIB_USEDEP}] |
123 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
124 |
- virtual/libcrypt:=[${MULTILIB_USEDEP}] |
125 |
- virtual/libiconv |
126 |
- $(python_gen_cond_dep " |
127 |
- addc? ( |
128 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
129 |
- dev-python/markdown[\${PYTHON_USEDEP}] |
130 |
- ) |
131 |
- addns? ( |
132 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
133 |
- net-dns/bind-tools[gssapi] |
134 |
- ) |
135 |
- ") |
136 |
- !alpha? ( !sparc? ( sys-libs/libunwind:= ) ) |
137 |
- acl? ( virtual/acl ) |
138 |
- ceph? ( sys-cluster/ceph ) |
139 |
- cluster? ( net-libs/rpcsvc-proto ) |
140 |
- cups? ( net-print/cups ) |
141 |
- debug? ( dev-util/lttng-ust ) |
142 |
- fam? ( virtual/fam ) |
143 |
- gpg? ( app-crypt/gpgme:= ) |
144 |
- json? ( dev-libs/jansson:= ) |
145 |
- ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) |
146 |
- pam? ( sys-libs/pam ) |
147 |
- python? ( |
148 |
- sys-libs/ldb[python,${PYTHON_SINGLE_USEDEP}] |
149 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
150 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
151 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
152 |
- ) |
153 |
- snapper? ( sys-apps/dbus ) |
154 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
155 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) |
156 |
- systemd? ( sys-apps/systemd:0= ) |
157 |
- zeroconf? ( net-dns/avahi[dbus] ) |
158 |
-" |
159 |
-DEPEND="${COMMON_DEPEND} |
160 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
161 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
162 |
- || ( |
163 |
- net-libs/rpcsvc-proto |
164 |
- <sys-libs/glibc-2.26[rpc(+)] |
165 |
- ) |
166 |
- spotlight? ( dev-libs/glib ) |
167 |
- test? ( |
168 |
- $(python_gen_cond_dep "dev-python/subunit[\${PYTHON_USEDEP},${MULTILIB_USEDEP}]" ) |
169 |
- !system-mitkrb5? ( |
170 |
- >=net-dns/resolv_wrapper-1.1.4 |
171 |
- >=net-libs/socket_wrapper-1.1.9 |
172 |
- >=sys-libs/nss_wrapper-1.1.3 |
173 |
- >=sys-libs/uid_wrapper-1.2.1 |
174 |
- ) |
175 |
- )" |
176 |
-RDEPEND="${COMMON_DEPEND} |
177 |
- client? ( net-fs/cifs-utils[ads?] ) |
178 |
- python? ( ${PYTHON_DEPS} ) |
179 |
- selinux? ( sec-policy/selinux-samba ) |
180 |
-" |
181 |
-BDEPEND="${PYTHON_DEPS} |
182 |
- app-text/docbook-xsl-stylesheets |
183 |
- dev-libs/libxslt |
184 |
- virtual/pkgconfig |
185 |
-" |
186 |
- |
187 |
-PATCHES=( |
188 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
189 |
-) |
190 |
- |
191 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
192 |
-CONFDIR="${FILESDIR}/4.4" |
193 |
- |
194 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
195 |
- |
196 |
-SHAREDMODS="" |
197 |
- |
198 |
-pkg_setup() { |
199 |
- # Package fails to build with distcc |
200 |
- export DISTCC_DISABLE=1 |
201 |
- |
202 |
- python-single-r1_pkg_setup |
203 |
- |
204 |
- SHAREDMODS="$(usex snapper '' '!')vfs_snapper" |
205 |
- if use cluster ; then |
206 |
- SHAREDMODS+=",idmap_rid,idmap_tdb2,idmap_ad" |
207 |
- elif use ads ; then |
208 |
- SHAREDMODS+=",idmap_ad" |
209 |
- fi |
210 |
-} |
211 |
- |
212 |
-src_prepare() { |
213 |
- default |
214 |
- |
215 |
- # un-bundle dnspython |
216 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
217 |
- |
218 |
- # unbundle iso8601 unless tests are enabled |
219 |
- if ! use test ; then |
220 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
221 |
- fi |
222 |
- |
223 |
- ## ugly hackaround for bug #592502 |
224 |
- #cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
225 |
- |
226 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
227 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
228 |
- || die |
229 |
- |
230 |
- # Friggin' WAF shit |
231 |
- multilib_copy_sources |
232 |
-} |
233 |
- |
234 |
-multilib_src_configure() { |
235 |
- # when specifying libs for samba build you must append NONE to the end to |
236 |
- # stop it automatically including things |
237 |
- local bundled_libs="NONE" |
238 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
239 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
240 |
- fi |
241 |
- |
242 |
- local myconf=( |
243 |
- --enable-fhs |
244 |
- --sysconfdir="${EPREFIX}/etc" |
245 |
- --localstatedir="${EPREFIX}/var" |
246 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
247 |
- --with-piddir="${EPREFIX}/run/${PN}" |
248 |
- --bundled-libraries="${bundled_libs}" |
249 |
- --builtin-libraries=NONE |
250 |
- --disable-rpath |
251 |
- --disable-rpath-install |
252 |
- --nopyc |
253 |
- --nopyo |
254 |
- --without-winexe |
255 |
- $(multilib_native_use_with acl acl-support) |
256 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
257 |
- $(multilib_native_use_with addns dnsupdate) |
258 |
- $(multilib_native_use_with ads) |
259 |
- $(multilib_native_use_enable ceph cephfs) |
260 |
- $(multilib_native_use_with cluster cluster-support) |
261 |
- $(multilib_native_use_enable cups) |
262 |
- --without-dmapi |
263 |
- $(multilib_native_use_with fam) |
264 |
- $(multilib_native_use_enable glusterfs) |
265 |
- $(multilib_native_use_with gpg gpgme) |
266 |
- $(multilib_native_use_with json) |
267 |
- $(multilib_native_use_enable iprint) |
268 |
- $(multilib_native_use_with ntvfs ntvfs-fileserver) |
269 |
- $(multilib_native_use_with pam) |
270 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
271 |
- $(multilib_native_use_with quota quotas) |
272 |
- $(multilib_native_use_with regedit) |
273 |
- $(multilib_native_use_enable spotlight) |
274 |
- $(multilib_native_use_with syslog) |
275 |
- $(multilib_native_use_with systemd) |
276 |
- --systemd-install-services |
277 |
- --with-systemddir="$(systemd_get_systemunitdir)" |
278 |
- $(multilib_native_use_with winbind) |
279 |
- $(multilib_native_usex python '' '--disable-python') |
280 |
- $(multilib_native_use_enable zeroconf avahi) |
281 |
- $(multilib_native_usex test '--enable-selftest' '') |
282 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
283 |
- $(use_with debug lttng) |
284 |
- $(use_with ldap) |
285 |
- $(use_with profiling-data) |
286 |
- # bug #683148 |
287 |
- --jobs 1 |
288 |
- ) |
289 |
- |
290 |
- if multilib_is_native_abi ; then |
291 |
- myconf+=( --with-shared-modules=${SHAREDMODS} ) |
292 |
- else |
293 |
- myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) |
294 |
- fi |
295 |
- |
296 |
- CPPFLAGS="-I${ESYSROOT}/usr/include/et ${CPPFLAGS}" \ |
297 |
- waf-utils_src_configure ${myconf[@]} |
298 |
-} |
299 |
- |
300 |
-multilib_src_compile() { |
301 |
- waf-utils_src_compile |
302 |
-} |
303 |
- |
304 |
-multilib_src_install() { |
305 |
- waf-utils_src_install |
306 |
- |
307 |
- # Make all .so files executable |
308 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
309 |
- |
310 |
- if multilib_is_native_abi ; then |
311 |
- # install ldap schema for server (bug #491002) |
312 |
- if use ldap ; then |
313 |
- insinto /etc/openldap/schema |
314 |
- doins examples/LDAP/samba.schema |
315 |
- fi |
316 |
- |
317 |
- # create symlink for cups (bug #552310) |
318 |
- if use cups ; then |
319 |
- dosym ../../../bin/smbspool \ |
320 |
- /usr/libexec/cups/backend/smb |
321 |
- fi |
322 |
- |
323 |
- # install example config file |
324 |
- insinto /etc/samba |
325 |
- doins examples/smb.conf.default |
326 |
- |
327 |
- # Fix paths in example file (#603964) |
328 |
- sed \ |
329 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
330 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
331 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
332 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
333 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
334 |
- -i "${ED}"/etc/samba/smb.conf.default || die |
335 |
- |
336 |
- # Install init script and conf.d file |
337 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
338 |
- newconfd "${CONFDIR}/samba4.confd" samba |
339 |
- |
340 |
- dotmpfiles "${FILESDIR}"/samba.conf |
341 |
- if ! use addc ; then |
342 |
- rm "${D}/$(systemd_get_systemunitdir)/samba.service" \ |
343 |
- || die |
344 |
- fi |
345 |
- |
346 |
- # Preserve functionality for old gentoo-specific unit names |
347 |
- dosym nmb.service "$(systemd_get_systemunitdir)/nmbd.service" |
348 |
- dosym smb.service "$(systemd_get_systemunitdir)/smbd.service" |
349 |
- dosym winbind.service "$(systemd_get_systemunitdir)/winbindd.service" |
350 |
- fi |
351 |
- |
352 |
- if use pam && use winbind ; then |
353 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
354 |
- # bugs #376853 and #590374 |
355 |
- insinto /etc/security |
356 |
- doins examples/pam_winbind/pam_winbind.conf |
357 |
- fi |
358 |
- |
359 |
- keepdir /var/cache/samba |
360 |
- keepdir /var/lib/ctdb |
361 |
- keepdir /var/lib/samba/{bind-dns,private} |
362 |
- keepdir /var/lock/samba |
363 |
- keepdir /var/log/samba |
364 |
-} |
365 |
- |
366 |
-multilib_src_test() { |
367 |
- if multilib_is_native_abi ; then |
368 |
- "${WAF_BINARY}" test || die "test failed" |
369 |
- fi |
370 |
-} |
371 |
- |
372 |
-pkg_postinst() { |
373 |
- tmpfiles_process samba.conf |
374 |
- |
375 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
376 |
- elog "Be aware that this release contains the best of all of Samba's" |
377 |
- elog "technology parts, both a file server (that you can reasonably expect" |
378 |
- elog "to upgrade existing Samba 3.x releases to) and the AD domain" |
379 |
- elog "controller work previously known as 'samba4'." |
380 |
- elog |
381 |
- fi |
382 |
- elog "For further information and migration steps make sure to read " |
383 |
- elog "https://samba.org/samba/history/${P}.html " |
384 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
385 |
-} |
386 |
|
387 |
diff --git a/net-fs/samba/samba-4.15.4-r3.ebuild b/net-fs/samba/samba-4.15.4-r3.ebuild |
388 |
deleted file mode 100644 |
389 |
index 117c8a7ef117..000000000000 |
390 |
--- a/net-fs/samba/samba-4.15.4-r3.ebuild |
391 |
+++ /dev/null |
392 |
@@ -1,340 +0,0 @@ |
393 |
-# Copyright 1999-2022 Gentoo Authors |
394 |
-# Distributed under the terms of the GNU General Public License v2 |
395 |
- |
396 |
-EAPI=7 |
397 |
- |
398 |
-PYTHON_COMPAT=( python3_{8..10} ) |
399 |
-PYTHON_REQ_USE="threads(+),xml(+)" |
400 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam tmpfiles |
401 |
- |
402 |
-DESCRIPTION="Samba Suite Version 4" |
403 |
-HOMEPAGE="https://samba.org/" |
404 |
- |
405 |
-MY_PV="${PV/_rc/rc}" |
406 |
-MY_P="${PN}-${MY_PV}" |
407 |
-if [[ ${PV} = *_rc* ]]; then |
408 |
- SRC_URI="mirror://samba/rc/${MY_P}.tar.gz" |
409 |
-else |
410 |
- SRC_URI="mirror://samba/stable/${MY_P}.tar.gz" |
411 |
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" |
412 |
-fi |
413 |
-S="${WORKDIR}/${MY_P}" |
414 |
- |
415 |
-LICENSE="GPL-3" |
416 |
-SLOT="0" |
417 |
-IUSE="acl addc ads ceph client cluster cpu_flags_x86_aes cups debug fam |
418 |
-glusterfs gpg iprint json ldap pam profiling-data python quota +regedit selinux |
419 |
-snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test winbind |
420 |
-zeroconf" |
421 |
- |
422 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
423 |
- addc? ( python json winbind ) |
424 |
- ads? ( acl ldap python winbind ) |
425 |
- cluster? ( ads ) |
426 |
- gpg? ( addc ) |
427 |
- spotlight? ( json ) |
428 |
- test? ( python ) |
429 |
- !ads? ( !addc ) |
430 |
- ?? ( system-heimdal system-mitkrb5 ) |
431 |
-" |
432 |
- |
433 |
-# the test suite is messed, it uses system-installed samba |
434 |
-# bits instead of what was built, tests things disabled via use |
435 |
-# flags, and generally just fails to work in a way ebuilds could |
436 |
-# rely on in its current state |
437 |
-RESTRICT="test" |
438 |
- |
439 |
-MULTILIB_WRAPPED_HEADERS=( |
440 |
- /usr/include/samba-4.0/policy.h |
441 |
- /usr/include/samba-4.0/dcerpc_server.h |
442 |
- /usr/include/samba-4.0/ctdb.h |
443 |
- /usr/include/samba-4.0/ctdb_client.h |
444 |
- /usr/include/samba-4.0/ctdb_protocol.h |
445 |
- /usr/include/samba-4.0/ctdb_private.h |
446 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
447 |
- /usr/include/samba-4.0/ctdb_version.h |
448 |
-) |
449 |
- |
450 |
-COMMON_DEPEND=" |
451 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
452 |
- dev-lang/perl:= |
453 |
- dev-libs/icu:=[${MULTILIB_USEDEP}] |
454 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
455 |
- dev-libs/libtasn1[${MULTILIB_USEDEP}] |
456 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
457 |
- dev-perl/Parse-Yapp |
458 |
- >=net-libs/gnutls-3.4.7[${MULTILIB_USEDEP}] |
459 |
- >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] |
460 |
- >=sys-libs/ldb-2.4.1[ldap(+)?,${MULTILIB_USEDEP}] |
461 |
- <sys-libs/ldb-2.5.0[ldap(+)?,${MULTILIB_USEDEP}] |
462 |
- sys-libs/libcap[${MULTILIB_USEDEP}] |
463 |
- sys-libs/liburing:=[${MULTILIB_USEDEP}] |
464 |
- sys-libs/ncurses:0= |
465 |
- sys-libs/readline:0= |
466 |
- >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}] |
467 |
- >=sys-libs/tdb-1.4.4[${MULTILIB_USEDEP}] |
468 |
- >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}] |
469 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
470 |
- virtual/libcrypt:=[${MULTILIB_USEDEP}] |
471 |
- virtual/libiconv |
472 |
- $(python_gen_cond_dep " |
473 |
- addc? ( |
474 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
475 |
- dev-python/markdown[\${PYTHON_USEDEP}] |
476 |
- ) |
477 |
- ads? ( |
478 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
479 |
- net-dns/bind-tools[gssapi] |
480 |
- ) |
481 |
- ") |
482 |
- !alpha? ( !sparc? ( sys-libs/libunwind:= ) ) |
483 |
- acl? ( virtual/acl ) |
484 |
- ceph? ( sys-cluster/ceph ) |
485 |
- cluster? ( net-libs/rpcsvc-proto ) |
486 |
- cups? ( net-print/cups ) |
487 |
- debug? ( dev-util/lttng-ust ) |
488 |
- fam? ( virtual/fam ) |
489 |
- gpg? ( app-crypt/gpgme:= ) |
490 |
- json? ( dev-libs/jansson:= ) |
491 |
- ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) |
492 |
- pam? ( sys-libs/pam ) |
493 |
- python? ( |
494 |
- sys-libs/ldb[python,${PYTHON_SINGLE_USEDEP}] |
495 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
496 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
497 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
498 |
- ) |
499 |
- snapper? ( sys-apps/dbus ) |
500 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
501 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.19[${MULTILIB_USEDEP}] ) |
502 |
- systemd? ( sys-apps/systemd:0= ) |
503 |
- zeroconf? ( net-dns/avahi[dbus] ) |
504 |
-" |
505 |
-DEPEND="${COMMON_DEPEND} |
506 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
507 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
508 |
- || ( |
509 |
- net-libs/rpcsvc-proto |
510 |
- <sys-libs/glibc-2.26[rpc(+)] |
511 |
- ) |
512 |
- spotlight? ( dev-libs/glib ) |
513 |
- test? ( |
514 |
- $(python_gen_cond_dep "dev-python/subunit[\${PYTHON_USEDEP},${MULTILIB_USEDEP}]" ) |
515 |
- !system-mitkrb5? ( |
516 |
- >=net-dns/resolv_wrapper-1.1.4 |
517 |
- >=net-libs/socket_wrapper-1.1.9 |
518 |
- >=sys-libs/nss_wrapper-1.1.3 |
519 |
- >=sys-libs/uid_wrapper-1.2.1 |
520 |
- ) |
521 |
- )" |
522 |
-RDEPEND="${COMMON_DEPEND} |
523 |
- client? ( net-fs/cifs-utils[ads?] ) |
524 |
- python? ( ${PYTHON_DEPS} ) |
525 |
- selinux? ( sec-policy/selinux-samba ) |
526 |
-" |
527 |
-BDEPEND="${PYTHON_DEPS} |
528 |
- app-text/docbook-xsl-stylesheets |
529 |
- dev-libs/libxslt |
530 |
- virtual/pkgconfig |
531 |
-" |
532 |
- |
533 |
-PATCHES=( |
534 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
535 |
-) |
536 |
- |
537 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
538 |
-CONFDIR="${FILESDIR}/4.4" |
539 |
- |
540 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
541 |
- |
542 |
-SHAREDMODS="" |
543 |
- |
544 |
-pkg_setup() { |
545 |
- # Package fails to build with distcc |
546 |
- export DISTCC_DISABLE=1 |
547 |
- |
548 |
- python-single-r1_pkg_setup |
549 |
- |
550 |
- SHAREDMODS="$(usex snapper '' '!')vfs_snapper" |
551 |
- if use cluster ; then |
552 |
- SHAREDMODS+=",idmap_rid,idmap_tdb2,idmap_ad" |
553 |
- elif use ads ; then |
554 |
- SHAREDMODS+=",idmap_ad" |
555 |
- fi |
556 |
-} |
557 |
- |
558 |
-src_prepare() { |
559 |
- default |
560 |
- |
561 |
- # un-bundle dnspython |
562 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
563 |
- |
564 |
- # unbundle iso8601 unless tests are enabled |
565 |
- if ! use test ; then |
566 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
567 |
- fi |
568 |
- |
569 |
- ## ugly hackaround for bug #592502 |
570 |
- #cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
571 |
- |
572 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
573 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
574 |
- || die |
575 |
- |
576 |
- # Friggin' WAF shit |
577 |
- multilib_copy_sources |
578 |
-} |
579 |
- |
580 |
-multilib_src_configure() { |
581 |
- # when specifying libs for samba build you must append NONE to the end to |
582 |
- # stop it automatically including things |
583 |
- local bundled_libs="NONE" |
584 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
585 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
586 |
- fi |
587 |
- |
588 |
- local myconf=( |
589 |
- --enable-fhs |
590 |
- --sysconfdir="${EPREFIX}/etc" |
591 |
- --localstatedir="${EPREFIX}/var" |
592 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
593 |
- --with-piddir="${EPREFIX}/run/${PN}" |
594 |
- --bundled-libraries="${bundled_libs}" |
595 |
- --builtin-libraries=NONE |
596 |
- --disable-rpath |
597 |
- --disable-rpath-install |
598 |
- --nopyc |
599 |
- --nopyo |
600 |
- --without-winexe |
601 |
- --accel-aes=$(usex cpu_flags_x86_aes intelaesni none) |
602 |
- $(multilib_native_use_with acl acl-support) |
603 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
604 |
- $(multilib_native_use_with ads) |
605 |
- $(multilib_native_use_enable ceph cephfs) |
606 |
- $(multilib_native_use_with cluster cluster-support) |
607 |
- $(multilib_native_use_enable cups) |
608 |
- --without-dmapi |
609 |
- $(multilib_native_use_with fam) |
610 |
- $(multilib_native_use_enable glusterfs) |
611 |
- $(multilib_native_use_with gpg gpgme) |
612 |
- $(multilib_native_use_with json) |
613 |
- $(multilib_native_use_enable iprint) |
614 |
- $(multilib_native_use_with pam) |
615 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
616 |
- $(multilib_native_use_with quota quotas) |
617 |
- $(multilib_native_use_with regedit) |
618 |
- $(multilib_native_use_enable spotlight) |
619 |
- $(multilib_native_use_with syslog) |
620 |
- $(multilib_native_use_with systemd) |
621 |
- --systemd-install-services |
622 |
- --with-systemddir="$(systemd_get_systemunitdir)" |
623 |
- $(multilib_native_use_with winbind) |
624 |
- $(multilib_native_usex python '' '--disable-python') |
625 |
- $(multilib_native_use_enable zeroconf avahi) |
626 |
- $(multilib_native_usex test '--enable-selftest' '') |
627 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
628 |
- $(use_with debug lttng) |
629 |
- $(use_with ldap) |
630 |
- $(use_with profiling-data) |
631 |
- # bug #683148 |
632 |
- --jobs 1 |
633 |
- ) |
634 |
- |
635 |
- if multilib_is_native_abi ; then |
636 |
- myconf+=( --with-shared-modules=${SHAREDMODS} ) |
637 |
- else |
638 |
- myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) |
639 |
- fi |
640 |
- |
641 |
- CPPFLAGS="-I${ESYSROOT}/usr/include/et ${CPPFLAGS}" \ |
642 |
- waf-utils_src_configure ${myconf[@]} |
643 |
-} |
644 |
- |
645 |
-multilib_src_compile() { |
646 |
- waf-utils_src_compile |
647 |
-} |
648 |
- |
649 |
-multilib_src_install() { |
650 |
- waf-utils_src_install |
651 |
- |
652 |
- # Make all .so files executable |
653 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
654 |
- |
655 |
- if multilib_is_native_abi ; then |
656 |
- # install ldap schema for server (bug #491002) |
657 |
- if use ldap ; then |
658 |
- insinto /etc/openldap/schema |
659 |
- doins examples/LDAP/samba.schema |
660 |
- fi |
661 |
- |
662 |
- # create symlink for cups (bug #552310) |
663 |
- if use cups ; then |
664 |
- dosym ../../../bin/smbspool \ |
665 |
- /usr/libexec/cups/backend/smb |
666 |
- fi |
667 |
- |
668 |
- # install example config file |
669 |
- insinto /etc/samba |
670 |
- doins examples/smb.conf.default |
671 |
- |
672 |
- # Fix paths in example file (#603964) |
673 |
- sed \ |
674 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
675 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
676 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
677 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
678 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
679 |
- -i "${ED}"/etc/samba/smb.conf.default || die |
680 |
- |
681 |
- # Install init script and conf.d file |
682 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
683 |
- newconfd "${CONFDIR}/samba4.confd" samba |
684 |
- |
685 |
- dotmpfiles "${FILESDIR}"/samba.conf |
686 |
- if ! use addc ; then |
687 |
- rm "${D}/$(systemd_get_systemunitdir)/samba.service" \ |
688 |
- || die |
689 |
- fi |
690 |
- |
691 |
- # Preserve functionality for old gentoo-specific unit names |
692 |
- dosym nmb.service "$(systemd_get_systemunitdir)/nmbd.service" |
693 |
- dosym smb.service "$(systemd_get_systemunitdir)/smbd.service" |
694 |
- dosym winbind.service "$(systemd_get_systemunitdir)/winbindd.service" |
695 |
- fi |
696 |
- |
697 |
- if use pam && use winbind ; then |
698 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
699 |
- # bugs #376853 and #590374 |
700 |
- insinto /etc/security |
701 |
- doins examples/pam_winbind/pam_winbind.conf |
702 |
- fi |
703 |
- |
704 |
- keepdir /var/cache/samba |
705 |
- keepdir /var/lib/ctdb |
706 |
- keepdir /var/lib/samba/{bind-dns,private} |
707 |
- keepdir /var/lock/samba |
708 |
- keepdir /var/log/samba |
709 |
-} |
710 |
- |
711 |
-multilib_src_test() { |
712 |
- if multilib_is_native_abi ; then |
713 |
- "${WAF_BINARY}" test || die "test failed" |
714 |
- fi |
715 |
-} |
716 |
- |
717 |
-pkg_postinst() { |
718 |
- tmpfiles_process samba.conf |
719 |
- |
720 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
721 |
- elog "Be aware that this release contains the best of all of Samba's" |
722 |
- elog "technology parts, both a file server (that you can reasonably expect" |
723 |
- elog "to upgrade existing Samba 3.x releases to) and the AD domain" |
724 |
- elog "controller work previously known as 'samba4'." |
725 |
- elog |
726 |
- fi |
727 |
- if [[ "${PV}" != *_rc* ]] ; then |
728 |
- elog "For further information and migration steps make sure to read " |
729 |
- elog "https://samba.org/samba/history/${P}.html " |
730 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
731 |
- fi |
732 |
-} |
733 |
|
734 |
diff --git a/net-fs/samba/samba-4.15.6-r1.ebuild b/net-fs/samba/samba-4.15.6-r1.ebuild |
735 |
deleted file mode 100644 |
736 |
index aa3c460800e1..000000000000 |
737 |
--- a/net-fs/samba/samba-4.15.6-r1.ebuild |
738 |
+++ /dev/null |
739 |
@@ -1,340 +0,0 @@ |
740 |
-# Copyright 1999-2022 Gentoo Authors |
741 |
-# Distributed under the terms of the GNU General Public License v2 |
742 |
- |
743 |
-EAPI=7 |
744 |
- |
745 |
-PYTHON_COMPAT=( python3_{8..10} ) |
746 |
-PYTHON_REQ_USE="threads(+),xml(+)" |
747 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam tmpfiles |
748 |
- |
749 |
-DESCRIPTION="Samba Suite Version 4" |
750 |
-HOMEPAGE="https://samba.org/" |
751 |
- |
752 |
-MY_PV="${PV/_rc/rc}" |
753 |
-MY_P="${PN}-${MY_PV}" |
754 |
-if [[ ${PV} = *_rc* ]]; then |
755 |
- SRC_URI="mirror://samba/rc/${MY_P}.tar.gz" |
756 |
-else |
757 |
- SRC_URI="mirror://samba/stable/${MY_P}.tar.gz" |
758 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
759 |
-fi |
760 |
-S="${WORKDIR}/${MY_P}" |
761 |
- |
762 |
-LICENSE="GPL-3" |
763 |
-SLOT="0" |
764 |
-IUSE="acl addc ads ceph client cluster cpu_flags_x86_aes cups debug fam |
765 |
-glusterfs gpg iprint json ldap pam profiling-data python quota +regedit selinux |
766 |
-snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test winbind |
767 |
-zeroconf" |
768 |
- |
769 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
770 |
- addc? ( python json winbind ) |
771 |
- ads? ( acl ldap python winbind ) |
772 |
- cluster? ( ads ) |
773 |
- gpg? ( addc ) |
774 |
- spotlight? ( json ) |
775 |
- test? ( python ) |
776 |
- !ads? ( !addc ) |
777 |
- ?? ( system-heimdal system-mitkrb5 ) |
778 |
-" |
779 |
- |
780 |
-# the test suite is messed, it uses system-installed samba |
781 |
-# bits instead of what was built, tests things disabled via use |
782 |
-# flags, and generally just fails to work in a way ebuilds could |
783 |
-# rely on in its current state |
784 |
-RESTRICT="test" |
785 |
- |
786 |
-MULTILIB_WRAPPED_HEADERS=( |
787 |
- /usr/include/samba-4.0/policy.h |
788 |
- /usr/include/samba-4.0/dcerpc_server.h |
789 |
- /usr/include/samba-4.0/ctdb.h |
790 |
- /usr/include/samba-4.0/ctdb_client.h |
791 |
- /usr/include/samba-4.0/ctdb_protocol.h |
792 |
- /usr/include/samba-4.0/ctdb_private.h |
793 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
794 |
- /usr/include/samba-4.0/ctdb_version.h |
795 |
-) |
796 |
- |
797 |
-COMMON_DEPEND=" |
798 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
799 |
- dev-lang/perl:= |
800 |
- dev-libs/icu:=[${MULTILIB_USEDEP}] |
801 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
802 |
- dev-libs/libtasn1[${MULTILIB_USEDEP}] |
803 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
804 |
- dev-perl/Parse-Yapp |
805 |
- >=net-libs/gnutls-3.4.7[${MULTILIB_USEDEP}] |
806 |
- >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] |
807 |
- >=sys-libs/ldb-2.4.2[ldap(+)?,${MULTILIB_USEDEP}] |
808 |
- <sys-libs/ldb-2.5.0[ldap(+)?,${MULTILIB_USEDEP}] |
809 |
- sys-libs/libcap[${MULTILIB_USEDEP}] |
810 |
- sys-libs/liburing:=[${MULTILIB_USEDEP}] |
811 |
- sys-libs/ncurses:0= |
812 |
- sys-libs/readline:0= |
813 |
- >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}] |
814 |
- >=sys-libs/tdb-1.4.4[${MULTILIB_USEDEP}] |
815 |
- >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}] |
816 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
817 |
- virtual/libcrypt:=[${MULTILIB_USEDEP}] |
818 |
- virtual/libiconv |
819 |
- $(python_gen_cond_dep " |
820 |
- addc? ( |
821 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
822 |
- dev-python/markdown[\${PYTHON_USEDEP}] |
823 |
- ) |
824 |
- ads? ( |
825 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
826 |
- net-dns/bind-tools[gssapi] |
827 |
- ) |
828 |
- ") |
829 |
- !alpha? ( !sparc? ( sys-libs/libunwind:= ) ) |
830 |
- acl? ( virtual/acl ) |
831 |
- ceph? ( sys-cluster/ceph ) |
832 |
- cluster? ( net-libs/rpcsvc-proto ) |
833 |
- cups? ( net-print/cups ) |
834 |
- debug? ( dev-util/lttng-ust ) |
835 |
- fam? ( virtual/fam ) |
836 |
- gpg? ( app-crypt/gpgme:= ) |
837 |
- json? ( dev-libs/jansson:= ) |
838 |
- ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) |
839 |
- pam? ( sys-libs/pam ) |
840 |
- python? ( |
841 |
- sys-libs/ldb[python,${PYTHON_SINGLE_USEDEP}] |
842 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
843 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
844 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
845 |
- ) |
846 |
- snapper? ( sys-apps/dbus ) |
847 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
848 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.19[${MULTILIB_USEDEP}] ) |
849 |
- systemd? ( sys-apps/systemd:0= ) |
850 |
- zeroconf? ( net-dns/avahi[dbus] ) |
851 |
-" |
852 |
-DEPEND="${COMMON_DEPEND} |
853 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
854 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
855 |
- || ( |
856 |
- net-libs/rpcsvc-proto |
857 |
- <sys-libs/glibc-2.26[rpc(+)] |
858 |
- ) |
859 |
- spotlight? ( dev-libs/glib ) |
860 |
- test? ( |
861 |
- $(python_gen_cond_dep "dev-python/subunit[\${PYTHON_USEDEP},${MULTILIB_USEDEP}]" ) |
862 |
- !system-mitkrb5? ( |
863 |
- >=net-dns/resolv_wrapper-1.1.4 |
864 |
- >=net-libs/socket_wrapper-1.1.9 |
865 |
- >=sys-libs/nss_wrapper-1.1.3 |
866 |
- >=sys-libs/uid_wrapper-1.2.1 |
867 |
- ) |
868 |
- )" |
869 |
-RDEPEND="${COMMON_DEPEND} |
870 |
- client? ( net-fs/cifs-utils[ads?] ) |
871 |
- python? ( ${PYTHON_DEPS} ) |
872 |
- selinux? ( sec-policy/selinux-samba ) |
873 |
-" |
874 |
-BDEPEND="${PYTHON_DEPS} |
875 |
- app-text/docbook-xsl-stylesheets |
876 |
- dev-libs/libxslt |
877 |
- virtual/pkgconfig |
878 |
-" |
879 |
- |
880 |
-PATCHES=( |
881 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
882 |
-) |
883 |
- |
884 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
885 |
-CONFDIR="${FILESDIR}/4.4" |
886 |
- |
887 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
888 |
- |
889 |
-SHAREDMODS="" |
890 |
- |
891 |
-pkg_setup() { |
892 |
- # Package fails to build with distcc |
893 |
- export DISTCC_DISABLE=1 |
894 |
- |
895 |
- python-single-r1_pkg_setup |
896 |
- |
897 |
- SHAREDMODS="$(usex snapper '' '!')vfs_snapper" |
898 |
- if use cluster ; then |
899 |
- SHAREDMODS+=",idmap_rid,idmap_tdb2,idmap_ad" |
900 |
- elif use ads ; then |
901 |
- SHAREDMODS+=",idmap_ad" |
902 |
- fi |
903 |
-} |
904 |
- |
905 |
-src_prepare() { |
906 |
- default |
907 |
- |
908 |
- # un-bundle dnspython |
909 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
910 |
- |
911 |
- # unbundle iso8601 unless tests are enabled |
912 |
- if ! use test ; then |
913 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
914 |
- fi |
915 |
- |
916 |
- ## ugly hackaround for bug #592502 |
917 |
- #cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
918 |
- |
919 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
920 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
921 |
- || die |
922 |
- |
923 |
- # Friggin' WAF shit |
924 |
- multilib_copy_sources |
925 |
-} |
926 |
- |
927 |
-multilib_src_configure() { |
928 |
- # when specifying libs for samba build you must append NONE to the end to |
929 |
- # stop it automatically including things |
930 |
- local bundled_libs="NONE" |
931 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
932 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
933 |
- fi |
934 |
- |
935 |
- local myconf=( |
936 |
- --enable-fhs |
937 |
- --sysconfdir="${EPREFIX}/etc" |
938 |
- --localstatedir="${EPREFIX}/var" |
939 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
940 |
- --with-piddir="${EPREFIX}/run/${PN}" |
941 |
- --bundled-libraries="${bundled_libs}" |
942 |
- --builtin-libraries=NONE |
943 |
- --disable-rpath |
944 |
- --disable-rpath-install |
945 |
- --nopyc |
946 |
- --nopyo |
947 |
- --without-winexe |
948 |
- --accel-aes=$(usex cpu_flags_x86_aes intelaesni none) |
949 |
- $(multilib_native_use_with acl acl-support) |
950 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
951 |
- $(multilib_native_use_with ads) |
952 |
- $(multilib_native_use_enable ceph cephfs) |
953 |
- $(multilib_native_use_with cluster cluster-support) |
954 |
- $(multilib_native_use_enable cups) |
955 |
- --without-dmapi |
956 |
- $(multilib_native_use_with fam) |
957 |
- $(multilib_native_use_enable glusterfs) |
958 |
- $(multilib_native_use_with gpg gpgme) |
959 |
- $(multilib_native_use_with json) |
960 |
- $(multilib_native_use_enable iprint) |
961 |
- $(multilib_native_use_with pam) |
962 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
963 |
- $(multilib_native_use_with quota quotas) |
964 |
- $(multilib_native_use_with regedit) |
965 |
- $(multilib_native_use_enable spotlight) |
966 |
- $(multilib_native_use_with syslog) |
967 |
- $(multilib_native_use_with systemd) |
968 |
- --systemd-install-services |
969 |
- --with-systemddir="$(systemd_get_systemunitdir)" |
970 |
- $(multilib_native_use_with winbind) |
971 |
- $(multilib_native_usex python '' '--disable-python') |
972 |
- $(multilib_native_use_enable zeroconf avahi) |
973 |
- $(multilib_native_usex test '--enable-selftest' '') |
974 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
975 |
- $(use_with debug lttng) |
976 |
- $(use_with ldap) |
977 |
- $(use_with profiling-data) |
978 |
- # bug #683148 |
979 |
- --jobs 1 |
980 |
- ) |
981 |
- |
982 |
- if multilib_is_native_abi ; then |
983 |
- myconf+=( --with-shared-modules=${SHAREDMODS} ) |
984 |
- else |
985 |
- myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) |
986 |
- fi |
987 |
- |
988 |
- PYTHONHASHSEED=1 CPPFLAGS="-I${ESYSROOT}/usr/include/et ${CPPFLAGS}" \ |
989 |
- waf-utils_src_configure ${myconf[@]} |
990 |
-} |
991 |
- |
992 |
-multilib_src_compile() { |
993 |
- PYTHONHASHSEED=1 waf-utils_src_compile |
994 |
-} |
995 |
- |
996 |
-multilib_src_install() { |
997 |
- PYTHONHASHSEED=1 waf-utils_src_install |
998 |
- |
999 |
- # Make all .so files executable |
1000 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
1001 |
- |
1002 |
- if multilib_is_native_abi ; then |
1003 |
- # install ldap schema for server (bug #491002) |
1004 |
- if use ldap ; then |
1005 |
- insinto /etc/openldap/schema |
1006 |
- doins examples/LDAP/samba.schema |
1007 |
- fi |
1008 |
- |
1009 |
- # create symlink for cups (bug #552310) |
1010 |
- if use cups ; then |
1011 |
- dosym ../../../bin/smbspool \ |
1012 |
- /usr/libexec/cups/backend/smb |
1013 |
- fi |
1014 |
- |
1015 |
- # install example config file |
1016 |
- insinto /etc/samba |
1017 |
- doins examples/smb.conf.default |
1018 |
- |
1019 |
- # Fix paths in example file (#603964) |
1020 |
- sed \ |
1021 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
1022 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
1023 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
1024 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
1025 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
1026 |
- -i "${ED}"/etc/samba/smb.conf.default || die |
1027 |
- |
1028 |
- # Install init script and conf.d file |
1029 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
1030 |
- newconfd "${CONFDIR}/samba4.confd" samba |
1031 |
- |
1032 |
- dotmpfiles "${FILESDIR}"/samba.conf |
1033 |
- if ! use addc ; then |
1034 |
- rm "${D}/$(systemd_get_systemunitdir)/samba.service" \ |
1035 |
- || die |
1036 |
- fi |
1037 |
- |
1038 |
- # Preserve functionality for old gentoo-specific unit names |
1039 |
- dosym nmb.service "$(systemd_get_systemunitdir)/nmbd.service" |
1040 |
- dosym smb.service "$(systemd_get_systemunitdir)/smbd.service" |
1041 |
- dosym winbind.service "$(systemd_get_systemunitdir)/winbindd.service" |
1042 |
- fi |
1043 |
- |
1044 |
- if use pam && use winbind ; then |
1045 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
1046 |
- # bugs #376853 and #590374 |
1047 |
- insinto /etc/security |
1048 |
- doins examples/pam_winbind/pam_winbind.conf |
1049 |
- fi |
1050 |
- |
1051 |
- keepdir /var/cache/samba |
1052 |
- keepdir /var/lib/ctdb |
1053 |
- keepdir /var/lib/samba/{bind-dns,private} |
1054 |
- keepdir /var/lock/samba |
1055 |
- keepdir /var/log/samba |
1056 |
-} |
1057 |
- |
1058 |
-multilib_src_test() { |
1059 |
- if multilib_is_native_abi ; then |
1060 |
- "${WAF_BINARY}" test || die "test failed" |
1061 |
- fi |
1062 |
-} |
1063 |
- |
1064 |
-pkg_postinst() { |
1065 |
- tmpfiles_process samba.conf |
1066 |
- |
1067 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
1068 |
- elog "Be aware that this release contains the best of all of Samba's" |
1069 |
- elog "technology parts, both a file server (that you can reasonably expect" |
1070 |
- elog "to upgrade existing Samba 3.x releases to) and the AD domain" |
1071 |
- elog "controller work previously known as 'samba4'." |
1072 |
- elog |
1073 |
- fi |
1074 |
- if [[ "${PV}" != *_rc* ]] ; then |
1075 |
- elog "For further information and migration steps make sure to read " |
1076 |
- elog "https://samba.org/samba/history/${P}.html " |
1077 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
1078 |
- fi |
1079 |
-} |
1080 |
|
1081 |
diff --git a/net-fs/samba/samba-4.16.0-r2.ebuild b/net-fs/samba/samba-4.16.0-r2.ebuild |
1082 |
deleted file mode 100644 |
1083 |
index 5e93ab77f6a8..000000000000 |
1084 |
--- a/net-fs/samba/samba-4.16.0-r2.ebuild |
1085 |
+++ /dev/null |
1086 |
@@ -1,346 +0,0 @@ |
1087 |
-# Copyright 1999-2022 Gentoo Authors |
1088 |
-# Distributed under the terms of the GNU General Public License v2 |
1089 |
- |
1090 |
-EAPI=7 |
1091 |
- |
1092 |
-PYTHON_COMPAT=( python3_{8..10} ) |
1093 |
-PYTHON_REQ_USE="threads(+),xml(+)" |
1094 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam tmpfiles |
1095 |
- |
1096 |
-DESCRIPTION="Samba Suite Version 4" |
1097 |
-HOMEPAGE="https://samba.org/" |
1098 |
- |
1099 |
-MY_PV="${PV/_rc/rc}" |
1100 |
-MY_P="${PN}-${MY_PV}" |
1101 |
-if [[ ${PV} = *_rc* ]]; then |
1102 |
- SRC_URI="mirror://samba/rc/${MY_P}.tar.gz" |
1103 |
-else |
1104 |
- SRC_URI="mirror://samba/stable/${MY_P}.tar.gz" |
1105 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
1106 |
-fi |
1107 |
-S="${WORKDIR}/${MY_P}" |
1108 |
- |
1109 |
-LICENSE="GPL-3" |
1110 |
-SLOT="0" |
1111 |
-IUSE="acl addc ads ceph client cluster cpu_flags_x86_aes cups debug fam |
1112 |
-glusterfs gpg iprint json ldap llvm-libunwind pam profiling-data python quota +regedit selinux |
1113 |
-snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test unwind winbind |
1114 |
-zeroconf" |
1115 |
- |
1116 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
1117 |
- addc? ( python json winbind ) |
1118 |
- ads? ( acl ldap python winbind ) |
1119 |
- cluster? ( ads ) |
1120 |
- gpg? ( addc ) |
1121 |
- spotlight? ( json ) |
1122 |
- test? ( python ) |
1123 |
- !ads? ( !addc ) |
1124 |
- ?? ( system-heimdal system-mitkrb5 ) |
1125 |
-" |
1126 |
- |
1127 |
-# the test suite is messed, it uses system-installed samba |
1128 |
-# bits instead of what was built, tests things disabled via use |
1129 |
-# flags, and generally just fails to work in a way ebuilds could |
1130 |
-# rely on in its current state |
1131 |
-RESTRICT="test" |
1132 |
- |
1133 |
-MULTILIB_WRAPPED_HEADERS=( |
1134 |
- /usr/include/samba-4.0/policy.h |
1135 |
- /usr/include/samba-4.0/dcerpc_server.h |
1136 |
- /usr/include/samba-4.0/ctdb.h |
1137 |
- /usr/include/samba-4.0/ctdb_client.h |
1138 |
- /usr/include/samba-4.0/ctdb_protocol.h |
1139 |
- /usr/include/samba-4.0/ctdb_private.h |
1140 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
1141 |
- /usr/include/samba-4.0/ctdb_version.h |
1142 |
-) |
1143 |
- |
1144 |
-COMMON_DEPEND=" |
1145 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
1146 |
- dev-lang/perl:= |
1147 |
- dev-libs/icu:=[${MULTILIB_USEDEP}] |
1148 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
1149 |
- dev-libs/libtasn1[${MULTILIB_USEDEP}] |
1150 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
1151 |
- dev-perl/Parse-Yapp |
1152 |
- >=net-libs/gnutls-3.4.7[${MULTILIB_USEDEP}] |
1153 |
- >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] |
1154 |
- >=sys-libs/ldb-2.5.0[ldap(+)?,${MULTILIB_USEDEP}] |
1155 |
- <sys-libs/ldb-2.6.0[ldap(+)?,${MULTILIB_USEDEP}] |
1156 |
- sys-libs/libcap[${MULTILIB_USEDEP}] |
1157 |
- sys-libs/liburing:=[${MULTILIB_USEDEP}] |
1158 |
- sys-libs/ncurses:0= |
1159 |
- sys-libs/readline:0= |
1160 |
- >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}] |
1161 |
- >=sys-libs/tdb-1.4.6[${MULTILIB_USEDEP}] |
1162 |
- >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}] |
1163 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
1164 |
- virtual/libcrypt:=[${MULTILIB_USEDEP}] |
1165 |
- virtual/libiconv |
1166 |
- $(python_gen_cond_dep " |
1167 |
- addc? ( |
1168 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
1169 |
- dev-python/markdown[\${PYTHON_USEDEP}] |
1170 |
- ) |
1171 |
- ads? ( |
1172 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
1173 |
- net-dns/bind-tools[gssapi] |
1174 |
- ) |
1175 |
- ") |
1176 |
- acl? ( virtual/acl ) |
1177 |
- ceph? ( sys-cluster/ceph ) |
1178 |
- cluster? ( net-libs/rpcsvc-proto ) |
1179 |
- cups? ( net-print/cups ) |
1180 |
- debug? ( dev-util/lttng-ust ) |
1181 |
- fam? ( virtual/fam ) |
1182 |
- gpg? ( app-crypt/gpgme:= ) |
1183 |
- json? ( dev-libs/jansson:= ) |
1184 |
- ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) |
1185 |
- pam? ( sys-libs/pam ) |
1186 |
- python? ( |
1187 |
- sys-libs/ldb[python,${PYTHON_SINGLE_USEDEP}] |
1188 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
1189 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
1190 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
1191 |
- ) |
1192 |
- snapper? ( sys-apps/dbus ) |
1193 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
1194 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.19[${MULTILIB_USEDEP}] ) |
1195 |
- systemd? ( sys-apps/systemd:0= ) |
1196 |
- unwind? ( |
1197 |
- llvm-libunwind? ( sys-libs/llvm-libunwind:= ) |
1198 |
- !llvm-libunwind? ( sys-libs/libunwind:= ) |
1199 |
- ) |
1200 |
- zeroconf? ( net-dns/avahi[dbus] ) |
1201 |
-" |
1202 |
-DEPEND="${COMMON_DEPEND} |
1203 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
1204 |
- dev-perl/JSON |
1205 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
1206 |
- || ( |
1207 |
- net-libs/rpcsvc-proto |
1208 |
- <sys-libs/glibc-2.26[rpc(+)] |
1209 |
- ) |
1210 |
- spotlight? ( dev-libs/glib ) |
1211 |
- test? ( |
1212 |
- $(python_gen_cond_dep "dev-python/subunit[\${PYTHON_USEDEP},${MULTILIB_USEDEP}]" ) |
1213 |
- !system-mitkrb5? ( |
1214 |
- >=net-dns/resolv_wrapper-1.1.4 |
1215 |
- >=net-libs/socket_wrapper-1.1.9 |
1216 |
- >=sys-libs/nss_wrapper-1.1.3 |
1217 |
- >=sys-libs/uid_wrapper-1.2.1 |
1218 |
- ) |
1219 |
- )" |
1220 |
-RDEPEND="${COMMON_DEPEND} |
1221 |
- client? ( net-fs/cifs-utils[ads?] ) |
1222 |
- python? ( ${PYTHON_DEPS} ) |
1223 |
- selinux? ( sec-policy/selinux-samba ) |
1224 |
-" |
1225 |
-BDEPEND="${PYTHON_DEPS} |
1226 |
- app-text/docbook-xsl-stylesheets |
1227 |
- dev-libs/libxslt |
1228 |
- virtual/pkgconfig |
1229 |
-" |
1230 |
- |
1231 |
-PATCHES=( |
1232 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
1233 |
- "${FILESDIR}/${PN}-4.15.9-libunwind-automagic.patch" |
1234 |
-) |
1235 |
- |
1236 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
1237 |
-CONFDIR="${FILESDIR}/4.4" |
1238 |
- |
1239 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
1240 |
- |
1241 |
-SHAREDMODS="" |
1242 |
- |
1243 |
-pkg_setup() { |
1244 |
- # Package fails to build with distcc |
1245 |
- export DISTCC_DISABLE=1 |
1246 |
- |
1247 |
- python-single-r1_pkg_setup |
1248 |
- |
1249 |
- SHAREDMODS="$(usex snapper '' '!')vfs_snapper" |
1250 |
- if use cluster ; then |
1251 |
- SHAREDMODS+=",idmap_rid,idmap_tdb2,idmap_ad" |
1252 |
- elif use ads ; then |
1253 |
- SHAREDMODS+=",idmap_ad" |
1254 |
- fi |
1255 |
-} |
1256 |
- |
1257 |
-src_prepare() { |
1258 |
- default |
1259 |
- |
1260 |
- # un-bundle dnspython |
1261 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
1262 |
- |
1263 |
- # unbundle iso8601 unless tests are enabled |
1264 |
- if ! use test ; then |
1265 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
1266 |
- fi |
1267 |
- |
1268 |
- ## ugly hackaround for bug #592502 |
1269 |
- #cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
1270 |
- |
1271 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
1272 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
1273 |
- || die |
1274 |
- |
1275 |
- # Friggin' WAF shit |
1276 |
- multilib_copy_sources |
1277 |
-} |
1278 |
- |
1279 |
-multilib_src_configure() { |
1280 |
- # when specifying libs for samba build you must append NONE to the end to |
1281 |
- # stop it automatically including things |
1282 |
- local bundled_libs="NONE" |
1283 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
1284 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
1285 |
- fi |
1286 |
- |
1287 |
- local myconf=( |
1288 |
- --enable-fhs |
1289 |
- --sysconfdir="${EPREFIX}/etc" |
1290 |
- --localstatedir="${EPREFIX}/var" |
1291 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
1292 |
- --with-piddir="${EPREFIX}/run/${PN}" |
1293 |
- --bundled-libraries="${bundled_libs}" |
1294 |
- --builtin-libraries=NONE |
1295 |
- --disable-rpath |
1296 |
- --disable-rpath-install |
1297 |
- --nopyc |
1298 |
- --nopyo |
1299 |
- --without-winexe |
1300 |
- --accel-aes=$(usex cpu_flags_x86_aes intelaesni none) |
1301 |
- $(multilib_native_use_with acl acl-support) |
1302 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
1303 |
- $(multilib_native_use_with ads) |
1304 |
- $(multilib_native_use_enable ceph cephfs) |
1305 |
- $(multilib_native_use_with cluster cluster-support) |
1306 |
- $(multilib_native_use_enable cups) |
1307 |
- --without-dmapi |
1308 |
- $(multilib_native_use_with fam) |
1309 |
- $(multilib_native_use_enable glusterfs) |
1310 |
- $(multilib_native_use_with gpg gpgme) |
1311 |
- $(multilib_native_use_with json) |
1312 |
- $(multilib_native_use_enable iprint) |
1313 |
- $(multilib_native_use_with pam) |
1314 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
1315 |
- $(multilib_native_use_with quota quotas) |
1316 |
- $(multilib_native_use_with regedit) |
1317 |
- $(multilib_native_use_enable spotlight) |
1318 |
- $(multilib_native_use_with syslog) |
1319 |
- $(multilib_native_use_with systemd) |
1320 |
- --systemd-install-services |
1321 |
- --with-systemddir="$(systemd_get_systemunitdir)" |
1322 |
- $(multilib_native_use_with unwind libunwind) |
1323 |
- $(multilib_native_use_with winbind) |
1324 |
- $(multilib_native_usex python '' '--disable-python') |
1325 |
- $(multilib_native_use_enable zeroconf avahi) |
1326 |
- $(multilib_native_usex test '--enable-selftest' '') |
1327 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
1328 |
- $(use_with debug lttng) |
1329 |
- $(use_with ldap) |
1330 |
- $(use_with profiling-data) |
1331 |
- # bug #683148 |
1332 |
- --jobs 1 |
1333 |
- ) |
1334 |
- |
1335 |
- if multilib_is_native_abi ; then |
1336 |
- myconf+=( --with-shared-modules=${SHAREDMODS} ) |
1337 |
- else |
1338 |
- myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) |
1339 |
- fi |
1340 |
- |
1341 |
- PYTHONHASHSEED=1 CPPFLAGS="-I${ESYSROOT}/usr/include/et ${CPPFLAGS}" \ |
1342 |
- waf-utils_src_configure ${myconf[@]} |
1343 |
-} |
1344 |
- |
1345 |
-multilib_src_compile() { |
1346 |
- PYTHONHASHSEED=1 waf-utils_src_compile |
1347 |
-} |
1348 |
- |
1349 |
-multilib_src_install() { |
1350 |
- PYTHONHASHSEED=1 waf-utils_src_install |
1351 |
- |
1352 |
- # Make all .so files executable |
1353 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
1354 |
- |
1355 |
- if multilib_is_native_abi ; then |
1356 |
- # install ldap schema for server (bug #491002) |
1357 |
- if use ldap ; then |
1358 |
- insinto /etc/openldap/schema |
1359 |
- doins examples/LDAP/samba.schema |
1360 |
- fi |
1361 |
- |
1362 |
- # create symlink for cups (bug #552310) |
1363 |
- if use cups ; then |
1364 |
- dosym ../../../bin/smbspool \ |
1365 |
- /usr/libexec/cups/backend/smb |
1366 |
- fi |
1367 |
- |
1368 |
- # install example config file |
1369 |
- insinto /etc/samba |
1370 |
- doins examples/smb.conf.default |
1371 |
- |
1372 |
- # Fix paths in example file (#603964) |
1373 |
- sed \ |
1374 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
1375 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
1376 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
1377 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
1378 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
1379 |
- -i "${ED}"/etc/samba/smb.conf.default || die |
1380 |
- |
1381 |
- # Install init script and conf.d file |
1382 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
1383 |
- newconfd "${CONFDIR}/samba4.confd" samba |
1384 |
- |
1385 |
- dotmpfiles "${FILESDIR}"/samba.conf |
1386 |
- if ! use addc ; then |
1387 |
- rm "${D}/$(systemd_get_systemunitdir)/samba.service" \ |
1388 |
- || die |
1389 |
- fi |
1390 |
- |
1391 |
- # Preserve functionality for old gentoo-specific unit names |
1392 |
- dosym nmb.service "$(systemd_get_systemunitdir)/nmbd.service" |
1393 |
- dosym smb.service "$(systemd_get_systemunitdir)/smbd.service" |
1394 |
- dosym winbind.service "$(systemd_get_systemunitdir)/winbindd.service" |
1395 |
- fi |
1396 |
- |
1397 |
- if use pam && use winbind ; then |
1398 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
1399 |
- # bugs #376853 and #590374 |
1400 |
- insinto /etc/security |
1401 |
- doins examples/pam_winbind/pam_winbind.conf |
1402 |
- fi |
1403 |
- |
1404 |
- keepdir /var/cache/samba |
1405 |
- keepdir /var/lib/ctdb |
1406 |
- keepdir /var/lib/samba/{bind-dns,private} |
1407 |
- keepdir /var/lock/samba |
1408 |
- keepdir /var/log/samba |
1409 |
-} |
1410 |
- |
1411 |
-multilib_src_test() { |
1412 |
- if multilib_is_native_abi ; then |
1413 |
- "${WAF_BINARY}" test || die "test failed" |
1414 |
- fi |
1415 |
-} |
1416 |
- |
1417 |
-pkg_postinst() { |
1418 |
- tmpfiles_process samba.conf |
1419 |
- |
1420 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
1421 |
- elog "Be aware that this release contains the best of all of Samba's" |
1422 |
- elog "technology parts, both a file server (that you can reasonably expect" |
1423 |
- elog "to upgrade existing Samba 3.x releases to) and the AD domain" |
1424 |
- elog "controller work previously known as 'samba4'." |
1425 |
- elog |
1426 |
- fi |
1427 |
- if [[ "${PV}" != *_rc* ]] ; then |
1428 |
- elog "For further information and migration steps make sure to read " |
1429 |
- elog "https://samba.org/samba/history/${P}.html " |
1430 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
1431 |
- fi |
1432 |
-} |
1433 |
|
1434 |
diff --git a/net-fs/samba/samba-4.16.1-r1.ebuild b/net-fs/samba/samba-4.16.1-r1.ebuild |
1435 |
deleted file mode 100644 |
1436 |
index 0c212106d9e4..000000000000 |
1437 |
--- a/net-fs/samba/samba-4.16.1-r1.ebuild |
1438 |
+++ /dev/null |
1439 |
@@ -1,347 +0,0 @@ |
1440 |
-# Copyright 1999-2022 Gentoo Authors |
1441 |
-# Distributed under the terms of the GNU General Public License v2 |
1442 |
- |
1443 |
-EAPI=7 |
1444 |
- |
1445 |
-PYTHON_COMPAT=( python3_{8..10} ) |
1446 |
-PYTHON_REQ_USE="threads(+),xml(+)" |
1447 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam tmpfiles |
1448 |
- |
1449 |
-DESCRIPTION="Samba Suite Version 4" |
1450 |
-HOMEPAGE="https://samba.org/" |
1451 |
- |
1452 |
-MY_PV="${PV/_rc/rc}" |
1453 |
-MY_P="${PN}-${MY_PV}" |
1454 |
-if [[ ${PV} = *_rc* ]]; then |
1455 |
- SRC_URI="mirror://samba/rc/${MY_P}.tar.gz" |
1456 |
-else |
1457 |
- SRC_URI="mirror://samba/stable/${MY_P}.tar.gz" |
1458 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
1459 |
-fi |
1460 |
-S="${WORKDIR}/${MY_P}" |
1461 |
- |
1462 |
-LICENSE="GPL-3" |
1463 |
-SLOT="0" |
1464 |
-IUSE="acl addc ads ceph client cluster cpu_flags_x86_aes cups debug fam |
1465 |
-glusterfs gpg iprint json ldap llvm-libunwind pam profiling-data python quota +regedit selinux |
1466 |
-snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test unwind winbind |
1467 |
-zeroconf" |
1468 |
- |
1469 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
1470 |
- addc? ( python json winbind ) |
1471 |
- ads? ( acl ldap python winbind ) |
1472 |
- cluster? ( ads ) |
1473 |
- gpg? ( addc ) |
1474 |
- spotlight? ( json ) |
1475 |
- test? ( python ) |
1476 |
- !ads? ( !addc ) |
1477 |
- ?? ( system-heimdal system-mitkrb5 ) |
1478 |
-" |
1479 |
- |
1480 |
-# the test suite is messed, it uses system-installed samba |
1481 |
-# bits instead of what was built, tests things disabled via use |
1482 |
-# flags, and generally just fails to work in a way ebuilds could |
1483 |
-# rely on in its current state |
1484 |
-RESTRICT="test" |
1485 |
- |
1486 |
-MULTILIB_WRAPPED_HEADERS=( |
1487 |
- /usr/include/samba-4.0/policy.h |
1488 |
- /usr/include/samba-4.0/dcerpc_server.h |
1489 |
- /usr/include/samba-4.0/ctdb.h |
1490 |
- /usr/include/samba-4.0/ctdb_client.h |
1491 |
- /usr/include/samba-4.0/ctdb_protocol.h |
1492 |
- /usr/include/samba-4.0/ctdb_private.h |
1493 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
1494 |
- /usr/include/samba-4.0/ctdb_version.h |
1495 |
-) |
1496 |
- |
1497 |
-COMMON_DEPEND=" |
1498 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
1499 |
- dev-lang/perl:= |
1500 |
- dev-libs/icu:=[${MULTILIB_USEDEP}] |
1501 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
1502 |
- dev-libs/libtasn1[${MULTILIB_USEDEP}] |
1503 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
1504 |
- dev-perl/Parse-Yapp |
1505 |
- >=net-libs/gnutls-3.4.7[${MULTILIB_USEDEP}] |
1506 |
- >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] |
1507 |
- >=sys-libs/ldb-2.5.0[ldap(+)?,${MULTILIB_USEDEP}] |
1508 |
- <sys-libs/ldb-2.6.0[ldap(+)?,${MULTILIB_USEDEP}] |
1509 |
- sys-libs/libcap[${MULTILIB_USEDEP}] |
1510 |
- sys-libs/liburing:=[${MULTILIB_USEDEP}] |
1511 |
- sys-libs/ncurses:0= |
1512 |
- sys-libs/readline:0= |
1513 |
- >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}] |
1514 |
- >=sys-libs/tdb-1.4.6[${MULTILIB_USEDEP}] |
1515 |
- >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}] |
1516 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
1517 |
- virtual/libcrypt:=[${MULTILIB_USEDEP}] |
1518 |
- virtual/libiconv |
1519 |
- $(python_gen_cond_dep " |
1520 |
- addc? ( |
1521 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
1522 |
- dev-python/markdown[\${PYTHON_USEDEP}] |
1523 |
- ) |
1524 |
- ads? ( |
1525 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
1526 |
- net-dns/bind-tools[gssapi] |
1527 |
- ) |
1528 |
- ") |
1529 |
- acl? ( virtual/acl ) |
1530 |
- ceph? ( sys-cluster/ceph ) |
1531 |
- cluster? ( net-libs/rpcsvc-proto ) |
1532 |
- cups? ( net-print/cups ) |
1533 |
- debug? ( dev-util/lttng-ust ) |
1534 |
- fam? ( virtual/fam ) |
1535 |
- gpg? ( app-crypt/gpgme:= ) |
1536 |
- json? ( dev-libs/jansson:= ) |
1537 |
- ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) |
1538 |
- pam? ( sys-libs/pam ) |
1539 |
- python? ( |
1540 |
- sys-libs/ldb[python,${PYTHON_SINGLE_USEDEP}] |
1541 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
1542 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
1543 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
1544 |
- ) |
1545 |
- snapper? ( sys-apps/dbus ) |
1546 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
1547 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.19[${MULTILIB_USEDEP}] ) |
1548 |
- systemd? ( sys-apps/systemd:0= ) |
1549 |
- unwind? ( |
1550 |
- llvm-libunwind? ( sys-libs/llvm-libunwind:= ) |
1551 |
- !llvm-libunwind? ( sys-libs/libunwind:= ) |
1552 |
- ) |
1553 |
- zeroconf? ( net-dns/avahi[dbus] ) |
1554 |
-" |
1555 |
-DEPEND="${COMMON_DEPEND} |
1556 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
1557 |
- dev-perl/JSON |
1558 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
1559 |
- || ( |
1560 |
- net-libs/rpcsvc-proto |
1561 |
- <sys-libs/glibc-2.26[rpc(+)] |
1562 |
- ) |
1563 |
- spotlight? ( dev-libs/glib ) |
1564 |
- test? ( |
1565 |
- $(python_gen_cond_dep "dev-python/subunit[\${PYTHON_USEDEP},${MULTILIB_USEDEP}]" ) |
1566 |
- !system-mitkrb5? ( |
1567 |
- >=net-dns/resolv_wrapper-1.1.4 |
1568 |
- >=net-libs/socket_wrapper-1.1.9 |
1569 |
- >=sys-libs/nss_wrapper-1.1.3 |
1570 |
- >=sys-libs/uid_wrapper-1.2.1 |
1571 |
- ) |
1572 |
- )" |
1573 |
-RDEPEND="${COMMON_DEPEND} |
1574 |
- client? ( net-fs/cifs-utils[ads?] ) |
1575 |
- python? ( ${PYTHON_DEPS} ) |
1576 |
- selinux? ( sec-policy/selinux-samba ) |
1577 |
-" |
1578 |
-BDEPEND="${PYTHON_DEPS} |
1579 |
- app-text/docbook-xsl-stylesheets |
1580 |
- dev-libs/libxslt |
1581 |
- virtual/pkgconfig |
1582 |
-" |
1583 |
- |
1584 |
-PATCHES=( |
1585 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
1586 |
- "${FILESDIR}/${PN}-4.16.1-netdb-defines.patch" |
1587 |
- "${FILESDIR}/${PN}-4.15.9-libunwind-automagic.patch" |
1588 |
-) |
1589 |
- |
1590 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
1591 |
-CONFDIR="${FILESDIR}/4.4" |
1592 |
- |
1593 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
1594 |
- |
1595 |
-SHAREDMODS="" |
1596 |
- |
1597 |
-pkg_setup() { |
1598 |
- # Package fails to build with distcc |
1599 |
- export DISTCC_DISABLE=1 |
1600 |
- |
1601 |
- python-single-r1_pkg_setup |
1602 |
- |
1603 |
- SHAREDMODS="$(usex snapper '' '!')vfs_snapper" |
1604 |
- if use cluster ; then |
1605 |
- SHAREDMODS+=",idmap_rid,idmap_tdb2,idmap_ad" |
1606 |
- elif use ads ; then |
1607 |
- SHAREDMODS+=",idmap_ad" |
1608 |
- fi |
1609 |
-} |
1610 |
- |
1611 |
-src_prepare() { |
1612 |
- default |
1613 |
- |
1614 |
- # un-bundle dnspython |
1615 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
1616 |
- |
1617 |
- # unbundle iso8601 unless tests are enabled |
1618 |
- if ! use test ; then |
1619 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
1620 |
- fi |
1621 |
- |
1622 |
- ## ugly hackaround for bug #592502 |
1623 |
- #cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
1624 |
- |
1625 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
1626 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
1627 |
- || die |
1628 |
- |
1629 |
- # Friggin' WAF shit |
1630 |
- multilib_copy_sources |
1631 |
-} |
1632 |
- |
1633 |
-multilib_src_configure() { |
1634 |
- # when specifying libs for samba build you must append NONE to the end to |
1635 |
- # stop it automatically including things |
1636 |
- local bundled_libs="NONE" |
1637 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
1638 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
1639 |
- fi |
1640 |
- |
1641 |
- local myconf=( |
1642 |
- --enable-fhs |
1643 |
- --sysconfdir="${EPREFIX}/etc" |
1644 |
- --localstatedir="${EPREFIX}/var" |
1645 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
1646 |
- --with-piddir="${EPREFIX}/run/${PN}" |
1647 |
- --bundled-libraries="${bundled_libs}" |
1648 |
- --builtin-libraries=NONE |
1649 |
- --disable-rpath |
1650 |
- --disable-rpath-install |
1651 |
- --nopyc |
1652 |
- --nopyo |
1653 |
- --without-winexe |
1654 |
- --accel-aes=$(usex cpu_flags_x86_aes intelaesni none) |
1655 |
- $(multilib_native_use_with acl acl-support) |
1656 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
1657 |
- $(multilib_native_use_with ads) |
1658 |
- $(multilib_native_use_enable ceph cephfs) |
1659 |
- $(multilib_native_use_with cluster cluster-support) |
1660 |
- $(multilib_native_use_enable cups) |
1661 |
- --without-dmapi |
1662 |
- $(multilib_native_use_with fam) |
1663 |
- $(multilib_native_use_enable glusterfs) |
1664 |
- $(multilib_native_use_with gpg gpgme) |
1665 |
- $(multilib_native_use_with json) |
1666 |
- $(multilib_native_use_enable iprint) |
1667 |
- $(multilib_native_use_with pam) |
1668 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
1669 |
- $(multilib_native_use_with quota quotas) |
1670 |
- $(multilib_native_use_with regedit) |
1671 |
- $(multilib_native_use_enable spotlight) |
1672 |
- $(multilib_native_use_with syslog) |
1673 |
- $(multilib_native_use_with systemd) |
1674 |
- --systemd-install-services |
1675 |
- --with-systemddir="$(systemd_get_systemunitdir)" |
1676 |
- $(multilib_native_use_with unwind libunwind) |
1677 |
- $(multilib_native_use_with winbind) |
1678 |
- $(multilib_native_usex python '' '--disable-python') |
1679 |
- $(multilib_native_use_enable zeroconf avahi) |
1680 |
- $(multilib_native_usex test '--enable-selftest' '') |
1681 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
1682 |
- $(use_with debug lttng) |
1683 |
- $(use_with ldap) |
1684 |
- $(use_with profiling-data) |
1685 |
- # bug #683148 |
1686 |
- --jobs 1 |
1687 |
- ) |
1688 |
- |
1689 |
- if multilib_is_native_abi ; then |
1690 |
- myconf+=( --with-shared-modules=${SHAREDMODS} ) |
1691 |
- else |
1692 |
- myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) |
1693 |
- fi |
1694 |
- |
1695 |
- PYTHONHASHSEED=1 CPPFLAGS="-I${ESYSROOT}/usr/include/et ${CPPFLAGS}" \ |
1696 |
- waf-utils_src_configure ${myconf[@]} |
1697 |
-} |
1698 |
- |
1699 |
-multilib_src_compile() { |
1700 |
- PYTHONHASHSEED=1 waf-utils_src_compile |
1701 |
-} |
1702 |
- |
1703 |
-multilib_src_install() { |
1704 |
- PYTHONHASHSEED=1 waf-utils_src_install |
1705 |
- |
1706 |
- # Make all .so files executable |
1707 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
1708 |
- |
1709 |
- if multilib_is_native_abi ; then |
1710 |
- # install ldap schema for server (bug #491002) |
1711 |
- if use ldap ; then |
1712 |
- insinto /etc/openldap/schema |
1713 |
- doins examples/LDAP/samba.schema |
1714 |
- fi |
1715 |
- |
1716 |
- # create symlink for cups (bug #552310) |
1717 |
- if use cups ; then |
1718 |
- dosym ../../../bin/smbspool \ |
1719 |
- /usr/libexec/cups/backend/smb |
1720 |
- fi |
1721 |
- |
1722 |
- # install example config file |
1723 |
- insinto /etc/samba |
1724 |
- doins examples/smb.conf.default |
1725 |
- |
1726 |
- # Fix paths in example file (#603964) |
1727 |
- sed \ |
1728 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
1729 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
1730 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
1731 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
1732 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
1733 |
- -i "${ED}"/etc/samba/smb.conf.default || die |
1734 |
- |
1735 |
- # Install init script and conf.d file |
1736 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
1737 |
- newconfd "${CONFDIR}/samba4.confd" samba |
1738 |
- |
1739 |
- dotmpfiles "${FILESDIR}"/samba.conf |
1740 |
- if ! use addc ; then |
1741 |
- rm "${D}/$(systemd_get_systemunitdir)/samba.service" \ |
1742 |
- || die |
1743 |
- fi |
1744 |
- |
1745 |
- # Preserve functionality for old gentoo-specific unit names |
1746 |
- dosym nmb.service "$(systemd_get_systemunitdir)/nmbd.service" |
1747 |
- dosym smb.service "$(systemd_get_systemunitdir)/smbd.service" |
1748 |
- dosym winbind.service "$(systemd_get_systemunitdir)/winbindd.service" |
1749 |
- fi |
1750 |
- |
1751 |
- if use pam && use winbind ; then |
1752 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
1753 |
- # bugs #376853 and #590374 |
1754 |
- insinto /etc/security |
1755 |
- doins examples/pam_winbind/pam_winbind.conf |
1756 |
- fi |
1757 |
- |
1758 |
- keepdir /var/cache/samba |
1759 |
- keepdir /var/lib/ctdb |
1760 |
- keepdir /var/lib/samba/{bind-dns,private} |
1761 |
- keepdir /var/lock/samba |
1762 |
- keepdir /var/log/samba |
1763 |
-} |
1764 |
- |
1765 |
-multilib_src_test() { |
1766 |
- if multilib_is_native_abi ; then |
1767 |
- "${WAF_BINARY}" test || die "test failed" |
1768 |
- fi |
1769 |
-} |
1770 |
- |
1771 |
-pkg_postinst() { |
1772 |
- tmpfiles_process samba.conf |
1773 |
- |
1774 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
1775 |
- elog "Be aware that this release contains the best of all of Samba's" |
1776 |
- elog "technology parts, both a file server (that you can reasonably expect" |
1777 |
- elog "to upgrade existing Samba 3.x releases to) and the AD domain" |
1778 |
- elog "controller work previously known as 'samba4'." |
1779 |
- elog |
1780 |
- fi |
1781 |
- if [[ "${PV}" != *_rc* ]] ; then |
1782 |
- elog "For further information and migration steps make sure to read " |
1783 |
- elog "https://samba.org/samba/history/${P}.html " |
1784 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
1785 |
- fi |
1786 |
-} |
1787 |
|
1788 |
diff --git a/net-fs/samba/samba-4.16.2-r1.ebuild b/net-fs/samba/samba-4.16.2-r1.ebuild |
1789 |
deleted file mode 100644 |
1790 |
index 994f304e789e..000000000000 |
1791 |
--- a/net-fs/samba/samba-4.16.2-r1.ebuild |
1792 |
+++ /dev/null |
1793 |
@@ -1,349 +0,0 @@ |
1794 |
-# Copyright 1999-2022 Gentoo Authors |
1795 |
-# Distributed under the terms of the GNU General Public License v2 |
1796 |
- |
1797 |
-EAPI=7 |
1798 |
- |
1799 |
-PYTHON_COMPAT=( python3_{8..10} ) |
1800 |
-PYTHON_REQ_USE="threads(+),xml(+)" |
1801 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd pam tmpfiles |
1802 |
- |
1803 |
-DESCRIPTION="Samba Suite Version 4" |
1804 |
-HOMEPAGE="https://samba.org/" |
1805 |
- |
1806 |
-MY_PV="${PV/_rc/rc}" |
1807 |
-MY_P="${PN}-${MY_PV}" |
1808 |
-if [[ ${PV} = *_rc* ]]; then |
1809 |
- SRC_URI="mirror://samba/rc/${MY_P}.tar.gz" |
1810 |
-else |
1811 |
- SRC_URI="mirror://samba/stable/${MY_P}.tar.gz" |
1812 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
1813 |
-fi |
1814 |
-S="${WORKDIR}/${MY_P}" |
1815 |
- |
1816 |
-LICENSE="GPL-3" |
1817 |
-SLOT="0" |
1818 |
-IUSE="acl addc ads ceph client cluster cpu_flags_x86_aes cups debug fam |
1819 |
-glusterfs gpg iprint json ldap llvm-libunwind pam profiling-data python quota +regedit selinux |
1820 |
-snapper spotlight syslog system-heimdal +system-mitkrb5 systemd test unwind winbind |
1821 |
-zeroconf" |
1822 |
- |
1823 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
1824 |
- addc? ( python json winbind ) |
1825 |
- ads? ( acl ldap python winbind ) |
1826 |
- cluster? ( ads ) |
1827 |
- gpg? ( addc ) |
1828 |
- spotlight? ( json ) |
1829 |
- test? ( python ) |
1830 |
- !ads? ( !addc ) |
1831 |
- ?? ( system-heimdal system-mitkrb5 ) |
1832 |
-" |
1833 |
- |
1834 |
-# the test suite is messed, it uses system-installed samba |
1835 |
-# bits instead of what was built, tests things disabled via use |
1836 |
-# flags, and generally just fails to work in a way ebuilds could |
1837 |
-# rely on in its current state |
1838 |
-RESTRICT="test" |
1839 |
- |
1840 |
-MULTILIB_WRAPPED_HEADERS=( |
1841 |
- /usr/include/samba-4.0/policy.h |
1842 |
- /usr/include/samba-4.0/dcerpc_server.h |
1843 |
- /usr/include/samba-4.0/ctdb.h |
1844 |
- /usr/include/samba-4.0/ctdb_client.h |
1845 |
- /usr/include/samba-4.0/ctdb_protocol.h |
1846 |
- /usr/include/samba-4.0/ctdb_private.h |
1847 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
1848 |
- /usr/include/samba-4.0/ctdb_version.h |
1849 |
-) |
1850 |
- |
1851 |
-COMMON_DEPEND=" |
1852 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
1853 |
- dev-lang/perl:= |
1854 |
- dev-libs/icu:=[${MULTILIB_USEDEP}] |
1855 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
1856 |
- dev-libs/libtasn1[${MULTILIB_USEDEP}] |
1857 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
1858 |
- dev-perl/Parse-Yapp |
1859 |
- >=net-libs/gnutls-3.4.7[${MULTILIB_USEDEP}] |
1860 |
- >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] |
1861 |
- >=sys-libs/ldb-2.5.1[ldap(+)?,${MULTILIB_USEDEP}] |
1862 |
- <sys-libs/ldb-2.6.0[ldap(+)?,${MULTILIB_USEDEP}] |
1863 |
- sys-libs/libcap[${MULTILIB_USEDEP}] |
1864 |
- sys-libs/liburing:=[${MULTILIB_USEDEP}] |
1865 |
- sys-libs/ncurses:0= |
1866 |
- sys-libs/readline:0= |
1867 |
- >=sys-libs/talloc-2.3.3[${MULTILIB_USEDEP}] |
1868 |
- >=sys-libs/tdb-1.4.6[${MULTILIB_USEDEP}] |
1869 |
- >=sys-libs/tevent-0.11.0[${MULTILIB_USEDEP}] |
1870 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
1871 |
- virtual/libcrypt:=[${MULTILIB_USEDEP}] |
1872 |
- virtual/libiconv |
1873 |
- $(python_gen_cond_dep " |
1874 |
- addc? ( |
1875 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
1876 |
- dev-python/markdown[\${PYTHON_USEDEP}] |
1877 |
- ) |
1878 |
- ads? ( |
1879 |
- dev-python/dnspython:=[\${PYTHON_USEDEP}] |
1880 |
- net-dns/bind-tools[gssapi] |
1881 |
- ) |
1882 |
- ") |
1883 |
- acl? ( virtual/acl ) |
1884 |
- ceph? ( sys-cluster/ceph ) |
1885 |
- cluster? ( net-libs/rpcsvc-proto ) |
1886 |
- cups? ( net-print/cups ) |
1887 |
- debug? ( dev-util/lttng-ust ) |
1888 |
- fam? ( virtual/fam ) |
1889 |
- gpg? ( app-crypt/gpgme:= ) |
1890 |
- json? ( dev-libs/jansson:= ) |
1891 |
- ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) |
1892 |
- pam? ( sys-libs/pam ) |
1893 |
- python? ( |
1894 |
- sys-libs/ldb[python,${PYTHON_SINGLE_USEDEP}] |
1895 |
- sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] |
1896 |
- sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] |
1897 |
- sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] |
1898 |
- ) |
1899 |
- snapper? ( sys-apps/dbus ) |
1900 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
1901 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.19[${MULTILIB_USEDEP}] ) |
1902 |
- systemd? ( sys-apps/systemd:0= ) |
1903 |
- unwind? ( |
1904 |
- llvm-libunwind? ( sys-libs/llvm-libunwind:= ) |
1905 |
- !llvm-libunwind? ( sys-libs/libunwind:= ) |
1906 |
- ) |
1907 |
- zeroconf? ( net-dns/avahi[dbus] ) |
1908 |
-" |
1909 |
-DEPEND="${COMMON_DEPEND} |
1910 |
- >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] |
1911 |
- dev-perl/JSON |
1912 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
1913 |
- || ( |
1914 |
- net-libs/rpcsvc-proto |
1915 |
- <sys-libs/glibc-2.26[rpc(+)] |
1916 |
- ) |
1917 |
- spotlight? ( dev-libs/glib ) |
1918 |
- test? ( |
1919 |
- $(python_gen_cond_dep "dev-python/subunit[\${PYTHON_USEDEP},${MULTILIB_USEDEP}]" ) |
1920 |
- !system-mitkrb5? ( |
1921 |
- >=net-dns/resolv_wrapper-1.1.4 |
1922 |
- >=net-libs/socket_wrapper-1.1.9 |
1923 |
- >=sys-libs/nss_wrapper-1.1.3 |
1924 |
- >=sys-libs/uid_wrapper-1.2.1 |
1925 |
- ) |
1926 |
- )" |
1927 |
-RDEPEND="${COMMON_DEPEND} |
1928 |
- client? ( net-fs/cifs-utils[ads?] ) |
1929 |
- python? ( ${PYTHON_DEPS} ) |
1930 |
- selinux? ( sec-policy/selinux-samba ) |
1931 |
-" |
1932 |
-BDEPEND="${PYTHON_DEPS} |
1933 |
- app-text/docbook-xsl-stylesheets |
1934 |
- dev-libs/libxslt |
1935 |
- virtual/pkgconfig |
1936 |
-" |
1937 |
- |
1938 |
-PATCHES=( |
1939 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
1940 |
- "${FILESDIR}/${PN}-4.16.1-netdb-defines.patch" |
1941 |
- "${FILESDIR}/${PN}-4.16.2-fix-musl-without-innetgr.patch" |
1942 |
- "${FILESDIR}/${PN}-4.15.9-libunwind-automagic.patch" |
1943 |
-) |
1944 |
- |
1945 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
1946 |
-CONFDIR="${FILESDIR}/4.4" |
1947 |
- |
1948 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
1949 |
- |
1950 |
-SHAREDMODS="" |
1951 |
- |
1952 |
-pkg_setup() { |
1953 |
- # Package fails to build with distcc |
1954 |
- export DISTCC_DISABLE=1 |
1955 |
- export PYTHONHASHSEED=1 |
1956 |
- |
1957 |
- python-single-r1_pkg_setup |
1958 |
- |
1959 |
- SHAREDMODS="$(usex snapper '' '!')vfs_snapper" |
1960 |
- if use cluster ; then |
1961 |
- SHAREDMODS+=",idmap_rid,idmap_tdb2,idmap_ad" |
1962 |
- elif use ads ; then |
1963 |
- SHAREDMODS+=",idmap_ad" |
1964 |
- fi |
1965 |
-} |
1966 |
- |
1967 |
-src_prepare() { |
1968 |
- default |
1969 |
- |
1970 |
- # un-bundle dnspython |
1971 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
1972 |
- |
1973 |
- # unbundle iso8601 unless tests are enabled |
1974 |
- if ! use test ; then |
1975 |
- sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
1976 |
- fi |
1977 |
- |
1978 |
- ## ugly hackaround for bug #592502 |
1979 |
- #cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
1980 |
- |
1981 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
1982 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
1983 |
- || die |
1984 |
- |
1985 |
- # Friggin' WAF shit |
1986 |
- multilib_copy_sources |
1987 |
-} |
1988 |
- |
1989 |
-multilib_src_configure() { |
1990 |
- # when specifying libs for samba build you must append NONE to the end to |
1991 |
- # stop it automatically including things |
1992 |
- local bundled_libs="NONE" |
1993 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
1994 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
1995 |
- fi |
1996 |
- |
1997 |
- local myconf=( |
1998 |
- --enable-fhs |
1999 |
- --sysconfdir="${EPREFIX}/etc" |
2000 |
- --localstatedir="${EPREFIX}/var" |
2001 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
2002 |
- --with-piddir="${EPREFIX}/run/${PN}" |
2003 |
- --bundled-libraries="${bundled_libs}" |
2004 |
- --builtin-libraries=NONE |
2005 |
- --disable-rpath |
2006 |
- --disable-rpath-install |
2007 |
- --nopyc |
2008 |
- --nopyo |
2009 |
- --without-winexe |
2010 |
- --accel-aes=$(usex cpu_flags_x86_aes intelaesni none) |
2011 |
- $(multilib_native_use_with acl acl-support) |
2012 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
2013 |
- $(multilib_native_use_with ads) |
2014 |
- $(multilib_native_use_enable ceph cephfs) |
2015 |
- $(multilib_native_use_with cluster cluster-support) |
2016 |
- $(multilib_native_use_enable cups) |
2017 |
- --without-dmapi |
2018 |
- $(multilib_native_use_with fam) |
2019 |
- $(multilib_native_use_enable glusterfs) |
2020 |
- $(multilib_native_use_with gpg gpgme) |
2021 |
- $(multilib_native_use_with json) |
2022 |
- $(multilib_native_use_enable iprint) |
2023 |
- $(multilib_native_use_with pam) |
2024 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
2025 |
- $(multilib_native_use_with quota quotas) |
2026 |
- $(multilib_native_use_with regedit) |
2027 |
- $(multilib_native_use_enable spotlight) |
2028 |
- $(multilib_native_use_with syslog) |
2029 |
- $(multilib_native_use_with systemd) |
2030 |
- --systemd-install-services |
2031 |
- --with-systemddir="$(systemd_get_systemunitdir)" |
2032 |
- $(multilib_native_use_with unwind libunwind) |
2033 |
- $(multilib_native_use_with winbind) |
2034 |
- $(multilib_native_usex python '' '--disable-python') |
2035 |
- $(multilib_native_use_enable zeroconf avahi) |
2036 |
- $(multilib_native_usex test '--enable-selftest' '') |
2037 |
- $(usex system-mitkrb5 "--with-system-mitkrb5 $(multilib_native_usex addc --with-experimental-mit-ad-dc '')" '') |
2038 |
- $(use_with debug lttng) |
2039 |
- $(use_with ldap) |
2040 |
- $(use_with profiling-data) |
2041 |
- # bug #683148 |
2042 |
- --jobs 1 |
2043 |
- ) |
2044 |
- |
2045 |
- if multilib_is_native_abi ; then |
2046 |
- myconf+=( --with-shared-modules=${SHAREDMODS} ) |
2047 |
- else |
2048 |
- myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) |
2049 |
- fi |
2050 |
- |
2051 |
- CPPFLAGS="-I${ESYSROOT}/usr/include/et ${CPPFLAGS}" \ |
2052 |
- waf-utils_src_configure ${myconf[@]} |
2053 |
-} |
2054 |
- |
2055 |
-multilib_src_compile() { |
2056 |
- waf-utils_src_compile |
2057 |
-} |
2058 |
- |
2059 |
-multilib_src_install() { |
2060 |
- waf-utils_src_install |
2061 |
- |
2062 |
- # Make all .so files executable |
2063 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die |
2064 |
- |
2065 |
- if multilib_is_native_abi ; then |
2066 |
- # install ldap schema for server (bug #491002) |
2067 |
- if use ldap ; then |
2068 |
- insinto /etc/openldap/schema |
2069 |
- doins examples/LDAP/samba.schema |
2070 |
- fi |
2071 |
- |
2072 |
- # create symlink for cups (bug #552310) |
2073 |
- if use cups ; then |
2074 |
- dosym ../../../bin/smbspool \ |
2075 |
- /usr/libexec/cups/backend/smb |
2076 |
- fi |
2077 |
- |
2078 |
- # install example config file |
2079 |
- insinto /etc/samba |
2080 |
- doins examples/smb.conf.default |
2081 |
- |
2082 |
- # Fix paths in example file (#603964) |
2083 |
- sed \ |
2084 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
2085 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
2086 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
2087 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
2088 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
2089 |
- -i "${ED}"/etc/samba/smb.conf.default || die |
2090 |
- |
2091 |
- # Install init script and conf.d file |
2092 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
2093 |
- newconfd "${CONFDIR}/samba4.confd" samba |
2094 |
- |
2095 |
- dotmpfiles "${FILESDIR}"/samba.conf |
2096 |
- if ! use addc ; then |
2097 |
- rm "${D}/$(systemd_get_systemunitdir)/samba.service" \ |
2098 |
- || die |
2099 |
- fi |
2100 |
- |
2101 |
- # Preserve functionality for old gentoo-specific unit names |
2102 |
- dosym nmb.service "$(systemd_get_systemunitdir)/nmbd.service" |
2103 |
- dosym smb.service "$(systemd_get_systemunitdir)/smbd.service" |
2104 |
- dosym winbind.service "$(systemd_get_systemunitdir)/winbindd.service" |
2105 |
- fi |
2106 |
- |
2107 |
- if use pam && use winbind ; then |
2108 |
- newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind |
2109 |
- # bugs #376853 and #590374 |
2110 |
- insinto /etc/security |
2111 |
- doins examples/pam_winbind/pam_winbind.conf |
2112 |
- fi |
2113 |
- |
2114 |
- keepdir /var/cache/samba |
2115 |
- keepdir /var/lib/ctdb |
2116 |
- keepdir /var/lib/samba/{bind-dns,private} |
2117 |
- keepdir /var/lock/samba |
2118 |
- keepdir /var/log/samba |
2119 |
-} |
2120 |
- |
2121 |
-multilib_src_test() { |
2122 |
- if multilib_is_native_abi ; then |
2123 |
- "${WAF_BINARY}" test || die "test failed" |
2124 |
- fi |
2125 |
-} |
2126 |
- |
2127 |
-pkg_postinst() { |
2128 |
- tmpfiles_process samba.conf |
2129 |
- |
2130 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
2131 |
- elog "Be aware that this release contains the best of all of Samba's" |
2132 |
- elog "technology parts, both a file server (that you can reasonably expect" |
2133 |
- elog "to upgrade existing Samba 3.x releases to) and the AD domain" |
2134 |
- elog "controller work previously known as 'samba4'." |
2135 |
- elog |
2136 |
- fi |
2137 |
- if [[ "${PV}" != *_rc* ]] ; then |
2138 |
- elog "For further information and migration steps make sure to read " |
2139 |
- elog "https://samba.org/samba/history/${P}.html " |
2140 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
2141 |
- fi |
2142 |
-} |