diff options
author | nia <nia@pkgsrc.org> | 2020-07-02 20:07:28 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-07-02 20:07:28 +0000 |
commit | 9a4ea2ef3c47eb6bca145b4f1018773c3e1108f9 (patch) | |
tree | 8d086790b4378ec44ccc022b8703ececc53e4f43 /security | |
parent | a652aba9090ec458aaece7cacff28a41357c6f6c (diff) | |
download | pkgsrc-9a4ea2ef3c47eb6bca145b4f1018773c3e1108f9.tar.gz |
lua-arc4random: (untested) SunOS support
Diffstat (limited to 'security')
-rw-r--r-- | security/lua-arc4random/distinfo | 4 | ||||
-rw-r--r-- | security/lua-arc4random/patches/patch-Makefile.mess | 17 |
2 files changed, 17 insertions, 4 deletions
diff --git a/security/lua-arc4random/distinfo b/security/lua-arc4random/distinfo index 0751f8313cb..a4a725b90a5 100644 --- a/security/lua-arc4random/distinfo +++ b/security/lua-arc4random/distinfo @@ -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 --git a/security/lua-arc4random/patches/patch-Makefile.mess b/security/lua-arc4random/patches/patch-Makefile.mess index ac28b3ffcab..13ab91ec188 100644 --- a/security/lua-arc4random/patches/patch-Makefile.mess +++ b/security/lua-arc4random/patches/patch-Makefile.mess @@ -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 |