diff options
Diffstat (limited to 'devel/libblake3')
-rw-r--r-- | devel/libblake3/Makefile | 26 | ||||
-rw-r--r-- | devel/libblake3/distinfo | 3 | ||||
-rw-r--r-- | devel/libblake3/pkg-descr | 19 | ||||
-rw-r--r-- | devel/libblake3/pkg-plist | 9 |
4 files changed, 57 insertions, 0 deletions
diff --git a/devel/libblake3/Makefile b/devel/libblake3/Makefile new file mode 100644 index 000000000000..9eb109cad50c --- /dev/null +++ b/devel/libblake3/Makefile @@ -0,0 +1,26 @@ +PORTNAME= libblake3 +DISTVERSION= 1.8.2 +CATEGORIES= devel + +MAINTAINER= ashish@FreeBSD.org +COMMENT= C library providing BLAKE3 +WWW= https://github.com/BLAKE3-team/BLAKE3 + +LICENSE= APACHE20 CC0-1.0 +LICENSE_COMB= dual +LICENSE_FILE_CC0-1.0= ${WRKDIR}/BLAKE3-${DISTVERSION}/LICENSE_CC0 +LICENSE_FILE_APACHE20= ${WRKDIR}/BLAKE3-${DISTVERSION}/LICENSE_A2 + +USES= cmake +USE_GITHUB= yes +USE_LDCONFIG= yes + +GH_ACCOUNT= BLAKE3-team +GH_PROJECT= BLAKE3 + +CMAKE_ON= BUILD_SHARED_LIBS +PLIST_SUB= DISTVERSION=${DISTVERSION} + +WRKSRC_SUBDIR= c + +.include <bsd.port.mk> diff --git a/devel/libblake3/distinfo b/devel/libblake3/distinfo new file mode 100644 index 000000000000..8e8329c92a32 --- /dev/null +++ b/devel/libblake3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1757246324 +SHA256 (BLAKE3-team-BLAKE3-1.8.2_GH0.tar.gz) = 6b51aefe515969785da02e87befafc7fdc7a065cd3458cf1141f29267749e81f +SIZE (BLAKE3-team-BLAKE3-1.8.2_GH0.tar.gz) = 264657 diff --git a/devel/libblake3/pkg-descr b/devel/libblake3/pkg-descr new file mode 100644 index 000000000000..ea225c5d04cd --- /dev/null +++ b/devel/libblake3/pkg-descr @@ -0,0 +1,19 @@ +C library providing BLAKE3 hash function. + +BLAKE3 is a cryptographic hash function that is: + + - Much faster than MD5, SHA-1, SHA-2, SHA-3, and BLAKE2. + + - Secure, unlike MD5 and SHA-1. And secure against length + extension, unlike SHA-2. + + - Highly parallelizable across any number of threads and + SIMD lanes, because it's a Merkle tree on the inside. + + - Capable of verified streaming and incremental updates, + again because it's a Merkle tree. + + - A PRF, MAC, KDF, and XOF, as well as a regular hash. + + - One algorithm with no variants, which is fast on x86-64 + and also on smaller architectures. diff --git a/devel/libblake3/pkg-plist b/devel/libblake3/pkg-plist new file mode 100644 index 000000000000..e6ed2b069e29 --- /dev/null +++ b/devel/libblake3/pkg-plist @@ -0,0 +1,9 @@ +include/blake3.h +lib/cmake/blake3/blake3-config-version.cmake +lib/cmake/blake3/blake3-config.cmake +lib/cmake/blake3/blake3-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/blake3/blake3-targets.cmake +lib/libblake3.so +lib/libblake3.so.0 +lib/libblake3.so.%%DISTVERSION%% +libdata/pkgconfig/libblake3.pc |