Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/fuse: fuse-2.8.1.ebuild ChangeLog
Date: Sat, 31 Oct 2009 03:30:14
Message-Id: E1N44fK-0001LR-P0@stork.gentoo.org
1 robbat2 09/10/31 03:30:10
2
3 Modified: ChangeLog
4 Added: fuse-2.8.1.ebuild
5 Log:
6 Version bump. Thanks to Rafał Mużyło <galtgendo@××.pl> for the ebuild work.
7 (Portage version: 2.2_rc46/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.125 sys-fs/fuse/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.125&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.125&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/ChangeLog?r1=1.124&r2=1.125
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v
19 retrieving revision 1.124
20 retrieving revision 1.125
21 diff -p -w -b -B -u -u -r1.124 -r1.125
22 --- ChangeLog 28 Oct 2009 04:16:34 -0000 1.124
23 +++ ChangeLog 31 Oct 2009 03:30:10 -0000 1.125
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-fs/fuse
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.124 2009/10/28 04:16:34 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.125 2009/10/31 03:30:10 robbat2 Exp $
29 +
30 +*fuse-2.8.1 (31 Oct 2009)
31 +
32 + 31 Oct 2009; Robin H. Johnson <robbat2@g.o> +fuse-2.8.1.ebuild:
33 + Version bump. Thanks to Rafał Mużyło <galtgendo@××.pl> for the ebuild
34 + work.
35
36 28 Oct 2009; Robin H. Johnson <robbat2@g.o> fuse-2.7.4-r1.ebuild:
37 USE=modules support for sys-fs/fuse.
38
39
40
41 1.1 sys-fs/fuse/fuse-2.8.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/fuse-2.8.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/fuse-2.8.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fuse-2.8.1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.8.1.ebuild,v 1.1 2009/10/31 03:30:10 robbat2 Exp $
51
52 EAPI=2
53 inherit eutils libtool linux-info
54
55 MY_P=${P/_/-}
56 DESCRIPTION="An interface for filesystems implemented in userspace."
57 HOMEPAGE="http://fuse.sourceforge.net"
58 SRC_URI="mirror://sourceforge/fuse/${MY_P}.tar.gz"
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="kernel_linux kernel_FreeBSD"
63 S=${WORKDIR}/${MY_P}
64 PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )"
65
66 pkg_setup() {
67 if use kernel_linux ; then
68 if kernel_is lt 2 6 9; then
69 die "Your kernel is too old."
70 fi
71 CONFIG_CHECK="~FUSE_FS"
72 FUSE_FS_WARNING="You need to have FUSE module built to use user-mode utils"
73 linux-info_pkg_setup
74 fi
75 }
76
77 src_prepare() {
78 elibtoolize
79 }
80
81 src_configure() {
82 econf \
83 --disable-example \
84 || die "econf failed for fuse userland"
85 }
86
87 src_compile() {
88 emake || die "emake failed"
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die "emake install failed"
93
94 dodoc AUTHORS ChangeLog Filesystems README \
95 README.NFS NEWS doc/how-fuse-works \
96 doc/kernel.txt FAQ
97 docinto example
98 dodoc example/*
99
100 if use kernel_linux ; then
101 newinitd "${FILESDIR}"/fuse.init fuse
102 elif use kernel_FreeBSD ; then
103 insinto /usr/include/fuse
104 doins include/fuse_kernel.h
105 newinitd "${FILESDIR}"/fuse-fbsd.init fuse
106 else
107 die "We don't know what init code install for your kernel, please file a bug."
108 fi
109
110 rm -rf "${D}/dev"
111
112 dodir /etc
113 cat >"${D}"/etc/fuse.conf <<-EOF
114 # Set the maximum number of FUSE mounts allowed to non-root users.
115 # The default is 1000.
116 #
117 #mount_max = 1000
118
119 # Allow non-root users to specify the 'allow_other' or 'allow_root'
120 # mount options.
121 #
122 #user_allow_other
123 EOF
124 }