From 2e53d994cd2c9e870f0c13be4769fd4ef9510aa8 Mon Sep 17 00:00:00 2001 From: Jonathan Chu Date: Sun, 23 Sep 2012 09:22:16 +0200 Subject: Add FreeBSD platform file Redefine GNUPG and GETOPT for port paths Redefine tmpdir() for a different ramdisk path --- src/platform/freebsd.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/platform/freebsd.sh diff --git a/src/platform/freebsd.sh b/src/platform/freebsd.sh new file mode 100644 index 0000000..3900f10 --- /dev/null +++ b/src/platform/freebsd.sh @@ -0,0 +1,21 @@ +tmpdir() { + ramdisk="/var/tmp/password-store.ramdisk" + if [[ -d $ramdisk && -d $ramdisk && -d $ramdisk ]]; then + tmp_dir="$(TMPDIR=$ramdisk mktemp -t "$template" -d)" + else + yesno "$(cat <