Received: by mail.netbsd.org (Postfix, from userid 605) id B157384DCC; Thu, 2 Jul 2020 14:02:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 36AF484DC5 for ; Thu, 2 Jul 2020 14:02:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id IcANWxaZIcdg for ; Thu, 2 Jul 2020 14:02:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 96A2E84DC1 for ; Thu, 2 Jul 2020 14:02:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 943E2FB28; Thu, 2 Jul 2020 14:02:36 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1593698556117050" MIME-Version: 1.0 Date: Thu, 2 Jul 2020 14:02:36 +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: <20200702140236.943E2FB28@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. --_----------=_1593698556117050 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Thu Jul 2 14:02:36 UTC 2020 Modified Files: pkgsrc/security: Makefile Added Files: pkgsrc/security/lua-argon2: DESCR Makefile PLIST distinfo pkgsrc/security/lua-argon2/patches: patch-Makefile Log Message: security: Add lua-argon2 Lua C binding for the Argon2 password hashing algorithm To generate a diff of this commit: cvs rdiff -u -r1.768 -r1.769 pkgsrc/security/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/security/lua-argon2/DESCR \ pkgsrc/security/lua-argon2/Makefile pkgsrc/security/lua-argon2/PLIST \ pkgsrc/security/lua-argon2/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/security/lua-argon2/patches/patch-Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1593698556117050 Content-Disposition: inline Content-Length: 3789 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/Makefile diff -u pkgsrc/security/Makefile:1.768 pkgsrc/security/Makefile:1.769 --- pkgsrc/security/Makefile:1.768 Tue Jun 16 10:30:32 2020 +++ pkgsrc/security/Makefile Thu Jul 2 14:02:36 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.768 2020/06/16 10:30:32 nikita Exp $ +# $NetBSD: Makefile,v 1.769 2020/07/02 14:02:36 nia Exp $ # COMMENT= Security tools @@ -206,6 +206,7 @@ SUBDIR+= libyubikey SUBDIR+= log2timeline SUBDIR+= logcheck SUBDIR+= lsh +SUBDIR+= lua-argon2 SUBDIR+= lua-sec SUBDIR+= lxqt-openssh-askpass SUBDIR+= lxqt-policykit Added files: Index: pkgsrc/security/lua-argon2/DESCR diff -u /dev/null pkgsrc/security/lua-argon2/DESCR:1.1 --- /dev/null Thu Jul 2 14:02:36 2020 +++ pkgsrc/security/lua-argon2/DESCR Thu Jul 2 14:02:36 2020 @@ -0,0 +1 @@ +Lua C binding for the Argon2 password hashing algorithm Index: pkgsrc/security/lua-argon2/Makefile diff -u /dev/null pkgsrc/security/lua-argon2/Makefile:1.1 --- /dev/null Thu Jul 2 14:02:36 2020 +++ pkgsrc/security/lua-argon2/Makefile Thu Jul 2 14:02:36 2020 @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2020/07/02 14:02:36 nia Exp $ + +DISTNAME= lua-argon2-3.0.1 +PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1} +CATEGORIES= security lua +MASTER_SITES= ${MASTER_SITE_GITHUB:=thibaultcha/} +GITHUB_PROJECT= lua-argon2 + +MAINTAINER= nia@NetBSD.org +HOMEPAGE= https://thibaultcha.github.io/lua-argon2/ +COMMENT= Lua C binding for the Argon2 password hashing algorithm +LICENSE= mit + +INSTALLATION_DIRS+= ${LUA_CDIR} + +do-install: + ${INSTALL_LIB} ${WRKSRC}/argon2.so ${DESTDIR}${PREFIX}/${LUA_CDIR} + +.include "../../lang/lua/module.mk" +.include "../../security/argon2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/security/lua-argon2/PLIST diff -u /dev/null pkgsrc/security/lua-argon2/PLIST:1.1 --- /dev/null Thu Jul 2 14:02:36 2020 +++ pkgsrc/security/lua-argon2/PLIST Thu Jul 2 14:02:36 2020 @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2020/07/02 14:02:36 nia Exp $ +${LUA_CDIR}/argon2.so Index: pkgsrc/security/lua-argon2/distinfo diff -u /dev/null pkgsrc/security/lua-argon2/distinfo:1.1 --- /dev/null Thu Jul 2 14:02:36 2020 +++ pkgsrc/security/lua-argon2/distinfo Thu Jul 2 14:02:36 2020 @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2020/07/02 14:02:36 nia Exp $ + +SHA1 (lua-argon2-3.0.1.tar.gz) = 02fa984df9fd9fc98918033b759c3653a0cf3d92 +RMD160 (lua-argon2-3.0.1.tar.gz) = b558218a195cf9745b62e16e3bc9d1038c3db33d +SHA512 (lua-argon2-3.0.1.tar.gz) = baa21cefc31cd43ee1e339558479e1f262f7c4cc6a180fd684a18fa8631283e9f345b4c3ee0dac8d0c025dfa5877e19b800411b8e51caa4a46ecac9843ec48fa +Size (lua-argon2-3.0.1.tar.gz) = 13836 bytes +SHA1 (patch-Makefile) = 22933ef94bac8fcf19fcc09f4e948c4ad16db75e Index: pkgsrc/security/lua-argon2/patches/patch-Makefile diff -u /dev/null pkgsrc/security/lua-argon2/patches/patch-Makefile:1.1 --- /dev/null Thu Jul 2 14:02:36 2020 +++ pkgsrc/security/lua-argon2/patches/patch-Makefile Thu Jul 2 14:02:36 2020 @@ -0,0 +1,28 @@ +$NetBSD: patch-Makefile,v 1.1 2020/07/02 14:02:36 nia Exp $ + +Honour CC/CFLAGS/LDFLAGS. + +Note that -ansi does not support `long long`. + +--- Makefile.orig 2018-06-11 02:10:23.000000000 +0000 ++++ Makefile +@@ -1,8 +1,7 @@ + LIB_NAME = argon2 + +-CC ?= gcc +-LDFLAGS ?= -shared +-CFLAGS ?= -O2 -fPIC -ansi -Wall -Werror -Wpedantic ++LDFLAGS += -shared ++CFLAGS += -fPIC -std=c99 -Wall -Wpedantic + + PREFIX ?= /usr/local + ARGON2_INCDIR ?= $(PREFIX)/include +@@ -17,7 +16,7 @@ BUILD_LDFLAGS = -L$(ARGON2_LIBDIR) -larg + all: $(LIB_NAME).so + + $(LIB_NAME).so: $(LIB_NAME).o +- $(CC) $(LDFLAGS) -o $@ $< $(BUILD_LDFLAGS) ++ $(CC) $(LDFLAGS) -o $@ $(LIB_NAME).o $(BUILD_LDFLAGS) + + $(LIB_NAME).o: src/$(LIB_NAME).c + $(CC) $(CFLAGS) -c $< -o $@ $(BUILD_CFLAGS) --_----------=_1593698556117050--