Add fuse.init for Gentoo/FreeBSD
authorTimothy Redaelli <drizzt@gentoo.org>
Fri, 2 Mar 2007 13:26:01 +0000 (13:26 +0000)
committerTimothy Redaelli <drizzt@gentoo.org>
Fri, 2 Mar 2007 13:26:01 +0000 (13:26 +0000)
Package-Manager: portage-2.1.2-r11

sys-fs/fuse/ChangeLog
sys-fs/fuse/Manifest
sys-fs/fuse/files/fuse-fbsd.init [new file with mode: 0644]
sys-fs/fuse/files/fuse.init
sys-fs/fuse/fuse-2.6.3.ebuild

index 0adf9ab7e0dd184d9d676ccd55d13d5ca94dbece..695b20dd452764ed193b4cc221d5545a98af9fa1 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for sys-fs/fuse
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.78 2007/02/26 17:17:01 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.79 2007/03/02 13:26:01 drizzt Exp $
+
+  02 Mar 2007; Timothy Redaelli <drizzt@gentoo.org> files/fuse.init,
+  +files/fuse-fbsd.init, fuse-2.6.3.ebuild:
+  Add fuse.init for Gentoo/FreeBSD
 
   26 Feb 2007; Daniel Gryniewicz <dang@gentoo.org> fuse-2.6.1.ebuild:
   Marked stable on amd64 for bug #150978
index f71a1b02a4bdd0b151da92d49362f34f9cd5719e..c0db9f258affd6a7e70992cb75bf47890c301782 100644 (file)
@@ -9,14 +9,18 @@ AUX fuse-2.6.20.patch 1443 RMD160 06847bb8d4442d88132237dc21924bf8c4f79bf2 SHA1
 MD5 29d96bad0ea391dc858beecfae58bee9 files/fuse-2.6.20.patch 1443
 RMD160 06847bb8d4442d88132237dc21924bf8c4f79bf2 files/fuse-2.6.20.patch 1443
 SHA256 41c931e893fcb21a266581f72161c6ec747e41572ba750926105e324ae815a17 files/fuse-2.6.20.patch 1443
+AUX fuse-fbsd.init 467 RMD160 ac8ce54b189b3433cede1c8360b63d38a4203e67 SHA1 8f0f10dac4653a82677f31a079a3b006cc8e122d SHA256 d896a80d67668246f586c6283f95f624fdbecb306408bec6f2c944601aae7273
+MD5 377334eb85baa4cefe0cb821d994907d files/fuse-fbsd.init 467
+RMD160 ac8ce54b189b3433cede1c8360b63d38a4203e67 files/fuse-fbsd.init 467
+SHA256 d896a80d67668246f586c6283f95f624fdbecb306408bec6f2c944601aae7273 files/fuse-fbsd.init 467
 AUX fuse-fix-lazy-binding.patch 398 RMD160 e8663cdbf720378839bf3ac786a49a9927b81afe SHA1 59a923f6263e954a7db488021005448cefcc8f5a SHA256 d9733aaece65a0c864edbfebae205cdec096174165e943a569adb216ec73f9e1
 MD5 c1ef6366ba5892111ddef08887328663 files/fuse-fix-lazy-binding.patch 398
 RMD160 e8663cdbf720378839bf3ac786a49a9927b81afe files/fuse-fix-lazy-binding.patch 398
 SHA256 d9733aaece65a0c864edbfebae205cdec096174165e943a569adb216ec73f9e1 files/fuse-fix-lazy-binding.patch 398
-AUX fuse.init 877 RMD160 89b47233ccd7b14728809e79e4c9524a05ccca2a SHA1 188400d91e73fdf1a5704c822885659e39c4ded6 SHA256 c593454277048685662adc8f492a79ef13376c7efccc3397a63f50df3958ca8a
-MD5 b7f8564dde2503fa007e794f256e8886 files/fuse.init 877
-RMD160 89b47233ccd7b14728809e79e4c9524a05ccca2a files/fuse.init 877
-SHA256 c593454277048685662adc8f492a79ef13376c7efccc3397a63f50df3958ca8a files/fuse.init 877
+AUX fuse.init 873 RMD160 e51e06604bc4b651dcffa7705115fba68583487c SHA1 b7805c67fd9e915b4378176930adcf87eb26cd78 SHA256 e20653bc2e6fa30f59e8abf4166f7c267740c178bdba9ddad0ba2196a13ab7aa
+MD5 2c93a7311f2921c2e0b24e80a5c2b5a2 files/fuse.init 873
+RMD160 e51e06604bc4b651dcffa7705115fba68583487c files/fuse.init 873
+SHA256 e20653bc2e6fa30f59e8abf4166f7c267740c178bdba9ddad0ba2196a13ab7aa files/fuse.init 873
 DIST fuse-2.6.0-rc1.tar.gz 435861 RMD160 c872c7835daf6b6f85342f5f05f36bb8c2f29aeb SHA1 0eff5d3d89012f9fd76ed8584b4f65d9d45af584 SHA256 f7046379088ff6bbceaaf989a9ec838f7bf8d7fd7833ffdecdc8a32dc5bd9dce
 DIST fuse-2.6.1.tar.gz 472606 RMD160 99624de23edb634b5e92c86fb75fa266aeff5a65 SHA1 85ec4458d0ab2647b6b43605f0200006d89981ed SHA256 e5d039f1adcb5fcc16f5f3eb1c7d95918b62ace79f75d327c72707cafdd8be7c
 DIST fuse-2.6.3.tar.gz 473147 RMD160 df05bc42cb4c97f9e54048662f64a8cac5713f18 SHA1 d6ecda7341008ac157f55cf901309dda10f58faf SHA256 804d7fae424c97dc3790ad12d798e7b27dc6c12e4116f8bd69ca0130773d3f9d
@@ -28,14 +32,14 @@ EBUILD fuse-2.6.1.ebuild 2070 RMD160 9160b05fdbf347bef1b145fbc6394f3d771cb973 SH
 MD5 b57399ad9ff4b092a95a83a924f3a485 fuse-2.6.1.ebuild 2070
 RMD160 9160b05fdbf347bef1b145fbc6394f3d771cb973 fuse-2.6.1.ebuild 2070
 SHA256 78cdb4711b4dff589bcd9085808986fbbf9c2932dc3b6f9e66b81161ff246906 fuse-2.6.1.ebuild 2070
-EBUILD fuse-2.6.3.ebuild 2036 RMD160 a7e7678f5fb66b085d14ace4ace2241f27c8ade4 SHA1 b4be760725a463d4b8392dbdf2a750cd88fb6be4 SHA256 5ba3d1f7d694cb4cac64760e122702f15919d875f81a3c7baf39a377a35babe0
-MD5 95bbca0e9caa3db2c947eb705e29ae5a fuse-2.6.3.ebuild 2036
-RMD160 a7e7678f5fb66b085d14ace4ace2241f27c8ade4 fuse-2.6.3.ebuild 2036
-SHA256 5ba3d1f7d694cb4cac64760e122702f15919d875f81a3c7baf39a377a35babe0 fuse-2.6.3.ebuild 2036
-MISC ChangeLog 11088 RMD160 2bd2450bcc80123c6fa6b6fc89f8701d5c333bc5 SHA1 f4b679225eadd4868caed28808c9826d59a3f3b0 SHA256 3ff415f2b839aa4f888b4e11d70287bddb602b657eb39484763ee7aaa6204ea2
-MD5 47b8afaade47ad69f735fcd02373511d ChangeLog 11088
-RMD160 2bd2450bcc80123c6fa6b6fc89f8701d5c333bc5 ChangeLog 11088
-SHA256 3ff415f2b839aa4f888b4e11d70287bddb602b657eb39484763ee7aaa6204ea2 ChangeLog 11088
+EBUILD fuse-2.6.3.ebuild 2076 RMD160 099ea68311c405816c70866323895d5d94bb8d72 SHA1 cd80cfe826483cb66d32ab2218468c0c2f0e36de SHA256 8412bdc558c0245f73b18b2090b745786772d4b6e514be576b33a416a64a135d
+MD5 2f19f3048e6112df29ee642ed1a372c2 fuse-2.6.3.ebuild 2076
+RMD160 099ea68311c405816c70866323895d5d94bb8d72 fuse-2.6.3.ebuild 2076
+SHA256 8412bdc558c0245f73b18b2090b745786772d4b6e514be576b33a416a64a135d fuse-2.6.3.ebuild 2076
+MISC ChangeLog 11239 RMD160 48c25a7f91a4e5cccd5e55274e4d49acfe20fc3d SHA1 0cfe5d5f8693899f1aee95a0f29bd271d2f31bee SHA256 4156962aa3099472f2dfca190074aeec9b58af0404a9f3819b8e05eaa8b3f585
+MD5 f7dbc6ccbaefa9c952b21ff0390016da ChangeLog 11239
+RMD160 48c25a7f91a4e5cccd5e55274e4d49acfe20fc3d ChangeLog 11239
+SHA256 4156962aa3099472f2dfca190074aeec9b58af0404a9f3819b8e05eaa8b3f585 ChangeLog 11239
 MISC metadata.xml 264 RMD160 ff3b07b3794623e4733a4dd289cffc9606d6e432 SHA1 310c846802ac0f01334ee8677c428e2962594d01 SHA256 62bbe388ec16f0c4a20cfbb752b05fdefd1349254c494cdea67c096bb553c06b
 MD5 6e89ba8198764bfd079a0cfa18dca593 metadata.xml 264
 RMD160 ff3b07b3794623e4733a4dd289cffc9606d6e432 metadata.xml 264
@@ -52,7 +56,7 @@ SHA256 c8581faf6e90c4c6a181d6de1c8ead042654269af6313984fa00886db15cf9ed files/di
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.2 (GNU/Linux)
 
-iD8DBQFF4xV9omPajV0RnrERAoxcAJ4zpVwEghprEsybi7OIlH0Hq1XTxQCcDbDL
-t1NrZfd6393uOtwRhpwkfgI=
-=yzJQ
+iD8DBQFF6CXvGDyatLGpTbYRAueaAKCfn+8oi8CZHrDVyj+Q+dCX5cBklQCfXgV0
+yaIwhAVn5h5zd/h7cTexvtk=
+=d1Dc
 -----END PGP SIGNATURE-----
diff --git a/sys-fs/fuse/files/fuse-fbsd.init b/sys-fs/fuse/files/fuse-fbsd.init
new file mode 100644 (file)
index 0000000..19b8400
--- /dev/null
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+       need localmount
+}
+
+start() {
+       ebegin "Starting fuse"
+       if ! kldstat -q -m fuse; then
+               kldload fuse >/dev/null 2>&1 || eerror $? "Error loading fuse module"
+       fi
+       eend ${?}
+}
+
+stop() {
+       ebegin "Stopping fuse"
+       if kldstat -q -m fuse; then
+               kldunload fuse >/dev/null 2>&1 || eerror $? "Error unloading fuse module"
+       fi
+       eend ${?}
+}
index 8cdc630c1f56e4315b8961cf106e1acb75095926..fefb6ae2295b56f19fbb127e566f0d8df9270b09 100644 (file)
@@ -36,7 +36,3 @@ stop() {
        eend ${?}
        
 }
-
-
-
-
index bd62b1b4896ee4527549a55c04b4c784054c0f8d..beed20a2f56766568e1988fef39840474b830e87 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.6.3.ebuild,v 1.2 2007/02/23 12:28:43 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.6.3.ebuild,v 1.3 2007/03/02 13:26:01 drizzt Exp $
 
 inherit linux-mod eutils libtool
 
@@ -26,7 +26,7 @@ pkg_setup() {
                        older version from viewcvs"
 
                BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR}
-                                         fusemoduledir=${ROOT}/lib/modules/${KV_FULL/\ }/fs"
+                                       fusemoduledir=${ROOT}/lib/modules/${KV_FULL/\ }/fs"
                BUILD_TARGETS="all"
                ECONF_PARAMS="--with-kernel=${KV_DIR} --with-kernel-build=${KV_OUT_DIR}"
        fi
@@ -64,13 +64,13 @@ src_install() {
 
        if use kernel_linux ; then
                linux-mod_src_install
+               newinitd ${FILESDIR}/fuse.init fuse
        else
                insinto /usr/include/fuse
                doins include/fuse_kernel.h
+               newinitd ${FILESDIR}/fuse-fbsd.init fuse
        fi
 
-       newinitd ${FILESDIR}/fuse.init fuse
-
        rm -rf "${D}/dev"
 }