diff options
author | tnn <tnn@pkgsrc.org> | 2020-08-18 02:12:43 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2020-08-18 02:12:43 +0000 |
commit | 7b394413ec4ca909246097df01790be7c8481834 (patch) | |
tree | eff1fd71d57272d3ea0b484306486704a9897d4e /security | |
parent | 90879d3a3e3ced513a1f11161fa2578118f48e55 (diff) | |
download | pkgsrc-7b394413ec4ca909246097df01790be7c8481834.tar.gz |
password-store: shell portability. Bump.
Diffstat (limited to 'security')
-rw-r--r-- | security/password-store/Makefile | 4 | ||||
-rw-r--r-- | security/password-store/distinfo | 3 | ||||
-rw-r--r-- | security/password-store/patches/patch-man_example-filter.sh | 24 |
3 files changed, 28 insertions, 3 deletions
diff --git a/security/password-store/Makefile b/security/password-store/Makefile index 535d677e96f..fa9d7d9a78b 100644 --- a/security/password-store/Makefile +++ b/security/password-store/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2020/01/27 12:56:38 pho Exp $ +# $NetBSD: Makefile,v 1.13 2020/08/18 02:12:43 tnn Exp $ DISTNAME= password-store-1.7.3 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= security MASTER_SITES= http://git.zx2c4.com/password-store/snapshot/ EXTRACT_SUFX= .tar.xz diff --git a/security/password-store/distinfo b/security/password-store/distinfo index 4d036ed6739..3715b67dc1d 100644 --- a/security/password-store/distinfo +++ b/security/password-store/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.7 2018/09/19 09:45:18 leot Exp $ +$NetBSD: distinfo,v 1.8 2020/08/18 02:12:43 tnn Exp $ SHA1 (password-store-1.7.3.tar.xz) = 20c5442b55ae6b3b083155defc3f63b267bcaadd RMD160 (password-store-1.7.3.tar.xz) = 9ad833769402003dffd9922e53571dc7baf6ff9a SHA512 (password-store-1.7.3.tar.xz) = 89755a7b02f05d75055a9fc14fd3f456c0a49ec31bdffd097a027f91228c64a98b18c1e80017aeda811773ae3287ff1b9737532da8ded06799d8fe3979ca06f7 Size (password-store-1.7.3.tar.xz) = 63416 bytes +SHA1 (patch-man_example-filter.sh) = 75d5c1320a19d3e1b617266c8a9359e1c0dca3cf SHA1 (patch-src_password-store.sh) = 765a0c6eee25b924d370122426fd7491dd22b2ea diff --git a/security/password-store/patches/patch-man_example-filter.sh b/security/password-store/patches/patch-man_example-filter.sh new file mode 100644 index 00000000000..cd1ae319e1f --- /dev/null +++ b/security/password-store/patches/patch-man_example-filter.sh @@ -0,0 +1,24 @@ +$NetBSD: patch-man_example-filter.sh,v 1.1 2020/08/18 02:12:44 tnn Exp $ + +Shell portability. + +--- man/example-filter.sh.orig 2018-08-03 03:32:48.000000000 +0000 ++++ man/example-filter.sh +@@ -4,14 +4,14 @@ + + while read line; do + echo "$line" | while read -n 1 char; do +- if [[ $char == "%" ]]; then ++ if [ $char = "%" ]; then + echo -n '%' + continue + fi + ord=$(printf '%d' "'$char") +- if [[ $ord -eq 0 ]]; then ++ if [ $ord -eq 0 ]; then + printf ' ' +- elif [[ $ord -gt 127 ]]; then ++ elif [ $ord -gt 127 ]; then + printf '\[u%X]' "'$char" + else + printf "$char" |