pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/lua-bcrypt



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul  2 20:09:03 UTC 2020

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/lua-bcrypt/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/security/lua-bcrypt/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-bcrypt/distinfo
diff -u pkgsrc/security/lua-bcrypt/distinfo:1.1 pkgsrc/security/lua-bcrypt/distinfo:1.2
--- pkgsrc/security/lua-bcrypt/distinfo:1.1     Thu Jul  2 17:59:02 2020
+++ pkgsrc/security/lua-bcrypt/distinfo Thu Jul  2 20:09:03 2020
@@ -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

Index: pkgsrc/security/lua-bcrypt/patches/patch-Makefile.mess
diff -u pkgsrc/security/lua-bcrypt/patches/patch-Makefile.mess:1.1 pkgsrc/security/lua-bcrypt/patches/patch-Makefile.mess:1.2
--- pkgsrc/security/lua-bcrypt/patches/patch-Makefile.mess:1.1  Thu Jul  2 17:59:02 2020
+++ pkgsrc/security/lua-bcrypt/patches/patch-Makefile.mess      Thu Jul  2 20:09:03 2020
@@ -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 @@ Just use libc strlcpy and arc4random on 
  
        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