[26316] trunk/dports/fuse

source_changes at macosforge.org source_changes at macosforge.org
Tue Jun 19 10:29:06 PDT 2007


Revision: 26316
          http://trac.macosforge.org/projects/macports/changeset/26316
Author:   eridius at macports.org
Date:     2007-06-19 10:29:05 -0700 (Tue, 19 Jun 2007)

Log Message:
-----------
Bump MacFUSE to 0.4.0

Modified Paths:
--------------
    trunk/dports/fuse/fusefs/Portfile
    trunk/dports/fuse/libfuse/Portfile

Modified: trunk/dports/fuse/fusefs/Portfile
===================================================================
--- trunk/dports/fuse/fusefs/Portfile	2007-06-19 17:06:22 UTC (rev 26315)
+++ trunk/dports/fuse/fusefs/Portfile	2007-06-19 17:29:05 UTC (rev 26316)
@@ -4,7 +4,7 @@
 PortGroup xcode 1.0
 
 name                fusefs
-version             0.3.0
+version             0.4.0
 categories          fuse devel
 platforms           darwin
 maintainers         eridius at macports.org
@@ -20,8 +20,8 @@
 master_sites        macports:eridius
 distname            fusefs-${version}
 worksrcdir          fusefs
-checksums           md5 b8a09572ed2768e31eb004c06bda0a4a \
-                    sha1 3cf32381316b12378075e4e3d116ae9572b9cec6
+checksums           md5 fb49ac9bc2412da7e02b9e3f1f448545 \
+                    sha1 0b870c2e4d14180510348c49cc0647bff812f520
 
 livecheck.distname  MacFUSE-Core-(.*).dmg
 
@@ -47,37 +47,30 @@
 }
 
 destroot {
-    set libdir ${destroot}/Library
-    set extdir ${libdir}/Extensions
-    set syslibdir ${destroot}/System/Library
-    set sysfsdir ${syslibdir}/Filesystems
+    set sysfsdir ${destroot}/System/Library/Filesystems
+    set macfuse_bundle_dir ${sysfsdir}/fusefs.fs
+    set macfuse_support_dir ${macfuse_bundle_dir}/Support
     
     set builddir ${worksrcpath}/build/${xcode.configuration}
     
-    # ensure appropriate permissions
-    xinstall -d -m 1774 -o root -g admin ${libdir}
-    xinstall -d -m 1755 -o root -g wheel ${extdir}
+    # ensure sysfsdir exists
+    xinstall -d -m 755 -o root -g wheel ${sysfsdir}
     
-    # copy fusefs.kext
-    file copy -- ${builddir}/fusefs.kext ${extdir}/
-    foreach filename [split [exec find ${extdir}/fusefs.kext] \n] {
-        file attributes $filename -owner root -group wheel
-    }
+    # copy fusefs.fs
+    file copy -- ${builddir}/fusefs.fs ${macfuse_bundle_dir}
     
-    # copy load_fusefs
-    xinstall -o root -g wheel -m 4555 ${builddir}/load_fusefs \
-                                     ${extdir}/fusefs.kext/Contents/Resources/
+    # ensure Support dir exists
+    xinstall -d -m 755 -o root -g wheel ${macfuse_support_dir}
     
-    # copy fusefs.fs
-    xinstall -d -m 755 -o root -g wheel ${sysfsdir}
-    file copy -- ${builddir}/fusefs.fs ${sysfsdir}
-    foreach filename [split [exec find ${sysfsdir}/fusefs.fs] \n] {
-        file attributes $filename -owner root -group wheel
-    }
+    # copy Support files
+    file copy -- ${builddir}/fusefs.kext ${macfuse_support_dir}/fusefs.kext
+    xinstall -m 4555 ${builddir}/load_fusefs ${macfuse_support_dir}/load_fusefs
+    xinstall ${builddir}/mount_fusefs ${macfuse_support_dir}/mount_fusefs
     
-    # copy mount_fusefs
-    xinstall -o root -g wheel ${builddir}/mount_fusefs \
-                              ${sysfsdir}/fusefs.fs/mount_fusefs
+    # set permissions
+    fs-traverse file [list ${macfuse_bundle_dir}] {
+        file attributes $file -owner root -group wheel
+    }
 }
 
 post-activate {

Modified: trunk/dports/fuse/libfuse/Portfile
===================================================================
--- trunk/dports/fuse/libfuse/Portfile	2007-06-19 17:06:22 UTC (rev 26315)
+++ trunk/dports/fuse/libfuse/Portfile	2007-06-19 17:29:05 UTC (rev 26316)
@@ -4,7 +4,7 @@
 
 name                libfuse
 version             2.6.5
-revision            0
+revision            1
 categories          fuse devel
 platforms           darwin
 maintainers         eridius at macports.org
@@ -24,10 +24,10 @@
 
 platform darwin {
     depends_run         port:fusefs
-    patch_sites         http://macfuse.googlecode.com/svn/tags/macfuse-0.3.0/libfuse/
+    patch_sites         http://macfuse.googlecode.com/svn/tags/macfuse-0.4.0/libfuse/
     patchfiles          fuse-2.6.5-macosx.patch
-    checksums-append    fuse-2.6.5-macosx.patch md5 da754b82fbada7b8aa99fed68356cf7e \
-                                                sha1 7bc405e18f49ac4a89d51374854ac301d1448434
+    checksums-append    fuse-2.6.5-macosx.patch md5 96c27b9d8c5d719ff7db99064c21ec87 \
+                                                sha1 edbf8769809eea32f9f83e7fa7e8b791e6cbe106
     
     configure.post_args-append CFLAGS="-D__FreeBSD__=10 -D_POSIX_C_SOURCE=200112L"
     

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070619/8b903cbe/attachment.html


More information about the macports-changes mailing list