Date: Wed, 30 Aug 2023 23:47:21 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b2d250b83800 - main - sysutils/password-store: remove warning about dev/shm Message-ID: <202308302347.37UNlLci071162@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=b2d250b83800d9fec6901b0bb775b279e141bf75 commit b2d250b83800d9fec6901b0bb775b279e141bf75 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-08-30 23:09:49 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-08-30 23:09:49 +0000 sysutils/password-store: remove warning about dev/shm PR: 273450 --- sysutils/password-store/Makefile | 2 +- .../password-store/files/patch-src_password-store.sh | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/sysutils/password-store/Makefile b/sysutils/password-store/Makefile index 98452db81175..10a6be989acc 100644 --- a/sysutils/password-store/Makefile +++ b/sysutils/password-store/Makefile @@ -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/ diff --git a/sysutils/password-store/files/patch-src_password-store.sh b/sysutils/password-store/files/patch-src_password-store.sh new file mode 100644 index 000000000000..85cea048407e --- /dev/null +++ b/sysutils/password-store/files/patch-src_password-store.sh @@ -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 {} +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308302347.37UNlLci071162>