Gentoo Archives: gentoo-commits

From: "Stefan Schweizer (genstef)" <genstef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/fuse: ChangeLog fuse-2.7.3.ebuild fuse-2.6.4-r1.ebuild fuse-2.7.2.ebuild fuse-2.7.1.ebuild
Date: Tue, 29 Apr 2008 07:07:15
Message-Id: E1Jqjvk-0006hy-JM@stork.gentoo.org
1 genstef 08/04/29 07:07:12
2
3 Modified: ChangeLog
4 Added: fuse-2.7.3.ebuild
5 Removed: fuse-2.6.4-r1.ebuild fuse-2.7.2.ebuild
6 fuse-2.7.1.ebuild
7 Log:
8 version bump, bug 216572
9 (Portage version: 2.1.4.4)
10
11 Revision Changes Path
12 1.113 sys-fs/fuse/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.113&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/ChangeLog?rev=1.113&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/ChangeLog?r1=1.112&r2=1.113
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v
21 retrieving revision 1.112
22 retrieving revision 1.113
23 diff -u -r1.112 -r1.113
24 --- ChangeLog 23 Mar 2008 21:46:08 -0000 1.112
25 +++ ChangeLog 29 Apr 2008 07:07:12 -0000 1.113
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-fs/fuse
28 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.112 2008/03/23 21:46:08 robbat2 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.113 2008/04/29 07:07:12 genstef Exp $
31 +
32 +*fuse-2.7.3 (29 Apr 2008)
33 +
34 + 29 Apr 2008; Stefan Schweizer <genstef@g.o>
35 + -files/fuse-2.6.22.patch, -fuse-2.6.4-r1.ebuild, -fuse-2.7.1.ebuild,
36 + -fuse-2.7.2.ebuild, +fuse-2.7.3.ebuild:
37 + version bump, bug 216572
38
39 23 Mar 2008; Robin H. Johnson <robbat2@g.o> fuse-2.6.4-r1.ebuild,
40 fuse-2.7.0.ebuild, fuse-2.7.1.ebuild, fuse-2.7.2.ebuild:
41
42
43
44 1.1 sys-fs/fuse/fuse-2.7.3.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/fuse-2.7.3.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/fuse/fuse-2.7.3.ebuild?rev=1.1&content-type=text/plain
48
49 Index: fuse-2.7.3.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.7.3.ebuild,v 1.1 2008/04/29 07:07:12 genstef Exp $
54
55 inherit linux-mod eutils libtool
56
57 MY_P=${P/_/-}
58 DESCRIPTION="An interface for filesystems implemented in userspace."
59 HOMEPAGE="http://fuse.sourceforge.net"
60 SRC_URI="mirror://sourceforge/fuse/${MY_P}.tar.gz"
61 LICENSE="GPL-2"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="kernel_linux kernel_FreeBSD"
64 S=${WORKDIR}/${MY_P}
65 PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )"
66
67 pkg_setup() {
68 if use kernel_linux ; then
69 if kernel_is ge 2 6 25; then
70 CONFIG_CHECK="FUSE_FS"
71 FUSE_FS_ERROR="You need to build the FUSE module from the kernel source, because your kernel is too new"
72 else
73 MODULE_NAMES="fuse(fs:${S}/kernel)"
74 CONFIG_CHECK="@FUSE_FS:fuse"
75 FUSE_FS_ERROR="We have detected FUSE already built into the kernel.
76 We will continue, but we wont build the module this time."
77
78 fi
79 linux-mod_pkg_setup
80 kernel_is 2 4 && die "kernel 2.4 is not supported by this ebuild. Get an
81 older version from viewcvs"
82
83 BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR} \
84 fusemoduledir=\"${ROOT}\"/lib/modules/${KV_FULL/\ }/fs"
85 BUILD_TARGETS="all"
86 ECONF_PARAMS="--with-kernel=${KV_DIR} --with-kernel-build=${KV_OUT_DIR}"
87 fi
88 }
89
90 src_unpack() {
91 unpack ${A}
92 cd "${S}"
93 epatch "${FILESDIR}"/fuse-fix-lazy-binding.patch
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 }
149
150
151
152 --
153 gentoo-commits@l.g.o mailing list