pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/lua-arc4random



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul  2 20:07:29 UTC 2020

Modified Files:
        pkgsrc/security/lua-arc4random: distinfo
        pkgsrc/security/lua-arc4random/patches: patch-Makefile.mess

Log Message:
lua-arc4random: (untested) SunOS support


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/lua-arc4random/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/security/lua-arc4random/patches/patch-Makefile.mess

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

Modified files:

Index: pkgsrc/security/lua-arc4random/distinfo
diff -u pkgsrc/security/lua-arc4random/distinfo:1.1 pkgsrc/security/lua-arc4random/distinfo:1.2
--- pkgsrc/security/lua-arc4random/distinfo:1.1 Thu Jul  2 17:46:26 2020
+++ pkgsrc/security/lua-arc4random/distinfo     Thu Jul  2 20:07:28 2020
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/07/02 17:46:26 nia Exp $
+$NetBSD: distinfo,v 1.2 2020/07/02 20:07:28 nia Exp $
 
 SHA1 (lua-arc4random-1.3.4.tar.gz) = 300c7397ea4bf44dd970fca9eb58c4c04f87e0c9
 RMD160 (lua-arc4random-1.3.4.tar.gz) = c4e42556458ac82cbfccecdcc0791a0509abb726
 SHA512 (lua-arc4random-1.3.4.tar.gz) = 8af54d0b44a823e39a5dfdfef0e8e74883a170cce7bf94a7093734b4a35050b5eada12b14ff17a7c3a8fb0b7849a98e8d542b25b1b4f993fd76919a52c16c87a
 Size (lua-arc4random-1.3.4.tar.gz) = 23194 bytes
-SHA1 (patch-Makefile.mess) = 8571ccd75bb392c0f595f35da53410a1a74d82cc
+SHA1 (patch-Makefile.mess) = d3e93e37e4892549f5a123d4253199669bea67c9

Index: pkgsrc/security/lua-arc4random/patches/patch-Makefile.mess
diff -u pkgsrc/security/lua-arc4random/patches/patch-Makefile.mess:1.1 pkgsrc/security/lua-arc4random/patches/patch-Makefile.mess:1.2
--- pkgsrc/security/lua-arc4random/patches/patch-Makefile.mess:1.1      Thu Jul  2 17:46:26 2020
+++ pkgsrc/security/lua-arc4random/patches/patch-Makefile.mess  Thu Jul  2 20:07:29 2020
@@ -1,6 +1,7 @@
-$NetBSD: patch-Makefile.mess,v 1.1 2020/07/02 17:46:26 nia Exp $
+$NetBSD: patch-Makefile.mess,v 1.2 2020/07/02 20:07:29 nia Exp $
 
-Use libc on NetBSD too.
+- Use libc on NetBSD too.
+- Support SunOS.
 
 --- Makefile.mess.orig 2017-04-13 21:00:05.000000000 +0000
 +++ Makefile.mess
@@ -15,3 +16,15 @@ Use libc on NetBSD too.
        # This is more or less what libressl does
        # See http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/src/lib/libssl/src/crypto/mem_clr.c?rev=1.4&content-type=text/x-cvsweb-markup
        CFLAGS += -DOPENSSL_cleanse=explicit_bzero
+@@ -32,6 +34,11 @@ ifneq ($(uname),OpenBSD)
+               LDFLAGS += -lrt
+       endif
+ 
++      ifeq ($(uname),SunOS)
++              SRCS += compat/sha/sha512.c
++              SRCS += compat/getentropy/getentropy_solaris.c
++      endif
++
+       ifeq ($(uname),Darwin)
+               SRCS += compat/getentropy/getentropy_osx.c
+       endif



Home | Main Index | Thread Index | Old Index