pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/keychain



Module Name:    pkgsrc
Committed By:   roy
Date:           Sun Jan 21 16:03:29 UTC 2018

Modified Files:
        pkgsrc/security/keychain: Makefile distinfo
Added Files:
        pkgsrc/security/keychain/patches: patch-keychain

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


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/security/keychain/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/security/keychain/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/security/keychain/patches/patch-keychain

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/keychain/Makefile
diff -u pkgsrc/security/keychain/Makefile:1.37 pkgsrc/security/keychain/Makefile:1.38
--- pkgsrc/security/keychain/Makefile:1.37      Mon Nov  6 13:27:21 2017
+++ pkgsrc/security/keychain/Makefile   Sun Jan 21 16:03:29 2018
@@ -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 @@ LICENSE=     gnu-gpl-v2
 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:

Index: pkgsrc/security/keychain/distinfo
diff -u pkgsrc/security/keychain/distinfo:1.21 pkgsrc/security/keychain/distinfo:1.22
--- pkgsrc/security/keychain/distinfo:1.21      Tue Sep 20 12:36:09 2016
+++ pkgsrc/security/keychain/distinfo   Sun Jan 21 16:03:29 2018
@@ -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

Added files:

Index: pkgsrc/security/keychain/patches/patch-keychain
diff -u /dev/null pkgsrc/security/keychain/patches/patch-keychain:1.3
--- /dev/null   Sun Jan 21 16:03:29 2018
+++ pkgsrc/security/keychain/patches/patch-keychain     Sun Jan 21 16:03:29 2018
@@ -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