1 |
commit: b8c959522a1aaec68d83b4adb527baef2d4951f9 |
2 |
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 1 12:33:18 2021 +0000 |
4 |
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Feb 1 12:33:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=b8c95952 |
7 |
|
8 |
Remove deprecated ebuilds |
9 |
|
10 |
Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com> |
11 |
|
12 |
app-admin/clustershell/ChangeLog | 9 - |
13 |
app-admin/clustershell/Manifest | 4 - |
14 |
app-admin/clustershell/clustershell-1.7.2.ebuild | 48 --- |
15 |
app-admin/clustershell/metadata.xml | 8 - |
16 |
.../libguestfs/files/1.28/0000_bug_499150.patch | 10 - |
17 |
.../1.28/0001_add_gentoo_names_to_configure.patch | 15 - |
18 |
.../0002_add_gentooway_to_remove_la_files.patch | 16 - |
19 |
...gtk_docs_in_broken_autotools-utils-eclass.patch | 21 -- |
20 |
.../1.28/0103_disable_php_bindings_makefile.patch | 13 - |
21 |
.../1.36/0001-Update-libtool-initialization.patch | 29 -- |
22 |
...port-for-Gentoo-in-distribution-detection.patch | 25 -- |
23 |
...ound-autotools-utils-detection-of-gtk-doc.patch | 42 --- |
24 |
.../1.38/0001-Update-libtool-initialization.patch | 29 -- |
25 |
...port-for-Gentoo-in-distribution-detection.patch | 13 - |
26 |
.../libguestfs/libguestfs-1.28.5_p1-r3.ebuild | 161 --------- |
27 |
app-emulation/libguestfs/libguestfs-1.36.11.ebuild | 167 --------- |
28 |
app-emulation/libguestfs/libguestfs-1.37.35.ebuild | 167 --------- |
29 |
app-emulation/libguestfs/libguestfs-1.38.6.ebuild | 167 --------- |
30 |
dev-python/gpustat/gpustat-0.3.2.ebuild | 19 - |
31 |
dev-util/rpmdevtools/Manifest | 2 - |
32 |
dev-util/rpmdevtools/metadata.xml | 11 - |
33 |
dev-util/rpmdevtools/rpmdevtools-9999.ebuild | 50 --- |
34 |
media-tv/plex-media-server/Manifest | 8 - |
35 |
.../files/conf.d/plex-media-server | 7 - |
36 |
.../files/init.d/plex-media-server | 20 -- |
37 |
.../files/systemd/plex-media-server.service | 11 - |
38 |
.../files/virtualenv_start_pms.patch | 14 - |
39 |
media-tv/plex-media-server/metadata.xml | 8 - |
40 |
.../plex-media-server-1.18.2.ebuild | 162 --------- |
41 |
net-fs/samba/Manifest | 20 -- |
42 |
net-fs/samba/files/4.4/samba4.confd | 45 --- |
43 |
net-fs/samba/files/4.4/samba4.initd-r1 | 55 --- |
44 |
net-fs/samba/files/nmbd.service | 12 - |
45 |
net-fs/samba/files/samba-4.4.0-pam.patch | 29 -- |
46 |
.../samba/files/samba-4.5.1-compile_et_fix.patch | 16 - |
47 |
.../files/samba-4.7.3-krb-cross-compile.patch | 40 --- |
48 |
.../files/samba-4.9.1-fix_libsmbclient_h.patch | 11 - |
49 |
net-fs/samba/files/samba-glibc-2.26-no_rpc.patch | 14 - |
50 |
net-fs/samba/files/samba.conf | 2 - |
51 |
net-fs/samba/files/samba.service | 10 - |
52 |
net-fs/samba/files/smbd.service | 12 - |
53 |
net-fs/samba/files/smbd.socket | 9 - |
54 |
net-fs/samba/files/smbd_at.service | 7 - |
55 |
net-fs/samba/files/talloc-disable-python.patch | 34 -- |
56 |
net-fs/samba/files/winbindd.service | 12 - |
57 |
net-fs/samba/metadata.xml | 32 -- |
58 |
net-fs/samba/samba-4.9.1-r1.ebuild | 289 --------------- |
59 |
net-fs/samba/samba-4.9.2-r1.ebuild | 289 --------------- |
60 |
sys-fs/zfs/Manifest | 6 - |
61 |
sys-fs/zfs/files/bash-completion-r1 | 391 --------------------- |
62 |
sys-fs/zfs/files/zfs-init.sh.in | 29 -- |
63 |
sys-fs/zfs/files/zfs.service.in | 16 - |
64 |
sys-fs/zfs/metadata.xml | 16 - |
65 |
sys-fs/zfs/zfs-0.7.4.ebuild | 201 ----------- |
66 |
54 files changed, 2853 deletions(-) |
67 |
|
68 |
diff --git a/app-admin/clustershell/ChangeLog b/app-admin/clustershell/ChangeLog |
69 |
deleted file mode 100644 |
70 |
index 46f7039..0000000 |
71 |
--- a/app-admin/clustershell/ChangeLog |
72 |
+++ /dev/null |
73 |
@@ -1,9 +0,0 @@ |
74 |
-# ChangeLog for app-admin/clustershell |
75 |
-# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 |
76 |
-# (auto-generated from git log) |
77 |
- |
78 |
-*clustershell-1.7 (14 Nov 2016) |
79 |
- |
80 |
- 14 Nov 2016; Samuel Bernardo <samuelbernardo.mail@×××××.com> +clustershell-1.7.2.ebuild, +metadata.xml: |
81 |
- proj/gentoo: Initial commit |
82 |
- |
83 |
|
84 |
diff --git a/app-admin/clustershell/Manifest b/app-admin/clustershell/Manifest |
85 |
deleted file mode 100644 |
86 |
index bf1cb83..0000000 |
87 |
--- a/app-admin/clustershell/Manifest |
88 |
+++ /dev/null |
89 |
@@ -1,4 +0,0 @@ |
90 |
-DIST clustershell-1.7.2.tar.gz 346129 SHA256 b5999f9a565e7ef56e0aecfa5951d908a782f1fea322947c073d89ec716a7c2e SHA512 bd331ef4b0c04286ef0030e775ccd059986c60452966ca62f42e91fd0e74b6177ed3bb9cb372237008fb3214d400a70b3b910368271da52b12a9450c6b407df9 WHIRLPOOL 14fffba348acc2ea52eccadb262ccc9fa36137e59b3c86c90182bf98561c4ea874310c375a0e6be6725e7d6f1789aa2eef265b5d127f7e17f7a7ea3b2afe5fb0 |
91 |
-EBUILD clustershell-1.7.2.ebuild 960 SHA256 758aed9187783e7b2e2d8dd23ae3c3069a40462aa3fca5764193f5cea32edf9d SHA512 03b34794dc2acbd3abd48013de0337155adcbe2cf69b500ff95bd4cc6fcf8a4f7a0a2ae07e6c2a2539ca06087c7e1b333c925c92047cde2f7a2e110c6090e4f2 WHIRLPOOL 277374cb5c3bf03b450ff93a526839b5377f5c7ff589403bb8d34ebb517dea7a0e7891bfdf04f13e430ce6d437af6132725f743ad7a509959ea220ec302a7e17 |
92 |
-MISC ChangeLog 312 SHA256 267b83879d971faed4cc3a30dd37bbe12470de9cc13fded0d2d472f907ac1bad SHA512 40a2ed5df457faeb018f45d93d02430c9af8e702a5438c8b3d4f21fe5217305f6b5665da5eba16a64b6e77883cdd44e93f88a372f5b9a94609441201809dddd2 WHIRLPOOL 21c3eff6dd24e27aad8349c7185a3590f3cfa551048adaf7c7f63958bd756585d03d0821a14f0214065ad7ad27289d0b1feec12342313b47d553e221facd4a1e |
93 |
-MISC metadata.xml 257 SHA256 f803ef1a174879b88262a04080eaef99eb97ff56d03dcea0da09be4e6c047490 SHA512 a24cf6411331ed58ac1395d5f10e85530bbe2f7d9ca09121ac8e3ed3b518ad8b31ad50adb903404b41749c089bda33aa34bd28d8ba0da0b1f1b36620674e77be WHIRLPOOL e373e51151bef8dfe9f3100dc9156879e64d8274b11851e7959c6cb0006b3322851368507e9c7b283cb01094e448d53fcb28ea48beac0d2534d2c337b50be4fc |
94 |
|
95 |
diff --git a/app-admin/clustershell/clustershell-1.7.2.ebuild b/app-admin/clustershell/clustershell-1.7.2.ebuild |
96 |
deleted file mode 100644 |
97 |
index d078b71..0000000 |
98 |
--- a/app-admin/clustershell/clustershell-1.7.2.ebuild |
99 |
+++ /dev/null |
100 |
@@ -1,48 +0,0 @@ |
101 |
-# Copyright 1999-2015 Gentoo Foundation |
102 |
-# Distributed under the terms of the GNU General Public License v2 |
103 |
-# $Id$ |
104 |
- |
105 |
-# TODO: test phase |
106 |
- |
107 |
-EAPI=5 |
108 |
- |
109 |
-PYTHON_COMPAT=( python2_7 ) |
110 |
-PYTHON_REQ_USE="xml" |
111 |
-inherit distutils-r1 |
112 |
- |
113 |
-DESCRIPTION="Python framework for efficient cluster administration" |
114 |
-HOMEPAGE="https://cea-hpc.github.com/clustershell/" |
115 |
-SRC_URI="https://github.com/cea-hpc/clustershell/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
116 |
- |
117 |
-LICENSE="CeCILL-C" |
118 |
-SLOT="0" |
119 |
-KEYWORDS="~amd64 ~x86" |
120 |
-IUSE="doc libressl" |
121 |
- |
122 |
-RDEPEND=" |
123 |
- !libressl? ( dev-libs/openssl:0= ) |
124 |
- libressl? ( dev-libs/libressl:0= )" |
125 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
126 |
- |
127 |
-src_install() { |
128 |
- distutils-r1_src_install |
129 |
- |
130 |
- if use doc ; then |
131 |
- local i |
132 |
- for i in $(ls -I man "${S}"/doc) ; do |
133 |
- dodoc -r doc/${i} |
134 |
- done |
135 |
- fi |
136 |
- |
137 |
- doman doc/man/man*/* |
138 |
- |
139 |
- insinto /etc/${PN} |
140 |
- doins -r conf/* |
141 |
-} |
142 |
- |
143 |
-pkg_postinst() { |
144 |
- einfo |
145 |
- einfo "Some default system-wide config files have been installed into" |
146 |
- einfo "/etc/${PN}" |
147 |
- einfo |
148 |
-} |
149 |
|
150 |
diff --git a/app-admin/clustershell/metadata.xml b/app-admin/clustershell/metadata.xml |
151 |
deleted file mode 100644 |
152 |
index 5d59427..0000000 |
153 |
--- a/app-admin/clustershell/metadata.xml |
154 |
+++ /dev/null |
155 |
@@ -1,8 +0,0 @@ |
156 |
-<?xml version="1.0" encoding="UTF-8"?> |
157 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
158 |
-<pkgmetadata> |
159 |
- <!-- maintainer-needed --> |
160 |
- <upstream> |
161 |
- <remote-id type="github">cea-hpc/clustershell</remote-id> |
162 |
- </upstream> |
163 |
-</pkgmetadata> |
164 |
|
165 |
diff --git a/app-emulation/libguestfs/files/1.28/0000_bug_499150.patch b/app-emulation/libguestfs/files/1.28/0000_bug_499150.patch |
166 |
deleted file mode 100644 |
167 |
index 1e0f1a3..0000000 |
168 |
--- a/app-emulation/libguestfs/files/1.28/0000_bug_499150.patch |
169 |
+++ /dev/null |
170 |
@@ -1,10 +0,0 @@ |
171 |
---- a/configure.ac 2014-01-24 19:04:05.633056872 +0100 |
172 |
-+++ b/configure.ac 2014-01-24 19:04:34.685691757 +0100 |
173 |
-@@ -24,6 +24,7 @@ |
174 |
- |
175 |
- AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release) |
176 |
- AC_CONFIG_AUX_DIR([build-aux]) |
177 |
-+AM_GNU_GETTEXT_VERSION(0.18.3) |
178 |
- |
179 |
- dnl Initialize automake. automake < 1.12 didn't have serial-tests and |
180 |
- dnl gives an error if it sees this, but for automake >= 1.13 |
181 |
|
182 |
diff --git a/app-emulation/libguestfs/files/1.28/0001_add_gentoo_names_to_configure.patch b/app-emulation/libguestfs/files/1.28/0001_add_gentoo_names_to_configure.patch |
183 |
deleted file mode 100644 |
184 |
index 9d209ff..0000000 |
185 |
--- a/app-emulation/libguestfs/files/1.28/0001_add_gentoo_names_to_configure.patch |
186 |
+++ /dev/null |
187 |
@@ -1,15 +0,0 @@ |
188 |
-diff --git a/configure.ac b/configure.ac |
189 |
---- a/configure.ac |
190 |
-+++ b/configure.ac |
191 |
-@@ -482,6 +482,11 @@ |
192 |
- DISTRO=UBUNTU |
193 |
- fi |
194 |
- fi |
195 |
-+ |
196 |
-+if test -f /etc/gentoo-release; then |
197 |
-+ DISTRO=GENTOO |
198 |
-+fi |
199 |
-+ |
200 |
- if test -f /etc/arch-release; then |
201 |
- DISTRO=ARCHLINUX |
202 |
- fi |
203 |
|
204 |
diff --git a/app-emulation/libguestfs/files/1.28/0002_add_gentooway_to_remove_la_files.patch b/app-emulation/libguestfs/files/1.28/0002_add_gentooway_to_remove_la_files.patch |
205 |
deleted file mode 100644 |
206 |
index 38a591b..0000000 |
207 |
--- a/app-emulation/libguestfs/files/1.28/0002_add_gentooway_to_remove_la_files.patch |
208 |
+++ /dev/null |
209 |
@@ -1,16 +0,0 @@ |
210 |
-diff --git a/configure.ac b/configure.ac |
211 |
---- a/configure.ac |
212 |
-+++ b/configure.ac |
213 |
-@@ -1487,8 +1487,10 @@ |
214 |
- |
215 |
- dnl Replace libtool with a wrapper that clobbers dependency_libs in *.la files |
216 |
- dnl http://lists.fedoraproject.org/pipermail/devel/2010-November/146343.html |
217 |
--LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool' |
218 |
--AC_SUBST([LIBTOOL]) |
219 |
-+dnl LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool' |
220 |
-+dnl AC_SUBST([LIBTOOL]) |
221 |
-+LT_INIT |
222 |
-+ |
223 |
- |
224 |
- dnl Produce output files. |
225 |
- AC_CONFIG_HEADERS([config.h]) |
226 |
|
227 |
diff --git a/app-emulation/libguestfs/files/1.28/0005_enable_gtk_docs_in_broken_autotools-utils-eclass.patch b/app-emulation/libguestfs/files/1.28/0005_enable_gtk_docs_in_broken_autotools-utils-eclass.patch |
228 |
deleted file mode 100644 |
229 |
index 69b3ae6..0000000 |
230 |
--- a/app-emulation/libguestfs/files/1.28/0005_enable_gtk_docs_in_broken_autotools-utils-eclass.patch |
231 |
+++ /dev/null |
232 |
@@ -1,21 +0,0 @@ |
233 |
-diff --git a/configure.ac b/configure.ac |
234 |
---- a/configure.ac |
235 |
-+++ b/configure.ac |
236 |
-@@ -1491,11 +1491,12 @@ |
237 |
- ]) |
238 |
- |
239 |
- # check for gtk-doc |
240 |
--m4_ifdef([GTK_DOC_CHECK], [ |
241 |
-- GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) |
242 |
--],[ |
243 |
-- AM_CONDITIONAL([ENABLE_GTK_DOC], false) |
244 |
--]) |
245 |
-+#m4_ifdef([GTK_DOC_CHECK], [ |
246 |
-+# GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) |
247 |
-+#],[ |
248 |
-+# AM_CONDITIONAL([ENABLE_GTK_DOC], false) |
249 |
-+#]) |
250 |
-+GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) |
251 |
- |
252 |
- dnl Library versioning. |
253 |
- MAX_PROC_NR=`cat $srcdir/src/MAX_PROC_NR` |
254 |
|
255 |
diff --git a/app-emulation/libguestfs/files/1.28/0103_disable_php_bindings_makefile.patch b/app-emulation/libguestfs/files/1.28/0103_disable_php_bindings_makefile.patch |
256 |
deleted file mode 100644 |
257 |
index 34ab42d..0000000 |
258 |
--- a/app-emulation/libguestfs/files/1.28/0103_disable_php_bindings_makefile.patch |
259 |
+++ /dev/null |
260 |
@@ -1,13 +0,0 @@ |
261 |
-diff --git a/Makefile.am b/Makefile.am |
262 |
---- a/Makefile.am |
263 |
-+++ b/Makefile.am |
264 |
-@@ -88,9 +88,6 @@ |
265 |
- if HAVE_HASKELL |
266 |
- SUBDIRS += haskell |
267 |
- endif |
268 |
--if HAVE_PHP |
269 |
--SUBDIRS += php |
270 |
--endif |
271 |
- if HAVE_ERLANG |
272 |
- SUBDIRS += erlang erlang/examples |
273 |
- endif |
274 |
|
275 |
diff --git a/app-emulation/libguestfs/files/1.36/0001-Update-libtool-initialization.patch b/app-emulation/libguestfs/files/1.36/0001-Update-libtool-initialization.patch |
276 |
deleted file mode 100644 |
277 |
index 24da76f..0000000 |
278 |
--- a/app-emulation/libguestfs/files/1.36/0001-Update-libtool-initialization.patch |
279 |
+++ /dev/null |
280 |
@@ -1,29 +0,0 @@ |
281 |
-From a5fd133e001bb62d13c47ebc392fbb696a513640 Mon Sep 17 00:00:00 2001 |
282 |
-From: Gilles Dartiguelongue <g.dartiguelongue@×××××.fr> |
283 |
-Date: Wed, 30 Aug 2017 11:30:56 +0200 |
284 |
-Subject: [PATCH 1/3] Update libtool initialization |
285 |
- |
286 |
-Use the recommanded macro post libtool-2 release. |
287 |
---- |
288 |
- m4/guestfs_misc.m4 | 5 +---- |
289 |
- 1 file changed, 1 insertion(+), 4 deletions(-) |
290 |
- |
291 |
-diff --git a/m4/guestfs_misc.m4 b/m4/guestfs_misc.m4 |
292 |
-index 5dce207d7..a2bb39c0d 100644 |
293 |
---- a/m4/guestfs_misc.m4 |
294 |
-+++ b/m4/guestfs_misc.m4 |
295 |
-@@ -17,10 +17,7 @@ |
296 |
- |
297 |
- dnl Miscellaneous configuration that doesn't fit anywhere else. |
298 |
- |
299 |
--dnl Replace libtool with a wrapper that clobbers dependency_libs in *.la files |
300 |
--dnl http://lists.fedoraproject.org/pipermail/devel/2010-November/146343.html |
301 |
--LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool' |
302 |
--AC_SUBST([LIBTOOL]) |
303 |
-+LT_INIT |
304 |
- |
305 |
- dnl Only build boot-analysis program on x86-64 and aarch64. It |
306 |
- dnl requires custom work to port to each architecture. |
307 |
--- |
308 |
-2.14.1 |
309 |
- |
310 |
|
311 |
diff --git a/app-emulation/libguestfs/files/1.36/0002-Add-support-for-Gentoo-in-distribution-detection.patch b/app-emulation/libguestfs/files/1.36/0002-Add-support-for-Gentoo-in-distribution-detection.patch |
312 |
deleted file mode 100644 |
313 |
index bf265f7..0000000 |
314 |
--- a/app-emulation/libguestfs/files/1.36/0002-Add-support-for-Gentoo-in-distribution-detection.patch |
315 |
+++ /dev/null |
316 |
@@ -1,25 +0,0 @@ |
317 |
-From 9c423cd2d24b6de924afc6e0d715594bb056288d Mon Sep 17 00:00:00 2001 |
318 |
-From: Gilles Dartiguelongue <g.dartiguelongue@×××××.fr> |
319 |
-Date: Wed, 30 Aug 2017 11:27:50 +0200 |
320 |
-Subject: [PATCH 2/3] Add support for Gentoo in distribution detection |
321 |
- |
322 |
---- |
323 |
- m4/guestfs_appliance.m4 | 2 ++ |
324 |
- 1 file changed, 2 insertions(+) |
325 |
- |
326 |
-diff --git a/m4/guestfs_appliance.m4 b/m4/guestfs_appliance.m4 |
327 |
-index 890b1999c..9b79e1a41 100644 |
328 |
---- a/m4/guestfs_appliance.m4 |
329 |
-+++ b/m4/guestfs_appliance.m4 |
330 |
-@@ -114,6 +114,8 @@ elif test -f /etc/frugalware-release; then |
331 |
- DISTRO=FRUGALWARE |
332 |
- elif test -f /etc/mageia-release; then |
333 |
- DISTRO=MAGEIA |
334 |
-+elif test -f /etc/gentoo-release; then |
335 |
-+ DISTRO=GENTOO |
336 |
- else |
337 |
- dnl fallback option |
338 |
- DISTRO=REDHAT |
339 |
--- |
340 |
-2.14.1 |
341 |
- |
342 |
|
343 |
diff --git a/app-emulation/libguestfs/files/1.36/0003-Workaround-autotools-utils-detection-of-gtk-doc.patch b/app-emulation/libguestfs/files/1.36/0003-Workaround-autotools-utils-detection-of-gtk-doc.patch |
344 |
deleted file mode 100644 |
345 |
index 087708d..0000000 |
346 |
--- a/app-emulation/libguestfs/files/1.36/0003-Workaround-autotools-utils-detection-of-gtk-doc.patch |
347 |
+++ /dev/null |
348 |
@@ -1,42 +0,0 @@ |
349 |
-From 9bfa78095f6090c377fb40970653d1105a343cb7 Mon Sep 17 00:00:00 2001 |
350 |
-From: Gilles Dartiguelongue <g.dartiguelongue@×××××.fr> |
351 |
-Date: Wed, 30 Aug 2017 11:33:58 +0200 |
352 |
-Subject: [PATCH 3/3] Workaround autotools-utils detection of gtk-doc |
353 |
- |
354 |
---- |
355 |
- configure.ac | 3 +++ |
356 |
- m4/guestfs_gobject.m4 | 7 ------- |
357 |
- 2 files changed, 3 insertions(+), 7 deletions(-) |
358 |
- |
359 |
-diff --git a/configure.ac b/configure.ac |
360 |
-index 268e6a182..65f4231bc 100644 |
361 |
---- a/configure.ac |
362 |
-+++ b/configure.ac |
363 |
-@@ -121,6 +121,9 @@ m4_include([m4/guestfs_lua.m4]) |
364 |
- m4_include([m4/guestfs_golang.m4]) |
365 |
- m4_include([m4/guestfs_gobject.m4]) |
366 |
- |
367 |
-+dnl check for gtk-doc |
368 |
-+GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) |
369 |
-+ |
370 |
- dnl Bash completion. |
371 |
- m4_include([m4/guestfs_bash_completion.m4]) |
372 |
- |
373 |
-diff --git a/m4/guestfs_gobject.m4 b/m4/guestfs_gobject.m4 |
374 |
-index 4b4eab80d..4304f7b00 100644 |
375 |
---- a/m4/guestfs_gobject.m4 |
376 |
-+++ b/m4/guestfs_gobject.m4 |
377 |
-@@ -59,10 +59,3 @@ m4_ifdef([GOBJECT_INTROSPECTION_CHECK], [ |
378 |
- ],[ |
379 |
- AM_CONDITIONAL([HAVE_INTROSPECTION], [false]) |
380 |
- ]) |
381 |
-- |
382 |
--# check for gtk-doc |
383 |
--m4_ifdef([GTK_DOC_CHECK], [ |
384 |
-- GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) |
385 |
--],[ |
386 |
-- AM_CONDITIONAL([ENABLE_GTK_DOC], false) |
387 |
--]) |
388 |
--- |
389 |
-2.14.1 |
390 |
- |
391 |
|
392 |
diff --git a/app-emulation/libguestfs/files/1.38/0001-Update-libtool-initialization.patch b/app-emulation/libguestfs/files/1.38/0001-Update-libtool-initialization.patch |
393 |
deleted file mode 100644 |
394 |
index 02b1acf..0000000 |
395 |
--- a/app-emulation/libguestfs/files/1.38/0001-Update-libtool-initialization.patch |
396 |
+++ /dev/null |
397 |
@@ -1,29 +0,0 @@ |
398 |
-From a5fd133e001bb62d13c47ebc392fbb696a513640 Mon Sep 17 00:00:00 2001 |
399 |
-From: Gilles Dartiguelongue <g.dartiguelongue@×××××.fr> |
400 |
-Date: Wed, 30 Aug 2017 11:30:56 +0200 |
401 |
-Subject: [PATCH 1/3] Update libtool initialization |
402 |
- |
403 |
-Use the recommanded macro post libtool-2 release. |
404 |
---- |
405 |
- m4/guestfs-misc.m4 | 5 +---- |
406 |
- 1 file changed, 1 insertion(+), 4 deletions(-) |
407 |
- |
408 |
-diff --git a/m4/guestfs-misc.m4 b/m4/guestfs-misc.m4 |
409 |
-index 5dce207d7..a2bb39c0d 100644 |
410 |
---- a/m4/guestfs-misc.m4 |
411 |
-+++ b/m4/guestfs-misc.m4 |
412 |
-@@ -17,10 +17,7 @@ |
413 |
- |
414 |
- dnl Miscellaneous configuration that doesn't fit anywhere else. |
415 |
- |
416 |
--dnl Replace libtool with a wrapper that clobbers dependency_libs in *.la files |
417 |
--dnl http://lists.fedoraproject.org/pipermail/devel/2010-November/146343.html |
418 |
--LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool' |
419 |
--AC_SUBST([LIBTOOL]) |
420 |
-+LT_INIT |
421 |
- |
422 |
- dnl Only build boot-analysis program on x86-64 and aarch64. It |
423 |
- dnl requires custom work to port to each architecture. |
424 |
--- |
425 |
-2.14.1 |
426 |
- |
427 |
|
428 |
diff --git a/app-emulation/libguestfs/files/1.38/0002-Add-support-for-Gentoo-in-distribution-detection.patch b/app-emulation/libguestfs/files/1.38/0002-Add-support-for-Gentoo-in-distribution-detection.patch |
429 |
deleted file mode 100644 |
430 |
index 6a0e38e..0000000 |
431 |
--- a/app-emulation/libguestfs/files/1.38/0002-Add-support-for-Gentoo-in-distribution-detection.patch |
432 |
+++ /dev/null |
433 |
@@ -1,13 +0,0 @@ |
434 |
-diff -Naur a/m4/guestfs-appliance.m4 b/m4/guestfs-appliance.m4 |
435 |
---- a/m4/guestfs-appliance.m4 2018-09-21 16:05:40.719638121 +0100 |
436 |
-+++ b/m4/guestfs-appliance.m4 2018-11-21 23:46:42.371118647 +0000 |
437 |
-@@ -108,6 +108,9 @@ |
438 |
- [OPENSUSE | SLED | SLES],[DISTRO=SUSE], |
439 |
- [ARCH],[DISTRO=ARCHLINUX]) |
440 |
- AC_MSG_RESULT([$DISTRO (from /etc/os-release)]) |
441 |
-+ elif test -f /etc/gentoo-release; then |
442 |
-+ DISTRO=GENTOO |
443 |
-+ AC_MSG_RESULT([$DISTRO (from /etc/gentoo-release)]) |
444 |
- else |
445 |
- AC_MSG_ERROR([/etc/os-release not available, please specify the distro using --with-distro=DISTRO]) |
446 |
- fi |
447 |
|
448 |
diff --git a/app-emulation/libguestfs/libguestfs-1.28.5_p1-r3.ebuild b/app-emulation/libguestfs/libguestfs-1.28.5_p1-r3.ebuild |
449 |
deleted file mode 100644 |
450 |
index 358465f..0000000 |
451 |
--- a/app-emulation/libguestfs/libguestfs-1.28.5_p1-r3.ebuild |
452 |
+++ /dev/null |
453 |
@@ -1,161 +0,0 @@ |
454 |
-# Copyright 1999-2017 Gentoo Foundation |
455 |
-# Distributed under the terms of the GNU General Public License v2 |
456 |
- |
457 |
-EAPI=6 |
458 |
- |
459 |
-WANT_LIBTOOL=latest |
460 |
-WANT_AUTOMAKE=1.14 |
461 |
-PYTHON_COMPAT=( python{2_7,3_{4,5}} ) |
462 |
- |
463 |
-inherit python-single-r1 autotools versionator linux-info perl-module |
464 |
- |
465 |
-MY_PV_1="$(get_version_component_range 1-2)" |
466 |
-MY_PV_2="$(get_version_component_range 2)" |
467 |
-[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development" |
468 |
-MY_P="${P/_p1/}" |
469 |
- |
470 |
-DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images" |
471 |
-HOMEPAGE="http://libguestfs.org/" |
472 |
-SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${MY_P}.tar.gz" |
473 |
- |
474 |
-LICENSE="GPL-2 LGPL-2" |
475 |
-SLOT="0/"${MY_PV_1}"" |
476 |
- |
477 |
-KEYWORDS="~amd64" |
478 |
-IUSE="bash-completion erlang +fuse debug ocaml doc +perl python ruby static-libs |
479 |
-selinux systemtap introspection inspect-icons test lua" |
480 |
- |
481 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
482 |
- |
483 |
-# Failures - doc |
484 |
-# Failures - bash-completion, see GBZ #486306 |
485 |
- |
486 |
-COMMON_DEPEND=" |
487 |
- sys-libs/ncurses:0= |
488 |
- sys-devel/gettext |
489 |
- >=app-misc/hivex-1.3.1 |
490 |
- dev-libs/libpcre:3 |
491 |
- app-arch/cpio |
492 |
- dev-lang/perl |
493 |
- virtual/cdrtools |
494 |
- >=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps] |
495 |
- sys-apps/fakeroot |
496 |
- sys-apps/file |
497 |
- app-emulation/libvirt |
498 |
- dev-libs/libxml2:2 |
499 |
- >=sys-apps/fakechroot-2.8 |
500 |
- >=app-admin/augeas-1.0.0 |
501 |
- sys-fs/squashfs-tools:* |
502 |
- dev-libs/libconfig |
503 |
- sys-libs/readline:0= |
504 |
- >=sys-libs/db-4.6:* |
505 |
- app-arch/xz-utils |
506 |
- app-arch/lzma |
507 |
- app-crypt/gnupg |
508 |
- app-arch/unzip[natspec] |
509 |
- perl? ( virtual/perl-ExtUtils-MakeMaker |
510 |
- >=dev-perl/Sys-Virt-0.2.4 |
511 |
- virtual/perl-Getopt-Long |
512 |
- virtual/perl-Data-Dumper |
513 |
- dev-perl/libintl-perl |
514 |
- >=app-misc/hivex-1.3.1[perl?] |
515 |
- dev-perl/String-ShellQuote |
516 |
- ) |
517 |
- python? ( ${PYTHON_DEPS} ) |
518 |
- fuse? ( sys-fs/fuse:= ) |
519 |
- introspection? ( |
520 |
- >=dev-libs/gobject-introspection-1.30.0:= |
521 |
- dev-libs/gjs |
522 |
- ) |
523 |
- selinux? ( sys-libs/libselinux sys-libs/libsemanage ) |
524 |
- systemtap? ( dev-util/systemtap ) |
525 |
- ocaml? ( dev-lang/ocaml[ocamlopt] |
526 |
- dev-ml/findlib[ocamlopt] |
527 |
- dev-ml/ocaml-gettext |
528 |
- ) |
529 |
- erlang? ( dev-lang/erlang ) |
530 |
- inspect-icons? ( media-libs/netpbm |
531 |
- media-gfx/icoutils |
532 |
- ) |
533 |
- virtual/acl |
534 |
- sys-libs/libcap |
535 |
- lua? ( dev-lang/lua:* ) |
536 |
- >=app-shells/bash-completion-2.0 |
537 |
- dev-libs/yajl |
538 |
- " |
539 |
- |
540 |
-DEPEND="${COMMON_DEPEND} |
541 |
- dev-util/gperf |
542 |
- doc? ( app-text/po4a ) |
543 |
- ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake ) |
544 |
- " |
545 |
-RDEPEND="${COMMON_DEPEND} |
546 |
- app-emulation/libguestfs-appliance |
547 |
- " |
548 |
- |
549 |
-DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO ) |
550 |
- |
551 |
-S="${WORKDIR}/${MY_P}" |
552 |
- |
553 |
-pkg_setup () { |
554 |
- CONFIG_CHECK="~KVM ~VIRTIO" |
555 |
- [ -n "${CONFIG_CHECK}" ] && check_extra_config; |
556 |
- |
557 |
- use python && python-single-r1_pkg_setup |
558 |
-} |
559 |
- |
560 |
-src_prepare() { |
561 |
- eapply "${FILESDIR}"/${MY_PV_1} |
562 |
- eapply_user |
563 |
- eaclocal |
564 |
- eautomake |
565 |
- eautoconf |
566 |
-} |
567 |
- |
568 |
-src_configure() { |
569 |
- # Disable feature test for kvm for more reason |
570 |
- # i.e: not loaded module in __build__ time, |
571 |
- # build server not supported kvm, etc. ... |
572 |
- # |
573 |
- # In fact, this feature is virtio support and requires |
574 |
- # configured kernel. |
575 |
- export vmchannel_test=no |
576 |
- |
577 |
- econf \ |
578 |
- $(use_enable test werror) \ |
579 |
- --with-libvirt \ |
580 |
- --with-default-backend=libvirt \ |
581 |
- --disable-appliance \ |
582 |
- --disable-daemon \ |
583 |
- --with-extra="-gentoo" \ |
584 |
- --with-readline \ |
585 |
- --disable-php \ |
586 |
- $(use_enable python) \ |
587 |
- --without-java \ |
588 |
- $(use_enable perl) \ |
589 |
- $(use_enable fuse) \ |
590 |
- $(use_enable ocaml) \ |
591 |
- $(use_enable ruby) \ |
592 |
- --disable-haskell \ |
593 |
- --disable-golang \ |
594 |
- $(use_enable introspection gobject) \ |
595 |
- $(use_enable erlang) \ |
596 |
- $(use_enable systemtap probes) \ |
597 |
- $(use_enable lua) |
598 |
-} |
599 |
- |
600 |
-src_install() { |
601 |
- strip-linguas -i po |
602 |
- emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}""" |
603 |
- |
604 |
- use perl && perl_delete_localpod |
605 |
-} |
606 |
- |
607 |
-pkg_postinst() { |
608 |
- if ! use perl ; then |
609 |
- einfo "Perl based tools NOT build" |
610 |
- fi |
611 |
- if ! use ocaml ; then |
612 |
- einfo "Ocaml based tools ( sysprep , ... ) NOT installed" |
613 |
- fi |
614 |
-} |
615 |
|
616 |
diff --git a/app-emulation/libguestfs/libguestfs-1.36.11.ebuild b/app-emulation/libguestfs/libguestfs-1.36.11.ebuild |
617 |
deleted file mode 100644 |
618 |
index 941ac25..0000000 |
619 |
--- a/app-emulation/libguestfs/libguestfs-1.36.11.ebuild |
620 |
+++ /dev/null |
621 |
@@ -1,167 +0,0 @@ |
622 |
-# Copyright 1999-2017 Gentoo Foundation |
623 |
-# Distributed under the terms of the GNU General Public License v2 |
624 |
- |
625 |
-EAPI=6 |
626 |
- |
627 |
-PYTHON_COMPAT=( python{2_7,3_{4,5}} ) |
628 |
- |
629 |
-inherit autotools linux-info perl-module python-single-r1 versionator |
630 |
- |
631 |
-MY_PV_1="$(get_version_component_range 1-2)" |
632 |
-MY_PV_2="$(get_version_component_range 2)" |
633 |
-[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development" |
634 |
- |
635 |
-DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images" |
636 |
-HOMEPAGE="http://libguestfs.org/" |
637 |
-SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz" |
638 |
- |
639 |
-LICENSE="GPL-2 LGPL-2" |
640 |
-SLOT="0/"${MY_PV_1}"" |
641 |
- |
642 |
-KEYWORDS="~amd64" |
643 |
-IUSE="bash-completion erlang +fuse debug doc +perl python ruby static-libs |
644 |
-selinux systemtap introspection inspect-icons test lua gtk" |
645 |
- |
646 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
647 |
- |
648 |
-# Failures - doc |
649 |
-# Failures - bash-completion, see GBZ #486306 |
650 |
- |
651 |
-# FIXME: selinux support is automagic |
652 |
-COMMON_DEPEND=" |
653 |
- sys-libs/ncurses:0= |
654 |
- sys-devel/gettext |
655 |
- >=app-misc/hivex-1.3.1 |
656 |
- dev-libs/libpcre:3 |
657 |
- app-arch/cpio |
658 |
- dev-lang/perl |
659 |
- virtual/cdrtools |
660 |
- >=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps] |
661 |
- sys-apps/fakeroot |
662 |
- sys-apps/file |
663 |
- app-emulation/libvirt |
664 |
- dev-libs/libxml2:2 |
665 |
- >=sys-apps/fakechroot-2.8 |
666 |
- >=app-admin/augeas-1.0.0 |
667 |
- sys-fs/squashfs-tools:* |
668 |
- dev-libs/libconfig |
669 |
- sys-libs/readline:0= |
670 |
- >=sys-libs/db-4.6:* |
671 |
- app-arch/xz-utils |
672 |
- app-arch/lzma |
673 |
- app-crypt/gnupg |
674 |
- app-arch/unzip[natspec] |
675 |
- perl? ( |
676 |
- virtual/perl-ExtUtils-MakeMaker |
677 |
- >=dev-perl/Sys-Virt-0.2.4 |
678 |
- virtual/perl-Getopt-Long |
679 |
- virtual/perl-Data-Dumper |
680 |
- dev-perl/libintl-perl |
681 |
- >=app-misc/hivex-1.3.1[perl?] |
682 |
- dev-perl/String-ShellQuote |
683 |
- ) |
684 |
- python? ( ${PYTHON_DEPS} ) |
685 |
- fuse? ( sys-fs/fuse:= ) |
686 |
- introspection? ( |
687 |
- >=dev-libs/glib-2.26:2 |
688 |
- >=dev-libs/gobject-introspection-1.30.0:= |
689 |
- dev-libs/gjs |
690 |
- ) |
691 |
- selinux? ( |
692 |
- sys-libs/libselinux |
693 |
- sys-libs/libsemanage |
694 |
- ) |
695 |
- systemtap? ( dev-util/systemtap ) |
696 |
- >=dev-lang/ocaml-4.02[ocamlopt] |
697 |
- dev-ml/findlib[ocamlopt] |
698 |
- dev-ml/ocaml-gettext |
699 |
- >=dev-ml/ounit-2 |
700 |
- erlang? ( dev-lang/erlang ) |
701 |
- inspect-icons? ( |
702 |
- media-libs/netpbm |
703 |
- media-gfx/icoutils |
704 |
- ) |
705 |
- virtual/acl |
706 |
- sys-libs/libcap |
707 |
- lua? ( dev-lang/lua:* ) |
708 |
- >=app-shells/bash-completion-2.0 |
709 |
- >=dev-libs/yajl-2.0.4 |
710 |
- gtk? ( |
711 |
- sys-apps/dbus |
712 |
- x11-libs/gtk+:3 |
713 |
- ) |
714 |
- " |
715 |
-DEPEND="${COMMON_DEPEND} |
716 |
- dev-util/gperf |
717 |
- >=dev-util/gtk-doc-am-1.14 |
718 |
- doc? ( app-text/po4a ) |
719 |
- ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake ) |
720 |
- " |
721 |
-RDEPEND="${COMMON_DEPEND} |
722 |
- app-emulation/libguestfs-appliance |
723 |
- " |
724 |
- |
725 |
-DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO ) |
726 |
- |
727 |
-pkg_setup () { |
728 |
- CONFIG_CHECK="~KVM ~VIRTIO" |
729 |
- [ -n "${CONFIG_CHECK}" ] && check_extra_config; |
730 |
- |
731 |
- use python && python-single-r1_pkg_setup |
732 |
-} |
733 |
- |
734 |
-src_prepare() { |
735 |
- eapply "${FILESDIR}"/${MY_PV_1} |
736 |
- eapply_user |
737 |
- eautoreconf |
738 |
-} |
739 |
- |
740 |
-src_configure() { |
741 |
- # Disable feature test for kvm for more reason |
742 |
- # i.e: not loaded module in __build__ time, |
743 |
- # build server not supported kvm, etc. ... |
744 |
- # |
745 |
- # In fact, this feature is virtio support and requires |
746 |
- # configured kernel. |
747 |
- export vmchannel_test=no |
748 |
- |
749 |
- econf \ |
750 |
- $(use_enable test werror) \ |
751 |
- --with-libvirt \ |
752 |
- --with-default-backend=libvirt \ |
753 |
- --disable-appliance \ |
754 |
- --disable-daemon \ |
755 |
- --with-extra="-gentoo" \ |
756 |
- --with-readline \ |
757 |
- --disable-php \ |
758 |
- $(use_enable python) \ |
759 |
- --without-java \ |
760 |
- $(use_enable perl) \ |
761 |
- $(use_enable fuse) \ |
762 |
- --enable-ocaml \ |
763 |
- $(use_enable ruby) \ |
764 |
- --disable-haskell \ |
765 |
- --disable-golang \ |
766 |
- $(use_enable introspection gobject) \ |
767 |
- $(use_enable erlang) \ |
768 |
- $(use_enable systemtap probes) \ |
769 |
- $(use_enable lua) \ |
770 |
- --with-gtk=$(usex gtk 3 no) \ |
771 |
- $(usex doc '' PO4A=no) |
772 |
-} |
773 |
- |
774 |
-src_install() { |
775 |
- strip-linguas -i po |
776 |
- emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}""" |
777 |
- |
778 |
- use perl && perl_delete_localpod |
779 |
-} |
780 |
- |
781 |
-pkg_postinst() { |
782 |
- if ! use perl ; then |
783 |
- einfo "Perl based tools NOT build" |
784 |
- fi |
785 |
- if ! gtk ; then |
786 |
- einfo "virt-p2v NOT installed" |
787 |
- fi |
788 |
-} |
789 |
|
790 |
diff --git a/app-emulation/libguestfs/libguestfs-1.37.35.ebuild b/app-emulation/libguestfs/libguestfs-1.37.35.ebuild |
791 |
deleted file mode 100644 |
792 |
index dcebb63..0000000 |
793 |
--- a/app-emulation/libguestfs/libguestfs-1.37.35.ebuild |
794 |
+++ /dev/null |
795 |
@@ -1,167 +0,0 @@ |
796 |
-# Copyright 1999-2017 Gentoo Foundation |
797 |
-# Distributed under the terms of the GNU General Public License v2 |
798 |
- |
799 |
-EAPI=6 |
800 |
- |
801 |
-PYTHON_COMPAT=( python{2_7,3_{4,5}} ) |
802 |
- |
803 |
-inherit autotools linux-info perl-module python-single-r1 versionator |
804 |
- |
805 |
-MY_PV_1="$(get_version_component_range 1-2)" |
806 |
-MY_PV_2="$(get_version_component_range 2)" |
807 |
-[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development" |
808 |
- |
809 |
-DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images" |
810 |
-HOMEPAGE="http://libguestfs.org/" |
811 |
-SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz" |
812 |
- |
813 |
-LICENSE="GPL-2 LGPL-2" |
814 |
-SLOT="0/"${MY_PV_1}"" |
815 |
- |
816 |
-KEYWORDS="~amd64" |
817 |
-IUSE="bash-completion erlang +fuse debug doc +perl python ruby static-libs |
818 |
-selinux systemtap introspection inspect-icons test lua gtk" |
819 |
- |
820 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
821 |
- |
822 |
-# Failures - doc |
823 |
-# Failures - bash-completion, see GBZ #486306 |
824 |
- |
825 |
-# FIXME: selinux support is automagic |
826 |
-COMMON_DEPEND=" |
827 |
- sys-libs/ncurses:0= |
828 |
- sys-devel/gettext |
829 |
- >=app-misc/hivex-1.3.1 |
830 |
- dev-libs/libpcre:3 |
831 |
- app-arch/cpio |
832 |
- dev-lang/perl |
833 |
- virtual/cdrtools |
834 |
- >=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps] |
835 |
- sys-apps/fakeroot |
836 |
- sys-apps/file |
837 |
- app-emulation/libvirt |
838 |
- dev-libs/libxml2:2 |
839 |
- >=sys-apps/fakechroot-2.8 |
840 |
- >=app-admin/augeas-1.0.0 |
841 |
- sys-fs/squashfs-tools:* |
842 |
- dev-libs/libconfig |
843 |
- sys-libs/readline:0= |
844 |
- >=sys-libs/db-4.6:* |
845 |
- app-arch/xz-utils |
846 |
- app-arch/lzma |
847 |
- app-crypt/gnupg |
848 |
- app-arch/unzip[natspec] |
849 |
- perl? ( |
850 |
- virtual/perl-ExtUtils-MakeMaker |
851 |
- >=dev-perl/Sys-Virt-0.2.4 |
852 |
- virtual/perl-Getopt-Long |
853 |
- virtual/perl-Data-Dumper |
854 |
- dev-perl/libintl-perl |
855 |
- >=app-misc/hivex-1.3.1[perl?] |
856 |
- dev-perl/String-ShellQuote |
857 |
- ) |
858 |
- python? ( ${PYTHON_DEPS} ) |
859 |
- fuse? ( sys-fs/fuse:= ) |
860 |
- introspection? ( |
861 |
- >=dev-libs/glib-2.26:2 |
862 |
- >=dev-libs/gobject-introspection-1.30.0:= |
863 |
- dev-libs/gjs |
864 |
- ) |
865 |
- selinux? ( |
866 |
- sys-libs/libselinux |
867 |
- sys-libs/libsemanage |
868 |
- ) |
869 |
- systemtap? ( dev-util/systemtap ) |
870 |
- >=dev-lang/ocaml-4.02[ocamlopt] |
871 |
- dev-ml/findlib[ocamlopt] |
872 |
- dev-ml/ocaml-gettext |
873 |
- >=dev-ml/ounit-2 |
874 |
- erlang? ( dev-lang/erlang ) |
875 |
- inspect-icons? ( |
876 |
- media-libs/netpbm |
877 |
- media-gfx/icoutils |
878 |
- ) |
879 |
- virtual/acl |
880 |
- sys-libs/libcap |
881 |
- lua? ( dev-lang/lua:* ) |
882 |
- >=app-shells/bash-completion-2.0 |
883 |
- >=dev-libs/yajl-2.0.4 |
884 |
- gtk? ( |
885 |
- sys-apps/dbus |
886 |
- x11-libs/gtk+:3 |
887 |
- ) |
888 |
- " |
889 |
-DEPEND="${COMMON_DEPEND} |
890 |
- dev-util/gperf |
891 |
- >=dev-util/gtk-doc-am-1.14 |
892 |
- doc? ( app-text/po4a ) |
893 |
- ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake ) |
894 |
- " |
895 |
-RDEPEND="${COMMON_DEPEND} |
896 |
- app-emulation/libguestfs-appliance |
897 |
- " |
898 |
- |
899 |
-DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO ) |
900 |
- |
901 |
-pkg_setup () { |
902 |
- CONFIG_CHECK="~KVM ~VIRTIO" |
903 |
- [ -n "${CONFIG_CHECK}" ] && check_extra_config; |
904 |
- |
905 |
- use python && python-single-r1_pkg_setup |
906 |
-} |
907 |
- |
908 |
-src_prepare() { |
909 |
- [ "$(ls -A \"${FILESDIR}\"/${MY_PV_1})" ] && eapply "${FILESDIR}"/${MY_PV_1} |
910 |
- eapply_user |
911 |
- eautoreconf |
912 |
-} |
913 |
- |
914 |
-src_configure() { |
915 |
- # Disable feature test for kvm for more reason |
916 |
- # i.e: not loaded module in __build__ time, |
917 |
- # build server not supported kvm, etc. ... |
918 |
- # |
919 |
- # In fact, this feature is virtio support and requires |
920 |
- # configured kernel. |
921 |
- export vmchannel_test=no |
922 |
- |
923 |
- econf \ |
924 |
- $(use_enable test werror) \ |
925 |
- --with-libvirt \ |
926 |
- --with-default-backend=libvirt \ |
927 |
- --disable-appliance \ |
928 |
- --disable-daemon \ |
929 |
- --with-extra="-gentoo" \ |
930 |
- --with-readline \ |
931 |
- --disable-php \ |
932 |
- $(use_enable python) \ |
933 |
- --without-java \ |
934 |
- $(use_enable perl) \ |
935 |
- $(use_enable fuse) \ |
936 |
- --enable-ocaml \ |
937 |
- $(use_enable ruby) \ |
938 |
- --disable-haskell \ |
939 |
- --disable-golang \ |
940 |
- $(use_enable introspection gobject) \ |
941 |
- $(use_enable erlang) \ |
942 |
- $(use_enable systemtap probes) \ |
943 |
- $(use_enable lua) \ |
944 |
- --with-gtk=$(usex gtk 3 no) \ |
945 |
- $(usex doc '' PO4A=no) |
946 |
-} |
947 |
- |
948 |
-src_install() { |
949 |
- strip-linguas -i po |
950 |
- emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}""" |
951 |
- |
952 |
- use perl && perl_delete_localpod |
953 |
-} |
954 |
- |
955 |
-pkg_postinst() { |
956 |
- if ! use perl ; then |
957 |
- einfo "Perl based tools NOT build" |
958 |
- fi |
959 |
- if ! gtk ; then |
960 |
- einfo "virt-p2v NOT installed" |
961 |
- fi |
962 |
-} |
963 |
|
964 |
diff --git a/app-emulation/libguestfs/libguestfs-1.38.6.ebuild b/app-emulation/libguestfs/libguestfs-1.38.6.ebuild |
965 |
deleted file mode 100644 |
966 |
index 941ac25..0000000 |
967 |
--- a/app-emulation/libguestfs/libguestfs-1.38.6.ebuild |
968 |
+++ /dev/null |
969 |
@@ -1,167 +0,0 @@ |
970 |
-# Copyright 1999-2017 Gentoo Foundation |
971 |
-# Distributed under the terms of the GNU General Public License v2 |
972 |
- |
973 |
-EAPI=6 |
974 |
- |
975 |
-PYTHON_COMPAT=( python{2_7,3_{4,5}} ) |
976 |
- |
977 |
-inherit autotools linux-info perl-module python-single-r1 versionator |
978 |
- |
979 |
-MY_PV_1="$(get_version_component_range 1-2)" |
980 |
-MY_PV_2="$(get_version_component_range 2)" |
981 |
-[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development" |
982 |
- |
983 |
-DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images" |
984 |
-HOMEPAGE="http://libguestfs.org/" |
985 |
-SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz" |
986 |
- |
987 |
-LICENSE="GPL-2 LGPL-2" |
988 |
-SLOT="0/"${MY_PV_1}"" |
989 |
- |
990 |
-KEYWORDS="~amd64" |
991 |
-IUSE="bash-completion erlang +fuse debug doc +perl python ruby static-libs |
992 |
-selinux systemtap introspection inspect-icons test lua gtk" |
993 |
- |
994 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
995 |
- |
996 |
-# Failures - doc |
997 |
-# Failures - bash-completion, see GBZ #486306 |
998 |
- |
999 |
-# FIXME: selinux support is automagic |
1000 |
-COMMON_DEPEND=" |
1001 |
- sys-libs/ncurses:0= |
1002 |
- sys-devel/gettext |
1003 |
- >=app-misc/hivex-1.3.1 |
1004 |
- dev-libs/libpcre:3 |
1005 |
- app-arch/cpio |
1006 |
- dev-lang/perl |
1007 |
- virtual/cdrtools |
1008 |
- >=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps] |
1009 |
- sys-apps/fakeroot |
1010 |
- sys-apps/file |
1011 |
- app-emulation/libvirt |
1012 |
- dev-libs/libxml2:2 |
1013 |
- >=sys-apps/fakechroot-2.8 |
1014 |
- >=app-admin/augeas-1.0.0 |
1015 |
- sys-fs/squashfs-tools:* |
1016 |
- dev-libs/libconfig |
1017 |
- sys-libs/readline:0= |
1018 |
- >=sys-libs/db-4.6:* |
1019 |
- app-arch/xz-utils |
1020 |
- app-arch/lzma |
1021 |
- app-crypt/gnupg |
1022 |
- app-arch/unzip[natspec] |
1023 |
- perl? ( |
1024 |
- virtual/perl-ExtUtils-MakeMaker |
1025 |
- >=dev-perl/Sys-Virt-0.2.4 |
1026 |
- virtual/perl-Getopt-Long |
1027 |
- virtual/perl-Data-Dumper |
1028 |
- dev-perl/libintl-perl |
1029 |
- >=app-misc/hivex-1.3.1[perl?] |
1030 |
- dev-perl/String-ShellQuote |
1031 |
- ) |
1032 |
- python? ( ${PYTHON_DEPS} ) |
1033 |
- fuse? ( sys-fs/fuse:= ) |
1034 |
- introspection? ( |
1035 |
- >=dev-libs/glib-2.26:2 |
1036 |
- >=dev-libs/gobject-introspection-1.30.0:= |
1037 |
- dev-libs/gjs |
1038 |
- ) |
1039 |
- selinux? ( |
1040 |
- sys-libs/libselinux |
1041 |
- sys-libs/libsemanage |
1042 |
- ) |
1043 |
- systemtap? ( dev-util/systemtap ) |
1044 |
- >=dev-lang/ocaml-4.02[ocamlopt] |
1045 |
- dev-ml/findlib[ocamlopt] |
1046 |
- dev-ml/ocaml-gettext |
1047 |
- >=dev-ml/ounit-2 |
1048 |
- erlang? ( dev-lang/erlang ) |
1049 |
- inspect-icons? ( |
1050 |
- media-libs/netpbm |
1051 |
- media-gfx/icoutils |
1052 |
- ) |
1053 |
- virtual/acl |
1054 |
- sys-libs/libcap |
1055 |
- lua? ( dev-lang/lua:* ) |
1056 |
- >=app-shells/bash-completion-2.0 |
1057 |
- >=dev-libs/yajl-2.0.4 |
1058 |
- gtk? ( |
1059 |
- sys-apps/dbus |
1060 |
- x11-libs/gtk+:3 |
1061 |
- ) |
1062 |
- " |
1063 |
-DEPEND="${COMMON_DEPEND} |
1064 |
- dev-util/gperf |
1065 |
- >=dev-util/gtk-doc-am-1.14 |
1066 |
- doc? ( app-text/po4a ) |
1067 |
- ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake ) |
1068 |
- " |
1069 |
-RDEPEND="${COMMON_DEPEND} |
1070 |
- app-emulation/libguestfs-appliance |
1071 |
- " |
1072 |
- |
1073 |
-DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO ) |
1074 |
- |
1075 |
-pkg_setup () { |
1076 |
- CONFIG_CHECK="~KVM ~VIRTIO" |
1077 |
- [ -n "${CONFIG_CHECK}" ] && check_extra_config; |
1078 |
- |
1079 |
- use python && python-single-r1_pkg_setup |
1080 |
-} |
1081 |
- |
1082 |
-src_prepare() { |
1083 |
- eapply "${FILESDIR}"/${MY_PV_1} |
1084 |
- eapply_user |
1085 |
- eautoreconf |
1086 |
-} |
1087 |
- |
1088 |
-src_configure() { |
1089 |
- # Disable feature test for kvm for more reason |
1090 |
- # i.e: not loaded module in __build__ time, |
1091 |
- # build server not supported kvm, etc. ... |
1092 |
- # |
1093 |
- # In fact, this feature is virtio support and requires |
1094 |
- # configured kernel. |
1095 |
- export vmchannel_test=no |
1096 |
- |
1097 |
- econf \ |
1098 |
- $(use_enable test werror) \ |
1099 |
- --with-libvirt \ |
1100 |
- --with-default-backend=libvirt \ |
1101 |
- --disable-appliance \ |
1102 |
- --disable-daemon \ |
1103 |
- --with-extra="-gentoo" \ |
1104 |
- --with-readline \ |
1105 |
- --disable-php \ |
1106 |
- $(use_enable python) \ |
1107 |
- --without-java \ |
1108 |
- $(use_enable perl) \ |
1109 |
- $(use_enable fuse) \ |
1110 |
- --enable-ocaml \ |
1111 |
- $(use_enable ruby) \ |
1112 |
- --disable-haskell \ |
1113 |
- --disable-golang \ |
1114 |
- $(use_enable introspection gobject) \ |
1115 |
- $(use_enable erlang) \ |
1116 |
- $(use_enable systemtap probes) \ |
1117 |
- $(use_enable lua) \ |
1118 |
- --with-gtk=$(usex gtk 3 no) \ |
1119 |
- $(usex doc '' PO4A=no) |
1120 |
-} |
1121 |
- |
1122 |
-src_install() { |
1123 |
- strip-linguas -i po |
1124 |
- emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}""" |
1125 |
- |
1126 |
- use perl && perl_delete_localpod |
1127 |
-} |
1128 |
- |
1129 |
-pkg_postinst() { |
1130 |
- if ! use perl ; then |
1131 |
- einfo "Perl based tools NOT build" |
1132 |
- fi |
1133 |
- if ! gtk ; then |
1134 |
- einfo "virt-p2v NOT installed" |
1135 |
- fi |
1136 |
-} |
1137 |
|
1138 |
diff --git a/dev-python/gpustat/gpustat-0.3.2.ebuild b/dev-python/gpustat/gpustat-0.3.2.ebuild |
1139 |
deleted file mode 100644 |
1140 |
index 99b58e6..0000000 |
1141 |
--- a/dev-python/gpustat/gpustat-0.3.2.ebuild |
1142 |
+++ /dev/null |
1143 |
@@ -1,19 +0,0 @@ |
1144 |
-# automatically generated by g-sorcery |
1145 |
-# please do not edit this file |
1146 |
- |
1147 |
-EAPI=6 |
1148 |
- |
1149 |
-REPO_URI="https://pypi.python.org/packages/cb/dd/5e58cf3c1413d2e316827e719ccf97a9d1fb738f57e73d647c7d7f130655/" |
1150 |
-SOURCEFILE="${P}.tar.gz" |
1151 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) |
1152 |
- |
1153 |
-inherit gs-pypi |
1154 |
- |
1155 |
-DESCRIPTION="GPU-based statistical functions" |
1156 |
- |
1157 |
-HOMEPAGE="https://github.com/wookayin/gpustat" |
1158 |
-LICENSE="MIT" |
1159 |
- |
1160 |
-SLOT="0" |
1161 |
-KEYWORDS="~amd64 ~x86" |
1162 |
- |
1163 |
|
1164 |
diff --git a/dev-util/rpmdevtools/Manifest b/dev-util/rpmdevtools/Manifest |
1165 |
deleted file mode 100644 |
1166 |
index b4e5dad..0000000 |
1167 |
--- a/dev-util/rpmdevtools/Manifest |
1168 |
+++ /dev/null |
1169 |
@@ -1,2 +0,0 @@ |
1170 |
-EBUILD rpmdevtools-9999.ebuild 981 BLAKE2B 1e991cdfcb988b3691dcb6da9f1f0e60960c4daf58e89aa9796107bda43e99501c667ea322db744bce78d1573fe3c6c81b8337e563c8e0cbca64c1be792dd620 SHA512 be65f56386dbe49175c14857b5e61dbea87d8825cf52bab4436790b93c30598c9585bf39b33a6cff1ee51318dcb2dcd34c39d96f9d4af3f4be7c8a6d7af18084 |
1171 |
-MISC metadata.xml 301 BLAKE2B 246ce5452405437380c57e26776e93f7b4c0db826decc49ba2719e687d5797e2002cdce8d268cc49a61954ac9a75775bb10e3cdc95a3b8ad00f1699954816e00 SHA512 9e08aaecf471edeaf6f562b8803aa7edf7692102ca00fc101ee31700ad6d819904f96d7b9f0d2d44d59afcfe570053afbbf723bc5095d2ff4d1dddee0374b00f |
1172 |
|
1173 |
diff --git a/dev-util/rpmdevtools/metadata.xml b/dev-util/rpmdevtools/metadata.xml |
1174 |
deleted file mode 100644 |
1175 |
index bdcde50..0000000 |
1176 |
--- a/dev-util/rpmdevtools/metadata.xml |
1177 |
+++ /dev/null |
1178 |
@@ -1,11 +0,0 @@ |
1179 |
-<?xml version="1.0" encoding="UTF-8"?> |
1180 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1181 |
-<pkgmetadata> |
1182 |
- <herd>ixit</herd> |
1183 |
- <maintainer> |
1184 |
- <email>pavlix@××××××.net</email> |
1185 |
- <name>Pavel Šimerda</name> |
1186 |
- </maintainer> |
1187 |
- <longdescription lang="en"> |
1188 |
- </longdescription> |
1189 |
-</pkgmetadata> |
1190 |
|
1191 |
diff --git a/dev-util/rpmdevtools/rpmdevtools-9999.ebuild b/dev-util/rpmdevtools/rpmdevtools-9999.ebuild |
1192 |
deleted file mode 100644 |
1193 |
index ef0f82f..0000000 |
1194 |
--- a/dev-util/rpmdevtools/rpmdevtools-9999.ebuild |
1195 |
+++ /dev/null |
1196 |
@@ -1,50 +0,0 @@ |
1197 |
-# Copyright 1999-2013 Gentoo Foundation |
1198 |
-# Distributed under the terms of the GNU General Public License v2 |
1199 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/rpmdevtools/rpmdevtools-8.3-r1.ebuild,v 1.2 2013/06/04 21:40:33 bicatali Exp $ |
1200 |
- |
1201 |
-EAPI=6 |
1202 |
-PYTHON_COMPAT=( python{2_7,3_4} ) |
1203 |
- |
1204 |
-inherit fedora-fedorahosted git-r3 python-r1 autotools |
1205 |
- |
1206 |
-DESCRIPTION="Collection of rpm packaging related utilities" |
1207 |
- |
1208 |
-LICENSE="GPL-2" |
1209 |
-SLOT="0" |
1210 |
-IUSE="emacs" |
1211 |
- |
1212 |
-COMMON_DEPEND=" |
1213 |
- ${PYTHON_DEPS} |
1214 |
- app-arch/rpm[${PYTHON_USEDEP}] |
1215 |
- net-misc/curl |
1216 |
- emacs? ( app-emacs/rpm-spec-mode ) |
1217 |
- dev-util/checkbashisms |
1218 |
-" |
1219 |
-DEPEND=" |
1220 |
- ${COMMON_DEPEND} |
1221 |
- dev-lang/perl |
1222 |
- sys-apps/help2man |
1223 |
-" |
1224 |
-RDEPEND=" |
1225 |
- ${COMMON_DEPEND} |
1226 |
-" |
1227 |
- |
1228 |
-#src_prepare() { |
1229 |
-# python_copy_sources |
1230 |
-#} |
1231 |
- |
1232 |
-src_prepare() { |
1233 |
- [ "${PV}" = 9999 ] && eautoreconf |
1234 |
-} |
1235 |
- |
1236 |
-#src_configure() { |
1237 |
-# python_foreach_impl run_in_build_dir econf |
1238 |
-#} |
1239 |
- |
1240 |
-#src_compile() { |
1241 |
-# python_foreach_impl run_in_build_dir make |
1242 |
-#} |
1243 |
-# |
1244 |
-#src_compile() { |
1245 |
-# python_foreach_impl run_in_build_dir make install DESTDIR=${ED} |
1246 |
-#} |
1247 |
|
1248 |
diff --git a/media-tv/plex-media-server/Manifest b/media-tv/plex-media-server/Manifest |
1249 |
deleted file mode 100644 |
1250 |
index a37c2db..0000000 |
1251 |
--- a/media-tv/plex-media-server/Manifest |
1252 |
+++ /dev/null |
1253 |
@@ -1,8 +0,0 @@ |
1254 |
-AUX conf.d/plex-media-server 216 BLAKE2B 094d0f6f7cdfa696ae47d7879c7459be5755dfe02a12c3ee986c1078ae0a46d974adc25dce252a49c3fd72e0dfe1ba65c49d575e12036fba44ce9b0390da64ec SHA512 d3d68fa58a1c1064803a9607708123302890571e823e5bc26de741bb15bd51db19234636672ff01757cbbcdb984c60663545689fa915761c78c3cf49e6da0f95 |
1255 |
-AUX init.d/plex-media-server 413 BLAKE2B f60fe9f653c591cddaf77a0ebcb47218681a63235e82bc016c7d2ee9180df7f6ff24f3784216ea370bdc2d493531492f196200b6ec56ff8b303e69adaa0f108d SHA512 aeb873a00081f20abd27cc76d395908ae0643bd8aa665557adafef2ed97edbe93c18b55818b49227746f9c3ce4b7a81ceb9132f07d8d873bc7b5a932b944a402 |
1256 |
-AUX systemd/plex-media-server.service 159 BLAKE2B d4988890f6424e0b9160e90df0125fbcb32e86443c5b869f66ac6e28c3701fdaa3dd819823edd0c8675792bf4e24e7fcf3bb8894e55539ad8fc5eb9ac9a550fc SHA512 9066840efa43b127dd0d4b26ea0552894db97bf48f89003258095986e7d4728e05bee2f49de856777ed3d0b5ec41654c14505bc9867b227b754aeecd0529abd6 |
1257 |
-AUX virtualenv_start_pms.patch 901 BLAKE2B b9b907236bf15bc0d3f0a89f66b0732d662ca85a033fe20e3a95c4838b3205df37dbccc18c5109a0ec1f5fd92fed4774fab480f97fbe04927b5723136c791dd5 SHA512 3ba436d5d2cb85770cbc953774fb18118bff36506abe9eec6efead9adc2c863bb66b9593b1fbe9b12bc652917e962cd0bf99d7ee822a77009d77259194186e23 |
1258 |
-DIST plexmediaserver_1.18.2.2029-36236cc4c_amd64.deb 86133786 BLAKE2B b33a53e48b190b70cc3cc2b7aa0b311a7e0f18423473fb45805cfaf60417eacb59f4e46aaa66b63f1511e4eff4ebbf6d2f3a8e905a7c7487cfdcedb119ed9959 SHA512 e0f3c4fde6cdd010314843457ac89407361046ad2ff69d919f2ac6b22d92bf96f89c63152eaa04c6071baa32eff747d56c23fc4a678d5700f2f98793a2fd3dd3 |
1259 |
-DIST plexmediaserver_1.18.2.2029-36236cc4c_i386.deb 72963886 BLAKE2B 28b09dbaedad1394627231ce7747c7b6b6af8d6f8a0b9eec6bc9728dd7206d0a2f733f69109133c16c5a776c06c51b3c9e511cb53c46eb2345d27c1f1b1de650 SHA512 ed091de6593cd7a9a8c5c1b2c776a405816276f8902d352ed4cf251857cce191ea00a2ada58ace525b97c9ffbd675f756384f420fba7edc4ab056aaafec5acb9 |
1260 |
-EBUILD plex-media-server-1.18.2.ebuild 5214 BLAKE2B 0c5c770dade237ec662a536623af23ba69013a3d526b2816d5783f6fa0ab173c3efcd0f4ebbab881940fd948adf592c33b169bf75569b681acef7547a7255d51 SHA512 a64d2b254b02d6a62560f6686fdd34d614a51cc5028d98046b23f585f4d47376fccae1a1302c282d8655f92ffd39f377aef3dec745cf0f464b8ccf43c5959e3b |
1261 |
-MISC metadata.xml 245 BLAKE2B 94154a8bdd62b19999d65d599876471c8e44c02209c12a20d75667a21eb873ad59b42d27536d54ff1274d57bad9d73d81eaacea36b8b02e01b40b9eb5e6c82d4 SHA512 c3c7907e50537dd94fdcec1da306eee2f050e5a456d369cd3df8c9bf36c810d811fe547418a8025e533916eb52a742d9feafae647b2957820d99ed962dad302e |
1262 |
|
1263 |
diff --git a/media-tv/plex-media-server/files/conf.d/plex-media-server b/media-tv/plex-media-server/files/conf.d/plex-media-server |
1264 |
deleted file mode 100644 |
1265 |
index 7fe754f..0000000 |
1266 |
--- a/media-tv/plex-media-server/files/conf.d/plex-media-server |
1267 |
+++ /dev/null |
1268 |
@@ -1,7 +0,0 @@ |
1269 |
-# Config file for /etc/init.d/plex-media-server |
1270 |
- |
1271 |
-PLEX_PIDFILE="/var/run/plex-media-server.pid" |
1272 |
-PLEX_OUTLOG="/var/log/pms/out.log" |
1273 |
-PLEX_ERRLOG="/var/log/pms/err.log" |
1274 |
-PLEX_USER="plex" |
1275 |
-PLEX_SCRIPT="/usr/sbin/start_pms" |
1276 |
|
1277 |
diff --git a/media-tv/plex-media-server/files/init.d/plex-media-server b/media-tv/plex-media-server/files/init.d/plex-media-server |
1278 |
deleted file mode 100755 |
1279 |
index 102ac80..0000000 |
1280 |
--- a/media-tv/plex-media-server/files/init.d/plex-media-server |
1281 |
+++ /dev/null |
1282 |
@@ -1,20 +0,0 @@ |
1283 |
-#!/sbin/openrc-run |
1284 |
- |
1285 |
-depend() { |
1286 |
- need avahi-daemon |
1287 |
-} |
1288 |
- |
1289 |
-start() { |
1290 |
- ebegin "Starting Plex Media Server" |
1291 |
- start-stop-daemon -S -m -p ${PLEX_PIDFILE} -1 ${PLEX_OUTLOG} -2 ${PLEX_ERRLOG} --quiet -u ${PLEX_USER} -N -5 -b --exec ${PLEX_SCRIPT} |
1292 |
- eend $? |
1293 |
-} |
1294 |
- |
1295 |
-stop() { |
1296 |
- ebegin "Stopping Plex Media Server" |
1297 |
- kill -- -`cat ${PLEX_PIDFILE}` |
1298 |
- |
1299 |
- # Remove stale pid file since this is a dirty solution |
1300 |
- rm ${PLEX_PIDFILE} |
1301 |
- eend $? |
1302 |
-} |
1303 |
|
1304 |
diff --git a/media-tv/plex-media-server/files/systemd/plex-media-server.service b/media-tv/plex-media-server/files/systemd/plex-media-server.service |
1305 |
deleted file mode 100644 |
1306 |
index 12412a8..0000000 |
1307 |
--- a/media-tv/plex-media-server/files/systemd/plex-media-server.service |
1308 |
+++ /dev/null |
1309 |
@@ -1,11 +0,0 @@ |
1310 |
-[Unit] |
1311 |
-Description=Plex Media Server |
1312 |
-After=network.target |
1313 |
- |
1314 |
-[Service] |
1315 |
-Type=simple |
1316 |
-User=plex |
1317 |
-ExecStart=/usr/sbin/start_pms |
1318 |
- |
1319 |
-[Install] |
1320 |
-WantedBy=multi-user.target |
1321 |
|
1322 |
diff --git a/media-tv/plex-media-server/files/virtualenv_start_pms.patch b/media-tv/plex-media-server/files/virtualenv_start_pms.patch |
1323 |
deleted file mode 100644 |
1324 |
index eae5d0c..0000000 |
1325 |
--- a/media-tv/plex-media-server/files/virtualenv_start_pms.patch |
1326 |
+++ /dev/null |
1327 |
@@ -1,14 +0,0 @@ |
1328 |
-diff -Naur a/usr/sbin/start_pms b/usr/sbin/start_pms |
1329 |
---- a/usr/sbin/start_pms 2019-11-17 18:19:09.003944254 +0000 |
1330 |
-+++ b/usr/sbin/start_pms 2019-11-17 18:17:13.456344630 +0000 |
1331 |
-@@ -20,6 +20,10 @@ |
1332 |
- |
1333 |
- test -f /etc/default/plexmediaserver && . /etc/default/plexmediaserver |
1334 |
- |
1335 |
-+# Activate python virtualenv |
1336 |
-+. "${PLEX_MEDIA_SERVER_HOME}"/Resources/Python/bin/activate |
1337 |
-+ |
1338 |
-+ |
1339 |
- if [ ! -d "$PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR" ] |
1340 |
- then |
1341 |
- mkdir -p "$PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR" |
1342 |
|
1343 |
diff --git a/media-tv/plex-media-server/metadata.xml b/media-tv/plex-media-server/metadata.xml |
1344 |
deleted file mode 100644 |
1345 |
index 1a06e96..0000000 |
1346 |
--- a/media-tv/plex-media-server/metadata.xml |
1347 |
+++ /dev/null |
1348 |
@@ -1,8 +0,0 @@ |
1349 |
-<?xml version="1.0" encoding="UTF-8"?> |
1350 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1351 |
-<pkgmetadata> |
1352 |
- <maintainer type="person"> |
1353 |
- <email>chainsaw@g.o</email> |
1354 |
- <name>Tony Vroon</name> |
1355 |
- </maintainer> |
1356 |
-</pkgmetadata> |
1357 |
|
1358 |
diff --git a/media-tv/plex-media-server/plex-media-server-1.18.2.ebuild b/media-tv/plex-media-server/plex-media-server-1.18.2.ebuild |
1359 |
deleted file mode 100644 |
1360 |
index ff689da..0000000 |
1361 |
--- a/media-tv/plex-media-server/plex-media-server-1.18.2.ebuild |
1362 |
+++ /dev/null |
1363 |
@@ -1,162 +0,0 @@ |
1364 |
-# Copyright 1999-2019 Gentoo Authors |
1365 |
-# Distributed under the terms of the GNU General Public License v2 |
1366 |
- |
1367 |
-EAPI=7 |
1368 |
- |
1369 |
-PYTHON_COMPAT=( python2_7 ) |
1370 |
-inherit eutils user systemd unpacker pax-utils python-single-r1 |
1371 |
- |
1372 |
-MINOR_VERSION="2029-36236cc4c" |
1373 |
- |
1374 |
-_APPNAME="plexmediaserver" |
1375 |
-_USERNAME="plex" |
1376 |
-_SHORTNAME="${_USERNAME}" |
1377 |
-_FULL_VERSION="${PV}.${MINOR_VERSION}" |
1378 |
- |
1379 |
-URI="https://downloads.plex.tv/plex-media-server-new" |
1380 |
- |
1381 |
-DESCRIPTION="A free media library that is intended for use with a plex client." |
1382 |
-HOMEPAGE="https://www.plex.tv/" |
1383 |
-SRC_URI="amd64? ( ${URI}/${_FULL_VERSION}/debian/plexmediaserver_${_FULL_VERSION}_amd64.deb ) |
1384 |
- x86? ( ${URI}/${_FULL_VERSION}/debian/plexmediaserver_${_FULL_VERSION}_i386.deb )" |
1385 |
-SLOT="0" |
1386 |
-LICENSE="Plex" |
1387 |
-RESTRICT="bindist strip" |
1388 |
-KEYWORDS="-* ~x86 ~amd64" |
1389 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
1390 |
- |
1391 |
-DEPEND=" |
1392 |
- sys-apps/fix-gnustack |
1393 |
- dev-python/virtualenv[${PYTHON_USEDEP}]" |
1394 |
- |
1395 |
-RDEPEND=" |
1396 |
- net-dns/avahi |
1397 |
- ${PYTHON_DEPS}" |
1398 |
- |
1399 |
-QA_DESKTOP_FILE="usr/share/applications/plexmediamanager.desktop" |
1400 |
-QA_PREBUILT="*" |
1401 |
-QA_MULTILIB_PATHS=( |
1402 |
- "usr/lib/${_APPNAME}/.*" |
1403 |
- "usr/lib/${_APPNAME}/Resources/Python/lib/python2.7/.*" |
1404 |
-) |
1405 |
- |
1406 |
-EXECSTACKED_BINS=( "${ED}/usr/lib/plexmediaserver/libgnsdk_dsp.so*" ) |
1407 |
-BINS_TO_PAX_MARK=( "${ED}/usr/lib/plexmediaserver/Plex Script Host" ) |
1408 |
- |
1409 |
-S="${WORKDIR}" |
1410 |
-PATCHES=( "${FILESDIR}/virtualenv_start_pms.patch" ) |
1411 |
- |
1412 |
-pkg_setup() { |
1413 |
- enewgroup ${_USERNAME} |
1414 |
- enewuser ${_USERNAME} -1 /bin/bash /var/lib/${_APPNAME} "${_USERNAME},video" |
1415 |
- python-single-r1_pkg_setup |
1416 |
-} |
1417 |
- |
1418 |
-src_unpack() { |
1419 |
- unpack_deb ${A} |
1420 |
-} |
1421 |
- |
1422 |
-src_install() { |
1423 |
- # Move the config to the correct place |
1424 |
- local CONFIG_VANILLA="/etc/default/plexmediaserver" |
1425 |
- local CONFIG_PATH="/etc/${_SHORTNAME}" |
1426 |
- dodir "${CONFIG_PATH}" |
1427 |
- insinto "${CONFIG_PATH}" |
1428 |
- doins "${CONFIG_VANILLA#/}" |
1429 |
- sed -e "s#${CONFIG_VANILLA}#${CONFIG_PATH}/${_APPNAME}#g" -i "${S}"/usr/sbin/start_pms || die |
1430 |
- |
1431 |
- # Remove Debian specific files |
1432 |
- rm -rf "usr/share/doc" || die |
1433 |
- |
1434 |
- # Copy main files over to image and preserve permissions so it is portable |
1435 |
- cp -rp usr/ "${ED}"/ || die |
1436 |
- |
1437 |
- # Make sure the logging directory is created |
1438 |
- local LOGGING_DIR="/var/log/pms" |
1439 |
- dodir "${LOGGING_DIR}" |
1440 |
- chown "${_USERNAME}":"${_USERNAME}" "${ED}/${LOGGING_DIR}" || die |
1441 |
- keepdir "${LOGGING_DIR}" |
1442 |
- |
1443 |
- # Create default library folder with correct permissions |
1444 |
- local DEFAULT_LIBRARY_DIR="/var/lib/${_APPNAME}" |
1445 |
- dodir "${DEFAULT_LIBRARY_DIR}" |
1446 |
- chown "${_USERNAME}":"${_USERNAME}" "${ED}/${DEFAULT_LIBRARY_DIR}" || die |
1447 |
- keepdir "${DEFAULT_LIBRARY_DIR}" |
1448 |
- |
1449 |
- # Install the OpenRC init/conf files |
1450 |
- doinitd "${FILESDIR}/init.d/${PN}" |
1451 |
- doconfd "${FILESDIR}/conf.d/${PN}" |
1452 |
- |
1453 |
- # Disabling due to Bug 644694 |
1454 |
- #_handle_multilib |
1455 |
- |
1456 |
- # Mask Plex libraries so that revdep-rebuild doesn't try to rebuild them. |
1457 |
- # Plex has its own precompiled libraries. |
1458 |
- _mask_plex_libraries_revdep |
1459 |
- |
1460 |
- # Install systemd service file |
1461 |
- local INIT_NAME="${PN}.service" |
1462 |
- local INIT="${FILESDIR}/systemd/${INIT_NAME}" |
1463 |
- systemd_newunit "${INIT}" "${INIT_NAME}" |
1464 |
- |
1465 |
- _remove_execstack_markings |
1466 |
- _add_pax_markings |
1467 |
- |
1468 |
- einfo "Configuring virtualenv" |
1469 |
- virtualenv -v --no-pip --no-setuptools --no-wheel "${ED}"/usr/lib/plexmediaserver/Resources/Python || die |
1470 |
- pushd "${ED}"/usr/lib/plexmediaserver/Resources/Python &>/dev/null || die |
1471 |
- find . -type f -exec sed -i -e "s#${D}##g" {} + || die |
1472 |
- popd &>/dev/null || die |
1473 |
-} |
1474 |
- |
1475 |
-pkg_postinst() { |
1476 |
- einfo "" |
1477 |
- elog "Plex Media Server is now installed. Please check the configuration file in /etc/${_SHORTNAME}/${_APPNAME} to verify the default settings." |
1478 |
- elog "To start the Plex Server, run 'rc-config start plex-media-server', you will then be able to access your library at http://<ip>:32400/web/" |
1479 |
-} |
1480 |
- |
1481 |
-# Disabling the follow function due to Bug 644694. |
1482 |
-# We shouldn't register plex libraries in global |
1483 |
-# library path since this will cause other packages |
1484 |
-# on the system to break. |
1485 |
- |
1486 |
-# Finds out where the library directory is for this system |
1487 |
-# and handles ldflags as to not break library dependencies |
1488 |
-# during rebuilds. |
1489 |
-_handle_multilib() { |
1490 |
- # Prevent revdep-rebuild, @preserved-rebuild breakage |
1491 |
- cat > "${T}"/66plex <<-EOF || die |
1492 |
- LDPATH="${EPREFIX}/usr/$(get_libdir)/plexmediaserver" |
1493 |
- EOF |
1494 |
- |
1495 |
- doenvd "${T}"/66plex |
1496 |
-} |
1497 |
- |
1498 |
-# Adds the precompiled plex libraries to the revdep-rebuild's mask list |
1499 |
-# so it doesn't try to rebuild libraries that can't be rebuilt. |
1500 |
-_mask_plex_libraries_revdep() { |
1501 |
- dodir /etc/revdep-rebuild/ |
1502 |
- |
1503 |
- # Bug: 659702. The upstream plex binary installs its precompiled package to /usr/lib. |
1504 |
- # Due to profile 17.1 splitting /usr/lib and /usr/lib64, we can no longer rely |
1505 |
- # on the implicit symlink automatically satisfying our revdep requirement when we use $(get_libdir). |
1506 |
- # Thus we will match upstream's directory automatically. If upstream switches their location, |
1507 |
- # then so should we. |
1508 |
- echo "SEARCH_DIRS_MASK=\"${EPREFIX}/usr/lib/plexmediaserver\"" > "${ED}"/etc/revdep-rebuild/80plexmediaserver |
1509 |
-} |
1510 |
- |
1511 |
-# Remove execstack flags from some libraries/executables |
1512 |
-# so that it works in hardened setups. |
1513 |
-_remove_execstack_markings() { |
1514 |
- for f in "${EXECSTACKED_BINS[@]}"; do |
1515 |
- # Unquoting 'f' so that expansion works. |
1516 |
- fix-gnustack -f ${f} > /dev/null |
1517 |
- done |
1518 |
-} |
1519 |
- |
1520 |
-# Add pax markings to some binaries so that they work on hardened setup. |
1521 |
-_add_pax_markings() { |
1522 |
- for f in "${BINS_TO_PAX_MARK[@]}"; do |
1523 |
- pax-mark m "${f}" |
1524 |
- done |
1525 |
-} |
1526 |
|
1527 |
diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest |
1528 |
deleted file mode 100644 |
1529 |
index 3f3f64e..0000000 |
1530 |
--- a/net-fs/samba/Manifest |
1531 |
+++ /dev/null |
1532 |
@@ -1,20 +0,0 @@ |
1533 |
-AUX 4.4/samba4.confd 2035 BLAKE2B a9fa538a0b259c8a184012e0370819729e24fa971de52e3d3891107bd78e6d4e074a2df80b1c424c23229ce5e84ea1da908887c8fef88dd45104eb5c6eb0e4a5 SHA512 d6a7ae560621407b7a5f94db6489d6a85c5056f4212a2a9a24210eaeb585caf4f15801282d1b8682962c0cf5642766fe09cc70c48fffafd1560de615154503af |
1534 |
-AUX 4.4/samba4.initd-r1 1125 BLAKE2B 204a639069495cfd711bd1c9dcd78a480e07bca7b760efdec49061f093d7e41dc6ce16b9264cc4762094bb7a796dc96d71003668416d40948036bd6fcc944a2e SHA512 982771fd7e1d260d8d4305eb18a3c15871f535b700d2b9554af24df62286e59ce6c5c76ef4ffee7a751fc01040eefaaabad71b2f67e3749ba1ee97a368b14d5a |
1535 |
-AUX nmbd.service 224 BLAKE2B 499598b7e80f3dddbcc0b2d3ba217774cfcd7d87cc5287bdc75b8b616e039e235f2202e4c5275421ec018911e92680da923d9403f7bfc65e1995216f4c157fef SHA512 098dfb270c5a5c29f59b4fd8d51b17931771e25e481124832f1a086677825527e2afa7276e8614e5007fbf044d253ce2eaf3a7caf7461ad5d90d0b1c7f157f9d |
1536 |
-AUX samba-4.4.0-pam.patch 895 BLAKE2B bdc0601527a932424d55946b2eeaa288420ce90a8fd9be2271709da5c113625e80ae3783975b725c515004382bea65336ef725241079081cec213e81cc6e3056 SHA512 5a00c6131c372fc1cc9e23e4a37314442bf9af8e420a040a7b20ec3d76a357959d456437ed13e2e17f938eb6dcb4e7c5d899ff3d670526b0a444f63e35d5262c |
1537 |
-AUX samba-4.5.1-compile_et_fix.patch 762 BLAKE2B 432d8380e3511c3dbb408479d0152fb0760e9e487a3033718fa39b9ca4a87a04c9cf8ac41a4b9268020a1d41dee9efa5bde3f0e71498483102fcae80749ad62c SHA512 9605751653dcbbce41be807a9b4f8e5f657db6622f843e91c4df9c4b3e4ad621b6e8e3891f2b970208d55a80801355988f253e3c844ca51a658cd6de8c373e24 |
1538 |
-AUX samba-4.7.3-krb-cross-compile.patch 1590 BLAKE2B 34cf304441731556556e40ed386f110dd8aa26a49680fa106b550edede86842e736c5652cd4aa54f0da7955600442cbc41350031dc8b67deae11f68050a6cf7c SHA512 0f762326f5b72d10e4c553630a8c4c433de884d80024c26e4f0e46b26bc24ac53c07642d833bb327f0010b7ee0ce2df05a94dc8868f3f363f68f9851b76265c5 |
1539 |
-AUX samba-4.9.1-fix_libsmbclient_h.patch 400 BLAKE2B c490fdf389e426337cae6094791c0657d0703e6885a7e85520ff3aa75e35a845ef9cad0213a658f73f7b1eaafd737c15500d29db847ecb5cf20a42d0c07e753c SHA512 7376ac1130c047dd48c13c74a9f1193d6681ae9dadef4387b11e2b65574d49c41d5fed852942f48c36917a28b40d2000feda744232cf189cad950030d5682e26 |
1540 |
-AUX samba-glibc-2.26-no_rpc.patch 631 BLAKE2B 22e414bcd329d7d32381c61ad4341de69a07235447dc4116855cca9ce99d32a5ffe111602fdf6ea02c6fe9c5b3331ecaec974faa5e22e009f15964296b53825a SHA512 18a466cbe42313f096ebeb635e5738b59672e96fd5c7db80cff5aa96c0edeb359b6833967bfac09eb5c010eec4309b3b73c0f941173b520918939974fa599541 |
1541 |
-AUX samba.conf 61 BLAKE2B fff77908503f3718cdcf04b60eda6bf717fb37628107676ed66133da235af95ac91d6209f97830de7a5bfdee9e25f850334bb445ee22110d14eb82e1b399694c SHA512 4a75185762c90d110c399215fbfc939d30804b558ffdb11cc68dee6f87a94c86cadbcd63935884db1266cf40fe24fefb75f9067fe4751ad9838d7a43e8973b9e |
1542 |
-AUX samba.service 199 BLAKE2B 5949503c588684a48ab0a26f5811bb053d8527eb9da2ecc8b4bd911ea6d51969bc9607b14f3f72394127ff24967849d3e829a05b6584ba3f3de5e640d240c204 SHA512 eb277917f15de958f4a0404b66c6d2cc82ae4319b85f2f442489988d523bf92e2a9d23a6051ee693cd4bcfbc67947e8028c59906ad3e537578daf5caee8a6f16 |
1543 |
-AUX smbd.service 250 BLAKE2B 70b1bf1dfb5f099ca9880d6eeee3996f6f69cc2744e07c577b396ac973326c60dd3874129c23fc0d53b7d3a50891a607d35781a8eda1702029c3602a212bb89a SHA512 a54e3c337f7c27766a81f68ad6d8f4eb6ddb1d1aec3303f274e419a49114755bc5dd711701d5e64954ae7153a8be4a7063371af286696c0b81d543b9276703c3 |
1544 |
-AUX smbd.socket 121 BLAKE2B 1261742bb1cd586f376ccd1027a5c57754460bcaf7aed4b800ae8afeefb663a761cae38e89da56dfef06b9b82aaafa8d98f2f7d9fb45ca52652888ec92470618 SHA512 2db4a707fcc6ef1928ac010e5e92cdaf0f6ff3ffa8aef918e0db1ce910abfb481d6a19082337f9c8444cd780d1d442fa8df2bb65e6142fc109d29657532572ed |
1545 |
-AUX smbd_at.service 145 BLAKE2B 729dd189fc69ff33930ec96a68cff42438645ff7f3cf0a88f2bf12f56d6cb213f58c9699c19800bed429640218bba81fdb4009882fdf7bc84fc07d0e4634acc7 SHA512 e6486c35dfa6f77ad46547a78fcae55fb71e4dad7dc7b4580c2b8c1be232c0a870f56714b2b103a1fd8717298f41347d7178fbebb90f0f2d0324fe5233f0f9f3 |
1546 |
-AUX talloc-disable-python.patch 1706 BLAKE2B cc447f5077c82d7eb584692121b9b34c03afb5f7dda2b799ea518d08421d31ce54fe2422c5ca7efe74f66011951c97b171a326604bd67446a15ad2849bade919 SHA512 ac0bf82e8ed8b918a5efbdeb0a6cbaaef22bb72231abb09026637d62b8ce35b25212960d26c07abe63661328ab7ea8a82590cd93f04de583e23239211daf6efa |
1547 |
-AUX winbindd.service 240 BLAKE2B f0b96a5a1d93a3c04bb2a2b2b500718b41fc907a3c551827a459c5d8184abc3caed0ac5edcf16032650dc2d58c38b779473c7a619047956f1381415e3de4dd93 SHA512 f1ce6d035e8e0fcdc73f14e3b60c9647043777ff6b2a982a81ed07eb4df5ff245a9511e3e4a9d8163f9c8f3fb86d2a39a67621ace68392eb7c2f2e2a55d587f7 |
1548 |
-DIST samba-4.9.1.tar.gz 18018259 BLAKE2B 783423098864c391f08b30e05b70308e922bdb4dad08b8b0b4d1112808357b9bb96aad7a094d0fe2e308f84a143d5f90be523b9c3551a3068ecdcad7347613f6 SHA512 267673b6d6ab0db59063480c20f02e5864ef96e9ad1097c23a99b2ab4b5fd2252193d7a152729b40cae0751fb9b0b108b087a190f5db11eabbd075224bd6e663 |
1549 |
-DIST samba-4.9.2.tar.gz 18042752 BLAKE2B e6d361a38f1103c104015987fa2b67c49a91fb2fac77538b3d9fa0c1629348df00c8fb4ea0dbb1a1f3f62cd377699c1ebc00b1b1b7b1e0d073d3633d41a62e7b SHA512 67de5faeda45e5c245bf02cc195cdf9ca4b63f17625837badf7c50d97250e94de5309c9ef824bd7890bc771b1dc0a3bfbafea09880850b5167f0bf8a8ef488ed |
1550 |
-EBUILD samba-4.9.1-r1.ebuild 8522 BLAKE2B 0de209337ad7838bff0262a2db67f9d26e2aee16ef2a1a73250943ea14c9b176f450d2004a79f552682a655f383ad596f644f6efa4c4eed6e29dca44c80c2792 SHA512 4c0fc66120050cca3578eb8d9e1e72d4ea5118b4cafb34769cbeb5cc65982f8d26a4800c059cf63392469b7c96c20b7ea3faa73703a659be2251a29e76100dc7 |
1551 |
-EBUILD samba-4.9.2-r1.ebuild 8541 BLAKE2B 66be8708879d3d70bfe7482f721ac76db76f589d0a787d4408ea333ce2e6708209f88b43d6b18b7fadcde692382cb510e5c1e4954e385a2040dbfd5f841f9607 SHA512 be19327fd5958a4d6bcf1580bdfe150d5dcfed24dc729d7300127eb38fb4a364d31367d610ebdaa701aae516bb558afcc26465cfce2cf6caf40fb6bc8c281fbb |
1552 |
-MISC metadata.xml 1690 BLAKE2B d3bea05fc86c05786fe98d7298e00f91c1af33bc7c9a6ba19155bf6831a3e67318df9970baac12e67c666fd7cec8baebea50f08b178200887c05c42192b6345b SHA512 fdde3409c3455f5d6af4fd2484702178ee29e1583159ede7acd57083fca52be5811013160149449a38d0049f9c3f5327790c696963071afd34a2121223a39a06 |
1553 |
|
1554 |
diff --git a/net-fs/samba/files/4.4/samba4.confd b/net-fs/samba/files/4.4/samba4.confd |
1555 |
deleted file mode 100644 |
1556 |
index 629a605..0000000 |
1557 |
--- a/net-fs/samba/files/4.4/samba4.confd |
1558 |
+++ /dev/null |
1559 |
@@ -1,45 +0,0 @@ |
1560 |
-# Add "winbind" to the daemon_list if you also want winbind to start. |
1561 |
-# Replace "smbd nmbd" by "samba4" if you want the active directory domain controller part or the ntvfs |
1562 |
-# file server part or the rpc proxy to start. |
1563 |
-# Note that samba4 controls 'smbd' by itself, thus it can't be started manually. You can, however, |
1564 |
-# tweak the behaviour of a samba4-controlled smbd by modifying your '/etc/samba/smb.conf' file |
1565 |
-# accordingly. |
1566 |
-daemon_list="smbd nmbd" |
1567 |
- |
1568 |
-piddir="/run/samba" |
1569 |
- |
1570 |
-#---------------------------------------------------------------------------- |
1571 |
-# Daemons calls: <daemon_name>_<command_option> |
1572 |
-#---------------------------------------------------------------------------- |
1573 |
-my_service_name="samba" |
1574 |
-my_service_PRE="unset TMP TMPDIR" |
1575 |
-my_service_POST="" |
1576 |
- |
1577 |
-#---------------------------------------------------------------------------- |
1578 |
-# Daemons calls: <daemon_name>_<command_option> |
1579 |
-#---------------------------------------------------------------------------- |
1580 |
-smbd_start_options="-D" |
1581 |
-smbd_command="/usr/sbin/smbd" |
1582 |
-smbd_start="start-stop-daemon --start --exec ${smbd_command} -- ${smbd_start_options}" |
1583 |
-smbd_stop="start-stop-daemon --stop --exec ${smbd_command}" |
1584 |
-smbd_reload="killall -HUP smbd" |
1585 |
- |
1586 |
-nmbd_start_options="-D" |
1587 |
-nmbd_command="/usr/sbin/nmbd" |
1588 |
-nmbd_start="start-stop-daemon --start --exec ${nmbd_command} -- ${nmbd_start_options}" |
1589 |
-nmbd_stop="start-stop-daemon --stop --exec ${nmbd_command}" |
1590 |
-nmbd_reload="killall -HUP nmbd" |
1591 |
- |
1592 |
-samba4_start_options="" |
1593 |
-samba4_command="/usr/sbin/samba" |
1594 |
-samba4_pidfile="${piddir}/samba.pid" |
1595 |
-samba4_start="start-stop-daemon --start --exec ${samba4_command} --pidfile ${samba4_pidfile} -- ${samba4_start_options}" |
1596 |
-samba4_stop="start-stop-daemon --stop --exec ${samba4_command} --pidfile ${samba4_pidfile}" |
1597 |
-samba4_reload="killall -HUP samba" |
1598 |
- |
1599 |
-winbind_start_options="" |
1600 |
-winbind_command="/usr/sbin/winbindd" |
1601 |
-winbind_start="start-stop-daemon --start --exec ${winbind_command} -- ${winbind_start_options}" |
1602 |
-winbind_stop="start-stop-daemon --stop --exec ${winbind_command}" |
1603 |
-winbind_reload="killall -HUP winbindd" |
1604 |
- |
1605 |
|
1606 |
diff --git a/net-fs/samba/files/4.4/samba4.initd-r1 b/net-fs/samba/files/4.4/samba4.initd-r1 |
1607 |
deleted file mode 100644 |
1608 |
index 05bd1fc..0000000 |
1609 |
--- a/net-fs/samba/files/4.4/samba4.initd-r1 |
1610 |
+++ /dev/null |
1611 |
@@ -1,55 +0,0 @@ |
1612 |
-#!/sbin/openrc-run |
1613 |
-# Copyright 1999-2018 Gentoo Foundation |
1614 |
-# Distributed under the terms of the GNU General Public License, v2 or later |
1615 |
- |
1616 |
-extra_started_commands="reload" |
1617 |
-[ -z "${piddir}" ] && piddir="/run/samba" |
1618 |
- |
1619 |
-depend() { |
1620 |
- after slapd |
1621 |
- need net |
1622 |
- use cupsd |
1623 |
-} |
1624 |
- |
1625 |
-DAEMONNAME="${SVCNAME##samba.}" |
1626 |
-[ "${DAEMONNAME}" != "samba" ] && daemon_list=${DAEMONNAME} |
1627 |
- |
1628 |
-signal_do() { |
1629 |
- local signal="$1" |
1630 |
- [ -z "${signal}" ] && return 0 |
1631 |
- |
1632 |
- local result=0 last_result=0 daemon= cmd_exec= |
1633 |
- for daemon in ${daemon_list} ; do |
1634 |
- eval cmd_exec=\$${daemon}_${signal} |
1635 |
- if [ -n "${cmd_exec}" ]; then |
1636 |
- ebegin "${my_service_name} -> ${signal}: ${daemon}" |
1637 |
- #echo ${cmd} '->' ${!cmd} |
1638 |
- ${cmd_exec} > /dev/null |
1639 |
- last_result=$? |
1640 |
- eend ${last_result} |
1641 |
- fi |
1642 |
- result=$(( ${result} + ${last_result} )) |
1643 |
- done |
1644 |
- return ${result} |
1645 |
-} |
1646 |
- |
1647 |
-start() { |
1648 |
- ${my_service_PRE} |
1649 |
- [ -d "${piddir}" ] || mkdir -p "${piddir}" |
1650 |
- signal_do start && return 0 |
1651 |
- |
1652 |
- eerror "Error: starting services (see system logs)" |
1653 |
- signal_do stop |
1654 |
- return 1 |
1655 |
-} |
1656 |
-stop() { |
1657 |
- ${my_service_PRE} |
1658 |
- if signal_do stop ; then |
1659 |
- ${my_service_POST} |
1660 |
- return 0 |
1661 |
- fi |
1662 |
-} |
1663 |
-reload() { |
1664 |
- ${my_service_PRE} |
1665 |
- signal_do reload |
1666 |
-} |
1667 |
|
1668 |
diff --git a/net-fs/samba/files/nmbd.service b/net-fs/samba/files/nmbd.service |
1669 |
deleted file mode 100644 |
1670 |
index 44b4ffb..0000000 |
1671 |
--- a/net-fs/samba/files/nmbd.service |
1672 |
+++ /dev/null |
1673 |
@@ -1,12 +0,0 @@ |
1674 |
-[Unit] |
1675 |
-Description=Samba NetBIOS name server |
1676 |
-After=network.target |
1677 |
- |
1678 |
-[Service] |
1679 |
-Type=forking |
1680 |
-PIDFile=/var/run/samba/nmbd.pid |
1681 |
-ExecStart=/usr/sbin/nmbd -D |
1682 |
-ExecReload=/bin/kill -HUP $MAINPID |
1683 |
- |
1684 |
-[Install] |
1685 |
-WantedBy=multi-user.target |
1686 |
|
1687 |
diff --git a/net-fs/samba/files/samba-4.4.0-pam.patch b/net-fs/samba/files/samba-4.4.0-pam.patch |
1688 |
deleted file mode 100644 |
1689 |
index 4516013..0000000 |
1690 |
--- a/net-fs/samba/files/samba-4.4.0-pam.patch |
1691 |
+++ /dev/null |
1692 |
@@ -1,29 +0,0 @@ |
1693 |
---- samba-4.4.0rc2/source3/wscript |
1694 |
-+++ samba-4.4.0rc2/source3/wscript |
1695 |
-@@ -870,7 +870,7 @@ |
1696 |
- if conf.env.with_iconv: |
1697 |
- conf.DEFINE('HAVE_ICONV', 1) |
1698 |
- |
1699 |
-- if Options.options.with_pam: |
1700 |
-+ if Options.options.with_pam != False: |
1701 |
- use_pam=True |
1702 |
- conf.CHECK_HEADERS('security/pam_appl.h pam/pam_appl.h') |
1703 |
- if not conf.CONFIG_SET('HAVE_SECURITY_PAM_APPL_H') and not conf.CONFIG_SET('HAVE_PAM_PAM_APPL_H'): |
1704 |
-@@ -943,6 +943,17 @@ |
1705 |
- conf.DEFINE('WITH_PAM', 1) |
1706 |
- conf.DEFINE('WITH_PAM_MODULES', 1) |
1707 |
- |
1708 |
-+ else: |
1709 |
-+ Logs.warn("PAM disabled") |
1710 |
-+ use_pam=False |
1711 |
-+ conf.undefine('WITH_PAM') |
1712 |
-+ conf.undefine('WITH_PAM_MODULES') |
1713 |
-+ conf.undefine('HAVE_SECURITY_PAM_APPL_H') |
1714 |
-+ conf.undefine('PAM_RHOST') |
1715 |
-+ conf.undefine('PAM_TTY') |
1716 |
-+ conf.undefine('HAVE_PAM_PAM_APPL_H') |
1717 |
-+ |
1718 |
-+ |
1719 |
- seteuid = False |
1720 |
- |
1721 |
- # |
1722 |
|
1723 |
diff --git a/net-fs/samba/files/samba-4.5.1-compile_et_fix.patch b/net-fs/samba/files/samba-4.5.1-compile_et_fix.patch |
1724 |
deleted file mode 100644 |
1725 |
index 463512f..0000000 |
1726 |
--- a/net-fs/samba/files/samba-4.5.1-compile_et_fix.patch |
1727 |
+++ /dev/null |
1728 |
@@ -1,16 +0,0 @@ |
1729 |
---- samba-4.5.1/source4/heimdal_build/wscript_configure |
1730 |
-+++ samba-4.5.1/source4/heimdal_build/wscript_configure |
1731 |
-@@ -258,7 +258,11 @@ |
1732 |
- |
1733 |
- # With the proper checks in place we should be able to build against the system libtommath. |
1734 |
- #if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'): |
1735 |
- # conf.define('USING_SYSTEM_TOMMATH', 1) |
1736 |
- |
1737 |
--check_system_heimdal_binary("compile_et") |
1738 |
--check_system_heimdal_binary("asn1_compile") |
1739 |
-+# comment out next line to stop Gentoo Samba build from using the compile_et in e2fsprogs-libs |
1740 |
-+# to compile the error tables. This produces a compile error later on. |
1741 |
-+#check_system_heimdal_binary("compile_et") |
1742 |
-+# |
1743 |
-+# As a precaution do the same for asn1_compile |
1744 |
-+#check_system_heimdal_binary("asn1_compile") |
1745 |
|
1746 |
diff --git a/net-fs/samba/files/samba-4.7.3-krb-cross-compile.patch b/net-fs/samba/files/samba-4.7.3-krb-cross-compile.patch |
1747 |
deleted file mode 100644 |
1748 |
index 9fad9fc..0000000 |
1749 |
--- a/net-fs/samba/files/samba-4.7.3-krb-cross-compile.patch |
1750 |
+++ /dev/null |
1751 |
@@ -1,40 +0,0 @@ |
1752 |
-https://lists.samba.org/archive/samba-technical/2017-December/124344.html |
1753 |
-https://git.samba.org/?p=samba.git;a=commit;h=70f92025ae504cda97ff3a130f19035450967836 |
1754 |
- |
1755 |
-From 70f92025ae504cda97ff3a130f19035450967836 Mon Sep 17 00:00:00 2001 |
1756 |
-From: Zentaro Kavanagh <zentaro@××××××××.org> |
1757 |
-Date: Mon, 11 Dec 2017 12:41:16 -0800 |
1758 |
-Subject: [PATCH] Remove unsupported colon from configure msg. |
1759 |
- |
1760 |
-- When cross-compiling an answers file must be supplied via |
1761 |
- --cross-compile --cross-answers=<path to answers>. |
1762 |
-- The lines in the answer file have the form; |
1763 |
- Config Msg: Answer |
1764 |
-- The colon is used to delimit the msg and the answer when reading |
1765 |
- the answers file. |
1766 |
-- WAF doesn't support the message containing a colon. |
1767 |
-- It's not possible to override this variable so cross compile fails. |
1768 |
- |
1769 |
-Signed-off-by: Zentaro Kavanagh <zentaro@××××××.com> |
1770 |
-Reviewed-by: Uri Simchoni <uri@×××××.org> |
1771 |
-Reviewed-by: Andrew Bartlett <abartlet@×××××.org> |
1772 |
---- |
1773 |
- wscript_configure_system_mitkrb5 | 2 +- |
1774 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
1775 |
- |
1776 |
-diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5 |
1777 |
-index 9c351131ad1a..803dad7ab63b 100644 |
1778 |
---- a/wscript_configure_system_mitkrb5 |
1779 |
-+++ b/wscript_configure_system_mitkrb5 |
1780 |
-@@ -282,7 +282,7 @@ conf.CHECK_CODE(''' |
1781 |
- ''', |
1782 |
- 'HAVE_WRFILE_KEYTAB', |
1783 |
- headers='krb5.h', lib='krb5', execute=True, |
1784 |
-- msg="Checking whether the WRFILE:-keytab is supported"); |
1785 |
-+ msg="Checking whether the WRFILE -keytab is supported"); |
1786 |
- # Check for KRB5_DEPRECATED handling |
1787 |
- conf.CHECK_CODE('''#define KRB5_DEPRECATED 1 |
1788 |
- #include <krb5.h>''', |
1789 |
--- |
1790 |
-2.15.1 |
1791 |
- |
1792 |
|
1793 |
diff --git a/net-fs/samba/files/samba-4.9.1-fix_libsmbclient_h.patch b/net-fs/samba/files/samba-4.9.1-fix_libsmbclient_h.patch |
1794 |
deleted file mode 100644 |
1795 |
index 0dfa95b..0000000 |
1796 |
--- a/net-fs/samba/files/samba-4.9.1-fix_libsmbclient_h.patch |
1797 |
+++ /dev/null |
1798 |
@@ -1,11 +0,0 @@ |
1799 |
-diff -Naur a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h |
1800 |
---- a/source3/include/libsmbclient.h 2018-07-12 09:23:36.000000000 +0100 |
1801 |
-+++ b/source3/include/libsmbclient.h 2018-09-26 10:38:41.504132564 +0100 |
1802 |
-@@ -79,6 +79,7 @@ |
1803 |
- #include <stdint.h> |
1804 |
- #include <fcntl.h> |
1805 |
- #include <utime.h> |
1806 |
-+#include <time.h> |
1807 |
- |
1808 |
- #define SMBC_BASE_FD 10000 /* smallest file descriptor returned */ |
1809 |
- |
1810 |
|
1811 |
diff --git a/net-fs/samba/files/samba-glibc-2.26-no_rpc.patch b/net-fs/samba/files/samba-glibc-2.26-no_rpc.patch |
1812 |
deleted file mode 100644 |
1813 |
index e664468..0000000 |
1814 |
--- a/net-fs/samba/files/samba-glibc-2.26-no_rpc.patch |
1815 |
+++ /dev/null |
1816 |
@@ -1,14 +0,0 @@ |
1817 |
-https://attachments.samba.org/attachment.cgi?id=13172 |
1818 |
-https://bugs.gentoo.org/637320 |
1819 |
- |
1820 |
---- a/lib/replace/wscript |
1821 |
-+++ b/lib/replace/wscript |
1822 |
-@@ -71,7 +71,7 @@ |
1823 |
- conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h') |
1824 |
- conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h') |
1825 |
- |
1826 |
-- conf.CHECK_CODE('', headers='rpc/rpc.h rpcsvc/yp_prot.h', define='HAVE_RPCSVC_YP_PROT_H') |
1827 |
-+ conf.CHECK_CODE('ypstat s;', headers='rpc/rpc.h rpcsvc/yp_prot.h', define='HAVE_RPCSVC_YP_PROT_H') |
1828 |
- |
1829 |
- conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h valgrind/memcheck.h') |
1830 |
- conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h') |
1831 |
|
1832 |
diff --git a/net-fs/samba/files/samba.conf b/net-fs/samba/files/samba.conf |
1833 |
deleted file mode 100644 |
1834 |
index e0a6f32..0000000 |
1835 |
--- a/net-fs/samba/files/samba.conf |
1836 |
+++ /dev/null |
1837 |
@@ -1,2 +0,0 @@ |
1838 |
-D /run/samba 0755 root root |
1839 |
-D /run/lock/samba 0755 root root |
1840 |
|
1841 |
diff --git a/net-fs/samba/files/samba.service b/net-fs/samba/files/samba.service |
1842 |
deleted file mode 100644 |
1843 |
index 8214ff8..0000000 |
1844 |
--- a/net-fs/samba/files/samba.service |
1845 |
+++ /dev/null |
1846 |
@@ -1,10 +0,0 @@ |
1847 |
-[Unit] |
1848 |
-Description=Samba AD server |
1849 |
-After=network.target winbindd.service |
1850 |
-Conflicts=nmbd.service smbd.service |
1851 |
- |
1852 |
-[Service] |
1853 |
-ExecStart=/usr/sbin/samba --interactive |
1854 |
- |
1855 |
-[Install] |
1856 |
-WantedBy=multi-user.target |
1857 |
|
1858 |
diff --git a/net-fs/samba/files/smbd.service b/net-fs/samba/files/smbd.service |
1859 |
deleted file mode 100644 |
1860 |
index 5c006a4..0000000 |
1861 |
--- a/net-fs/samba/files/smbd.service |
1862 |
+++ /dev/null |
1863 |
@@ -1,12 +0,0 @@ |
1864 |
-[Unit] |
1865 |
-Description=Samba SMB/CIFS server |
1866 |
-After=network.target nmbd.service winbindd.service |
1867 |
- |
1868 |
-[Service] |
1869 |
-Type=forking |
1870 |
-PIDFile=/var/run/samba/smbd.pid |
1871 |
-ExecStart=/usr/sbin/smbd -D |
1872 |
-ExecReload=/bin/kill -HUP $MAINPID |
1873 |
- |
1874 |
-[Install] |
1875 |
-WantedBy=multi-user.target |
1876 |
|
1877 |
diff --git a/net-fs/samba/files/smbd.socket b/net-fs/samba/files/smbd.socket |
1878 |
deleted file mode 100644 |
1879 |
index 833bf43..0000000 |
1880 |
--- a/net-fs/samba/files/smbd.socket |
1881 |
+++ /dev/null |
1882 |
@@ -1,9 +0,0 @@ |
1883 |
-[Unit] |
1884 |
-Description=Samba SMB/CIFS server socket |
1885 |
- |
1886 |
-[Socket] |
1887 |
-ListenStream=445 |
1888 |
-Accept=yes |
1889 |
- |
1890 |
-[Install] |
1891 |
-WantedBy=sockets.target |
1892 |
|
1893 |
diff --git a/net-fs/samba/files/smbd_at.service b/net-fs/samba/files/smbd_at.service |
1894 |
deleted file mode 100644 |
1895 |
index e1f71be..0000000 |
1896 |
--- a/net-fs/samba/files/smbd_at.service |
1897 |
+++ /dev/null |
1898 |
@@ -1,7 +0,0 @@ |
1899 |
-[Unit] |
1900 |
-Description=Samba SMB/CIFS server instance |
1901 |
- |
1902 |
-[Service] |
1903 |
-ExecStart=/usr/sbin/smbd -F |
1904 |
-ExecReload=/bin/kill -HUP $MAINPID |
1905 |
-StandardInput=socket |
1906 |
|
1907 |
diff --git a/net-fs/samba/files/talloc-disable-python.patch b/net-fs/samba/files/talloc-disable-python.patch |
1908 |
deleted file mode 100644 |
1909 |
index 6ef45eb..0000000 |
1910 |
--- a/net-fs/samba/files/talloc-disable-python.patch |
1911 |
+++ /dev/null |
1912 |
@@ -1,34 +0,0 @@ |
1913 |
---- a/lib/talloc/wscript 2017-04-28 04:57:26.000000000 -0400 |
1914 |
-+++ b/lib/talloc/wscript 2017-07-05 14:30:42.700580464 -0400 |
1915 |
-@@ -74,19 +74,22 @@ |
1916 |
- implied_deps='replace'): |
1917 |
- conf.define('USING_SYSTEM_TALLOC', 1) |
1918 |
- |
1919 |
-- using_system_pytalloc_util = True |
1920 |
-- if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
1921 |
-- implied_deps='talloc replace'): |
1922 |
-+ if conf.env.disable_python: |
1923 |
- using_system_pytalloc_util = False |
1924 |
-- |
1925 |
-- # We need to get a pytalloc-util for all the python versions |
1926 |
-- # we are building for |
1927 |
-- if conf.env['EXTRA_PYTHON']: |
1928 |
-- name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG'] |
1929 |
-- if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION, |
1930 |
-+ else: |
1931 |
-+ using_system_pytalloc_util = True |
1932 |
-+ if not conf.CHECK_BUNDLED_SYSTEM_PKG('pytalloc-util', minversion=VERSION, |
1933 |
- implied_deps='talloc replace'): |
1934 |
- using_system_pytalloc_util = False |
1935 |
- |
1936 |
-+ # We need to get a pytalloc-util for all the python versions |
1937 |
-+ # we are building for |
1938 |
-+ if conf.env['EXTRA_PYTHON']: |
1939 |
-+ name = 'pytalloc-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG'] |
1940 |
-+ if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, minversion=VERSION, |
1941 |
-+ implied_deps='talloc replace'): |
1942 |
-+ using_system_pytalloc_util = False |
1943 |
-+ |
1944 |
- if using_system_pytalloc_util: |
1945 |
- conf.define('USING_SYSTEM_PYTALLOC_UTIL', 1) |
1946 |
- |
1947 |
|
1948 |
diff --git a/net-fs/samba/files/winbindd.service b/net-fs/samba/files/winbindd.service |
1949 |
deleted file mode 100644 |
1950 |
index 67a778f..0000000 |
1951 |
--- a/net-fs/samba/files/winbindd.service |
1952 |
+++ /dev/null |
1953 |
@@ -1,12 +0,0 @@ |
1954 |
-[Unit] |
1955 |
-Description=Samba Winbind daemon |
1956 |
-After=network.target nmbd.service |
1957 |
- |
1958 |
-[Service] |
1959 |
-Type=forking |
1960 |
-PIDFile=/var/run/samba/winbindd.pid |
1961 |
-ExecStart=/usr/sbin/winbindd -D |
1962 |
-ExecReload=/bin/kill -HUP $MAINPID |
1963 |
- |
1964 |
-[Install] |
1965 |
-WantedBy=multi-user.target |
1966 |
|
1967 |
diff --git a/net-fs/samba/metadata.xml b/net-fs/samba/metadata.xml |
1968 |
deleted file mode 100644 |
1969 |
index 7796358..0000000 |
1970 |
--- a/net-fs/samba/metadata.xml |
1971 |
+++ /dev/null |
1972 |
@@ -1,32 +0,0 @@ |
1973 |
-<?xml version="1.0" encoding="UTF-8"?> |
1974 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1975 |
-<pkgmetadata> |
1976 |
- <maintainer type="person"> |
1977 |
- <email>samuelbernardo.mail@×××××.com</email> |
1978 |
- <name>Samuel Bernardo</name> |
1979 |
- </maintainer> |
1980 |
- <longdescription> |
1981 |
- Samba is an Open Source/Free Software suite that provides seamless file and print services to SMB/CIFS clients. Integration with various accounting and antivirus backends. License: GNU General Public License. |
1982 |
- </longdescription> |
1983 |
- <use> |
1984 |
- <flag name="addc">Enable Active Directory Domain Controller support</flag> |
1985 |
- <flag name="addns">Enable AD DNS integration</flag> |
1986 |
- <flag name="ads">Enable Active Directory support</flag> |
1987 |
- <flag name="ceph">Enable support for Ceph distributed filesystem via <pkg>sys-cluster/ceph</pkg></flag> |
1988 |
- <flag name="client">Enables the client part</flag> |
1989 |
- <flag name="cluster">Enable support for clustering</flag> |
1990 |
- <flag name="dmapi">Enable support for DMAPI. This currently works only in combination with XFS.</flag> |
1991 |
- <flag name="gpg">Use <pkg>app-crypt/gpgme</pkg> for AD DC</flag> |
1992 |
- <flag name="json">Enable json audit support through <pkg>dev-libs/jansson</pkg></flag> |
1993 |
- <flag name="iprint">Enabling iPrint technology by Novell</flag> |
1994 |
- <flag name="quota">Enables support for user quotas</flag> |
1995 |
- <flag name="system-heimdal">Use <pkg>app-crypt/heimdal</pkg> instead of |
1996 |
- bundled heimdal.</flag> |
1997 |
- <flag name="system-mitkrb5">Use <pkg>app-crypt/mit-krb5</pkg> instead of |
1998 |
- <pkg>app-crypt/heimdal</pkg>.</flag> |
1999 |
- <flag name="winbind">Enables support for the winbind auth daemon</flag> |
2000 |
- </use> |
2001 |
- <upstream> |
2002 |
- <remote-id type="cpe">cpe:/a:samba:samba</remote-id> |
2003 |
- </upstream> |
2004 |
-</pkgmetadata> |
2005 |
|
2006 |
diff --git a/net-fs/samba/samba-4.9.1-r1.ebuild b/net-fs/samba/samba-4.9.1-r1.ebuild |
2007 |
deleted file mode 100644 |
2008 |
index 0006388..0000000 |
2009 |
--- a/net-fs/samba/samba-4.9.1-r1.ebuild |
2010 |
+++ /dev/null |
2011 |
@@ -1,289 +0,0 @@ |
2012 |
-# Copyright 1999-2018 Gentoo Authors |
2013 |
-# Distributed under the terms of the GNU General Public License v2 |
2014 |
- |
2015 |
-EAPI=6 |
2016 |
-PYTHON_COMPAT=( python2_7 ) |
2017 |
-PYTHON_REQ_USE='threads(+),xml(+)' |
2018 |
- |
2019 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd |
2020 |
- |
2021 |
-MY_PV="${PV/_rc/rc}" |
2022 |
-MY_P="${PN}-${MY_PV}" |
2023 |
- |
2024 |
-SRC_PATH="stable" |
2025 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
2026 |
- |
2027 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" |
2028 |
-[[ ${PV} = *_rc* ]] || \ |
2029 |
-KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~x86" |
2030 |
- |
2031 |
-DESCRIPTION="Samba Suite Version 4" |
2032 |
-HOMEPAGE="https://www.samba.org/" |
2033 |
-LICENSE="GPL-3" |
2034 |
- |
2035 |
-SLOT="0" |
2036 |
- |
2037 |
-IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint json ldap |
2038 |
-pam python quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf" |
2039 |
- |
2040 |
-MULTILIB_WRAPPED_HEADERS=( |
2041 |
- /usr/include/samba-4.0/policy.h |
2042 |
- /usr/include/samba-4.0/dcerpc_server.h |
2043 |
- /usr/include/samba-4.0/ctdb.h |
2044 |
- /usr/include/samba-4.0/ctdb_client.h |
2045 |
- /usr/include/samba-4.0/ctdb_protocol.h |
2046 |
- /usr/include/samba-4.0/ctdb_private.h |
2047 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
2048 |
- /usr/include/samba-4.0/ctdb_version.h |
2049 |
-) |
2050 |
- |
2051 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
2052 |
-CDEPEND=" |
2053 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
2054 |
- dev-lang/perl:= |
2055 |
- dev-libs/libaio[${MULTILIB_USEDEP}] |
2056 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
2057 |
- dev-libs/iniparser:0 |
2058 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
2059 |
- dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2060 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
2061 |
- net-libs/libnsl:=[${MULTILIB_USEDEP}] |
2062 |
- sys-apps/attr[${MULTILIB_USEDEP}] |
2063 |
- >=sys-libs/ldb-1.4.2[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2064 |
- <sys-libs/ldb-1.5.0[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2065 |
- sys-libs/libcap |
2066 |
- sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
2067 |
- sys-libs/readline:0= |
2068 |
- >=sys-libs/talloc-2.1.14[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2069 |
- >=sys-libs/tdb-1.3.16[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2070 |
- >=sys-libs/tevent-0.9.37[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2071 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
2072 |
- virtual/libiconv |
2073 |
- pam? ( virtual/pam ) |
2074 |
- acl? ( virtual/acl ) |
2075 |
- addns? ( |
2076 |
- net-dns/bind-tools[gssapi] |
2077 |
- dev-python/dnspython:=[${PYTHON_USEDEP}] |
2078 |
- ) |
2079 |
- ceph? ( sys-cluster/ceph ) |
2080 |
- cluster? ( |
2081 |
- net-libs/rpcsvc-proto |
2082 |
- !dev-db/ctdb |
2083 |
- ) |
2084 |
- cups? ( net-print/cups ) |
2085 |
- debug? ( dev-util/lttng-ust ) |
2086 |
- dmapi? ( sys-apps/dmapi ) |
2087 |
- fam? ( virtual/fam ) |
2088 |
- gnutls? ( |
2089 |
- dev-libs/libgcrypt:0 |
2090 |
- >=net-libs/gnutls-1.4.0 |
2091 |
- ) |
2092 |
- gpg? ( app-crypt/gpgme ) |
2093 |
- json? ( dev-libs/jansson ) |
2094 |
- ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
2095 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
2096 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) |
2097 |
- systemd? ( sys-apps/systemd:0= ) |
2098 |
-" |
2099 |
-DEPEND="${CDEPEND} |
2100 |
- ${PYTHON_DEPS} |
2101 |
- app-text/docbook-xsl-stylesheets |
2102 |
- dev-libs/libxslt |
2103 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
2104 |
- virtual/pkgconfig |
2105 |
- || ( |
2106 |
- net-libs/rpcsvc-proto |
2107 |
- <sys-libs/glibc-2.26[rpc(+)] |
2108 |
- ) |
2109 |
- test? ( |
2110 |
- !system-mitkrb5? ( |
2111 |
- >=sys-libs/nss_wrapper-1.1.3 |
2112 |
- >=net-dns/resolv_wrapper-1.1.4 |
2113 |
- >=net-libs/socket_wrapper-1.1.7 |
2114 |
- >=sys-libs/uid_wrapper-1.2.1 |
2115 |
- ) |
2116 |
- )" |
2117 |
-RDEPEND="${CDEPEND} |
2118 |
- python? ( ${PYTHON_DEPS} ) |
2119 |
- client? ( net-fs/cifs-utils[ads?] ) |
2120 |
- selinux? ( sec-policy/selinux-samba ) |
2121 |
- !dev-perl/Parse-Yapp |
2122 |
-" |
2123 |
- |
2124 |
-REQUIRED_USE=" |
2125 |
- addc? ( python gnutls json winbind ) |
2126 |
- addns? ( python ) |
2127 |
- ads? ( acl gnutls ldap winbind ) |
2128 |
- cluster? ( ads ) |
2129 |
- gpg? ( addc ) |
2130 |
- test? ( python ) |
2131 |
- ?? ( system-heimdal system-mitkrb5 ) |
2132 |
- ${PYTHON_REQUIRED_USE} |
2133 |
-" |
2134 |
- |
2135 |
-# the test suite is messed, it uses system-installed samba |
2136 |
-# bits instead of what was built, tests things disabled via use |
2137 |
-# flags, and generally just fails to work in a way ebuilds could |
2138 |
-# rely on in its current state |
2139 |
-RESTRICT="test" |
2140 |
- |
2141 |
-S="${WORKDIR}/${MY_P}" |
2142 |
- |
2143 |
-PATCHES=( |
2144 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
2145 |
- "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" |
2146 |
- "${FILESDIR}/${PN}-4.9.1-fix_libsmbclient_h.patch" |
2147 |
-) |
2148 |
- |
2149 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
2150 |
-CONFDIR="${FILESDIR}/4.4" |
2151 |
- |
2152 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
2153 |
- |
2154 |
-SHAREDMODS="" |
2155 |
- |
2156 |
-pkg_setup() { |
2157 |
- python-single-r1_pkg_setup |
2158 |
- if use cluster ; then |
2159 |
- SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad" |
2160 |
- elif use ads ; then |
2161 |
- SHAREDMODS="idmap_ad" |
2162 |
- fi |
2163 |
-} |
2164 |
- |
2165 |
-src_prepare() { |
2166 |
- default |
2167 |
- |
2168 |
- # un-bundle dnspython |
2169 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
2170 |
- |
2171 |
- # unbundle iso8601 unless tests are enabled |
2172 |
- use test || sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
2173 |
- |
2174 |
- # ugly hackaround for bug #592502 |
2175 |
- cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
2176 |
- |
2177 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
2178 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
2179 |
- || die |
2180 |
- |
2181 |
- # Friggin' WAF shit |
2182 |
- multilib_copy_sources |
2183 |
-} |
2184 |
- |
2185 |
-multilib_src_configure() { |
2186 |
- # when specifying libs for samba build you must append NONE to the end to |
2187 |
- # stop it automatically including things |
2188 |
- local bundled_libs="NONE" |
2189 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
2190 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
2191 |
- fi |
2192 |
- |
2193 |
- local myconf=( |
2194 |
- --enable-fhs |
2195 |
- --sysconfdir="${EPREFIX}/etc" |
2196 |
- --localstatedir="${EPREFIX}/var" |
2197 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
2198 |
- --with-piddir="${EPREFIX}/run/${PN}" |
2199 |
- --bundled-libraries="${bundled_libs}" |
2200 |
- --builtin-libraries=NONE |
2201 |
- --disable-rpath |
2202 |
- --disable-rpath-install |
2203 |
- --nopyc |
2204 |
- --nopyo |
2205 |
- $(multilib_native_use_with acl acl-support) |
2206 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
2207 |
- $(multilib_native_use_with addns dnsupdate) |
2208 |
- $(multilib_native_use_with ads) |
2209 |
- $(multilib_native_use_enable ceph cephfs) |
2210 |
- $(multilib_native_use_with cluster cluster-support) |
2211 |
- $(multilib_native_use_enable cups) |
2212 |
- $(multilib_native_use_with dmapi) |
2213 |
- $(multilib_native_use_with fam) |
2214 |
- $(multilib_native_use_with gpg gpgme) |
2215 |
- $(multilib_native_use_with json json-audit) |
2216 |
- $(multilib_native_use_enable iprint) |
2217 |
- $(multilib_native_use_with pam) |
2218 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
2219 |
- $(multilib_native_use_with quota quotas) |
2220 |
- $(multilib_native_use_with syslog) |
2221 |
- $(multilib_native_use_with systemd) |
2222 |
- $(multilib_native_use_with winbind) |
2223 |
- $(multilib_native_usex python '' '--disable-python') |
2224 |
- $(multilib_native_use_enable zeroconf avahi) |
2225 |
- $(multilib_native_usex test '--enable-selftest' '') |
2226 |
- $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
2227 |
- $(use_enable gnutls) |
2228 |
- $(use_with debug lttng) |
2229 |
- $(use_with ldap) |
2230 |
- ) |
2231 |
- multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} ) |
2232 |
- |
2233 |
- CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \ |
2234 |
- waf-utils_src_configure ${myconf[@]} |
2235 |
-} |
2236 |
- |
2237 |
-multilib_src_compile() { |
2238 |
- waf-utils_src_compile |
2239 |
-} |
2240 |
- |
2241 |
-multilib_src_install() { |
2242 |
- waf-utils_src_install |
2243 |
- |
2244 |
- # Make all .so files executable |
2245 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + |
2246 |
- |
2247 |
- if multilib_is_native_abi ; then |
2248 |
- # install ldap schema for server (bug #491002) |
2249 |
- if use ldap ; then |
2250 |
- insinto /etc/openldap/schema |
2251 |
- doins examples/LDAP/samba.schema |
2252 |
- fi |
2253 |
- |
2254 |
- # create symlink for cups (bug #552310) |
2255 |
- if use cups ; then |
2256 |
- dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb |
2257 |
- fi |
2258 |
- |
2259 |
- # install example config file |
2260 |
- insinto /etc/samba |
2261 |
- doins examples/smb.conf.default |
2262 |
- |
2263 |
- # Fix paths in example file (#603964) |
2264 |
- sed \ |
2265 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
2266 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
2267 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
2268 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
2269 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
2270 |
- -i "${ED%/}"/etc/samba/smb.conf.default || die |
2271 |
- |
2272 |
- # Install init script and conf.d file |
2273 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
2274 |
- newconfd "${CONFDIR}/samba4.confd" samba |
2275 |
- |
2276 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
2277 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
2278 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
2279 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
2280 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
2281 |
- systemd_dounit "${FILESDIR}"/samba.service |
2282 |
- fi |
2283 |
-} |
2284 |
- |
2285 |
-multilib_src_test() { |
2286 |
- if multilib_is_native_abi ; then |
2287 |
- "${WAF_BINARY}" test || die "test failed" |
2288 |
- fi |
2289 |
-} |
2290 |
- |
2291 |
-pkg_postinst() { |
2292 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
2293 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
2294 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
2295 |
- ewarn "controller work previously known as 'samba4'." |
2296 |
- |
2297 |
- elog "For further information and migration steps make sure to read " |
2298 |
- elog "https://samba.org/samba/history/${P}.html " |
2299 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
2300 |
-} |
2301 |
|
2302 |
diff --git a/net-fs/samba/samba-4.9.2-r1.ebuild b/net-fs/samba/samba-4.9.2-r1.ebuild |
2303 |
deleted file mode 100644 |
2304 |
index 51656ba..0000000 |
2305 |
--- a/net-fs/samba/samba-4.9.2-r1.ebuild |
2306 |
+++ /dev/null |
2307 |
@@ -1,289 +0,0 @@ |
2308 |
-# Copyright 1999-2018 Gentoo Authors |
2309 |
-# Distributed under the terms of the GNU General Public License v2 |
2310 |
- |
2311 |
-EAPI=6 |
2312 |
-PYTHON_COMPAT=( python2_7 ) |
2313 |
-PYTHON_REQ_USE='threads(+),xml(+)' |
2314 |
- |
2315 |
-inherit python-single-r1 waf-utils multilib-minimal linux-info systemd |
2316 |
- |
2317 |
-MY_PV="${PV/_rc/rc}" |
2318 |
-MY_P="${PN}-${MY_PV}" |
2319 |
- |
2320 |
-SRC_PATH="stable" |
2321 |
-[[ ${PV} = *_rc* ]] && SRC_PATH="rc" |
2322 |
- |
2323 |
-SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz" |
2324 |
-[[ ${PV} = *_rc* ]] || \ |
2325 |
-KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" |
2326 |
- |
2327 |
-DESCRIPTION="Samba Suite Version 4" |
2328 |
-HOMEPAGE="https://www.samba.org/" |
2329 |
-LICENSE="GPL-3" |
2330 |
- |
2331 |
-SLOT="0" |
2332 |
- |
2333 |
-IUSE="acl addc addns ads ceph client cluster cups debug dmapi fam gnutls gpg iprint json ldap |
2334 |
-pam python quota selinux syslog system-heimdal +system-mitkrb5 systemd test winbind zeroconf" |
2335 |
- |
2336 |
-MULTILIB_WRAPPED_HEADERS=( |
2337 |
- /usr/include/samba-4.0/policy.h |
2338 |
- /usr/include/samba-4.0/dcerpc_server.h |
2339 |
- /usr/include/samba-4.0/ctdb.h |
2340 |
- /usr/include/samba-4.0/ctdb_client.h |
2341 |
- /usr/include/samba-4.0/ctdb_protocol.h |
2342 |
- /usr/include/samba-4.0/ctdb_private.h |
2343 |
- /usr/include/samba-4.0/ctdb_typesafe_cb.h |
2344 |
- /usr/include/samba-4.0/ctdb_version.h |
2345 |
-) |
2346 |
- |
2347 |
-# sys-apps/attr is an automagic dependency (see bug #489748) |
2348 |
-CDEPEND=" |
2349 |
- >=app-arch/libarchive-3.1.2[${MULTILIB_USEDEP}] |
2350 |
- dev-lang/perl:= |
2351 |
- dev-libs/libaio[${MULTILIB_USEDEP}] |
2352 |
- dev-libs/libbsd[${MULTILIB_USEDEP}] |
2353 |
- dev-libs/iniparser:0 |
2354 |
- dev-libs/popt[${MULTILIB_USEDEP}] |
2355 |
- dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2356 |
- >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}] |
2357 |
- net-libs/libnsl:=[${MULTILIB_USEDEP}] |
2358 |
- sys-apps/attr[${MULTILIB_USEDEP}] |
2359 |
- >=sys-libs/ldb-1.4.3[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2360 |
- <sys-libs/ldb-1.5.0[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2361 |
- sys-libs/libcap |
2362 |
- sys-libs/ncurses:0=[${MULTILIB_USEDEP}] |
2363 |
- sys-libs/readline:0= |
2364 |
- >=sys-libs/talloc-2.1.14[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2365 |
- >=sys-libs/tdb-1.3.16[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2366 |
- >=sys-libs/tevent-0.9.37[python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}] |
2367 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
2368 |
- virtual/libiconv |
2369 |
- pam? ( virtual/pam ) |
2370 |
- acl? ( virtual/acl ) |
2371 |
- addns? ( |
2372 |
- net-dns/bind-tools[gssapi] |
2373 |
- dev-python/dnspython:=[${PYTHON_USEDEP}] |
2374 |
- ) |
2375 |
- ceph? ( sys-cluster/ceph ) |
2376 |
- cluster? ( |
2377 |
- net-libs/rpcsvc-proto |
2378 |
- !dev-db/ctdb |
2379 |
- ) |
2380 |
- cups? ( net-print/cups ) |
2381 |
- debug? ( dev-util/lttng-ust ) |
2382 |
- dmapi? ( sys-apps/dmapi ) |
2383 |
- fam? ( virtual/fam ) |
2384 |
- gnutls? ( |
2385 |
- dev-libs/libgcrypt:0 |
2386 |
- >=net-libs/gnutls-1.4.0 |
2387 |
- ) |
2388 |
- gpg? ( app-crypt/gpgme ) |
2389 |
- json? ( dev-libs/jansson ) |
2390 |
- ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) |
2391 |
- system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] ) |
2392 |
- system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] ) |
2393 |
- systemd? ( sys-apps/systemd:0= ) |
2394 |
-" |
2395 |
-DEPEND="${CDEPEND} |
2396 |
- ${PYTHON_DEPS} |
2397 |
- app-text/docbook-xsl-stylesheets |
2398 |
- dev-libs/libxslt |
2399 |
- net-libs/libtirpc[${MULTILIB_USEDEP}] |
2400 |
- virtual/pkgconfig |
2401 |
- || ( |
2402 |
- net-libs/rpcsvc-proto |
2403 |
- <sys-libs/glibc-2.26[rpc(+)] |
2404 |
- ) |
2405 |
- test? ( |
2406 |
- !system-mitkrb5? ( |
2407 |
- >=sys-libs/nss_wrapper-1.1.3 |
2408 |
- >=net-dns/resolv_wrapper-1.1.4 |
2409 |
- >=net-libs/socket_wrapper-1.1.7 |
2410 |
- >=sys-libs/uid_wrapper-1.2.1 |
2411 |
- ) |
2412 |
- )" |
2413 |
-RDEPEND="${CDEPEND} |
2414 |
- python? ( ${PYTHON_DEPS} ) |
2415 |
- client? ( net-fs/cifs-utils[ads?] ) |
2416 |
- selinux? ( sec-policy/selinux-samba ) |
2417 |
- !dev-perl/Parse-Yapp |
2418 |
-" |
2419 |
- |
2420 |
-REQUIRED_USE=" |
2421 |
- addc? ( python gnutls json winbind ) |
2422 |
- addns? ( python ) |
2423 |
- ads? ( acl gnutls ldap winbind ) |
2424 |
- cluster? ( ads ) |
2425 |
- gpg? ( addc ) |
2426 |
- test? ( python ) |
2427 |
- ?? ( system-heimdal system-mitkrb5 ) |
2428 |
- ${PYTHON_REQUIRED_USE} |
2429 |
-" |
2430 |
- |
2431 |
-# the test suite is messed, it uses system-installed samba |
2432 |
-# bits instead of what was built, tests things disabled via use |
2433 |
-# flags, and generally just fails to work in a way ebuilds could |
2434 |
-# rely on in its current state |
2435 |
-RESTRICT="test" |
2436 |
- |
2437 |
-S="${WORKDIR}/${MY_P}" |
2438 |
- |
2439 |
-PATCHES=( |
2440 |
- "${FILESDIR}/${PN}-4.4.0-pam.patch" |
2441 |
- "${FILESDIR}/${PN}-4.5.1-compile_et_fix.patch" |
2442 |
- "${FILESDIR}/${PN}-4.9.1-fix_libsmbclient_h.patch" |
2443 |
-) |
2444 |
- |
2445 |
-#CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" |
2446 |
-CONFDIR="${FILESDIR}/4.4" |
2447 |
- |
2448 |
-WAF_BINARY="${S}/buildtools/bin/waf" |
2449 |
- |
2450 |
-SHAREDMODS="" |
2451 |
- |
2452 |
-pkg_setup() { |
2453 |
- python-single-r1_pkg_setup |
2454 |
- if use cluster ; then |
2455 |
- SHAREDMODS="idmap_rid,idmap_tdb2,idmap_ad" |
2456 |
- elif use ads ; then |
2457 |
- SHAREDMODS="idmap_ad" |
2458 |
- fi |
2459 |
-} |
2460 |
- |
2461 |
-src_prepare() { |
2462 |
- default |
2463 |
- |
2464 |
- # un-bundle dnspython |
2465 |
- sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die |
2466 |
- |
2467 |
- # unbundle iso8601 unless tests are enabled |
2468 |
- use test || sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die |
2469 |
- |
2470 |
- # ugly hackaround for bug #592502 |
2471 |
- cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die |
2472 |
- |
2473 |
- sed -e 's:<gpgme\.h>:<gpgme/gpgme.h>:' \ |
2474 |
- -i source4/dsdb/samdb/ldb_modules/password_hash.c \ |
2475 |
- || die |
2476 |
- |
2477 |
- # Friggin' WAF shit |
2478 |
- multilib_copy_sources |
2479 |
-} |
2480 |
- |
2481 |
-multilib_src_configure() { |
2482 |
- # when specifying libs for samba build you must append NONE to the end to |
2483 |
- # stop it automatically including things |
2484 |
- local bundled_libs="NONE" |
2485 |
- if ! use system-heimdal && ! use system-mitkrb5 ; then |
2486 |
- bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" |
2487 |
- fi |
2488 |
- |
2489 |
- local myconf=( |
2490 |
- --enable-fhs |
2491 |
- --sysconfdir="${EPREFIX}/etc" |
2492 |
- --localstatedir="${EPREFIX}/var" |
2493 |
- --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" |
2494 |
- --with-piddir="${EPREFIX}/run/${PN}" |
2495 |
- --bundled-libraries="${bundled_libs}" |
2496 |
- --builtin-libraries=NONE |
2497 |
- --disable-rpath |
2498 |
- --disable-rpath-install |
2499 |
- --nopyc |
2500 |
- --nopyo |
2501 |
- $(multilib_native_use_with acl acl-support) |
2502 |
- $(multilib_native_usex addc '' '--without-ad-dc') |
2503 |
- $(multilib_native_use_with addns dnsupdate) |
2504 |
- $(multilib_native_use_with ads) |
2505 |
- $(multilib_native_use_enable ceph cephfs) |
2506 |
- $(multilib_native_use_with cluster cluster-support) |
2507 |
- $(multilib_native_use_enable cups) |
2508 |
- $(multilib_native_use_with dmapi) |
2509 |
- $(multilib_native_use_with fam) |
2510 |
- $(multilib_native_use_with gpg gpgme) |
2511 |
- $(multilib_native_use_with json json-audit) |
2512 |
- $(multilib_native_use_enable iprint) |
2513 |
- $(multilib_native_use_with pam) |
2514 |
- $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') |
2515 |
- $(multilib_native_use_with quota quotas) |
2516 |
- $(multilib_native_use_with syslog) |
2517 |
- $(multilib_native_use_with systemd) |
2518 |
- $(multilib_native_use_with winbind) |
2519 |
- $(multilib_native_usex python '' '--disable-python') |
2520 |
- $(multilib_native_use_enable zeroconf avahi) |
2521 |
- $(multilib_native_usex test '--enable-selftest' '') |
2522 |
- $(usex system-mitkrb5 '--with-system-mitkrb5' '') |
2523 |
- $(use_enable gnutls) |
2524 |
- $(use_with debug lttng) |
2525 |
- $(use_with ldap) |
2526 |
- ) |
2527 |
- multilib_is_native_abi && myconf+=( --with-shared-modules=${SHAREDMODS} ) |
2528 |
- |
2529 |
- CPPFLAGS="-I${SYSROOT}${EPREFIX}/usr/include/et ${CPPFLAGS}" \ |
2530 |
- waf-utils_src_configure ${myconf[@]} |
2531 |
-} |
2532 |
- |
2533 |
-multilib_src_compile() { |
2534 |
- waf-utils_src_compile |
2535 |
-} |
2536 |
- |
2537 |
-multilib_src_install() { |
2538 |
- waf-utils_src_install |
2539 |
- |
2540 |
- # Make all .so files executable |
2541 |
- find "${ED}" -type f -name "*.so" -exec chmod +x {} + |
2542 |
- |
2543 |
- if multilib_is_native_abi ; then |
2544 |
- # install ldap schema for server (bug #491002) |
2545 |
- if use ldap ; then |
2546 |
- insinto /etc/openldap/schema |
2547 |
- doins examples/LDAP/samba.schema |
2548 |
- fi |
2549 |
- |
2550 |
- # create symlink for cups (bug #552310) |
2551 |
- if use cups ; then |
2552 |
- dosym ../../../bin/smbspool /usr/libexec/cups/backend/smb |
2553 |
- fi |
2554 |
- |
2555 |
- # install example config file |
2556 |
- insinto /etc/samba |
2557 |
- doins examples/smb.conf.default |
2558 |
- |
2559 |
- # Fix paths in example file (#603964) |
2560 |
- sed \ |
2561 |
- -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ |
2562 |
- -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ |
2563 |
- -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ |
2564 |
- -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ |
2565 |
- -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ |
2566 |
- -i "${ED%/}"/etc/samba/smb.conf.default || die |
2567 |
- |
2568 |
- # Install init script and conf.d file |
2569 |
- newinitd "${CONFDIR}/samba4.initd-r1" samba |
2570 |
- newconfd "${CONFDIR}/samba4.confd" samba |
2571 |
- |
2572 |
- systemd_dotmpfilesd "${FILESDIR}"/samba.conf |
2573 |
- systemd_dounit "${FILESDIR}"/nmbd.service |
2574 |
- systemd_dounit "${FILESDIR}"/smbd.{service,socket} |
2575 |
- systemd_newunit "${FILESDIR}"/smbd_at.service 'smbd@.service' |
2576 |
- systemd_dounit "${FILESDIR}"/winbindd.service |
2577 |
- systemd_dounit "${FILESDIR}"/samba.service |
2578 |
- fi |
2579 |
-} |
2580 |
- |
2581 |
-multilib_src_test() { |
2582 |
- if multilib_is_native_abi ; then |
2583 |
- "${WAF_BINARY}" test || die "test failed" |
2584 |
- fi |
2585 |
-} |
2586 |
- |
2587 |
-pkg_postinst() { |
2588 |
- ewarn "Be aware the this release contains the best of all of Samba's" |
2589 |
- ewarn "technology parts, both a file server (that you can reasonably expect" |
2590 |
- ewarn "to upgrade existing Samba 3.x releases to) and the AD domain" |
2591 |
- ewarn "controller work previously known as 'samba4'." |
2592 |
- |
2593 |
- elog "For further information and migration steps make sure to read " |
2594 |
- elog "https://samba.org/samba/history/${P}.html " |
2595 |
- elog "https://wiki.samba.org/index.php/Samba4/HOWTO " |
2596 |
-} |
2597 |
|
2598 |
diff --git a/sys-fs/zfs/Manifest b/sys-fs/zfs/Manifest |
2599 |
deleted file mode 100644 |
2600 |
index 8a21a97..0000000 |
2601 |
--- a/sys-fs/zfs/Manifest |
2602 |
+++ /dev/null |
2603 |
@@ -1,6 +0,0 @@ |
2604 |
-AUX bash-completion-r1 11310 SHA256 b60214f70ffffb62ffe489cbfabd2e069d14ed2a391fac0e36f914238394b540 SHA512 03be521e2c646196766d5fd049f241cb97f290abf0409881ea6ba709934984deda402c8513009e62a5787e0648023b55c040e5f99baef27709e81c3bc9c8f56e WHIRLPOOL b09558e80a96993c52915093c1c3f8488d0ef9294d2e401546c21998222f377e211ff368e18e8ba3b1dea7554a467cc3e32c882a1d872719d82f5e2c1ccd5848 |
2605 |
-AUX zfs-init.sh.in 582 SHA256 820cbbfe881315a640ea398c0c7eac60d2eeb191f694ef69f3e8ea725a8de085 SHA512 bed7eae5f902f13489241782d3d560b53a5a3258de492763b7b25783ca9417975afb9000f68f58be5c2057e1db50a569374ed0ff572140aa65e401e20e646461 WHIRLPOOL 3e9ec22a60a9ba4e71cfab74b25d5ad4aff1b64bfb210d31fc36d5a768527e8b692fe3a9712d9f6bfa8f08e03f7e92ed035a3d8bf4e360b22fa4a4e5b9e9d214 |
2606 |
-AUX zfs.service.in 334 SHA256 a9db484e4087a814bdb24814895450c700246f1880fdfd4c29645bb7acd72f05 SHA512 f1066c8b06d2501be9c080a78bfd28ac7566a05bac5ddff7915836d083f8e791bbb2fd5e70a7633a0407762f12fd240d2ef049ed5244c4c4727e42f2332117e2 WHIRLPOOL 173449dcb7312c528d21eeb763936affc849f049e4b647d426296b3a35c5f0c86f056e4c0de7866c62a28344a8a734f42b34822fe5573f7873575be0434105b3 |
2607 |
-DIST zfs-0.7.4.tar.gz 6402864 SHA256 9536a9be5d05329570afc9fc168be45cd38f832e2e7ede15f2c5cd223beb16d3 SHA512 53cc9541d04aab5582bdb21db25f33f72c22a9b45deb1b7362866f9949f10bda88870439d3ebb5204fe61dab8b1e3a2d2b3047186084c0ae18c079d4757eda8b WHIRLPOOL 6a3dd831fb225e8d6b81580e2f1b3b769b8d46aec723c201e7ec23c64ffa1486c4ddf0ae1e824d39d663c15f7527b78ee260d0f92e1da17d483440a23d8cc918 |
2608 |
-EBUILD zfs-0.7.4.ebuild 5664 SHA256 b391f3b7e3854c80566c3829486b058708292c21587ede1e14421f83f68cd12d SHA512 bceacbfac5efce785f90d68b3ea35bc3e44e5b7561684d1157842047dd878ae50f43222b473989a4c71380e362b919baf7eba77c28cdfe4bb9c63e425a7e55b9 WHIRLPOOL e22b229a4455e73efc91daffea8184f9976942df17eb74027e65966f57c2df70df537cfe714b0ca83f375f0f43b102e5a34f59baca79009ad8d9f215e35fced0 |
2609 |
-MISC metadata.xml 657 SHA256 a6aca959384715faa2476e3539b90cc13fabf944ebe56cd587498b8637fda86b SHA512 4d04c8aa7145b9c4f00c411cf0b19a1fd85ad3bee68dc71fa47e72d3965f1c6503783fb8e246724c9b6a18e05cc4994bdfe92b7c0a28fafd801b3249541bd047 WHIRLPOOL 31600bda1be97c927aad1c645414b1117802a400b7c059646e0fb056656a202f85ee30427d80da92cafb2e9d4903c4829b45983e9aad0ec2e93ea23047dab89d |
2610 |
|
2611 |
diff --git a/sys-fs/zfs/files/bash-completion-r1 b/sys-fs/zfs/files/bash-completion-r1 |
2612 |
deleted file mode 100644 |
2613 |
index b1aded3..0000000 |
2614 |
--- a/sys-fs/zfs/files/bash-completion-r1 |
2615 |
+++ /dev/null |
2616 |
@@ -1,391 +0,0 @@ |
2617 |
-# Copyright (c) 2013, Aneurin Price <aneurin.price@×××××.com> |
2618 |
- |
2619 |
-# Permission is hereby granted, free of charge, to any person |
2620 |
-# obtaining a copy of this software and associated documentation |
2621 |
-# files (the "Software"), to deal in the Software without |
2622 |
-# restriction, including without limitation the rights to use, |
2623 |
-# copy, modify, merge, publish, distribute, sublicense, and/or sell |
2624 |
-# copies of the Software, and to permit persons to whom the |
2625 |
-# Software is furnished to do so, subject to the following |
2626 |
-# conditions: |
2627 |
- |
2628 |
-# The above copyright notice and this permission notice shall be |
2629 |
-# included in all copies or substantial portions of the Software. |
2630 |
- |
2631 |
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
2632 |
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
2633 |
-# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
2634 |
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
2635 |
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
2636 |
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
2637 |
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
2638 |
-# OTHER DEALINGS IN THE SOFTWARE. |
2639 |
- |
2640 |
-#if [[ -w /dev/zfs ]]; then |
2641 |
- __ZFS_CMD="zfs" |
2642 |
- __ZPOOL_CMD="zpool" |
2643 |
-#else |
2644 |
-# __ZFS_CMD="sudo zfs" |
2645 |
-# __ZPOOL_CMD="sudo zpool" |
2646 |
-#fi |
2647 |
- |
2648 |
-__zfs_get_commands() |
2649 |
-{ |
2650 |
- $__ZFS_CMD 2>&1 | awk '/^\t[a-z]/ {print $1}' | cut -f1 -d '|' | uniq |
2651 |
-} |
2652 |
- |
2653 |
-__zfs_get_properties() |
2654 |
-{ |
2655 |
- $__ZFS_CMD get 2>&1 | awk '$2 == "YES" || $2 == "NO" {print $1}'; echo all name space |
2656 |
-} |
2657 |
- |
2658 |
-__zfs_get_editable_properties() |
2659 |
-{ |
2660 |
- $__ZFS_CMD get 2>&1 | awk '$2 == "YES" {print $1"="}' |
2661 |
-} |
2662 |
- |
2663 |
-__zfs_get_inheritable_properties() |
2664 |
-{ |
2665 |
- $__ZFS_CMD get 2>&1 | awk '$3 == "YES" {print $1}' |
2666 |
-} |
2667 |
- |
2668 |
-__zfs_list_datasets() |
2669 |
-{ |
2670 |
- $__ZFS_CMD list -H -o name -t filesystem,volume |
2671 |
-} |
2672 |
- |
2673 |
-__zfs_list_filesystems() |
2674 |
-{ |
2675 |
- $__ZFS_CMD list -H -o name -t filesystem |
2676 |
-} |
2677 |
- |
2678 |
-__zfs_match_snapshot() |
2679 |
-{ |
2680 |
- local base_dataset=${cur%@*} |
2681 |
- if [[ $base_dataset != $cur ]] |
2682 |
- then |
2683 |
- $__ZFS_CMD list -H -o name -t snapshot -d 1 $base_dataset |
2684 |
- else |
2685 |
- $__ZFS_CMD list -H -o name -t filesystem,volume | awk '{print $1"@"}' |
2686 |
- fi |
2687 |
-} |
2688 |
- |
2689 |
-__zfs_match_explicit_snapshot() |
2690 |
-{ |
2691 |
- local base_dataset=${cur%@*} |
2692 |
- if [[ $base_dataset != $cur ]] |
2693 |
- then |
2694 |
- $__ZFS_CMD list -H -o name -t snapshot -d 1 $base_dataset |
2695 |
- fi |
2696 |
-} |
2697 |
- |
2698 |
-__zfs_match_multiple_snapshots() |
2699 |
-{ |
2700 |
- local existing_opts=$(expr "$cur" : '\(.*\)[%,]') |
2701 |
- if [[ $existing_opts ]] |
2702 |
- then |
2703 |
- local base_dataset=${cur%@*} |
2704 |
- if [[ $base_dataset != $cur ]] |
2705 |
- then |
2706 |
- local cur=${cur##*,} |
2707 |
- if [[ $cur =~ ^%|%.*% ]] |
2708 |
- then |
2709 |
- # correct range syntax is start%end |
2710 |
- return 1 |
2711 |
- fi |
2712 |
- local range_start=$(expr "$cur" : '\(.*%\)') |
2713 |
- $__ZFS_CMD list -H -o name -t snapshot -d 1 $base_dataset | sed 's$.*@$'$range_start'$g' |
2714 |
- fi |
2715 |
- else |
2716 |
- __zfs_match_explicit_snapshot; __zfs_list_datasets |
2717 |
- fi |
2718 |
-} |
2719 |
- |
2720 |
-__zfs_list_volumes() |
2721 |
-{ |
2722 |
- $__ZFS_CMD list -H -o name -t volume |
2723 |
-} |
2724 |
- |
2725 |
-__zfs_argument_chosen() |
2726 |
-{ |
2727 |
- local word property |
2728 |
- for word in $(seq $((COMP_CWORD-1)) -1 2) |
2729 |
- do |
2730 |
- local prev="${COMP_WORDS[$word]}" |
2731 |
- if [[ ${COMP_WORDS[$word-1]} != -[tos] ]] |
2732 |
- then |
2733 |
- if [[ "$prev" == [^,]*,* ]] || [[ "$prev" == *[@:]* ]] |
2734 |
- then |
2735 |
- return 0 |
2736 |
- fi |
2737 |
- for property in $@ |
2738 |
- do |
2739 |
- if [[ $prev == "$property" ]] |
2740 |
- then |
2741 |
- return 0 |
2742 |
- fi |
2743 |
- done |
2744 |
- fi |
2745 |
- done |
2746 |
- return 1 |
2747 |
-} |
2748 |
- |
2749 |
-__zfs_complete_ordered_arguments() |
2750 |
-{ |
2751 |
- local list1=$1 |
2752 |
- local list2=$2 |
2753 |
- local cur=$3 |
2754 |
- local extra=$4 |
2755 |
- if __zfs_argument_chosen $list1 |
2756 |
- then |
2757 |
- COMPREPLY=($(compgen -W "$list2 $extra" -- "$cur")) |
2758 |
- else |
2759 |
- COMPREPLY=($(compgen -W "$list1 $extra" -- "$cur")) |
2760 |
- fi |
2761 |
-} |
2762 |
- |
2763 |
-__zfs_complete_multiple_options() |
2764 |
-{ |
2765 |
- local options=$1 |
2766 |
- local cur=$2 |
2767 |
- |
2768 |
- COMPREPLY=($(compgen -W "$options" -- "${cur##*,}")) |
2769 |
- local existing_opts=$(expr "$cur" : '\(.*,\)') |
2770 |
- if [[ $existing_opts ]] |
2771 |
- then |
2772 |
- COMPREPLY=( "${COMPREPLY[@]/#/${existing_opts}}" ) |
2773 |
- fi |
2774 |
-} |
2775 |
- |
2776 |
-__zfs_complete_switch() |
2777 |
-{ |
2778 |
- local options=$1 |
2779 |
- if [[ ${cur:0:1} == - ]] |
2780 |
- then |
2781 |
- COMPREPLY=($(compgen -W "-{$options}" -- "$cur")) |
2782 |
- return 0 |
2783 |
- else |
2784 |
- return 1 |
2785 |
- fi |
2786 |
-} |
2787 |
- |
2788 |
-__zfs_complete() |
2789 |
-{ |
2790 |
- local cur prev cmd cmds |
2791 |
- COMPREPLY=() |
2792 |
- # Don't split on colon |
2793 |
- _get_comp_words_by_ref -n : -c cur -p prev -w COMP_WORDS -i COMP_CWORD |
2794 |
- cmd="${COMP_WORDS[1]}" |
2795 |
- |
2796 |
- if [[ ${prev##*/} == zfs ]] |
2797 |
- then |
2798 |
- cmds=$(__zfs_get_commands) |
2799 |
- COMPREPLY=($(compgen -W "$cmds -?" -- "$cur")) |
2800 |
- return 0 |
2801 |
- fi |
2802 |
- |
2803 |
- case "${cmd}" in |
2804 |
- clone) |
2805 |
- case "${prev}" in |
2806 |
- -o) |
2807 |
- COMPREPLY=($(compgen -W "$(__zfs_get_editable_properties)" -- "$cur")) |
2808 |
- ;; |
2809 |
- *) |
2810 |
- if ! __zfs_complete_switch "o,p" |
2811 |
- then |
2812 |
- if __zfs_argument_chosen |
2813 |
- then |
2814 |
- COMPREPLY=($(compgen -W "$(__zfs_list_datasets)" -- "$cur")) |
2815 |
- else |
2816 |
- COMPREPLY=($(compgen -W "$(__zfs_match_snapshot)" -- "$cur")) |
2817 |
- fi |
2818 |
- fi |
2819 |
- ;; |
2820 |
- esac |
2821 |
- ;; |
2822 |
- get) |
2823 |
- case "${prev}" in |
2824 |
- -d) |
2825 |
- COMPREPLY=($(compgen -W "" -- "$cur")) |
2826 |
- ;; |
2827 |
- -t) |
2828 |
- __zfs_complete_multiple_options "filesystem volume snapshot all" "$cur" |
2829 |
- ;; |
2830 |
- -s) |
2831 |
- __zfs_complete_multiple_options "local default inherited temporary none" "$cur" |
2832 |
- ;; |
2833 |
- -o) |
2834 |
- __zfs_complete_multiple_options "name property value source received all" "$cur" |
2835 |
- ;; |
2836 |
- *) |
2837 |
- if ! __zfs_complete_switch "H,r,p,d,o,t,s" |
2838 |
- then |
2839 |
- if __zfs_argument_chosen $(__zfs_get_properties) |
2840 |
- then |
2841 |
- COMPREPLY=($(compgen -W "$(__zfs_match_explicit_snapshot) $(__zfs_list_datasets)" -- "$cur")) |
2842 |
- else |
2843 |
- __zfs_complete_multiple_options "$(__zfs_get_properties)" "$cur" |
2844 |
- fi |
2845 |
- fi |
2846 |
- ;; |
2847 |
- esac |
2848 |
- ;; |
2849 |
- inherit) |
2850 |
- if ! __zfs_complete_switch "r" |
2851 |
- then |
2852 |
- __zfs_complete_ordered_arguments "$(__zfs_get_inheritable_properties)" "$(__zfs_match_explicit_snapshot) $(__zfs_list_datasets)" $cur |
2853 |
- fi |
2854 |
- ;; |
2855 |
- list) |
2856 |
- case "${prev}" in |
2857 |
- -d) |
2858 |
- COMPREPLY=($(compgen -W "" -- "$cur")) |
2859 |
- ;; |
2860 |
- -t) |
2861 |
- __zfs_complete_multiple_options "filesystem volume snapshot all" "$cur" |
2862 |
- ;; |
2863 |
- -o) |
2864 |
- __zfs_complete_multiple_options "$(__zfs_get_properties)" "$cur" |
2865 |
- ;; |
2866 |
- -s|-S) |
2867 |
- COMPREPLY=($(compgen -W "$(__zfs_get_properties)" -- "$cur")) |
2868 |
- ;; |
2869 |
- *) |
2870 |
- if ! __zfs_complete_switch "H,r,d,o,t,s,S" |
2871 |
- then |
2872 |
- COMPREPLY=($(compgen -W "$(__zfs_match_explicit_snapshot) $(__zfs_list_datasets)" -- "$cur")) |
2873 |
- fi |
2874 |
- ;; |
2875 |
- esac |
2876 |
- ;; |
2877 |
- promote) |
2878 |
- COMPREPLY=($(compgen -W "$(__zfs_list_filesystems)" -- "$cur")) |
2879 |
- ;; |
2880 |
- rollback) |
2881 |
- if ! __zfs_complete_switch "r,R,f" |
2882 |
- then |
2883 |
- COMPREPLY=($(compgen -W "$(__zfs_match_snapshot)" -- "$cur")) |
2884 |
- fi |
2885 |
- ;; |
2886 |
- send) |
2887 |
- if ! __zfs_complete_switch "d,n,P,p,R,v,i,I" |
2888 |
- then |
2889 |
- COMPREPLY=($(compgen -W "$(__zfs_match_snapshot)" -- "$cur")) |
2890 |
- fi |
2891 |
- ;; |
2892 |
- snapshot) |
2893 |
- case "${prev}" in |
2894 |
- -o) |
2895 |
- COMPREPLY=($(compgen -W "$(__zfs_get_editable_properties)" -- "$cur")) |
2896 |
- ;; |
2897 |
- *) |
2898 |
- if ! __zfs_complete_switch "o,r" |
2899 |
- then |
2900 |
- COMPREPLY=($(compgen -W "$(__zfs_list_datasets | awk '{print $1"@"}')" -- "$cur")) |
2901 |
- fi |
2902 |
- ;; |
2903 |
- esac |
2904 |
- ;; |
2905 |
- set) |
2906 |
- __zfs_complete_ordered_arguments "$(__zfs_get_editable_properties)" "$(__zfs_match_explicit_snapshot) $(__zfs_list_datasets)" $cur |
2907 |
- ;; |
2908 |
- upgrade) |
2909 |
- case "${prev}" in |
2910 |
- -a|-V|-v) |
2911 |
- COMPREPLY=($(compgen -W "" -- "$cur")) |
2912 |
- ;; |
2913 |
- *) |
2914 |
- if ! __zfs_complete_switch "a,V,v,r" |
2915 |
- then |
2916 |
- COMPREPLY=($(compgen -W "$(__zfs_list_filesystems)" -- "$cur")) |
2917 |
- fi |
2918 |
- ;; |
2919 |
- esac |
2920 |
- ;; |
2921 |
- destroy) |
2922 |
- if ! __zfs_complete_switch "d,f,n,p,R,r,v" |
2923 |
- then |
2924 |
- __zfs_complete_multiple_options "$(__zfs_match_multiple_snapshots)" $cur |
2925 |
- fi |
2926 |
- ;; |
2927 |
- *) |
2928 |
- COMPREPLY=($(compgen -W "$(__zfs_match_explicit_snapshot) $(__zfs_list_datasets)" -- "$cur")) |
2929 |
- ;; |
2930 |
- esac |
2931 |
- __ltrim_colon_completions "$cur" |
2932 |
- return 0 |
2933 |
-} |
2934 |
- |
2935 |
-__zpool_get_commands() |
2936 |
-{ |
2937 |
- $__ZPOOL_CMD 2>&1 | awk '/^\t[a-z]/ {print $1}' | uniq |
2938 |
-} |
2939 |
- |
2940 |
-__zpool_get_properties() |
2941 |
-{ |
2942 |
- $__ZPOOL_CMD get 2>&1 | awk '$2 == "YES" || $2 == "NO" {print $1}'; echo all |
2943 |
-} |
2944 |
- |
2945 |
-__zpool_get_editable_properties() |
2946 |
-{ |
2947 |
- $__ZPOOL_CMD get 2>&1 | awk '$2 == "YES" {print $1"="}' |
2948 |
-} |
2949 |
- |
2950 |
-__zpool_list_pools() |
2951 |
-{ |
2952 |
- $__ZPOOL_CMD list -H -o name |
2953 |
-} |
2954 |
- |
2955 |
-__zpool_complete() |
2956 |
-{ |
2957 |
- local cur prev cmd cmds |
2958 |
- COMPREPLY=() |
2959 |
- cur="${COMP_WORDS[COMP_CWORD]}" |
2960 |
- prev="${COMP_WORDS[COMP_CWORD-1]}" |
2961 |
- cmd="${COMP_WORDS[1]}" |
2962 |
- |
2963 |
- if [[ ${prev##*/} == zpool ]] |
2964 |
- then |
2965 |
- cmds=$(__zpool_get_commands) |
2966 |
- COMPREPLY=($(compgen -W "$cmds" -- "$cur")) |
2967 |
- return 0 |
2968 |
- fi |
2969 |
- |
2970 |
- case "${cmd}" in |
2971 |
- get) |
2972 |
- __zfs_complete_ordered_arguments "$(__zpool_get_properties)" "$(__zpool_list_pools)" $cur |
2973 |
- return 0 |
2974 |
- ;; |
2975 |
- import) |
2976 |
- if [[ $prev == -d ]] |
2977 |
- then |
2978 |
- _filedir -d |
2979 |
- else |
2980 |
- COMPREPLY=($(compgen -W "$(__zpool_list_pools) -d" -- "$cur")) |
2981 |
- fi |
2982 |
- return 0 |
2983 |
- ;; |
2984 |
- set) |
2985 |
- __zfs_complete_ordered_arguments "$(__zpool_get_editable_properties)" "$(__zpool_list_pools)" $cur |
2986 |
- return 0 |
2987 |
- ;; |
2988 |
- add|attach|clear|create|detach|offline|online|remove|replace) |
2989 |
- local pools="$(__zpool_list_pools)" |
2990 |
- if __zfs_argument_chosen $pools |
2991 |
- then |
2992 |
- _filedir |
2993 |
- else |
2994 |
- COMPREPLY=($(compgen -W "$pools" -- "$cur")) |
2995 |
- fi |
2996 |
- return 0 |
2997 |
- ;; |
2998 |
- *) |
2999 |
- COMPREPLY=($(compgen -W "$(__zpool_list_pools)" -- "$cur")) |
3000 |
- return 0 |
3001 |
- ;; |
3002 |
- esac |
3003 |
- |
3004 |
-} |
3005 |
- |
3006 |
-complete -F __zfs_complete zfs |
3007 |
-complete -F __zpool_complete zpool |
3008 |
|
3009 |
diff --git a/sys-fs/zfs/files/zfs-init.sh.in b/sys-fs/zfs/files/zfs-init.sh.in |
3010 |
deleted file mode 100644 |
3011 |
index ed84585..0000000 |
3012 |
--- a/sys-fs/zfs/files/zfs-init.sh.in |
3013 |
+++ /dev/null |
3014 |
@@ -1,29 +0,0 @@ |
3015 |
-#!/bin/sh |
3016 |
- |
3017 |
-ZFS="@sbindir@/zfs" |
3018 |
-ZPOOL="@sbindir@/zpool" |
3019 |
-ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache" |
3020 |
- |
3021 |
-if [ -f "${ZPOOL_CACHE}" ]; then |
3022 |
- "${ZPOOL}" import -c "${ZPOOL_CACHE}" -aN 2>/dev/null |
3023 |
- if [ "${?}" != "0" ]; then |
3024 |
- echo "Failed to import not-yet imported pools." >&2 |
3025 |
- fi |
3026 |
-fi |
3027 |
- |
3028 |
-echo "Mounting ZFS filesystems" |
3029 |
-"${ZFS}" mount -a |
3030 |
-if [ "${?}" != "0" ]; then |
3031 |
- echo "Failed to mount ZFS filesystems." >&2 |
3032 |
- exit 1 |
3033 |
-fi |
3034 |
- |
3035 |
-echo "Exporting ZFS filesystems" |
3036 |
-"${ZFS}" share -a |
3037 |
-if [ "${?}" != "0" ]; then |
3038 |
- echo "Failed to export ZFS filesystems." >&2 |
3039 |
- exit 1 |
3040 |
-fi |
3041 |
- |
3042 |
-exit 0 |
3043 |
- |
3044 |
|
3045 |
diff --git a/sys-fs/zfs/files/zfs.service.in b/sys-fs/zfs/files/zfs.service.in |
3046 |
deleted file mode 100644 |
3047 |
index c390a48..0000000 |
3048 |
--- a/sys-fs/zfs/files/zfs.service.in |
3049 |
+++ /dev/null |
3050 |
@@ -1,16 +0,0 @@ |
3051 |
-[Unit] |
3052 |
-Description=ZFS filesystems setup |
3053 |
-Before=network.target |
3054 |
-After=systemd-udev-settle.target local-fs.target |
3055 |
- |
3056 |
-[Service] |
3057 |
-Type=oneshot |
3058 |
-RemainAfterExit=yes |
3059 |
-ExecStartPre=/sbin/modprobe zfs |
3060 |
-ExecStartPre=/usr/bin/test -c /dev/zfs |
3061 |
-ExecStart=/usr/libexec/zfs-init.sh |
3062 |
-ExecStop=@sbindir@/zfs umount -a |
3063 |
- |
3064 |
-[Install] |
3065 |
-WantedBy=multi-user.target |
3066 |
- |
3067 |
|
3068 |
diff --git a/sys-fs/zfs/metadata.xml b/sys-fs/zfs/metadata.xml |
3069 |
deleted file mode 100644 |
3070 |
index 3a2b559..0000000 |
3071 |
--- a/sys-fs/zfs/metadata.xml |
3072 |
+++ /dev/null |
3073 |
@@ -1,16 +0,0 @@ |
3074 |
-<?xml version="1.0" encoding="UTF-8"?> |
3075 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
3076 |
-<pkgmetadata> |
3077 |
- <maintainer type="person"> |
3078 |
- <email>samuelbernardo.mail@×××××.com</email> |
3079 |
- <name>Samuel Bernardo</name> |
3080 |
- </maintainer> |
3081 |
- <use> |
3082 |
- <flag name="kernel-builtin">Disable dependency on sys-fs/zfs-kmod under the assumption that ZFS is part of the kernel source tree</flag> |
3083 |
- <flag name="rootfs">Enable dependencies required for booting off a pool containing a rootfs</flag> |
3084 |
- <flag name="test-suite">Install regression test suite</flag> |
3085 |
- </use> |
3086 |
- <upstream> |
3087 |
- <remote-id type="github">zfsonlinux/zfs</remote-id> |
3088 |
- </upstream> |
3089 |
-</pkgmetadata> |
3090 |
|
3091 |
diff --git a/sys-fs/zfs/zfs-0.7.4.ebuild b/sys-fs/zfs/zfs-0.7.4.ebuild |
3092 |
deleted file mode 100644 |
3093 |
index c5bf937..0000000 |
3094 |
--- a/sys-fs/zfs/zfs-0.7.4.ebuild |
3095 |
+++ /dev/null |
3096 |
@@ -1,201 +0,0 @@ |
3097 |
-# Copyright 1999-2017 Gentoo Foundation |
3098 |
-# Distributed under the terms of the GNU General Public License v2 |
3099 |
- |
3100 |
-EAPI="5" |
3101 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
3102 |
- |
3103 |
-if [ ${PV} == "9999" ] ; then |
3104 |
- inherit git-r3 linux-mod |
3105 |
- AUTOTOOLS_AUTORECONF="1" |
3106 |
- EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" |
3107 |
-else |
3108 |
- SRC_URI="https://github.com/zfsonlinux/${PN}/releases/download/${P}/${P}.tar.gz" |
3109 |
- KEYWORDS=" ~amd64" |
3110 |
-fi |
3111 |
- |
3112 |
-inherit autotools-utils bash-completion-r1 flag-o-matic linux-info python-r1 systemd toolchain-funcs udev |
3113 |
- |
3114 |
-DESCRIPTION="Userland utilities for ZFS Linux kernel module" |
3115 |
-HOMEPAGE="http://zfsonlinux.org/" |
3116 |
- |
3117 |
-LICENSE="BSD-2 CDDL MIT" |
3118 |
-SLOT="0" |
3119 |
-IUSE="custom-cflags debug kernel-builtin +rootfs test-suite static-libs" |
3120 |
-RESTRICT="test" |
3121 |
- |
3122 |
-COMMON_DEPEND=" |
3123 |
- sys-apps/util-linux[static-libs?] |
3124 |
- sys-libs/zlib[static-libs(+)?] |
3125 |
- virtual/awk |
3126 |
-" |
3127 |
-DEPEND="${COMMON_DEPEND} |
3128 |
- virtual/pkgconfig |
3129 |
-" |
3130 |
- |
3131 |
-RDEPEND="${COMMON_DEPEND} |
3132 |
- !=sys-apps/grep-2.13* |
3133 |
- !kernel-builtin? ( =sys-fs/zfs-kmod-${PV}* ) |
3134 |
- !sys-fs/zfs-fuse |
3135 |
- !prefix? ( virtual/udev ) |
3136 |
- test-suite? ( |
3137 |
- sys-apps/util-linux |
3138 |
- sys-devel/bc |
3139 |
- sys-block/parted |
3140 |
- sys-fs/lsscsi |
3141 |
- sys-fs/mdadm |
3142 |
- sys-process/procps |
3143 |
- virtual/modutils |
3144 |
- ) |
3145 |
- rootfs? ( |
3146 |
- app-arch/cpio |
3147 |
- app-misc/pax-utils |
3148 |
- !<sys-boot/grub-2.00-r2:2 |
3149 |
- !<sys-kernel/genkernel-3.5.1.1 |
3150 |
- !<sys-kernel/genkernel-next-67 |
3151 |
- !<sys-kernel/bliss-initramfs-7.1.0 |
3152 |
- !<sys-kernel/dracut-044-r1 |
3153 |
- ) |
3154 |
- sys-fs/udev-init-scripts |
3155 |
-" |
3156 |
- |
3157 |
-AT_M4DIR="config" |
3158 |
-AUTOTOOLS_IN_SOURCE_BUILD="1" |
3159 |
- |
3160 |
-pkg_setup() { |
3161 |
- if use kernel_linux && use test-suite; then |
3162 |
- linux-info_pkg_setup |
3163 |
- if ! linux_config_exists; then |
3164 |
- ewarn "Cannot check the linux kernel configuration." |
3165 |
- else |
3166 |
- # recheck that we don't have usblp to collide with libusb |
3167 |
- if use test-suite; then |
3168 |
- if linux_chkconfig_present BLK_DEV_LOOP; then |
3169 |
- eerror "The ZFS test suite requires loop device support enabled." |
3170 |
- eerror "Please enable it:" |
3171 |
- eerror " CONFIG_BLK_DEV_LOOP=y" |
3172 |
- eerror "in /usr/src/linux/.config or" |
3173 |
- eerror " Device Drivers --->" |
3174 |
- eerror " Block devices --->" |
3175 |
- eerror " [ ] Loopback device support" |
3176 |
- fi |
3177 |
- fi |
3178 |
- fi |
3179 |
- fi |
3180 |
- |
3181 |
-} |
3182 |
- |
3183 |
-src_prepare() { |
3184 |
- # Update paths |
3185 |
- sed -e "s|/sbin/lsmod|/bin/lsmod|" \ |
3186 |
- -e "s|/usr/bin/scsi-rescan|/usr/sbin/rescan-scsi-bus|" \ |
3187 |
- -e "s|/sbin/parted|/usr/sbin/parted|" \ |
3188 |
- -i scripts/common.sh.in |
3189 |
- |
3190 |
- autotools-utils_src_prepare |
3191 |
-} |
3192 |
- |
3193 |
-src_configure() { |
3194 |
- use custom-cflags || strip-flags |
3195 |
- local myeconfargs=( |
3196 |
- --bindir="${EPREFIX}/bin" |
3197 |
- --sbindir="${EPREFIX}/sbin" |
3198 |
- --with-config=user |
3199 |
- --with-dracutdir="/usr/$(get_libdir)/dracut" |
3200 |
- --with-linux="${KV_DIR}" |
3201 |
- --with-linux-obj="${KV_OUT_DIR}" |
3202 |
- --with-udevdir="$(get_udevdir)" |
3203 |
- --with-blkid |
3204 |
- $(use_enable debug) |
3205 |
- ) |
3206 |
- autotools-utils_src_configure |
3207 |
- |
3208 |
- # prepare systemd unit and helper script |
3209 |
- cat "${FILESDIR}/zfs.service.in" | \ |
3210 |
- sed -e "s:@sbindir@:${EPREFIX}/sbin:g" \ |
3211 |
- -e "s:@sysconfdir@:${EPREFIX}/etc:g" \ |
3212 |
- > "${T}/zfs.service" || die |
3213 |
- cat "${FILESDIR}/zfs-init.sh.in" | \ |
3214 |
- sed -e "s:@sbindir@:${EPREFIX}/sbin:g" \ |
3215 |
- -e "s:@sysconfdir@:${EPREFIX}/etc:g" \ |
3216 |
- > "${T}/zfs-init.sh" || die |
3217 |
-} |
3218 |
- |
3219 |
-src_install() { |
3220 |
- autotools-utils_src_install |
3221 |
- gen_usr_ldscript -a uutil nvpair zpool zfs zfs_core |
3222 |
- use test-suite || rm -rf "${ED}usr/share/zfs" |
3223 |
- |
3224 |
- newbashcomp "${FILESDIR}/bash-completion-r1" zfs |
3225 |
- bashcomp_alias zfs zpool |
3226 |
- |
3227 |
- exeinto /usr/libexec |
3228 |
- doexe "${T}/zfs-init.sh" |
3229 |
- systemd_dounit "${T}/zfs.service" |
3230 |
-} |
3231 |
- |
3232 |
-pkg_postinst() { |
3233 |
- if ! use kernel-builtin && [ ${PV} = "9999" ] |
3234 |
- then |
3235 |
- einfo "Adding ${P} to the module database to ensure that the" |
3236 |
- einfo "kernel modules and userland utilities stay in sync." |
3237 |
- update_moduledb |
3238 |
- fi |
3239 |
- |
3240 |
- if [ -e "${EROOT}etc/runlevels/boot/zfs" ] |
3241 |
- then |
3242 |
- einfo 'The zfs boot script has been split into the zfs-import,' |
3243 |
- einfo 'zfs-mount and zfs-share scripts.' |
3244 |
- einfo |
3245 |
- einfo 'You had the zfs script in your boot runlevel. For your' |
3246 |
- einfo 'convenience, it has been automatically removed and the three' |
3247 |
- einfo 'scripts that replace it have been configured to start.' |
3248 |
- einfo 'The zfs-import and zfs-mount scripts have been added to the boot' |
3249 |
- einfo 'runlevel while the zfs-share script is in the default runlevel.' |
3250 |
- |
3251 |
- rm "${EROOT}etc/runlevels/boot/zfs" |
3252 |
- ln -snf "${EROOT}etc/init.d/zfs-import" \ |
3253 |
- "${EROOT}etc/runlevels/boot/zfs-import" |
3254 |
- ln -snf "${EROOT}etc/init.d/zfs-mount" \ |
3255 |
- "${EROOT}etc/runlevels/boot/zfs-mount" |
3256 |
- ln -snf "${EROOT}etc/init.d/zfs-share" \ |
3257 |
- "${EROOT}etc/runlevels/default/zfs-share" |
3258 |
- else |
3259 |
- [ -e "${EROOT}etc/runlevels/boot/zfs-import" ] || \ |
3260 |
- einfo "You should add zfs-import to the boot runlevel." |
3261 |
- [ -e "${EROOT}etc/runlevels/boot/zfs-mount" ] || \ |
3262 |
- einfo "You should add zfs-mount to the boot runlevel." |
3263 |
- [ -e "${EROOT}etc/runlevels/default/zfs-share" ] || \ |
3264 |
- einfo "You should add zfs-share to the default runlevel." |
3265 |
- fi |
3266 |
- |
3267 |
- if [ -e "${EROOT}etc/runlevels/default/zed" ] |
3268 |
- then |
3269 |
- einfo 'The downstream OpenRC zed script has replaced by the upstream' |
3270 |
- einfo 'OpenRC zfs-zed script.' |
3271 |
- einfo |
3272 |
- einfo 'You had the zed script in your default runlevel. For your' |
3273 |
- einfo 'convenience, it has been automatically removed and the zfs-zed' |
3274 |
- einfo 'script that replaced it has been configured to start.' |
3275 |
- |
3276 |
- rm "${EROOT}etc/runlevels/boot/zed" |
3277 |
- ln -snf "${EROOT}etc/init.d/zfs-sed" \ |
3278 |
- "${EROOT}etc/runlevels/default/zfs-zed" |
3279 |
- else |
3280 |
- [ -e "${EROOT}etc/runlevels/default/zfs-zed" ] || \ |
3281 |
- einfo "You should add zfs-zed to the default runlevel." |
3282 |
- fi |
3283 |
- |
3284 |
- if [ -e "${EROOT}etc/runlevels/shutdown/zfs-shutdown" ] |
3285 |
- then |
3286 |
- einfo "The zfs-shutdown script is obsolete. Removing it from runlevel." |
3287 |
- rm "${EROOT}etc/runlevels/shutdown/zfs-shutdown" |
3288 |
- fi |
3289 |
- |
3290 |
-} |
3291 |
- |
3292 |
-pkg_postrm() { |
3293 |
- if ! use kernel-builtin && [ ${PV} = "9999" ] |
3294 |
- then |
3295 |
- remove_moduledb |
3296 |
- fi |
3297 |
-} |