summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-11-24 01:16:18 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-11-24 01:16:18 +0000
commit1a7381fc502c8d7ade934d59ededb22cc3407fc3 (patch)
tree966136ae65acc076fafbcfcee0a19b82e9a295f6 /sysutils
parent6e48ce31a36dd67d13d724a80eb49a9349465559 (diff)
downloadpkgsrc-1a7381fc502c8d7ade934d59ededb22cc3407fc3.tar.gz
Fix default mount options for NetBSD, bump PKGREVISION
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-mount/Makefile9
-rw-r--r--sysutils/gnome-mount/files/gnome-mount.schemas.in.NetBSD77
2 files changed, 85 insertions, 1 deletions
diff --git a/sysutils/gnome-mount/Makefile b/sysutils/gnome-mount/Makefile
index db0047eac80..8445112f7a6 100644
--- a/sysutils/gnome-mount/Makefile
+++ b/sysutils/gnome-mount/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/11/22 17:54:42 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2008/11/24 01:16:18 jmcneill Exp $
#
DISTNAME= gnome-mount-0.8
+PKGREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= http://hal.freedesktop.org/releases/
@@ -17,6 +18,12 @@ USE_LIBTOOL= YES
GCONF_SCHEMAS+= gnome-mount.schemas
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+post-extract:
+ ${CP} ${FILESDIR}/gnome-mount.schemas.in.NetBSD ${WRKSRC}/gnome-mount.schemas.in
+.endif
+
.include "../../devel/GConf/schemas.mk"
.include "../../security/gnome-keyring/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
diff --git a/sysutils/gnome-mount/files/gnome-mount.schemas.in.NetBSD b/sysutils/gnome-mount/files/gnome-mount.schemas.in.NetBSD
new file mode 100644
index 00000000000..0628d9b94cd
--- /dev/null
+++ b/sysutils/gnome-mount/files/gnome-mount.schemas.in.NetBSD
@@ -0,0 +1,77 @@
+<gconfschemafile>
+ <!-- $NetBSD: gnome-mount.schemas.in.NetBSD,v 1.1 2008/11/24 01:16:18 jmcneill Exp $ -->
+ <schemalist>
+
+ <schema>
+ <key>/schemas/system/storage/default_options/vfat/mount_options</key>
+ <applyto>/system/storage/default_options/vfat/mount_options</applyto>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[-u=]</default>
+ <locale name="C">
+ <short>Default mount options for vfat fs</short>
+ <long>A list of default mount options for volumes formatted with the vfat file system.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/system/storage/default_options/iso9660/mount_options</key>
+ <applyto>/system/storage/default_options/iso9660/mount_options</applyto>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[-u=]</default>
+ <locale name="C">
+ <short>Default mount options for iso9660 fs</short>
+ <long>A list of default mount options for volumes formatted with the iso9660 file system.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/system/storage/default_options/udf/mount_options</key>
+ <applyto>/system/storage/default_options/udf/mount_options</applyto>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[-u=]</default>
+ <locale name="C">
+ <short>Default mount options for udf fs</short>
+ <long>A list of default mount options for volumes formatted with the udf file system.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/system/storage/default_options/ntfs/mount_options</key>
+ <applyto>/system/storage/default_options/ntfs/mount_options</applyto>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[-u=]</default>
+ <locale name="C">
+ <short>Default mount options for ntfs fs</short>
+ <long>A list of default mount options for volumes formatted with the ntfs file system.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/system/storage/default_options/ntfs/fstype_override</key>
+ <applyto>/system/storage/default_options/ntfs/fstype_override</applyto>
+ <type>string</type>
+ <default>ntfs-3g</default>
+ <locale name="C">
+ <short>When 'ntfs' is detected, what file system driver to use by default</short>
+ <long>The name of the file system driver to use by default when 'ntfs' is detected. This is useful for configuring the system to use the 'ntfs-3g' driver for all 'ntfs' file systems by default. User can still choose to use the 'ntfs' file system driver by overriding it per-volume or on the command line.</long>
+ </locale>
+ </schema>
+
+ <schema>
+ <key>/schemas/system/storage/default_options/ntfs-3g/mount_options</key>
+ <applyto>/system/storage/default_options/ntfs-3g/mount_options</applyto>
+ <type>list</type>
+ <list_type>string</list_type>
+ <default>[locale=]</default>
+ <locale name="C">
+ <short>Default mount options for ntfs-3g fs</short>
+ <long>A list of default mount options for volumes formatted with the ntfs file system using ntfs-3g.</long>
+ </locale>
+ </schema>
+
+
+ </schemalist>
+</gconfschemafile>