1 |
commit: 15e00a908cafeda59b09c0bcf9dff8f319b19f9e |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 17:55:22 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 3 20:10:22 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e00a90 |
7 |
|
8 |
sys-fs/fuse: version bump to 2.9.6 |
9 |
|
10 |
sys-fs/fuse/Manifest | 1 + |
11 |
sys-fs/fuse/fuse-2.9.6.ebuild | 84 +++++++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 85 insertions(+) |
13 |
|
14 |
diff --git a/sys-fs/fuse/Manifest b/sys-fs/fuse/Manifest |
15 |
index 73fdeb9..e6ddabd 100644 |
16 |
--- a/sys-fs/fuse/Manifest |
17 |
+++ b/sys-fs/fuse/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST fuse-2.9.4.tar.gz 577282 SHA256 6be9c0bff6af8c677414935f31699ea5a7f8f5f791cfa5205be02ea186b97ce1 SHA512 055ec2a78793276102bc5a0afea9eebd18b151cf752d0985380ffbde1c554e9fb7bc3a43838618e3957b274aa06624303ea12f32c659365c4768dad887bb557d WHIRLPOOL 6c866ba05be5a56e1b1d8793378c0c5c683375e9baad6de22344adaf5bb35021182b15783f59911259f98cb914ef4a1cb70be0cb9b5cd6625173b3b6454c32d7 |
20 |
DIST fuse-2.9.5.tar.gz 565245 SHA256 579f371cc5ffc1afca7057512bf7d52988a9ede57859a7c55e5b9f72435cdbb5 SHA512 65a7355a2e6b872ab055181222e8fb5918c3ea7b93eee3350a812a1545b2c2bee1bfc163ce1e57776d1721151223c437cfb92c4b286e075e68d0eed742447413 WHIRLPOOL 7b6b69b2b58e200e7c1957c2bbe4b57da1a400cbc695114c89566dc57b523fd513698e3d9b0e7125521f9e53b5e17c0397601bdaebe8bafc1790c363fa2f55bb |
21 |
+DIST fuse-2.9.6.tar.gz 640070 SHA256 0cb48bbc7106632d15a0c6bb582496c9884b869e329428891fe075a9e916f16b SHA512 275133b7c3b2b62341fe30ceb59a4cab277de01bc7e7987e3a3ae2d5ddae5d62c5ac2786a6ca399a0c6a948882e453f4897d2d629b93e7a9f37745a13c8c0cfa WHIRLPOOL 9fb544365f5fcedb440ca81614c9c8e832dc6e43cf2d147624f50907e4b3cb1df0bfbe4f356e8ad182596718fd69665db040a331fd1ed188e103b3278dc05205 |
22 |
|
23 |
diff --git a/sys-fs/fuse/fuse-2.9.6.ebuild b/sys-fs/fuse/fuse-2.9.6.ebuild |
24 |
new file mode 100644 |
25 |
index 0000000..cd64b19 |
26 |
--- /dev/null |
27 |
+++ b/sys-fs/fuse/fuse-2.9.6.ebuild |
28 |
@@ -0,0 +1,84 @@ |
29 |
+# Copyright 1999-2016 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=5 |
34 |
+inherit eutils libtool linux-info udev toolchain-funcs |
35 |
+ |
36 |
+DESCRIPTION="An interface for filesystems implemented in userspace" |
37 |
+HOMEPAGE="https://github.com/libfuse/libfuse" |
38 |
+SRC_URI="https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="GPL-2" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
43 |
+IUSE="examples kernel_linux kernel_FreeBSD static-libs" |
44 |
+ |
45 |
+PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )" |
46 |
+DEPEND="virtual/pkgconfig" |
47 |
+ |
48 |
+pkg_setup() { |
49 |
+ if use kernel_linux ; then |
50 |
+ if kernel_is lt 2 6 9 ; then |
51 |
+ die "Your kernel is too old." |
52 |
+ fi |
53 |
+ CONFIG_CHECK="~FUSE_FS" |
54 |
+ FUSE_FS_WARNING="You need to have FUSE module built to use user-mode utils" |
55 |
+ linux-info_pkg_setup |
56 |
+ fi |
57 |
+} |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ epatch "${FILESDIR}"/${PN}-2.9.3-kernel-types.patch |
61 |
+ # sandbox violation with mtab writability wrt #438250 |
62 |
+ # don't sed configure.in without eautoreconf because of maintainer mode |
63 |
+ sed -i 's:umount --fake:true --fake:' configure || die |
64 |
+ elibtoolize |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ econf \ |
69 |
+ INIT_D_PATH="${EPREFIX}/etc/init.d" \ |
70 |
+ MOUNT_FUSE_PATH="${EPREFIX}/sbin" \ |
71 |
+ UDEV_RULES_PATH="${EPREFIX}/$(get_udevdir)/rules.d" \ |
72 |
+ $(use_enable static-libs static) \ |
73 |
+ --disable-example |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ default |
78 |
+ |
79 |
+ dodoc AUTHORS ChangeLog README.md \ |
80 |
+ README.NFS NEWS doc/how-fuse-works doc/kernel.txt |
81 |
+ |
82 |
+ if use examples ; then |
83 |
+ docinto examples |
84 |
+ dodoc example/* |
85 |
+ fi |
86 |
+ |
87 |
+ if use kernel_linux ; then |
88 |
+ newinitd "${FILESDIR}"/fuse.init fuse |
89 |
+ elif use kernel_FreeBSD ; then |
90 |
+ insinto /usr/include/fuse |
91 |
+ doins include/fuse_kernel.h |
92 |
+ newinitd "${FILESDIR}"/fuse-fbsd.init fuse |
93 |
+ else |
94 |
+ die "We don't know what init code install for your kernel, please file a bug." |
95 |
+ fi |
96 |
+ |
97 |
+ prune_libtool_files |
98 |
+ rm -rf "${D}"/dev |
99 |
+ |
100 |
+ dodir /etc |
101 |
+ cat > "${ED}"/etc/fuse.conf <<-EOF |
102 |
+ # Set the maximum number of FUSE mounts allowed to non-root users. |
103 |
+ # The default is 1000. |
104 |
+ # |
105 |
+ #mount_max = 1000 |
106 |
+ |
107 |
+ # Allow non-root users to specify the 'allow_other' or 'allow_root' |
108 |
+ # mount options. |
109 |
+ # |
110 |
+ #user_allow_other |
111 |
+ EOF |
112 |
+} |