1 |
ssuominen 09/10/06 11:59:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fuse-2.7.4-r1.ebuild |
5 |
Log: |
6 |
Drop fuse-fix-lazy-binding.patch wrt #226935, thanks to Rafał Mużyło for reporting. |
7 |
(Portage version: 2.2_rc43/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.123 sys-fs/fuse/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.123&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.123&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/ChangeLog?r1=1.122&r2=1.123 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v |
19 |
retrieving revision 1.122 |
20 |
retrieving revision 1.123 |
21 |
diff -u -r1.122 -r1.123 |
22 |
--- ChangeLog 18 May 2009 14:08:43 -0000 1.122 |
23 |
+++ ChangeLog 6 Oct 2009 11:59:48 -0000 1.123 |
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.122 2009/05/18 14:08:43 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.123 2009/10/06 11:59:48 ssuominen Exp $ |
29 |
+ |
30 |
+*fuse-2.7.4-r1 (06 Oct 2009) |
31 |
+ |
32 |
+ 06 Oct 2009; Samuli Suominen <ssuominen@g.o> +fuse-2.7.4-r1.ebuild: |
33 |
+ Drop fuse-fix-lazy-binding.patch wrt #226935, thanks to Rafał Mużyło |
34 |
+ for reporting. |
35 |
|
36 |
18 May 2009; Jeroen Roovers <jer@g.o> fuse-2.7.4.ebuild: |
37 |
Stable for HPPA (bug #264593). |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-fs/fuse/fuse-2.7.4-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/fuse-2.7.4-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/fuse-2.7.4-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: fuse-2.7.4-r1.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.7.4-r1.ebuild,v 1.1 2009/10/06 11:59:48 ssuominen Exp $ |
51 |
|
52 |
inherit linux-mod eutils libtool |
53 |
|
54 |
MY_P=${P/_/-} |
55 |
|
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 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
62 |
IUSE="kernel_linux kernel_FreeBSD" |
63 |
|
64 |
PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )" |
65 |
|
66 |
S=${WORKDIR}/${MY_P} |
67 |
|
68 |
pkg_setup() { |
69 |
if use kernel_linux ; then |
70 |
if kernel_is ge 2 6 25; then |
71 |
CONFIG_CHECK="FUSE_FS" |
72 |
FUSE_FS_ERROR="You need to build the FUSE module from the kernel source, because your kernel is too new" |
73 |
else |
74 |
MODULE_NAMES="fuse(fs:${S}/kernel)" |
75 |
CONFIG_CHECK="@FUSE_FS:fuse" |
76 |
FUSE_FS_ERROR="We have detected FUSE already built into the kernel. |
77 |
We will continue, but we wont build the module this time." |
78 |
|
79 |
fi |
80 |
linux-mod_pkg_setup |
81 |
kernel_is 2 4 && die "kernel 2.4 is not supported by this ebuild. Get an |
82 |
older version from viewcvs" |
83 |
|
84 |
BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR} \ |
85 |
fusemoduledir=\"${ROOT}\"/lib/modules/${KV_FULL/\ }/fs" |
86 |
BUILD_TARGETS="all" |
87 |
ECONF_PARAMS="--with-kernel=${KV_DIR} --with-kernel-build=${KV_OUT_DIR}" |
88 |
fi |
89 |
} |
90 |
|
91 |
src_unpack() { |
92 |
unpack ${A} |
93 |
cd "${S}" |
94 |
elibtoolize |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
econf \ |
99 |
--disable-kernel-module \ |
100 |
--disable-example \ |
101 |
|| die "econf failed for fuse userland" |
102 |
emake || die "emake failed" |
103 |
|
104 |
if use kernel_linux ; then |
105 |
cd "${S}" |
106 |
sed -i -e 's/.*depmod.*//g' kernel/Makefile.in |
107 |
convert_to_m kernel/Makefile.in |
108 |
linux-mod_src_compile |
109 |
fi |
110 |
} |
111 |
|
112 |
src_install() { |
113 |
emake DESTDIR="${D}" install || die "emake install failed" |
114 |
|
115 |
dodoc AUTHORS ChangeLog Filesystems README \ |
116 |
README.NFS NEWS doc/how-fuse-works \ |
117 |
doc/kernel.txt FAQ |
118 |
docinto example |
119 |
dodoc example/* |
120 |
|
121 |
if use kernel_linux ; then |
122 |
linux-mod_src_install |
123 |
newinitd "${FILESDIR}"/fuse.init fuse |
124 |
else |
125 |
insinto /usr/include/fuse |
126 |
doins include/fuse_kernel.h |
127 |
newinitd "${FILESDIR}"/fuse-fbsd.init fuse |
128 |
fi |
129 |
|
130 |
rm -rf "${D}/dev" |
131 |
|
132 |
dodir /etc |
133 |
cat > ${D}/etc/fuse.conf <<EOF |
134 |
# Set the maximum number of FUSE mounts allowed to non-root users. |
135 |
# The default is 1000. |
136 |
# |
137 |
#mount_max = 1000 |
138 |
|
139 |
# Allow non-root users to specify the 'allow_other' or 'allow_root' |
140 |
# mount options. |
141 |
# |
142 |
#user_allow_other |
143 |
EOF |
144 |
} |
145 |
|
146 |
pkg_postinst() { |
147 |
use kernel_linux && linux-mod_pkg_postinst |
148 |
} |