pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/libb2



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.

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@localhost
+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'



Home | Main Index | Thread Index | Old Index