summaryrefslogtreecommitdiff
path: root/security/sign
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2015-07-25 18:15:13 +0000
committerbsiegert <bsiegert@pkgsrc.org>2015-07-25 18:15:13 +0000
commit50131d1f8133e479389193df9dcd1281ab5e0cf7 (patch)
tree6184122c3004e83fa82d2ec23bb3ecfacdb1647f /security/sign
parent47dbf4b3436dfd88a65b36b586671fe447c0e60f (diff)
downloadpkgsrc-50131d1f8133e479389193df9dcd1281ab5e0cf7.tar.gz
Update sign to 1.0.7. From Ben Gergely via mail to pkgsrc-users.
* fixed 'test' (-t) mode (kudos to Kai for noticing) * fixed a bug in error message formatting when the original file extension cannot be guessed (--verify mode) * fixed a bug in key fingerprint formatting routine * added missing buffer range check in buf_parse_bignum()
Diffstat (limited to 'security/sign')
-rw-r--r--security/sign/Makefile12
-rw-r--r--security/sign/distinfo9
-rw-r--r--security/sign/patches/patch-aa22
3 files changed, 11 insertions, 32 deletions
diff --git a/security/sign/Makefile b/security/sign/Makefile
index bc30c2d5e61..e889e0d7052 100644
--- a/security/sign/Makefile
+++ b/security/sign/Makefile
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.15 2014/02/12 23:18:37 tron Exp $
-#
+# $NetBSD: Makefile,v 1.16 2015/07/25 18:15:13 bsiegert Exp $
-DISTNAME= sign-1.0.4
-PKGREVISION= 6
+GITHUB_PROJECT= sign
+GITHUB_TAG= 1.0.7
+DISTNAME= ${GITHUB_TAG}
+PKGNAME= sign-${DISTNAME}
CATEGORIES= security
-MASTER_SITES= http://swapped.cc/sign/files/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=apankrat/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://swapped.cc/sign/
COMMENT= File signing and signature verification utility
+LICENSE= openssl AND 2-clause-bsd
USE_TOOLS+= gmake
diff --git a/security/sign/distinfo b/security/sign/distinfo
index f4d1fcd0535..e14ed5896a3 100644
--- a/security/sign/distinfo
+++ b/security/sign/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2006/01/20 00:21:27 joerg Exp $
+$NetBSD: distinfo,v 1.4 2015/07/25 18:15:13 bsiegert Exp $
-SHA1 (sign-1.0.4.tar.gz) = 33bd6f6cc19c429ea90ca63206e5c5afb93e0a11
-RMD160 (sign-1.0.4.tar.gz) = c831f54538d0c21527a30546c919c3b68810cd0d
-Size (sign-1.0.4.tar.gz) = 28403 bytes
-SHA1 (patch-aa) = a3c15f38430119ec65f811df18778298e216a6e2
+SHA1 (1.0.7.tar.gz) = 72694313d2d22a5f6f8c3094d817d7004b92221d
+RMD160 (1.0.7.tar.gz) = 22aadfdaac2a06cab1fb51832d5ac53ec99feffc
+Size (1.0.7.tar.gz) = 28922 bytes
diff --git a/security/sign/patches/patch-aa b/security/sign/patches/patch-aa
deleted file mode 100644
index 1bbbdf2b993..00000000000
--- a/security/sign/patches/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2006/01/20 00:21:27 joerg Exp $
-
---- src/pki.c.orig 2006-01-20 00:13:14.000000000 +0000
-+++ src/pki.c
-@@ -285,10 +285,17 @@ prikey_t * prikey_parse_pem(const buf_t
- break;
-
- /* if it's not a decryption problem - bail out */
-+#if OPENSSL_VERSION_NUMBER >= 0x00908000L
-+ if (ERR_get_error() != ERR_PACK(ERR_LIB_EVP,
-+ EVP_F_EVP_DECRYPTFINAL_EX,
-+ EVP_R_BAD_DECRYPT))
-+ goto cleanup;
-+#else
- if (ERR_get_error() != ERR_PACK(ERR_LIB_EVP,
- EVP_F_EVP_DECRYPTFINAL,
- EVP_R_BAD_DECRYPT))
- goto cleanup;
-+#endif
-
- /* rewind bio stuff */
- mem = (BUF_MEM*)bio->ptr;