pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/libb2 Add a package for libb2-0.98.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/636cb451d425
branches: trunk
changeset: 397427:636cb451d425
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat Jun 22 18:54:04 2019 +0000
description:
Add a package for libb2-0.98.1.
libb2 is a C library providing the BLAKE2b, BLAKE2s, BLAKE2bp and BLAKE2sp
algorithms.
diffstat:
security/libb2/DESCR | 2 ++
security/libb2/Makefile | 19 +++++++++++++++++++
security/libb2/PLIST | 4 ++++
security/libb2/buildlink3.mk | 12 ++++++++++++
security/libb2/distinfo | 7 +++++++
security/libb2/patches/patch-configure | 33 +++++++++++++++++++++++++++++++++
6 files changed, 77 insertions(+), 0 deletions(-)
diffs (101 lines):
diff -r cc3b7f9d4a8f -r 636cb451d425 security/libb2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libb2/DESCR Sat Jun 22 18:54:04 2019 +0000
@@ -0,0 +1,2 @@
+libb2 is a C library providing the BLAKE2b, BLAKE2s, BLAKE2bp and BLAKE2sp
+algorithms.
diff -r cc3b7f9d4a8f -r 636cb451d425 security/libb2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libb2/Makefile Sat Jun 22 18:54:04 2019 +0000
@@ -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"
diff -r cc3b7f9d4a8f -r 636cb451d425 security/libb2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libb2/PLIST Sat Jun 22 18:54:04 2019 +0000
@@ -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
diff -r cc3b7f9d4a8f -r 636cb451d425 security/libb2/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libb2/buildlink3.mk Sat Jun 22 18:54:04 2019 +0000
@@ -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
diff -r cc3b7f9d4a8f -r 636cb451d425 security/libb2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libb2/distinfo Sat Jun 22 18:54:04 2019 +0000
@@ -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
diff -r cc3b7f9d4a8f -r 636cb451d425 security/libb2/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libb2/patches/patch-configure Sat Jun 22 18:54:04 2019 +0000
@@ -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