1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

sysutils/password-store: remove warning about dev/shm

PR:	273450
This commit is contained in:
Piotr Kubaj 2023-08-30 23:09:49 +00:00
parent 605a2983f2
commit b2d250b838
2 changed files with 18 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= password-store
PORTVERSION= 1.7.4
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= https://git.zx2c4.com/${PORTNAME}/snapshot/

View File

@ -0,0 +1,17 @@
--- src/password-store.sh.orig 2023-08-30 23:03:53 UTC
+++ src/password-store.sh
@@ -225,14 +225,6 @@ tmpdir() {
}
trap remove_tmpfile EXIT
else
- [[ $warn -eq 1 ]] && yesno "$(cat <<-_EOF
- Your system does not have /dev/shm, which means that it may
- be difficult to entirely erase the temporary non-encrypted
- password file after editing.
-
- Are you sure you would like to continue?
- _EOF
- )"
SECURE_TMPDIR="$(mktemp -d "${TMPDIR:-/tmp}/$template")"
shred_tmpfile() {
find "$SECURE_TMPDIR" -type f -exec $SHRED {} +