Skip to content

Commit

Permalink
New port: security/kuku: Cuckoo hashing library written in C++
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed May 6, 2021
1 parent 0619a44 commit a392ef0
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions security/Makefile
Expand Up @@ -271,6 +271,7 @@
SUBDIR += kripp
SUBDIR += kstart
SUBDIR += ktls_isa-l_crypto-kmod
SUBDIR += kuku
SUBDIR += kwalletmanager
SUBDIR += l0pht-watch
SUBDIR += l0phtcrack
Expand Down
27 changes: 27 additions & 0 deletions security/kuku/Makefile
@@ -0,0 +1,27 @@
PORTNAME= kuku
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.0
CATEGORIES= security

MAINTAINER= yuri@FreeBSD.org
COMMENT= Cuckoo hashing library written in C++

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= cmake
USE_LDCONFIG= yes

USE_GITHUB= yes
GH_ACCOUNT= microsoft
GH_PROJECT= Kuku

CMAKE_ON= BUILD_SHARED_LIBS

do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DKUKU_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
./bin/kukutest

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions security/kuku/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1620286929
SHA256 (microsoft-Kuku-v2.1.0_GH0.tar.gz) = 96ed5fad82ea8c8a8bb82f6eaf0b5dce744c0c2566b4baa11d8f5443ad1f83b7
SIZE (microsoft-Kuku-v2.1.0_GH0.tar.gz) = 46492
6 changes: 6 additions & 0 deletions security/kuku/pkg-descr
@@ -0,0 +1,6 @@
Kuku is a simple open-source cuckoo hashing library developed by the
Cryptography and Privacy Research Group at Microsoft. Kuku is written in modern
standard C++ and has no external dependencies, making it easy to compile and run
in many different environments.

WWW: https://github.com/microsoft/Kuku
14 changes: 14 additions & 0 deletions security/kuku/pkg-plist
@@ -0,0 +1,14 @@
include/Kuku-2.1/kuku/common.h
include/Kuku-2.1/kuku/internal/blake2-impl.h
include/Kuku-2.1/kuku/internal/blake2.h
include/Kuku-2.1/kuku/internal/config.h
include/Kuku-2.1/kuku/internal/hash.h
include/Kuku-2.1/kuku/kuku.h
include/Kuku-2.1/kuku/locfunc.h
lib/cmake/Kuku-2.1/KukuConfig.cmake
lib/cmake/Kuku-2.1/KukuConfigVersion.cmake
lib/cmake/Kuku-2.1/KukuTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/Kuku-2.1/KukuTargets.cmake
lib/libkuku.so
lib/libkuku.so.2.1
lib/libkuku.so.2.1.0

0 comments on commit a392ef0

Please sign in to comment.