Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/lua-arc4random lua-arc4random: (untested) Sun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e2e6fc2febe
branches:  trunk
changeset: 435247:0e2e6fc2febe
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jul 02 20:07:28 2020 +0000

description:
lua-arc4random: (untested) SunOS support

diffstat:

 security/lua-arc4random/distinfo                    |   4 ++--
 security/lua-arc4random/patches/patch-Makefile.mess |  17 +++++++++++++++--
 2 files changed, 17 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r 7d22a8e32c78 -r 0e2e6fc2febe security/lua-arc4random/distinfo
--- a/security/lua-arc4random/distinfo  Thu Jul 02 20:00:36 2020 +0000
+++ b/security/lua-arc4random/distinfo  Thu Jul 02 20:07:28 2020 +0000
@@ -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
diff -r 7d22a8e32c78 -r 0e2e6fc2febe security/lua-arc4random/patches/patch-Makefile.mess
--- a/security/lua-arc4random/patches/patch-Makefile.mess       Thu Jul 02 20:00:36 2020 +0000
+++ b/security/lua-arc4random/patches/patch-Makefile.mess       Thu Jul 02 20:07:28 2020 +0000
@@ -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 @@
        # 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