summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArjan Bouter2010-03-15 16:59:49 +0100
committerArjan Bouter2010-03-15 16:59:49 +0100
commitc70c8ee499f605d56194d4bc1d5555f227ebd853 (patch)
tree485b1d5da81ee90b4f33c4294d2938fe655e2492
parent86e0687b3759222fc3a9d74de4e42472ab346f4e (diff)
ntfs-3g: made acl and mtab support optional, added info about users
mounting ntfs partitions.
-rwxr-xr-xdisk/ntfs-3g/BUILD2
-rwxr-xr-xdisk/ntfs-3g/CONFIGURE7
-rwxr-xr-xdisk/ntfs-3g/DEPENDS3
-rwxr-xr-xdisk/ntfs-3g/FINAL4
-rw-r--r--disk/ntfs-3g/HISTORY5
5 files changed, 20 insertions, 1 deletions
diff --git a/disk/ntfs-3g/BUILD b/disk/ntfs-3g/BUILD
new file mode 100755
index 0000000000..440db21686
--- /dev/null
+++ b/disk/ntfs-3g/BUILD
@@ -0,0 +1,2 @@
+OPTS="${OPTS} $NTFS3G_ACL $NTFS3G_MTAB" &&
+default_build
diff --git a/disk/ntfs-3g/CONFIGURE b/disk/ntfs-3g/CONFIGURE
new file mode 100755
index 0000000000..1406ca6648
--- /dev/null
+++ b/disk/ntfs-3g/CONFIGURE
@@ -0,0 +1,7 @@
+config_query_option NTFS3G_ACL 'Enable POSIX ACL support?' y \
+ '--enable-posix-acls' \
+ '--disable-posix-acls' &&
+config_query_option NTFS3G_MTAB 'Enable usage of /etc/mtab ?' y \
+ '--enable-mtab' \
+ '--disable-mtab'
+
diff --git a/disk/ntfs-3g/DEPENDS b/disk/ntfs-3g/DEPENDS
index a3325b6ca8..1decb7a4ee 100755
--- a/disk/ntfs-3g/DEPENDS
+++ b/disk/ntfs-3g/DEPENDS
@@ -1,6 +1,7 @@
depends attr &&
depends gnutls &&
-
+message 'If you want to allow normal users to mount ntfs filesystems,' &&
+message 'then you need internal fuse support' &&
optional_depends fuse '--with-fuse=external' \
'--with-fuse=internal' \
'use external FUSE?'
diff --git a/disk/ntfs-3g/FINAL b/disk/ntfs-3g/FINAL
new file mode 100755
index 0000000000..724d74e160
--- /dev/null
+++ b/disk/ntfs-3g/FINAL
@@ -0,0 +1,4 @@
+message 'For regular users to be able to mount NTFS partitions,' &&
+message 'you need to make the device and mountpoint accessible to' &&
+message 'the user or (separate!) group, and setuid the ntfs-3g binary.' &&
+message 'chmod 4750 /bin/ntfs-3g'
diff --git a/disk/ntfs-3g/HISTORY b/disk/ntfs-3g/HISTORY
index 3d5ddcdc4c..073879ce9f 100644
--- a/disk/ntfs-3g/HISTORY
+++ b/disk/ntfs-3g/HISTORY
@@ -1,3 +1,8 @@
+2010-03-15 Arjan Bouter <abouter@sourcemage.org>
+ * BUILD, CONFIGURE: added, optionally enable ACL or /etc/mtab support.
+ * DEPENDS: added a message explaining the fuse optional dependency
+ * FINAL: added a message about users mounting ntfs partitions
+
2010-03-09 Sukneet Basuta <sukneet@sourcemage.org>
* DETAILS: updated spell to 2010.3.6