[89956] trunk/dports/fuse/ntfs-3g/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Feb 16 20:22:13 PST 2012


Revision: 89956
          http://trac.macports.org/changeset/89956
Author:   ryandesign at macports.org
Date:     2012-02-16 20:22:11 -0800 (Thu, 16 Feb 2012)
Log Message:
-----------
ntfs-3g: maintainer update to fix mtree violation in /sbin; see #33279

Modified Paths:
--------------
    trunk/dports/fuse/ntfs-3g/Portfile

Modified: trunk/dports/fuse/ntfs-3g/Portfile
===================================================================
--- trunk/dports/fuse/ntfs-3g/Portfile	2012-02-16 23:32:44 UTC (rev 89955)
+++ trunk/dports/fuse/ntfs-3g/Portfile	2012-02-17 04:22:11 UTC (rev 89956)
@@ -5,7 +5,7 @@
 
 name                ntfs-3g
 version             2012.1.15
-revision            1
+revision            2
 categories          fuse
 platforms           darwin
 maintainers         kelotti.net:petri \
@@ -56,12 +56,17 @@
     # but on darwin mount wants mount_* instead of mount.*
 
     # /sbin/mount.ntfs-3g is no longer installed with recent versions of ntfs-3g
-    # but check here to verify so an update doesn't miss it if it's turned back on
+    # but check here to verify so updates don't miss it if it's turned back on
     if {[file exists ${destroot}/sbin/mount.ntfs-3g]} {
+       # This violated the tree restrictions, hopefully fixed by now.
        file rename -- ${destroot}/sbin/mount.ntfs-3g \
-                      ${destroot}/sbin/mount_ntfs-3g
+                      ${destroot}${prefix}/sbin/mount_ntfs-3g
     }
     file rename -- ${destroot}${prefix}/share/man/man8/mount.ntfs-3g.8 \
                    ${destroot}${prefix}/share/man/man8/mount_ntfs-3g.8
+
+    # This violated the tree restrictions, hopefully fixed by now.
+    file rename -- ${destroot}/sbin/mkfs.ntfs \
+                   ${destroot}${prefix}/sbin/mkfs.ntfs
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120216/530c77d5/attachment-0001.html>


More information about the macports-changes mailing list