pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/bglibs



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sun Dec 18 21:39:58 UTC 2016

Modified Files:
        pkgsrc/devel/bglibs: Makefile distinfo
Added Files:
        pkgsrc/devel/bglibs/patches: patch-crypto_hmac-md5.c
            patch-crypto_hmac-sha1.c patch-crypto_hmac-sha256.c
            patch-crypto_hmac-sha384.c patch-crypto_hmac-sha512.c
            patch-crypto_hmac.c patch-crypto_hmac.h

Log Message:
Rename hmac to bghmac. Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/bglibs/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/bglibs/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/bglibs/patches/patch-crypto_hmac-md5.c \
    pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha1.c \
    pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha256.c \
    pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha384.c \
    pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha512.c \
    pkgsrc/devel/bglibs/patches/patch-crypto_hmac.c \
    pkgsrc/devel/bglibs/patches/patch-crypto_hmac.h

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

Modified files:

Index: pkgsrc/devel/bglibs/Makefile
diff -u pkgsrc/devel/bglibs/Makefile:1.29 pkgsrc/devel/bglibs/Makefile:1.30
--- pkgsrc/devel/bglibs/Makefile:1.29   Sat Jul  9 06:38:05 2016
+++ pkgsrc/devel/bglibs/Makefile        Sun Dec 18 21:39:58 2016
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.29 2016/07/09 06:38:05 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2016/12/18 21:39:58 joerg Exp $
 #
 
 DISTNAME=              bglibs-1.106
-PKGREVISION=           5
+PKGREVISION=           6
 CATEGORIES=            devel
 MASTER_SITES=          ${HOMEPAGE}
 

Index: pkgsrc/devel/bglibs/distinfo
diff -u pkgsrc/devel/bglibs/distinfo:1.24 pkgsrc/devel/bglibs/distinfo:1.25
--- pkgsrc/devel/bglibs/distinfo:1.24   Tue Nov  3 03:27:16 2015
+++ pkgsrc/devel/bglibs/distinfo        Sun Dec 18 21:39:58 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2015/11/03 03:27:16 agc Exp $
+$NetBSD: distinfo,v 1.25 2016/12/18 21:39:58 joerg Exp $
 
 SHA1 (bglibs-1.106.tar.gz) = 5f1914299c0f91a3d5c83bf6c8c1d0b824ffe624
 RMD160 (bglibs-1.106.tar.gz) = d3ac009a0b9196701ff90b6cddbd58596ab480a9
@@ -6,3 +6,10 @@ SHA512 (bglibs-1.106.tar.gz) = c1ae4bb99
 Size (bglibs-1.106.tar.gz) = 481564 bytes
 SHA1 (patch-ab) = c23a0d4b20bd485a599ba445f6957f10190bdfa2
 SHA1 (patch-ac) = 1b75516a494dbc0c7943bc89b2eaf2f9668048fd
+SHA1 (patch-crypto_hmac-md5.c) = 1982dfb84b42f0e2b3aa7a59664de7694dd65038
+SHA1 (patch-crypto_hmac-sha1.c) = aebb2be7721a38bd1c15fde32831ae6966b8b705
+SHA1 (patch-crypto_hmac-sha256.c) = 578e1c36527d463a8fcca86c32604b0fe94b6b81
+SHA1 (patch-crypto_hmac-sha384.c) = 1ed746c62fcf717d4b2978f55b78f6bec781e077
+SHA1 (patch-crypto_hmac-sha512.c) = 0fddbb7d34dd66197c72c61fe21da8eabb9bc267
+SHA1 (patch-crypto_hmac.c) = 65c1f526d3d73734fc431210088ce4f26a42b313
+SHA1 (patch-crypto_hmac.h) = 1ae05a3160859069160ff1a17a7ae460b622fa12

Added files:

Index: pkgsrc/devel/bglibs/patches/patch-crypto_hmac-md5.c
diff -u /dev/null pkgsrc/devel/bglibs/patches/patch-crypto_hmac-md5.c:1.1
--- /dev/null   Sun Dec 18 21:39:58 2016
+++ pkgsrc/devel/bglibs/patches/patch-crypto_hmac-md5.c Sun Dec 18 21:39:58 2016
@@ -0,0 +1,13 @@
+$NetBSD: patch-crypto_hmac-md5.c,v 1.1 2016/12/18 21:39:58 joerg Exp $
+
+--- crypto/hmac-md5.c.orig     2016-12-18 09:59:13.731995800 +0000
++++ crypto/hmac-md5.c
+@@ -65,7 +65,7 @@ static void HMACTest(const char* key, co
+   const str data_str = { (char*)data, strlen(data), 0 };
+   unsigned char digest[128/8];
+   unsigned i;
+-  hmac(&hmac_md5, &key_str, &data_str, digest);
++  bghmac(&hmac_md5, &key_str, &data_str, digest);
+   printf("HMAC (%d,%d) = ", key_str.len, data_str.len);
+   for (i = 0; i < sizeof digest; ++i) printf("%02x", digest[i]);
+   printf("\n");
Index: pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha1.c
diff -u /dev/null pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha1.c:1.1
--- /dev/null   Sun Dec 18 21:39:58 2016
+++ pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha1.c        Sun Dec 18 21:39:58 2016
@@ -0,0 +1,13 @@
+$NetBSD: patch-crypto_hmac-sha1.c,v 1.1 2016/12/18 21:39:58 joerg Exp $
+
+--- crypto/hmac-sha1.c.orig    2016-12-18 09:59:10.547412663 +0000
++++ crypto/hmac-sha1.c
+@@ -49,7 +49,7 @@ static void test_hmac(const char* key, c
+   const str data_str = { (char*)data, strlen(data), 0 };
+   unsigned char digest[SHA1_DIGEST_LENGTH];
+   unsigned i;
+-  hmac(&hmac_sha1, &key_str, &data_str, digest);
++  bghmac(&hmac_sha1, &key_str, &data_str, digest);
+   for (i = 0; i < sizeof digest; ++i)
+     obuf_putXw(&outbuf, digest[i], 2, '0');
+   NL();
Index: pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha256.c
diff -u /dev/null pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha256.c:1.1
--- /dev/null   Sun Dec 18 21:39:58 2016
+++ pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha256.c      Sun Dec 18 21:39:58 2016
@@ -0,0 +1,13 @@
+$NetBSD: patch-crypto_hmac-sha256.c,v 1.1 2016/12/18 21:39:58 joerg Exp $
+
+--- crypto/hmac-sha256.c.orig  2016-12-18 09:59:08.038143186 +0000
++++ crypto/hmac-sha256.c
+@@ -45,7 +45,7 @@ static void test_hmac(const char* key, c
+   const str data_str = { (char*)data, strlen(data), 0 };
+   unsigned char digest[SHA256_DIGEST_LENGTH];
+   unsigned i;
+-  hmac(&hmac_sha256, &key_str, &data_str, digest);
++  bghmac(&hmac_sha256, &key_str, &data_str, digest);
+   for (i = 0; i < sizeof digest; ++i)
+     obuf_putxw(&outbuf, digest[i], 2, '0');
+   obuf_endl(&outbuf);
Index: pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha384.c
diff -u /dev/null pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha384.c:1.1
--- /dev/null   Sun Dec 18 21:39:58 2016
+++ pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha384.c      Sun Dec 18 21:39:58 2016
@@ -0,0 +1,13 @@
+$NetBSD: patch-crypto_hmac-sha384.c,v 1.1 2016/12/18 21:39:58 joerg Exp $
+
+--- crypto/hmac-sha384.c.orig  2016-12-18 09:59:03.209209425 +0000
++++ crypto/hmac-sha384.c
+@@ -46,7 +46,7 @@ static void test_hmac(const char* key, c
+   const str data_str = { (char*)data, strlen(data), 0 };
+   unsigned char digest[SHA384_DIGEST_LENGTH];
+   unsigned i;
+-  hmac(&hmac_sha384, &key_str, &data_str, digest);
++  bghmac(&hmac_sha384, &key_str, &data_str, digest);
+   for (i = 0; i < sizeof digest; ++i)
+     obuf_putxw(&outbuf, digest[i], 2, '0');
+   obuf_endl(&outbuf);
Index: pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha512.c
diff -u /dev/null pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha512.c:1.1
--- /dev/null   Sun Dec 18 21:39:58 2016
+++ pkgsrc/devel/bglibs/patches/patch-crypto_hmac-sha512.c      Sun Dec 18 21:39:58 2016
@@ -0,0 +1,13 @@
+$NetBSD: patch-crypto_hmac-sha512.c,v 1.1 2016/12/18 21:39:58 joerg Exp $
+
+--- crypto/hmac-sha512.c.orig  2016-12-18 09:59:00.448666869 +0000
++++ crypto/hmac-sha512.c
+@@ -46,7 +46,7 @@ static void test_hmac(const char* key, c
+   const str data_str = { (char*)data, strlen(data), 0 };
+   unsigned char digest[SHA512_DIGEST_LENGTH];
+   unsigned i;
+-  hmac(&hmac_sha512, &key_str, &data_str, digest);
++  bghmac(&hmac_sha512, &key_str, &data_str, digest);
+   for (i = 0; i < sizeof digest; ++i)
+     obuf_putxw(&outbuf, digest[i], 2, '0');
+   obuf_endl(&outbuf);
Index: pkgsrc/devel/bglibs/patches/patch-crypto_hmac.c
diff -u /dev/null pkgsrc/devel/bglibs/patches/patch-crypto_hmac.c:1.1
--- /dev/null   Sun Dec 18 21:39:58 2016
+++ pkgsrc/devel/bglibs/patches/patch-crypto_hmac.c     Sun Dec 18 21:39:58 2016
@@ -0,0 +1,13 @@
+$NetBSD: patch-crypto_hmac.c,v 1.1 2016/12/18 21:39:58 joerg Exp $
+
+--- crypto/hmac.c.orig 2016-12-18 09:58:18.626636990 +0000
++++ crypto/hmac.c
+@@ -101,7 +101,7 @@ void hmac_finish(const struct hmac_contr
+  * Authentication) according to RFC 2104, using a secure hash given in
+  * the control block.
+  */
+-void hmac(const struct hmac_control_block* hcb,
++void bghmac(const struct hmac_control_block* hcb,
+         const str* secret,
+         const str* nonce,
+         void* output)
Index: pkgsrc/devel/bglibs/patches/patch-crypto_hmac.h
diff -u /dev/null pkgsrc/devel/bglibs/patches/patch-crypto_hmac.h:1.1
--- /dev/null   Sun Dec 18 21:39:58 2016
+++ pkgsrc/devel/bglibs/patches/patch-crypto_hmac.h     Sun Dec 18 21:39:58 2016
@@ -0,0 +1,18 @@
+$NetBSD: patch-crypto_hmac.h,v 1.1 2016/12/18 21:39:58 joerg Exp $
+
+--- crypto/hmac.h.orig 2016-12-18 10:43:45.246910135 +0000
++++ crypto/hmac.h
+@@ -34,9 +34,9 @@ extern void hmac_finish(const struct hma
+                       const void* midstate,
+                       const struct str* nonce,
+                       void* outout);
+-extern void hmac(const struct hmac_control_block* hcb,
+-               const struct str* secret,
+-               const struct str* nonce,
+-               void* output);
++extern void bghmac(const struct hmac_control_block* hcb,
++                 const struct str* secret,
++                 const struct str* nonce,
++                 void* output);
+ 
+ #endif



Home | Main Index | Thread Index | Old Index