pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-cryptkit



Module Name:    pkgsrc
Committed By:   wiedi
Date:           Thu Dec 15 01:07:31 UTC 2016

Modified Files:
        pkgsrc/security/py-cryptkit: Makefile distinfo
Added Files:
        pkgsrc/security/py-cryptkit/patches: patch-sha256_src_sha2.c

Log Message:
fix up integer types and BYTE_ORDER on SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/security/py-cryptkit/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/py-cryptkit/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/py-cryptkit/patches/patch-sha256_src_sha2.c

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

Modified files:

Index: pkgsrc/security/py-cryptkit/Makefile
diff -u pkgsrc/security/py-cryptkit/Makefile:1.19 pkgsrc/security/py-cryptkit/Makefile:1.20
--- pkgsrc/security/py-cryptkit/Makefile:1.19   Sat Jul  9 13:04:04 2016
+++ pkgsrc/security/py-cryptkit/Makefile        Thu Dec 15 01:07:30 2016
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2016/07/09 13:04:04 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2016/12/15 01:07:30 wiedi Exp $
 
 DISTNAME=      cryptkit-0.9
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=cryptkit/}
 
@@ -12,5 +12,7 @@ COMMENT=      Python Cryptographic Toolkit
 
 PYTHON_VERSIONS_INCOMPATIBLE=  34 35 # not yet ported as of 0.9
 
+CPPFLAGS.SunOS+=       -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
+
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/py-cryptkit/distinfo
diff -u pkgsrc/security/py-cryptkit/distinfo:1.3 pkgsrc/security/py-cryptkit/distinfo:1.4
--- pkgsrc/security/py-cryptkit/distinfo:1.3    Wed Nov  4 01:18:03 2015
+++ pkgsrc/security/py-cryptkit/distinfo        Thu Dec 15 01:07:30 2016
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 01:18:03 agc Exp $
+$NetBSD: distinfo,v 1.4 2016/12/15 01:07:30 wiedi Exp $
 
 SHA1 (cryptkit-0.9.tar.gz) = b423a938ddf55e42ffb7bafcc034f151e9b57973
 RMD160 (cryptkit-0.9.tar.gz) = 9cf32689e4644b6d4dab24e6ddb17167563f1b58
 SHA512 (cryptkit-0.9.tar.gz) = 9d4e4eb5a68406061661d04d230dfbb4bd6cb05a1e16c3ec5c85bc9a4cec0d676f9c16de2b7775762a134652bc9eb9abaa626a808f8441d6a6fbe3d7cf270514
 Size (cryptkit-0.9.tar.gz) = 103627 bytes
+SHA1 (patch-sha256_src_sha2.c) = d8c517be3de78ff1c815f413c331e791d9c40fbf

Added files:

Index: pkgsrc/security/py-cryptkit/patches/patch-sha256_src_sha2.c
diff -u /dev/null pkgsrc/security/py-cryptkit/patches/patch-sha256_src_sha2.c:1.1
--- /dev/null   Thu Dec 15 01:07:31 2016
+++ pkgsrc/security/py-cryptkit/patches/patch-sha256_src_sha2.c Thu Dec 15 01:07:30 2016
@@ -0,0 +1,16 @@
+$NetBSD: patch-sha256_src_sha2.c,v 1.1 2016/12/15 01:07:30 wiedi Exp $
+
+need endian.h on SunOS for BYTE_ORDER
+
+--- sha256/src/sha2.c.orig     2001-11-29 15:56:49.000000000 +0000
++++ sha256/src/sha2.c
+@@ -36,6 +36,9 @@
+  *
+  */
+ 
++#if defined(__sun)
++#include <endian.h>
++#endif
+ 
+ #include <string.h>   /* memcpy()/memset() or bcopy()/bzero() */
+ #include <assert.h>   /* assert() */



Home | Main Index | Thread Index | Old Index