pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/keychain Update to keychain-2.8.4:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10bed4011e03
branches:  trunk
changeset: 374346:10bed4011e03
user:      roy <roy%pkgsrc.org@localhost>
date:      Sun Jan 21 16:03:29 2018 +0000

description:
Update to keychain-2.8.4:
  Uses id instead of whoami for better portability.
  GPG2 support, support for busybox ps and various optimizations.

diffstat:

 security/keychain/Makefile               |   9 ++-------
 security/keychain/distinfo               |  11 ++++++-----
 security/keychain/patches/patch-keychain |  24 ++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 12 deletions(-)

diffs (70 lines):

diff -r e9ac0c8ed3b7 -r 10bed4011e03 security/keychain/Makefile
--- a/security/keychain/Makefile        Sun Jan 21 13:42:26 2018 +0000
+++ b/security/keychain/Makefile        Sun Jan 21 16:03:29 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2017/11/06 13:27:21 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2018/01/21 16:03:29 roy Exp $
 
-DISTNAME=      keychain-2.8.3
-PKGREVISION=   1
+DISTNAME=      keychain-2.8.4
 CATEGORIES=    security
 MASTER_SITES=  https://www.funtoo.org/archive/keychain/
 EXTRACT_SUFX=  .tar.bz2
@@ -15,12 +14,8 @@
 DEPENDS+=      openssh-[0-9]*:../../security/openssh
 .endif
 
-USE_TOOLS+=    bash:run
 NO_BUILD=      yes
 
-# Uses the "local" keyword which is not supported by ksh.
-REPLACE_BASH+= keychain
-
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
 
 do-install:
diff -r e9ac0c8ed3b7 -r 10bed4011e03 security/keychain/distinfo
--- a/security/keychain/distinfo        Sun Jan 21 13:42:26 2018 +0000
+++ b/security/keychain/distinfo        Sun Jan 21 16:03:29 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.21 2016/09/20 12:36:09 mef Exp $
+$NetBSD: distinfo,v 1.22 2018/01/21 16:03:29 roy Exp $
 
-SHA1 (keychain-2.8.3.tar.bz2) = 590a69fb82a70af5d206d8ad84d848fe0b299f3c
-RMD160 (keychain-2.8.3.tar.bz2) = 29befca1c9eba7b18694b5076bc4f828fd31d69b
-SHA512 (keychain-2.8.3.tar.bz2) = f3893383c7ca2bf169c052a9760118fa677669603fad953ca2448aefc3cdda53078ea9f6a865cb31b71c6f30b678b78f600c960f189aeb1a7cb08cd0421ee9e9
-Size (keychain-2.8.3.tar.bz2) = 34170 bytes
+SHA1 (keychain-2.8.4.tar.bz2) = b201a8b51677c472fae61a69b6a150b2734d141e
+RMD160 (keychain-2.8.4.tar.bz2) = a3732750fe075bc29fef35489ebd74e894c27b45
+SHA512 (keychain-2.8.4.tar.bz2) = 9c2ab488d8c35bd1b8ffc432189f07bdb62964a86b5431a118a31a8471417ea85551542d937a774cb44a45803e188a6fc75367adda28cd17c731bf00fc62487f
+Size (keychain-2.8.4.tar.bz2) = 34368 bytes
+SHA1 (patch-keychain) = 78651f65794557486ceb78c3b7413bcf1143330c
diff -r e9ac0c8ed3b7 -r 10bed4011e03 security/keychain/patches/patch-keychain
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/keychain/patches/patch-keychain  Sun Jan 21 16:03:29 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-keychain,v 1.3 2018/01/21 16:03:29 roy Exp $
+
+local is not required by POSIX shells.
+
+--- keychain.orig      2017-11-11 04:54:46.000000000 +0000
++++ keychain
+@@ -357,7 +357,7 @@ lockfile() {
+       # it returns 0. If it fails, it returns 1. This function retuns immediately
+       # and only tries to acquire the lock once.
+ 
+-              local tmpfile="$lockf.$$"
++              tmpfile="$lockf.$$"
+ 
+               echo $$ >"$tmpfile" 2>/dev/null || exit
+               if ln "$tmpfile" "$lockf" 2>/dev/null; then
+@@ -386,7 +386,7 @@ takelock() {
+       # First attempt:
+       lockfile && return 0
+ 
+-      local counter=0
++      counter=0
+       mesg "Waiting $lockwait seconds for lock..."
+       while [ "$counter" -lt "$(( $lockwait * 2 ))" ]
+       do



Home | Main Index | Thread Index | Old Index