summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2008-05-01 00:59:21 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2008-05-01 00:59:21 +0000
commit6fc9986032a2031adc7973cda11253cf00add510 (patch)
treecebdc4a0b62f96e7339bb7c243214b2e29ff4a46
parentUpdate to 0.8, and fix a problem where policy updates were not processed (diff)
Remove noexec from the list of hardcoded mount options. This was already
done for Linux, and can be added back in various applications which request hal mounts. Requested by: Kris Moore <kris@pcbsd.com>
-rw-r--r--sysutils/hal/Makefile2
-rw-r--r--sysutils/hal/files/patch-tools_hal-storage-mount.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index 75c477abc6cd..321f5fe73057 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -8,7 +8,7 @@
PORTNAME= hal
DISTVERSION= 0.5.11rc2
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= sysutils
MASTER_SITES= http://hal.freedesktop.org/releases/
diff --git a/sysutils/hal/files/patch-tools_hal-storage-mount.c b/sysutils/hal/files/patch-tools_hal-storage-mount.c
new file mode 100644
index 000000000000..c270893c2b2c
--- /dev/null
+++ b/sysutils/hal/files/patch-tools_hal-storage-mount.c
@@ -0,0 +1,11 @@
+--- tools/hal-storage-mount.c.orig 2008-04-29 20:05:38.000000000 -0400
++++ tools/hal-storage-mount.c 2008-04-29 20:05:44.000000000 -0400
+@@ -56,7 +56,7 @@
+
+ #ifdef __FreeBSD__
+ #define MOUNT "/sbin/mount"
+-#define MOUNT_OPTIONS "noexec,nosuid"
++#define MOUNT_OPTIONS "nosuid"
+ #define MOUNT_TYPE_OPT "-t"
+ #elif sun
+ #define MOUNT "/sbin/mount"