Received: by mail.netbsd.org (Postfix, from userid 605) id A6B5E84DD6; Sat, 22 Jun 2019 18:54:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 30BB784DD5 for ; Sat, 22 Jun 2019 18:54:05 +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 RqIeBHHOH0Qb for ; Sat, 22 Jun 2019 18:54:04 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 9003284D27 for ; Sat, 22 Jun 2019 18:54:04 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 87817FBF4; Sat, 22 Jun 2019 18:54:04 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1561229644289480" MIME-Version: 1.0 Date: Sat, 22 Jun 2019 18:54:04 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/security/libb2 To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20190622185404.87817FBF4@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. --_----------=_1561229644289480 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Sat Jun 22 18:54:04 UTC 2019 Added Files: pkgsrc/security/libb2: DESCR Makefile PLIST buildlink3.mk distinfo pkgsrc/security/libb2/patches: patch-configure Log Message: Add a package for libb2-0.98.1. libb2 is a C library providing the BLAKE2b, BLAKE2s, BLAKE2bp and BLAKE2sp algorithms. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/security/libb2/DESCR \ pkgsrc/security/libb2/Makefile pkgsrc/security/libb2/PLIST \ pkgsrc/security/libb2/buildlink3.mk pkgsrc/security/libb2/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/security/libb2/patches/patch-configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1561229644289480 Content-Disposition: inline Content-Length: 3904 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/security/libb2/DESCR diff -u /dev/null pkgsrc/security/libb2/DESCR:1.1 --- /dev/null Sat Jun 22 18:54:04 2019 +++ pkgsrc/security/libb2/DESCR Sat Jun 22 18:54:04 2019 @@ -0,0 +1,2 @@ +libb2 is a C library providing the BLAKE2b, BLAKE2s, BLAKE2bp and BLAKE2sp +algorithms. Index: pkgsrc/security/libb2/Makefile diff -u /dev/null pkgsrc/security/libb2/Makefile:1.1 --- /dev/null Sat Jun 22 18:54:04 2019 +++ pkgsrc/security/libb2/Makefile Sat Jun 22 18:54:04 2019 @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2019/06/22 18:54:04 bsiegert Exp $ + +DISTNAME= libb2-0.98.1 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_GITHUB:=BLAKE2/} +GITHUB_RELEASE= v0.98.1 + +MAINTAINER= bsiegert@NetBSD.org +HOMEPAGE= https://github.com/BLAKE2/libb2/ +COMMENT= C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp +LICENSE= cc0-1.0-universal + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +PKGCONFIG_OVERRIDE+= libb2.pc.in + +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/security/libb2/PLIST diff -u /dev/null pkgsrc/security/libb2/PLIST:1.1 --- /dev/null Sat Jun 22 18:54:04 2019 +++ pkgsrc/security/libb2/PLIST Sat Jun 22 18:54:04 2019 @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2019/06/22 18:54:04 bsiegert Exp $ +include/blake2.h +lib/libb2.la +lib/pkgconfig/libb2.pc Index: pkgsrc/security/libb2/buildlink3.mk diff -u /dev/null pkgsrc/security/libb2/buildlink3.mk:1.1 --- /dev/null Sat Jun 22 18:54:04 2019 +++ pkgsrc/security/libb2/buildlink3.mk Sat Jun 22 18:54:04 2019 @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/06/22 18:54:04 bsiegert Exp $ + +BUILDLINK_TREE+= libb2 + +.if !defined(LIBB2_BUILDLINK3_MK) +LIBB2_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libb2+= libb2>=0.98.1 +BUILDLINK_PKGSRCDIR.libb2?= ../../security/libb2 +.endif # LIBB2_BUILDLINK3_MK + +BUILDLINK_TREE+= -libb2 Index: pkgsrc/security/libb2/distinfo diff -u /dev/null pkgsrc/security/libb2/distinfo:1.1 --- /dev/null Sat Jun 22 18:54:04 2019 +++ pkgsrc/security/libb2/distinfo Sat Jun 22 18:54:04 2019 @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2019/06/22 18:54:04 bsiegert Exp $ + +SHA1 (libb2-0.98.1.tar.gz) = 85abee1e611cda21775f4a7dd77d11671d300bb4 +RMD160 (libb2-0.98.1.tar.gz) = d95434930da9329e7bd8d64d6303e0e6663e4d3b +SHA512 (libb2-0.98.1.tar.gz) = e760972173bb9ff3562843882abbe9042af09da63f37a5706921381be2d64cc4d333aec65e1e676d5a45ace913417536a1dc188c90b394c2f7b9cae654dbb108 +Size (libb2-0.98.1.tar.gz) = 534928 bytes +SHA1 (patch-configure) = 444d3fc4ae164713aa95743bfbd1afc7c47c28b2 Index: pkgsrc/security/libb2/patches/patch-configure diff -u /dev/null pkgsrc/security/libb2/patches/patch-configure:1.1 --- /dev/null Sat Jun 22 18:54:04 2019 +++ pkgsrc/security/libb2/patches/patch-configure Sat Jun 22 18:54:04 2019 @@ -0,0 +1,33 @@ +$NetBSD: patch-configure,v 1.1 2019/06/22 18:54:04 bsiegert Exp $ + +Remove non-portable test usage, https://github.com/BLAKE2/libb2/pull/29 + +--- configure.orig 2019-03-10 15:36:30.000000000 +0000 ++++ configure +@@ -12759,7 +12759,7 @@ else + : + fi + +-if test $enable_native == "yes"; then ++if test $enable_native = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -march=native" >&5 + $as_echo_n "checking whether C compiler accepts -march=native... " >&6; } + if ${ax_cv_check_cflags___march_native+:} false; then : +@@ -12797,7 +12797,7 @@ fi + + fi + +-if test $enable_fat == "yes"; then ++if test $enable_fat = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -msse2" >&5 + $as_echo_n "checking whether C compiler accepts -msse2... " >&6; } + if ${ax_cv_check_cflags___msse2+:} false; then : +@@ -12973,7 +12973,7 @@ else + as_fn_error $? "Compiler does not know -mxop." "$LINENO" 5 + fi + +-elif test $enable_native == "yes"; then ++elif test $enable_native = "yes"; then + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' --_----------=_1561229644289480--