diff --git a/security/Makefile b/security/Makefile index 339560101281..52f49f95c1df 100644 --- a/security/Makefile +++ b/security/Makefile @@ -120,6 +120,7 @@ SUBDIR += dehydrated SUBDIR += denyhosts SUBDIR += destroy + SUBDIR += digestpp SUBDIR += dirbuster SUBDIR += dirmngr SUBDIR += distcache diff --git a/security/digestpp/Makefile b/security/digestpp/Makefile new file mode 100644 index 000000000000..e72e2a4b08b5 --- /dev/null +++ b/security/digestpp/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= digestpp +DISTVERSION= g20200907 +CATEGORIES= security + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Experimental C++11 header-only message digest library + +LICENSE= UNLICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= kerukuro +GH_TAGNAME= 34ff2eeae397ed744d972d86b5a20f603b029fbd + +NO_BUILD= yes +NO_ARCH= yes + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/*.hpp ${STAGEDIR}${PREFIX}/include/${PORTNAME} + cd ${WRKSRC} && \ + ${COPYTREE_SHARE} algorithm ${STAGEDIR}${PREFIX}/include/${PORTNAME} && \ + ${COPYTREE_SHARE} detail ${STAGEDIR}${PREFIX}/include/${PORTNAME} + +.include diff --git a/security/digestpp/distinfo b/security/digestpp/distinfo new file mode 100644 index 000000000000..d2cfb86de736 --- /dev/null +++ b/security/digestpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1601434056 +SHA256 (kerukuro-digestpp-g20200907-34ff2eeae397ed744d972d86b5a20f603b029fbd_GH0.tar.gz) = c6611021707e0ad101fefb8113665d3567a492d5461f33a142ec6839b5b1accf +SIZE (kerukuro-digestpp-g20200907-34ff2eeae397ed744d972d86b5a20f603b029fbd_GH0.tar.gz) = 12659489 diff --git a/security/digestpp/pkg-descr b/security/digestpp/pkg-descr new file mode 100644 index 000000000000..98e7633b4321 --- /dev/null +++ b/security/digestpp/pkg-descr @@ -0,0 +1,6 @@ +digestpp is an experimental C++11 header-only message digest library. + +Derived from cppcrypto in an attempt to devise a more modern yet flexible and +universal C++ API for cryptographic hash functions. + +WWW: https://github.com/kerukuro/digestpp diff --git a/security/digestpp/pkg-plist b/security/digestpp/pkg-plist new file mode 100644 index 000000000000..93e222ecb0a6 --- /dev/null +++ b/security/digestpp/pkg-plist @@ -0,0 +1,58 @@ +include/digestpp/algorithm/blake.hpp +include/digestpp/algorithm/blake2.hpp +include/digestpp/algorithm/detail/blake2_provider.hpp +include/digestpp/algorithm/detail/blake_provider.hpp +include/digestpp/algorithm/detail/constants/blake2_constants.hpp +include/digestpp/algorithm/detail/constants/blake_constants.hpp +include/digestpp/algorithm/detail/constants/groestl_constants.hpp +include/digestpp/algorithm/detail/constants/jh_constants.hpp +include/digestpp/algorithm/detail/constants/kupyna_constants.hpp +include/digestpp/algorithm/detail/constants/md5_constants.hpp +include/digestpp/algorithm/detail/constants/sha1_constants.hpp +include/digestpp/algorithm/detail/constants/sha2_constants.hpp +include/digestpp/algorithm/detail/constants/sha3_constants.hpp +include/digestpp/algorithm/detail/constants/skein_constants.hpp +include/digestpp/algorithm/detail/constants/streebog_constants.hpp +include/digestpp/algorithm/detail/constants/whirlpool_constants.hpp +include/digestpp/algorithm/detail/groestl_provider.hpp +include/digestpp/algorithm/detail/jh_provider.hpp +include/digestpp/algorithm/detail/k12m14_provider.hpp +include/digestpp/algorithm/detail/kmac_provider.hpp +include/digestpp/algorithm/detail/kupyna_provider.hpp +include/digestpp/algorithm/detail/md5_provider.hpp +include/digestpp/algorithm/detail/sha1_provider.hpp +include/digestpp/algorithm/detail/sha2_provider.hpp +include/digestpp/algorithm/detail/sha3_provider.hpp +include/digestpp/algorithm/detail/shake_provider.hpp +include/digestpp/algorithm/detail/skein_provider.hpp +include/digestpp/algorithm/detail/sm3_provider.hpp +include/digestpp/algorithm/detail/streebog_provider.hpp +include/digestpp/algorithm/detail/whirlpool_provider.hpp +include/digestpp/algorithm/groestl.hpp +include/digestpp/algorithm/jh.hpp +include/digestpp/algorithm/k12m14.hpp +include/digestpp/algorithm/kmac.hpp +include/digestpp/algorithm/kupyna.hpp +include/digestpp/algorithm/md5.hpp +include/digestpp/algorithm/mixin/blake2_mixin.hpp +include/digestpp/algorithm/mixin/blake_mixin.hpp +include/digestpp/algorithm/mixin/cshake_mixin.hpp +include/digestpp/algorithm/mixin/k12m14_mixin.hpp +include/digestpp/algorithm/mixin/kmac_mixin.hpp +include/digestpp/algorithm/mixin/null_mixin.hpp +include/digestpp/algorithm/mixin/skein_mixin.hpp +include/digestpp/algorithm/sha1.hpp +include/digestpp/algorithm/sha2.hpp +include/digestpp/algorithm/sha3.hpp +include/digestpp/algorithm/shake.hpp +include/digestpp/algorithm/skein.hpp +include/digestpp/algorithm/sm3.hpp +include/digestpp/algorithm/streebog.hpp +include/digestpp/algorithm/whirlpool.hpp +include/digestpp/detail/absorb_data.hpp +include/digestpp/detail/functions.hpp +include/digestpp/detail/stream_width_fixer.hpp +include/digestpp/detail/traits.hpp +include/digestpp/detail/validate_hash_size.hpp +include/digestpp/digestpp.hpp +include/digestpp/hasher.hpp