[81149] trunk/dports/fuse

dports at macports.org dports at macports.org
Mon Jul 25 19:20:18 PDT 2011


Revision: 81149
          http://trac.macports.org/changeset/81149
Author:   dports at macports.org
Date:     2011-07-25 19:20:17 -0700 (Mon, 25 Jul 2011)
Log Message:
-----------
fuse4x, fuse4x-kext, fuse4x-framework: new ports

Fuse4X is a fork of MacFUSE (which has been abandoned). Among other
changes, it provides support for 64-bit kernels and includes a newer
version of the fuse library.

 * fuse4x contains the user-space library that filesystems link against
 * fuse4x-kext provides the kernel module
 * fuse4x-framework provides an Objective-C framework for filesystem
   development 

[merge from /users/dports/ports]

Added Paths:
-----------
    trunk/dports/fuse/fuse4x/
    trunk/dports/fuse/fuse4x/Portfile
    trunk/dports/fuse/fuse4x-framework/
    trunk/dports/fuse/fuse4x-framework/Portfile
    trunk/dports/fuse/fuse4x-kext/
    trunk/dports/fuse/fuse4x-kext/Portfile

Removed Paths:
-------------
    trunk/dports/fuse/fuse4x/Portfile
    trunk/dports/fuse/fuse4x-framework/Portfile
    trunk/dports/fuse/fuse4x-kext/Portfile

Deleted: trunk/dports/fuse/fuse4x/Portfile
===================================================================
--- users/dports/ports/fuse/fuse4x/Portfile	2011-07-25 22:04:08 UTC (rev 81118)
+++ trunk/dports/fuse/fuse4x/Portfile	2011-07-26 02:20:17 UTC (rev 81149)
@@ -1,66 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem          1.0
-
-name                fuse4x
-version             0.8.6
-set tag             [string map {. _ } $version]
-categories          fuse devel
-platforms           macosx
-maintainers         dports
-description         A FUSE-Compliant File System Implementation Mechanism \
-                    for Mac OS X
-
-long_description    Fuse4X implements a mechanism that makes it          \
-                    possible to implement a fully functional file        \
-                    system in a user-space program on Mac OS X. It       \
-                    aims to be API-compliant with the FUSE               \
-                    (File-system in USErspace) mechanism that            \
-                    originated on Linux.  Therefore, many existing       \
-                    FUSE file systems become readily usable on Mac OS    \
-                    X. This port provides the user-space library and     \
-                    header files for building filesystems.
-
-homepage            http://fuse4x.org/
-license             LGPL
-# master_sites        https://github.com/fuse4x/fuse/tarball/fuse4x_${tag}
-
-# checksums           sha1    c4169a1f904a95b1fea36525b56ab3776f558bd0 \
-#                     rmd160  27805bbe9a8071911ddee6b71f62cfc5dbb0c44c
-
-# extract.mkdir       yes
-# extract.post_args   "| tar --strip-components=1 -xf -"
-
-fetch.type          git
-git.url             git://github.com/drkp/fuse4x-fuse.git
-git.branch          pu
-patchfiles          patch-configure.in.diff \
-                    patch-include_fuse_param.h.diff
-
-# kext destination: kext will be installed into ${kextdir}/fuse4x.kext.
-#
-# The kext is autoloaded by the library using load_fuse4x, so it
-# doesn't have to go into /System/Library/Extensions. It doesn't
-# matter where we put it, as long as it's kept in sync with the library.
-#
-# If updating the patchfile or ${kextdir}, must also update the
-# corresponding patch in the fuse4x-kext port!
-set kextdir        "${prefix}/Library/Extensions"
-post-patch {
-    reinplace "s|@@KEXTPATH@@|${kextdir}/fuse4x.kext|" ${worksrcpath}/include/fuse_param.h
-}
-
-configure.cflags-append -g -O0
-configure.ldflags   -framework CoreFoundation
-
-use_autoreconf      yes
-autoreconf.args     -fvi
-use_configure       yes
-
-depends_build       port:pkgconfig port:autoconf port:automake port:libtool
-depends_lib         port:fuse4x-kext
-
-livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     {Fuse4X-([0-9.]+).pkg}

Copied: trunk/dports/fuse/fuse4x/Portfile (from rev 81148, users/dports/ports/fuse/fuse4x/Portfile)
===================================================================
--- trunk/dports/fuse/fuse4x/Portfile	                        (rev 0)
+++ trunk/dports/fuse/fuse4x/Portfile	2011-07-26 02:20:17 UTC (rev 81149)
@@ -0,0 +1,61 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                fuse4x
+version             0.8.8
+set tag             [string map {. _ } $version]
+categories          fuse devel
+platforms           macosx
+maintainers         dports
+description         A FUSE-Compliant File System Implementation Mechanism \
+                    for Mac OS X
+
+long_description    Fuse4X implements a mechanism that makes it          \
+                    possible to implement a fully functional file        \
+                    system in a user-space program on Mac OS X. It       \
+                    aims to be API-compliant with the FUSE               \
+                    (File-system in USErspace) mechanism that            \
+                    originated on Linux.  Therefore, many existing       \
+                    FUSE file systems become readily usable on Mac OS    \
+                    X. This port provides the user-space library and     \
+                    header files for building filesystems.
+
+homepage            http://fuse4x.org/
+license             LGPL
+master_sites        https://github.com/fuse4x/fuse/tarball/fuse4x_${tag}
+
+checksums           sha1    7b7365cb2c52e8667b9c2dce458b5726afb40d09 \
+                    rmd160  22c1be0d883026dbf36072262d02e192ba60e793
+
+extract.mkdir       yes
+extract.post_args   "| tar --strip-components=1 -xf -"
+
+patchfiles          patch-configure.in.diff \
+                    patch-include_fuse_param.h.diff
+
+# kext destination: kext will be installed into ${kextdir}/fuse4x.kext.
+#
+# The kext is autoloaded by the library using load_fuse4x, so it
+# doesn't have to go into /System/Library/Extensions. It doesn't
+# matter where we put it, as long as it's kept in sync with the library.
+#
+# If updating the patchfile or ${kextdir}, must also update the
+# corresponding patch in the fuse4x-kext port!
+set kextdir        "${prefix}/Library/Extensions"
+post-patch {
+    reinplace "s|@@KEXTPATH@@|${kextdir}/fuse4x.kext|" ${worksrcpath}/include/fuse_param.h
+}
+
+configure.ldflags   -framework CoreFoundation
+
+use_autoreconf      yes
+autoreconf.args     -fi
+
+depends_build       port:pkgconfig port:autoconf port:automake port:libtool
+depends_run         port:fuse4x-kext
+
+livecheck.type      regex
+livecheck.url       ${homepage}
+livecheck.regex     {Fuse4X-([0-9.]+).pkg}

Deleted: trunk/dports/fuse/fuse4x-framework/Portfile
===================================================================
--- users/dports/ports/fuse/fuse4x-framework/Portfile	2011-07-25 22:04:08 UTC (rev 81118)
+++ trunk/dports/fuse/fuse4x-framework/Portfile	2011-07-26 02:20:17 UTC (rev 81149)
@@ -1,53 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem          1.0
-PortGroup           xcode 1.0
-
-name                fuse4x-framework
-version             0.8.6
-set tag             [string map {. _ } $version]
-categories          fuse devel
-platforms           macosx
-maintainers         dports
-description         Objective-C framework for Fuse4X
-
-long_description    Fuse4X implements a mechanism that makes it          \
-                    possible to implement a fully functional file        \
-                    system in a user-space program on Mac OS X. It       \
-                    aims to be API-compliant with the FUSE               \
-                    (File-system in USErspace) mechanism that            \
-                    originated on Linux.  Therefore, many existing       \
-                    FUSE file systems become readily usable on Mac OS    \
-                    X. This port provides a framework for writing        \
-                    file systems in Objective-C.
-
-homepage            http://fuse4x.org/
-license             BSD
-# master_sites        https://github.com/fuse4x/framework/tarball/fuse4x_${tag}
-
-# checksums           sha1    bcb8e3615dcbe152716d097cb51f9e2af86ad452 \
-#                     rmd160  466c44475155c6bf18ccc27ea42cdcbaf4946247
-
-# extract.mkdir       yes
-# extract.post_args   "| tar --strip-components=1 -xf -"
-
-fetch.type          git
-git.url             git://github.com/drkp/fuse4x-framework.git
-git.branch          master
-
-depends_lib         port:fuse4x
-
-xcode.configuration Release
-xcode.build.settings    LIBRARY_SEARCH_PATHS='${prefix}/lib' \
-                        HEADER_SEARCH_PATHS='${prefix}/include'
-
-destroot {
-    xinstall -d ${destroot}/${frameworks_dir}
-    file copy ${worksrcpath}/build/${xcode.configuration}/Fuse4X.framework \
-              ${destroot}/${frameworks_dir}
-}
-
-livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     {Fuse4X-([0-9.]+).pkg}

Copied: trunk/dports/fuse/fuse4x-framework/Portfile (from rev 81142, users/dports/ports/fuse/fuse4x-framework/Portfile)
===================================================================
--- trunk/dports/fuse/fuse4x-framework/Portfile	                        (rev 0)
+++ trunk/dports/fuse/fuse4x-framework/Portfile	2011-07-26 02:20:17 UTC (rev 81149)
@@ -0,0 +1,49 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           xcode 1.0
+
+name                fuse4x-framework
+version             0.8.8
+set tag             [string map {. _ } $version]
+categories          fuse devel
+platforms           macosx
+maintainers         dports
+description         Objective-C framework for Fuse4X
+
+long_description    Fuse4X implements a mechanism that makes it          \
+                    possible to implement a fully functional file        \
+                    system in a user-space program on Mac OS X. It       \
+                    aims to be API-compliant with the FUSE               \
+                    (File-system in USErspace) mechanism that            \
+                    originated on Linux.  Therefore, many existing       \
+                    FUSE file systems become readily usable on Mac OS    \
+                    X. This port provides a framework for writing        \
+                    file systems in Objective-C.
+
+homepage            http://fuse4x.org/
+license             BSD
+master_sites        https://github.com/fuse4x/framework/tarball/fuse4x_${tag}
+
+checksums           sha1    9280e0928f9993d470fb8f91131061555d6d61e5 \
+                    rmd160  7ec4f426e8a67f56e2f4063183afe6523e368eaa
+
+extract.mkdir       yes
+extract.post_args   "| tar --strip-components=1 -xf -"
+
+depends_lib         port:fuse4x
+
+xcode.configuration Release
+xcode.build.settings    LIBRARY_SEARCH_PATHS='${prefix}/lib' \
+                        HEADER_SEARCH_PATHS='${prefix}/include'
+
+destroot {
+    xinstall -d ${destroot}/${frameworks_dir}
+    file copy ${worksrcpath}/build/${xcode.configuration}/Fuse4X.framework \
+              ${destroot}/${frameworks_dir}
+}
+
+livecheck.type      regex
+livecheck.url       ${homepage}
+livecheck.regex     {Fuse4X-([0-9.]+).pkg}

Deleted: trunk/dports/fuse/fuse4x-kext/Portfile
===================================================================
--- users/dports/ports/fuse/fuse4x-kext/Portfile	2011-07-25 22:04:08 UTC (rev 81118)
+++ trunk/dports/fuse/fuse4x-kext/Portfile	2011-07-26 02:20:17 UTC (rev 81149)
@@ -1,86 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem          1.0
-PortGroup           xcode 1.0
-
-name                fuse4x-kext
-version             0.8.6
-set tag             [string map {. _ } $version]
-categories          fuse devel
-platforms           macosx
-maintainers         dports
-description         A kernel extension for Fuse4X
-
-long_description    Fuse4X implements a mechanism that makes it          \
-                    possible to implement a fully functional file        \
-                    system in a user-space program on Mac OS X. It       \
-                    aims to be API-compliant with the FUSE               \
-                    (File-system in USErspace) mechanism that            \
-                    originated on Linux.  Therefore, many existing       \
-                    FUSE file systems become readily usable on Mac OS    \
-                    X. This port provides the dynamically loadable       \
-                    kernel extension at the core of Fuse4X.
-
-homepage            http://fuse4x.org/
-license             BSD
-# master_sites        https://github.com/fuse4x/kext/tarball/fuse4x_${tag}
-
-# checksums           sha1    ba45023df91b1c60c414072b4301b9938f2b2785 \
-#                     rmd160  bbfbbf33bd3562885e488aeeee73a2e118b54661
-
-# extract.mkdir       yes
-# extract.post_args   "| tar --strip-components=1 -xf -"
-
-fetch.type          git
-git.url             git://github.com/drkp/fuse4x-kext.git
-git.branch          pu
-
-# This port installs a kernel module, so it must be built for the same
-# architecture as the kernel. We don't have a way to get that;
-# build_arch is the userland architecture, which may be different
-# (e.g. 64-bit userland with 32-bit kernel). So build a universal
-# binary by default.
-default_variants    +universal
-
-# kext destination: kext will be installed into ${kextdir}/fuse4x.kext.
-#
-# The kext is autoloaded by the library using load_fuse4x, so it
-# doesn't have to go into /System/Library/Extensions. It doesn't
-# matter where we put it, as long as it's kept in sync with the library.
-#
-# If updating the patchfile or ${kextdir}, must also update the
-# corresponding patch in the fuse4x port!
-patchfiles          patch-common_fuse_param.h.diff
-set kextdir        "${prefix}/Library/Extensions"
-post-patch {
-    reinplace "s|@@KEXTPATH@@|${kextdir}/fuse4x.kext|" ${worksrcpath}/common/fuse_param.h
-}
-
-xcode.configuration Release
-
-#destroot.violate_mtree  yes
-destroot.asroot         yes
-
-destroot {
-    xinstall -d ${destroot}${kextdir}
-    file copy ${worksrcpath}/build/${xcode.configuration}/fuse4x.kext ${destroot}${kextdir}
-    file attributes ${destroot}${kextdir}/fuse4x.kext -owner root -group wheel -permissions rwxr-xr-x
-
-    xinstall -d ${destroot}${kextdir}/fuse4x.kext/Support
-    xinstall -o root -m 4755 ${worksrcpath}/build/${xcode.configuration}/load_fuse4x ${destroot}${kextdir}/fuse4x.kext/Support
-}
-
-post-activate {
-    if {[string length [exec kextstat -lb org.fuse4x.kext.fuse4x]] > 0} {
-        ui_msg "********************************************************"
-        ui_msg "*  fuse4x is already loaded. You may need to restart.  *"
-        ui_msg "*  Alternatively, if feeling adventurous, you can run  *"
-        ui_msg "*  `sudo kextunload -b org.fuse4x.kext.fuse4x`  *"
-        ui_msg "********************************************************"
-    }
-}
-
-livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     {Fuse4X-([0-9.]+).pkg}

Copied: trunk/dports/fuse/fuse4x-kext/Portfile (from rev 81147, users/dports/ports/fuse/fuse4x-kext/Portfile)
===================================================================
--- trunk/dports/fuse/fuse4x-kext/Portfile	                        (rev 0)
+++ trunk/dports/fuse/fuse4x-kext/Portfile	2011-07-26 02:20:17 UTC (rev 81149)
@@ -0,0 +1,81 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           xcode 1.0
+
+name                fuse4x-kext
+version             0.8.8
+set tag             [string map {. _ } $version]
+categories          fuse devel
+platforms           macosx
+maintainers         dports
+description         A kernel extension for Fuse4X
+
+long_description    Fuse4X implements a mechanism that makes it          \
+                    possible to implement a fully functional file        \
+                    system in a user-space program on Mac OS X. It       \
+                    aims to be API-compliant with the FUSE               \
+                    (File-system in USErspace) mechanism that            \
+                    originated on Linux.  Therefore, many existing       \
+                    FUSE file systems become readily usable on Mac OS    \
+                    X. This port provides the dynamically loadable       \
+                    kernel extension at the core of Fuse4X.
+
+homepage            http://fuse4x.org/
+license             BSD
+master_sites        https://github.com/fuse4x/kext/tarball/fuse4x_${tag}
+
+checksums           sha1    9a205c0d63b838c5b45844dedcf881bf4fdfc787 \
+                    rmd160  e849a8a7dc3533760833547e96a796cf7a6609f6
+
+extract.mkdir       yes
+extract.post_args   "| tar --strip-components=1 -xf -"
+
+# This port installs a kernel module, so it must be built for the same
+# architecture as the kernel. We don't have a way to get that;
+# build_arch is the userland architecture, which may be different
+# (e.g. 64-bit userland with 32-bit kernel). So build a universal
+# binary by default.
+default_variants    +universal
+
+# kext destination: kext will be installed into ${kextdir}/fuse4x.kext.
+#
+# The kext is autoloaded by the library using load_fuse4x, so it
+# doesn't have to go into /System/Library/Extensions. It doesn't
+# matter where we put it, as long as it's kept in sync with the library.
+#
+# If updating the patchfile or ${kextdir}, must also update the
+# corresponding patch in the fuse4x port!
+patchfiles          patch-common_fuse_param.h.diff
+set kextdir        "${prefix}/Library/Extensions"
+post-patch {
+    reinplace "s|@@KEXTPATH@@|${kextdir}/fuse4x.kext|" ${worksrcpath}/common/fuse_param.h
+}
+
+xcode.configuration Release
+
+destroot.asroot     yes
+
+destroot {
+    xinstall -d ${destroot}${kextdir}
+    file copy ${worksrcpath}/build/${xcode.configuration}/fuse4x.kext ${destroot}${kextdir}
+    file attributes ${destroot}${kextdir}/fuse4x.kext -owner root -group wheel -permissions rwxr-xr-x
+
+    xinstall -d ${destroot}${kextdir}/fuse4x.kext/Support
+    xinstall -o root -m 4755 ${worksrcpath}/build/${xcode.configuration}/load_fuse4x ${destroot}${kextdir}/fuse4x.kext/Support
+}
+
+post-activate {
+    if {[string length [exec kextstat -lb org.fuse4x.kext.fuse4x]] > 0} {
+        ui_msg "********************************************************"
+        ui_msg "*  fuse4x is already loaded. You may need to restart.  *"
+        ui_msg "*  Alternatively, if feeling adventurous, you can run  *"
+        ui_msg "*  `sudo kextunload -b org.fuse4x.kext.fuse4x`         *"
+        ui_msg "********************************************************"
+    }
+}
+
+livecheck.type      regex
+livecheck.url       ${homepage}
+livecheck.regex     {Fuse4X-([0-9.]+).pkg}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110725/9ffd637b/attachment.html>


More information about the macports-changes mailing list