Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/lua-bcrypt lua-bcrypt: (untested) SunOS support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b47d34ebfbb6
branches:  trunk
changeset: 435248:b47d34ebfbb6
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jul 02 20:09:03 2020 +0000

description:
lua-bcrypt: (untested) SunOS support

diffstat:

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

diffs (42 lines):

diff -r 0e2e6fc2febe -r b47d34ebfbb6 security/lua-bcrypt/distinfo
--- a/security/lua-bcrypt/distinfo      Thu Jul 02 20:07:28 2020 +0000
+++ b/security/lua-bcrypt/distinfo      Thu Jul 02 20:09:03 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/07/02 17:59:02 nia Exp $
+$NetBSD: distinfo,v 1.2 2020/07/02 20:09:03 nia Exp $
 
 SHA1 (lua-bcrypt-2.1.5.tar.gz) = 367bc2dd4b48dd428eec12ac224ea6ff8fc193ad
 RMD160 (lua-bcrypt-2.1.5.tar.gz) = 2a76e963638eff00e2b3c60974d6375f09dff9e3
 SHA512 (lua-bcrypt-2.1.5.tar.gz) = 0cc418a67a1eb66091665a7e9cf0a1fa65a8faae4d22e5a92f9d724a346326ab92b14e6f4d6fe46cfb8ec00bbe8b876020e754bcb4dff368a6b17e5a9eada8ef
 Size (lua-bcrypt-2.1.5.tar.gz) = 37369 bytes
-SHA1 (patch-Makefile.mess) = 0c1774023b6fbe91095c62d8c18fe1f462a811bb
+SHA1 (patch-Makefile.mess) = 721c7be12cbf533fc57ca9bd2ccfa98d656d4478
diff -r 0e2e6fc2febe -r b47d34ebfbb6 security/lua-bcrypt/patches/patch-Makefile.mess
--- a/security/lua-bcrypt/patches/patch-Makefile.mess   Thu Jul 02 20:07:28 2020 +0000
+++ b/security/lua-bcrypt/patches/patch-Makefile.mess   Thu Jul 02 20:09:03 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-Makefile.mess,v 1.1 2020/07/02 17:59:02 nia Exp $
+$NetBSD: patch-Makefile.mess,v 1.2 2020/07/02 20:09:03 nia Exp $
 
-Just use libc strlcpy and arc4random on NetBSD.
+- Just use libc strlcpy and arc4random on NetBSD.
+- Support SunOS.
 
 --- Makefile.mess.orig 2020-05-20 07:20:53.000000000 +0000
 +++ Makefile.mess
@@ -18,3 +19,15 @@
  
        ifeq ($(uname),Linux)
                SRCS += compat/sha/sha512.c
+@@ -37,6 +40,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