Fix mtypo in tmpfs->mfs moutpoint check

from Gregoire Jadi (maintainer)
This commit is contained in:
jca 2018-06-03 15:39:24 +00:00
parent 8662a203e8
commit f0a8510da6
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.2 2018/06/01 11:50:17 jca Exp $
# $OpenBSD: Makefile,v 1.3 2018/06/03 15:39:24 jca Exp $
COMMENT = manage and share secrets using GnuPG and Git
DISTNAME = keyringer-0.5.3
REVISION = 0
CATEGORIES = security

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-lib_keyringer_functions,v 1.2 2018/06/01 11:50:17 jca Exp $
$OpenBSD: patch-lib_keyringer_functions,v 1.3 2018/06/03 15:39:24 jca Exp $
- no mount -l/tmpfs in OpenBSD
- use gpg2, upstream seems to rely on gpg being gpg2
@ -11,7 +11,7 @@ Index: lib/keyringer/functions
# Ramdisk check
mount="`df "$path" | sed -n '$p' | awk '{ print $NF }'`"
- mount -l -t tmpfs | awk '{ print $3 }' | grep -q -e "^$mount$"
+ mount -t mpfs | awk '{ print $3 }' | grep -q -e "^$mount$"
+ mount -t mfs | awk '{ print $3 }' | grep -q -e "^$mount$"
}
# Setup a temporary file