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.2.ebuild
Date: Sat, 01 Dec 2012 13:43:54
Message-Id: 20121201134342.798B2216A2@flycatcher.gentoo.org
1 radhermit 12/12/01 13:43:42
2
3 Modified: ChangeLog
4 Added: fuse-2.9.2.ebuild
5 Log:
6 Version bump (bug #439308).
7
8 (Portage version: 2.2.0_alpha143/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.168 sys-fs/fuse/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.168&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.168&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/ChangeLog?r1=1.167&r2=1.168
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v
20 retrieving revision 1.167
21 retrieving revision 1.168
22 diff -u -r1.167 -r1.168
23 --- ChangeLog 7 Nov 2012 04:20:56 -0000 1.167
24 +++ ChangeLog 1 Dec 2012 13:43:42 -0000 1.168
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.167 2012/11/07 04:20:56 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.168 2012/12/01 13:43:42 radhermit Exp $
30 +
31 +*fuse-2.9.2 (01 Dec 2012)
32 +
33 + 01 Dec 2012; Tim Harder <radhermit@g.o> +fuse-2.9.2.ebuild:
34 + Version bump (bug #439308).
35
36 07 Nov 2012; Jeroen Roovers <jer@g.o> fuse-2.9.1-r1.ebuild:
37 Stable for HPPA (bug #437568).
38
39
40
41 1.1 sys-fs/fuse/fuse-2.9.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/fuse-2.9.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/fuse/fuse-2.9.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fuse-2.9.2.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.2.ebuild,v 1.1 2012/12/01 13:43:42 radhermit Exp $
51
52 EAPI=5
53 inherit eutils libtool linux-info toolchain-funcs
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 DEPEND="virtual/pkgconfig"
67
68 S=${WORKDIR}/${MY_P}
69
70 pkg_setup() {
71 if use kernel_linux ; then
72 if kernel_is lt 2 6 9 ; then
73 die "Your kernel is too old."
74 fi
75 CONFIG_CHECK="~FUSE_FS"
76 FUSE_FS_WARNING="You need to have FUSE module built to use user-mode utils"
77 linux-info_pkg_setup
78 fi
79 }
80
81 src_prepare() {
82 elibtoolize
83 }
84
85 src_configure() {
86 local UDEV_PATH=/lib/udev
87 has_version sys-fs/udev && UDEV_PATH="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
88
89 econf \
90 INIT_D_PATH="${EPREFIX}/etc/init.d" \
91 MOUNT_FUSE_PATH="${EPREFIX}/sbin" \
92 UDEV_RULES_PATH="${EPREFIX}/${UDEV_PATH}/rules.d" \
93 $(use_enable static-libs static) \
94 --disable-example
95 }
96
97 src_install() {
98 emake DESTDIR="${D}" install
99
100 dodoc AUTHORS ChangeLog Filesystems README \
101 README.NFS NEWS doc/how-fuse-works \
102 doc/kernel.txt FAQ
103 docinto example
104 dodoc example/*
105
106 if use kernel_linux ; then
107 newinitd "${FILESDIR}"/fuse.init fuse
108 elif use kernel_FreeBSD ; then
109 insinto /usr/include/fuse
110 doins include/fuse_kernel.h
111 newinitd "${FILESDIR}"/fuse-fbsd.init fuse
112 else
113 die "We don't know what init code install for your kernel, please file a bug."
114 fi
115
116 prune_libtool_files
117 rm -rf "${D}/dev"
118
119 dodir /etc
120 cat > "${ED}"/etc/fuse.conf <<-EOF
121 # Set the maximum number of FUSE mounts allowed to non-root users.
122 # The default is 1000.
123 #
124 #mount_max = 1000
125
126 # Allow non-root users to specify the 'allow_other' or 'allow_root'
127 # mount options.
128 #
129 #user_allow_other
130 EOF
131 }