pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/ruby-bcrypt_pbkdf security/ruby-bcrypt_pbkdf:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c01b3100d22
branches:  trunk
changeset: 314137:7c01b3100d22
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Oct 19 17:03:10 2018 +0000

description:
security/ruby-bcrypt_pbkdf: Add u_int*_t compat.

diffstat:

 security/ruby-bcrypt_pbkdf/distinfo                    |   3 +-
 security/ruby-bcrypt_pbkdf/patches/patch-ext_mri_blf.h |  23 ++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 73dca8158731 -r 7c01b3100d22 security/ruby-bcrypt_pbkdf/distinfo
--- a/security/ruby-bcrypt_pbkdf/distinfo       Fri Oct 19 16:49:58 2018 +0000
+++ b/security/ruby-bcrypt_pbkdf/distinfo       Fri Oct 19 17:03:10 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/10/16 17:04:11 minskim Exp $
+$NetBSD: distinfo,v 1.2 2018/10/19 17:03:10 jperkin Exp $
 
 SHA1 (bcrypt_pbkdf-1.0.0.gem) = 224ee06a25e7a2f1ca02c59c76be8d9405464ff7
 RMD160 (bcrypt_pbkdf-1.0.0.gem) = 3cd26326a2b6ae2c7d3f0fe486576e24e071ba56
 SHA512 (bcrypt_pbkdf-1.0.0.gem) = b582407617633f5277cde9251ed1fd2ca408ae8bd19cc73f107d7932bed38061dc0099d3033ff5def1b586507392c33d8c50815fb156322f0dd08fbbe4a8e967
 Size (bcrypt_pbkdf-1.0.0.gem) = 24576 bytes
+SHA1 (patch-ext_mri_blf.h) = add75b3700ea21554a739a544e9085fc131f7fda
diff -r 73dca8158731 -r 7c01b3100d22 security/ruby-bcrypt_pbkdf/patches/patch-ext_mri_blf.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ruby-bcrypt_pbkdf/patches/patch-ext_mri_blf.h    Fri Oct 19 17:03:10 2018 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-ext_mri_blf.h,v 1.1 2018/10/19 17:03:10 jperkin Exp $
+
+u_int*_t compat.
+
+--- ext/mri/blf.h.orig 2018-10-19 17:00:01.930246543 +0000
++++ ext/mri/blf.h
+@@ -49,6 +49,16 @@
+ #define BLF_MAXKEYLEN ((BLF_N-2)*4)   /* 448 bits */
+ #define BLF_MAXUTILIZED ((BLF_N+2)*4) /* 576 bits */
+ 
++#ifndef u_int8_t
++#define u_int8_t      uint8_t
++#endif
++#ifndef u_int16_t
++#define u_int16_t     uint16_t
++#endif
++#ifndef u_int32_t
++#define u_int32_t     uint32_t
++#endif
++
+ /* Blowfish context */
+ typedef struct BlowfishContext {
+       u_int32_t S[4][256];    /* S-Boxes */



Home | Main Index | Thread Index | Old Index