summaryrefslogtreecommitdiff
path: root/src/platform/freebsd.sh
blob: b3a4136f2b2b89b064d51c3851fda0f22a22b838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (C) 2012 Jonathan Chu <milki@rescomp.berkeley.edu>. All Rights Reserved.
# This file is licensed under the GPLv2+. Please see COPYING for more information.

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 "$(echo    "A ramdisk does not exist at $ramdisk, which means that it may"
			 echo    "be difficult to entirely erase the temporary non-encrypted"
			 echo    "password file after editing. Are you sure you would like to"
			 echo -n "continue?")"

		tmp_dir="$(mktemp -t "$template" -d)"
	fi
}

GETOPT="/usr/local/bin/getopt"
SHRED="rm -P -f"
an> 2020-05-03Rename from 'client' to 'cl'René 'Necoro' Neumann5-26/+26 2020-05-03Use UIDPLUS Imap extensionRené 'Necoro' Neumann4-11/+33 2020-05-03Fix update in IMAPRené 'Necoro' Neumann1-2/+12 2020-05-03Update support for IMAPRené 'Necoro' Neumann5-17/+205 2020-05-03Option "reupload-if-updated"René 'Necoro' Neumann2-0/+4 2020-05-03Fix typoRené 'Necoro' Neumann1-2/+2 2020-05-02Use uuid library directly and encode to base64.René 'Necoro' Neumann6-10/+16 Also add an additional header `X-Feed2Imap-Item`, b/c the messageId contains the variable part of the hostname. 2020-05-02RestructureRené 'Necoro' Neumann8-95/+111 2020-05-02WIP: Message-IdsRené 'Necoro' Neumann8-5/+40 2020-05-02Typo and mention config example in READMERené 'Necoro' Neumann2-1/+3