Received: by mail.netbsd.org (Postfix, from userid 605) id B167484DDB; Thu, 2 Jul 2020 17:59:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 36E8C84DDA for ; Thu, 2 Jul 2020 17:59:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 19i0sdP8osd5 for ; Thu, 2 Jul 2020 17:59:02 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8F96884D02 for ; Thu, 2 Jul 2020 17:59:02 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 87871FB28; Thu, 2 Jul 2020 17:59:02 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1593712742129400" MIME-Version: 1.0 Date: Thu, 2 Jul 2020 17:59:02 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/security To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20200702175902.87871FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1593712742129400 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Thu Jul 2 17:59:02 UTC 2020 Modified Files: pkgsrc/security: Makefile Added Files: pkgsrc/security/lua-bcrypt: DESCR Makefile PLIST distinfo pkgsrc/security/lua-bcrypt/patches: patch-Makefile.mess Log Message: security: Add lua-bcrypt Lua wrapper for the bcrypt password hashing function To generate a diff of this commit: cvs rdiff -u -r1.770 -r1.771 pkgsrc/security/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/security/lua-bcrypt/DESCR \ pkgsrc/security/lua-bcrypt/Makefile pkgsrc/security/lua-bcrypt/PLIST \ pkgsrc/security/lua-bcrypt/distinfo cvs rdiff -u -r0 -r1.1 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. --_----------=_1593712742129400 Content-Disposition: inline Content-Length: 3596 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/Makefile diff -u pkgsrc/security/Makefile:1.770 pkgsrc/security/Makefile:1.771 --- pkgsrc/security/Makefile:1.770 Thu Jul 2 17:46:26 2020 +++ pkgsrc/security/Makefile Thu Jul 2 17:59:02 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.770 2020/07/02 17:46:26 nia Exp $ +# $NetBSD: Makefile,v 1.771 2020/07/02 17:59:02 nia Exp $ # COMMENT= Security tools @@ -208,6 +208,7 @@ SUBDIR+= logcheck SUBDIR+= lsh SUBDIR+= lua-arc4random SUBDIR+= lua-argon2 +SUBDIR+= lua-bcrypt SUBDIR+= lua-sec SUBDIR+= lxqt-openssh-askpass SUBDIR+= lxqt-policykit Added files: Index: pkgsrc/security/lua-bcrypt/DESCR diff -u /dev/null pkgsrc/security/lua-bcrypt/DESCR:1.1 --- /dev/null Thu Jul 2 17:59:02 2020 +++ pkgsrc/security/lua-bcrypt/DESCR Thu Jul 2 17:59:02 2020 @@ -0,0 +1 @@ +Lua wrapper for the bcrypt password hashing function Index: pkgsrc/security/lua-bcrypt/Makefile diff -u /dev/null pkgsrc/security/lua-bcrypt/Makefile:1.1 --- /dev/null Thu Jul 2 17:59:02 2020 +++ pkgsrc/security/lua-bcrypt/Makefile Thu Jul 2 17:59:02 2020 @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 2020/07/02 17:59:02 nia Exp $ + +DISTNAME= lua-bcrypt-2.1.5 +PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1} +CATEGORIES= security lua +MASTER_SITES= ${MASTER_SITE_GITHUB:=mikejsavage/} +GITHUB_PROJECT= lua-bcrypt +GITHUB_TAG= v2.1-5 + +MAINTAINER= nia@NetBSD.org +HOMEPAGE= https://github.com/mikejsavage/lua-bcrypt +COMMENT= Lua wrapper for the bcrypt password hashing function +LICENSE= isc + +USE_TOOLS+= gmake + +INSTALLATION_DIRS+= ${LUA_CDIR} + +do-install: + ${INSTALL_LIB} ${WRKSRC}/bcrypt.so ${DESTDIR}${PREFIX}/${LUA_CDIR} + +.include "../../lang/lua/module.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/security/lua-bcrypt/PLIST diff -u /dev/null pkgsrc/security/lua-bcrypt/PLIST:1.1 --- /dev/null Thu Jul 2 17:59:02 2020 +++ pkgsrc/security/lua-bcrypt/PLIST Thu Jul 2 17:59:02 2020 @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2020/07/02 17:59:02 nia Exp $ +${LUA_CDIR}/bcrypt.so Index: pkgsrc/security/lua-bcrypt/distinfo diff -u /dev/null pkgsrc/security/lua-bcrypt/distinfo:1.1 --- /dev/null Thu Jul 2 17:59:02 2020 +++ pkgsrc/security/lua-bcrypt/distinfo Thu Jul 2 17:59:02 2020 @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2020/07/02 17:59:02 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 Index: pkgsrc/security/lua-bcrypt/patches/patch-Makefile.mess diff -u /dev/null pkgsrc/security/lua-bcrypt/patches/patch-Makefile.mess:1.1 --- /dev/null Thu Jul 2 17:59:02 2020 +++ pkgsrc/security/lua-bcrypt/patches/patch-Makefile.mess Thu Jul 2 17:59:02 2020 @@ -0,0 +1,20 @@ +$NetBSD: patch-Makefile.mess,v 1.1 2020/07/02 17:59:02 nia Exp $ + +Just use libc strlcpy and arc4random on NetBSD. + +--- Makefile.mess.orig 2020-05-20 07:20:53.000000000 +0000 ++++ Makefile.mess +@@ -28,8 +28,11 @@ ifneq ($(uname),OpenBSD) + SRCS += compat/safebfuns.c + SRCS += compat/bcrypt/bcrypt.c + SRCS += compat/bcrypt/blowfish.c +- SRCS += compat/arc4random/arc4random.c +- SRCS += compat/strlcpy.c ++ ++ ifneq ($(uname),NetBSD) ++ SRCS += compat/arc4random/arc4random.c ++ SRCS += compat/strlcpy.c ++ endif + + ifeq ($(uname),Linux) + SRCS += compat/sha/sha512.c --_----------=_1593712742129400--