Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/password-store password-store: shell portabil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea7b9bc40add
branches:  trunk
changeset: 437168:ea7b9bc40add
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Aug 18 02:12:43 2020 +0000

description:
password-store: shell portability. Bump.

diffstat:

 security/password-store/Makefile                            |   4 +-
 security/password-store/distinfo                            |   3 +-
 security/password-store/patches/patch-man_example-filter.sh |  24 +++++++++++++
 3 files changed, 28 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r 6ca107b63159 -r ea7b9bc40add security/password-store/Makefile
--- a/security/password-store/Makefile  Tue Aug 18 02:06:38 2020 +0000
+++ b/security/password-store/Makefile  Tue Aug 18 02:12:43 2020 +0000
@@ -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 -r 6ca107b63159 -r ea7b9bc40add security/password-store/distinfo
--- a/security/password-store/distinfo  Tue Aug 18 02:06:38 2020 +0000
+++ b/security/password-store/distinfo  Tue Aug 18 02:12:43 2020 +0000
@@ -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 -r 6ca107b63159 -r ea7b9bc40add security/password-store/patches/patch-man_example-filter.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/password-store/patches/patch-man_example-filter.sh       Tue Aug 18 02:12:43 2020 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index