Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/fuse: ChangeLog fuse-2.9.1.ebuild
Date: Wed, 01 Aug 2012 22:34:54
Message-Id: 20120801223156.DCBA52004B@flycatcher.gentoo.org
1 radhermit 12/08/01 22:31:55
2
3 Modified: ChangeLog
4 Added: fuse-2.9.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.161 sys-fs/fuse/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.161&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.161&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/ChangeLog?r1=1.160&r2=1.161
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v
20 retrieving revision 1.160
21 retrieving revision 1.161
22 diff -u -r1.160 -r1.161
23 --- ChangeLog 9 Jul 2012 22:17:05 -0000 1.160
24 +++ ChangeLog 1 Aug 2012 22:31:55 -0000 1.161
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-fs/fuse
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.160 2012/07/09 22:17:05 sping Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.161 2012/08/01 22:31:55 radhermit Exp $
30 +
31 +*fuse-2.9.1 (01 Aug 2012)
32 +
33 + 01 Aug 2012; Tim Harder <radhermit@g.o> +fuse-2.9.1.ebuild:
34 + Version bump.
35
36 09 Jul 2012; Sebastian Pipping <sping@g.o> fuse-2.8.7.ebuild,
37 fuse-2.9.0.ebuild:
38
39
40
41 1.1 sys-fs/fuse/fuse-2.9.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/fuse-2.9.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/fuse-2.9.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fuse-2.9.1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.9.1.ebuild,v 1.1 2012/08/01 22:31:55 radhermit Exp $
51
52 EAPI=4
53 inherit 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
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
63 IUSE="kernel_linux kernel_FreeBSD static-libs"
64
65 PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )"
66
67 S=${WORKDIR}/${MY_P}
68
69 pkg_setup() {
70 if use kernel_linux ; then
71 if kernel_is lt 2 6 9 ; then
72 die "Your kernel is too old."
73 fi
74 CONFIG_CHECK="~FUSE_FS"
75 FUSE_FS_WARNING="You need to have FUSE module built to use user-mode utils"
76 linux-info_pkg_setup
77 fi
78 }
79
80 src_prepare() {
81 elibtoolize
82 }
83
84 src_configure() {
85 econf \
86 INIT_D_PATH="${EPREFIX}/etc/init.d" \
87 MOUNT_FUSE_PATH="${EPREFIX}/sbin" \
88 UDEV_RULES_PATH="${EPREFIX}/lib/udev/rules.d" \
89 $(use_enable static-libs static) \
90 --disable-example
91 }
92
93 src_install() {
94 emake DESTDIR="${D}" install
95
96 dodoc AUTHORS ChangeLog Filesystems README \
97 README.NFS NEWS doc/how-fuse-works \
98 doc/kernel.txt FAQ
99 docinto example
100 dodoc example/*
101
102 if use kernel_linux ; then
103 newinitd "${FILESDIR}"/fuse.init fuse
104 elif use kernel_FreeBSD ; then
105 insinto /usr/include/fuse
106 doins include/fuse_kernel.h
107 newinitd "${FILESDIR}"/fuse-fbsd.init fuse
108 else
109 die "We don't know what init code install for your kernel, please file a bug."
110 fi
111
112 find "${ED}" -name "*.la" -delete
113 rm -rf "${D}/dev"
114
115 dodir /etc
116 cat > "${ED}"/etc/fuse.conf <<-EOF
117 # Set the maximum number of FUSE mounts allowed to non-root users.
118 # The default is 1000.
119 #
120 #mount_max = 1000
121
122 # Allow non-root users to specify the 'allow_other' or 'allow_root'
123 # mount options.
124 #
125 #user_allow_other
126 EOF
127 }