aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/security/pass/no-darwin-getopt.patch
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-02-15 16:14:13 +0000
committerShea Levy <shea@shealevy.com>2015-02-15 16:14:13 +0000
commitdf0016a8ce3ca9d3095eb5f08591f007f79db141 (patch)
treeb19317246dfb9db6cfc0068afb6dbe16ea672b44 /pkgs/tools/security/pass/no-darwin-getopt.patch
parent07bac418d2a3dd9373148d095a0d3c029691f5da (diff)
Fix pass on darwin
Diffstat (limited to 'pkgs/tools/security/pass/no-darwin-getopt.patch')
-rw-r--r--pkgs/tools/security/pass/no-darwin-getopt.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/security/pass/no-darwin-getopt.patch b/pkgs/tools/security/pass/no-darwin-getopt.patch
new file mode 100644
index 000000000000..e8f7e138ff02
--- /dev/null
+++ b/pkgs/tools/security/pass/no-darwin-getopt.patch
@@ -0,0 +1,9 @@
+diff -Naur password-store-1.6.5-orig/src/platform/darwin.sh password-store-1.6.5/src/platform/darwin.sh
+--- password-store-1.6.5-orig/src/platform/darwin.sh 2015-01-28 16:43:02.000000000 +0000
++++ password-store-1.6.5/src/platform/darwin.sh 2015-02-15 16:09:02.000000000 +0000
+@@ -31,5 +31,4 @@
+ mount -t hfs -o noatime -o nobrowse "$DARWIN_RAMDISK_DEV" "$SECURE_TMPDIR" || die "Error: could not mount filesystem on ramdisk."
+ }
+
+-GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt"
+ SHRED="srm -f -z"