Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/fuse/
Date: Thu, 07 May 2020 03:51:48
Message-Id: 1588823359.f4e6946fbda968ae29c66507b3e15b144d406bd8.radhermit@gentoo
1 commit: f4e6946fbda968ae29c66507b3e15b144d406bd8
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 7 03:44:36 2020 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu May 7 03:49:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e6946f
7
8 sys-fs/fuse: remove old
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 sys-fs/fuse/Manifest | 3 --
13 sys-fs/fuse/fuse-2.9.8.ebuild | 73 ----------------------------------------
14 sys-fs/fuse/fuse-3.8.0.ebuild | 78 -------------------------------------------
15 sys-fs/fuse/fuse-3.9.0.ebuild | 78 -------------------------------------------
16 4 files changed, 232 deletions(-)
17
18 diff --git a/sys-fs/fuse/Manifest b/sys-fs/fuse/Manifest
19 index f09ffac5c8e..8d1f686484c 100644
20 --- a/sys-fs/fuse/Manifest
21 +++ b/sys-fs/fuse/Manifest
22 @@ -1,5 +1,2 @@
23 -DIST fuse-2.9.8.tar.gz 4610904 BLAKE2B 803eebea510834676379df8c9514050efcf47d83c06ba1f5b5756d27f5c32d3a0cc199d826b0c041118c5d2260ff023f58432a0d7b623807c0a4af4da7c34eff SHA512 0a9b14d96c6f98f5c903baf00114bfff72f9aeb97224702bbed370516b2b582401d5b436fcef979918ffd85d69ba4a82c8f722c0b35ebd50f7aa5f4ddfdcf8ad
24 DIST fuse-2.9.9.tar.gz 1813177 BLAKE2B 9e9141380bda46eb0bcce325c6fd293fe3844fe884a4952bb38d4b89dc48b728ffcc891038b3a7a861f05acfacce9dd7bb0e11d600609f3ad0ab278ccbe98847 SHA512 3d82fafd04f2924299bb09d2bb144935fa004a43fb9a6568e2e1cc5a60fded2efa1711029a0d7f12b3e6e4501f7217f2ee3545646d89da8dece083cb390f23e2
25 -DIST fuse-3.8.0.tar.xz 1416716 BLAKE2B f921b739489e8eb8b2a78b719c9761f330de839f151f787a6db37d8d004ef9b90022bfe3c5d24ceab333cde8741340ede0315a5b92cabdaf87fb1b291f72e292 SHA512 46d2b1494c73f8b6b2be4e8969bb9906ea35620fb4081edc3176f7ba34e6ed815d5f9c5c6f06604fb37836460e25d0ce51619853288bb881362f04cba6b31812
26 -DIST fuse-3.9.0.tar.xz 1523028 BLAKE2B 2fff93431e59e370189fb1527de7bff3863d20e1a62628bb56a6671077a1c919b394ddac66537a1ef7c2991556b1817b2c7f6a92c161ebfffbc804466e19e5e7 SHA512 0c96df5db4d0ceb7885ddb6f6c05b523ee7e179f8f411ad0614caecb9fa0f5fd682ab9bf4dfdaa3aff9d90c18b8947a122ee376328535e49fa6091d784aa0cb7
27 DIST fuse-3.9.1.tar.xz 1595308 BLAKE2B 3b1d5c8ac99e96183581d034889d8d6cab8feeee26cafd765dc4ab2cbeb655b3b162836c960ceacf08cd458bec2daaf0474877c9611ef6a6543795e4971ddc12 SHA512 295bb62274264789c977a1fee78c6c122a2f227ae85d750b8519cafbdcf6551499b77cf021d83cc8261831e29761c166d84a4e50bdebb4191c76bcad1d15d329
28
29 diff --git a/sys-fs/fuse/fuse-2.9.8.ebuild b/sys-fs/fuse/fuse-2.9.8.ebuild
30 deleted file mode 100644
31 index 7646055583c..00000000000
32 --- a/sys-fs/fuse/fuse-2.9.8.ebuild
33 +++ /dev/null
34 @@ -1,73 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -inherit ltprune libtool linux-info udev toolchain-funcs
40 -
41 -DESCRIPTION="An interface for filesystems implemented in userspace"
42 -HOMEPAGE="https://github.com/libfuse/libfuse"
43 -SRC_URI="https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
48 -IUSE="examples kernel_linux kernel_FreeBSD static-libs"
49 -
50 -PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )"
51 -DEPEND="virtual/pkgconfig"
52 -RDEPEND="sys-fs/fuse-common"
53 -
54 -pkg_setup() {
55 - if use kernel_linux ; then
56 - if kernel_is lt 2 6 9 ; then
57 - die "Your kernel is too old."
58 - fi
59 - CONFIG_CHECK="~FUSE_FS"
60 - FUSE_FS_WARNING="You need to have FUSE module built to use user-mode utils"
61 - linux-info_pkg_setup
62 - fi
63 -}
64 -
65 -src_prepare() {
66 - local PATCHES=( "${FILESDIR}"/${PN}-2.9.3-kernel-types.patch )
67 - # sandbox violation with mtab writability wrt #438250
68 - # don't sed configure.in without eautoreconf because of maintainer mode
69 - sed -i 's:umount --fake:true --fake:' configure || die
70 - elibtoolize
71 -
72 - default
73 -}
74 -
75 -src_configure() {
76 - econf \
77 - INIT_D_PATH="${EPREFIX}/etc/init.d" \
78 - MOUNT_FUSE_PATH="${EPREFIX}/sbin" \
79 - UDEV_RULES_PATH="${EPREFIX}/$(get_udevdir)/rules.d" \
80 - $(use_enable static-libs static) \
81 - --disable-example
82 -}
83 -
84 -src_install() {
85 - local DOCS=( AUTHORS ChangeLog README.md README.NFS NEWS doc/how-fuse-works doc/kernel.txt )
86 - default
87 -
88 - if use examples ; then
89 - docinto examples
90 - dodoc example/*
91 - fi
92 -
93 - if use kernel_FreeBSD ; then
94 - insinto /usr/include/fuse
95 - doins include/fuse_kernel.h
96 - fi
97 -
98 - prune_libtool_files
99 -
100 - # installed via fuse-common
101 - rm -r "${ED%/}"/{etc,$(get_udevdir)} || die
102 - rm "${ED%/}"/usr/share/man/man8/mount.fuse.* || die
103 - rm "${ED%/}"/sbin/mount.fuse || die
104 -
105 - # handled by the device manager
106 - rm -r "${D%/}"/dev || die
107 -}
108
109 diff --git a/sys-fs/fuse/fuse-3.8.0.ebuild b/sys-fs/fuse/fuse-3.8.0.ebuild
110 deleted file mode 100644
111 index bcea225f2d8..00000000000
112 --- a/sys-fs/fuse/fuse-3.8.0.ebuild
113 +++ /dev/null
114 @@ -1,78 +0,0 @@
115 -# Copyright 1999-2020 Gentoo Authors
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=7
119 -PYTHON_COMPAT=( python3_{6,7,8} )
120 -
121 -inherit meson multilib-minimal flag-o-matic udev python-any-r1
122 -
123 -DESCRIPTION="An interface for filesystems implemented in userspace"
124 -HOMEPAGE="https://github.com/libfuse/libfuse"
125 -SRC_URI="https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.xz"
126 -
127 -LICENSE="GPL-2 LGPL-2.1"
128 -SLOT="3"
129 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
130 -IUSE="+suid test"
131 -RESTRICT="!test? ( test )"
132 -
133 -BDEPEND="virtual/pkgconfig
134 - test? (
135 - ${PYTHON_DEPS}
136 - $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
137 - )"
138 -RDEPEND=">=sys-fs/fuse-common-3.3.0-r1"
139 -
140 -DOCS=( AUTHORS ChangeLog.rst README.md doc/README.NFS doc/kernel.txt )
141 -
142 -python_check_deps() {
143 - has_version "dev-python/pytest[${PYTHON_USEDEP}]"
144 -}
145 -
146 -pkg_setup() {
147 - use test && python-any-r1_pkg_setup
148 -}
149 -
150 -src_prepare() {
151 - default
152 -
153 - # lto not supported yet -- https://github.com/libfuse/libfuse/issues/198
154 - filter-flags '-flto*'
155 -
156 - # passthough_ll is broken on systems with 32-bit pointers
157 - cat /dev/null > example/meson.build || die
158 -}
159 -
160 -multilib_src_configure() {
161 - local emesonargs=(
162 - -Duseroot=false
163 - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d"
164 - )
165 - meson_src_configure
166 -}
167 -
168 -multilib_src_compile() {
169 - eninja
170 -}
171 -
172 -multilib_src_test() {
173 - ${EPYTHON} -m pytest test || die
174 -}
175 -
176 -multilib_src_install() {
177 - DESTDIR="${D}" eninja install
178 -}
179 -
180 -multilib_src_install_all() {
181 - einstalldocs
182 -
183 - # installed via fuse-common
184 - rm -r "${ED}"/{etc,$(get_udevdir)} || die
185 -
186 - # useroot=false prevents the build system from doing this.
187 - use suid && fperms u+s /usr/bin/fusermount3
188 -
189 - # manually install man pages to respect compression
190 - rm -r "${ED}"/usr/share/man || die
191 - doman doc/{fusermount3.1,mount.fuse3.8}
192 -}
193
194 diff --git a/sys-fs/fuse/fuse-3.9.0.ebuild b/sys-fs/fuse/fuse-3.9.0.ebuild
195 deleted file mode 100644
196 index bcea225f2d8..00000000000
197 --- a/sys-fs/fuse/fuse-3.9.0.ebuild
198 +++ /dev/null
199 @@ -1,78 +0,0 @@
200 -# Copyright 1999-2020 Gentoo Authors
201 -# Distributed under the terms of the GNU General Public License v2
202 -
203 -EAPI=7
204 -PYTHON_COMPAT=( python3_{6,7,8} )
205 -
206 -inherit meson multilib-minimal flag-o-matic udev python-any-r1
207 -
208 -DESCRIPTION="An interface for filesystems implemented in userspace"
209 -HOMEPAGE="https://github.com/libfuse/libfuse"
210 -SRC_URI="https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.xz"
211 -
212 -LICENSE="GPL-2 LGPL-2.1"
213 -SLOT="3"
214 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
215 -IUSE="+suid test"
216 -RESTRICT="!test? ( test )"
217 -
218 -BDEPEND="virtual/pkgconfig
219 - test? (
220 - ${PYTHON_DEPS}
221 - $(python_gen_any_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
222 - )"
223 -RDEPEND=">=sys-fs/fuse-common-3.3.0-r1"
224 -
225 -DOCS=( AUTHORS ChangeLog.rst README.md doc/README.NFS doc/kernel.txt )
226 -
227 -python_check_deps() {
228 - has_version "dev-python/pytest[${PYTHON_USEDEP}]"
229 -}
230 -
231 -pkg_setup() {
232 - use test && python-any-r1_pkg_setup
233 -}
234 -
235 -src_prepare() {
236 - default
237 -
238 - # lto not supported yet -- https://github.com/libfuse/libfuse/issues/198
239 - filter-flags '-flto*'
240 -
241 - # passthough_ll is broken on systems with 32-bit pointers
242 - cat /dev/null > example/meson.build || die
243 -}
244 -
245 -multilib_src_configure() {
246 - local emesonargs=(
247 - -Duseroot=false
248 - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d"
249 - )
250 - meson_src_configure
251 -}
252 -
253 -multilib_src_compile() {
254 - eninja
255 -}
256 -
257 -multilib_src_test() {
258 - ${EPYTHON} -m pytest test || die
259 -}
260 -
261 -multilib_src_install() {
262 - DESTDIR="${D}" eninja install
263 -}
264 -
265 -multilib_src_install_all() {
266 - einstalldocs
267 -
268 - # installed via fuse-common
269 - rm -r "${ED}"/{etc,$(get_udevdir)} || die
270 -
271 - # useroot=false prevents the build system from doing this.
272 - use suid && fperms u+s /usr/bin/fusermount3
273 -
274 - # manually install man pages to respect compression
275 - rm -r "${ED}"/usr/share/man || die
276 - doman doc/{fusermount3.1,mount.fuse3.8}
277 -}