From 0f66e5686e2ce39c6821efcf2ead70bfcf4a4a83 Mon Sep 17 00:00:00 2001 From: Shokara Kou Date: Thu, 10 Aug 2023 23:15:48 -0400 Subject: add security/bearssl --- security/bearssl/CVS/Entries | 4 ++++ security/bearssl/CVS/Repository | 1 + security/bearssl/CVS/Root | 1 + security/bearssl/Makefile | 23 +++++++++++++++++++++++ security/bearssl/distinfo | 2 ++ security/bearssl/pkg/CVS/Entries | 3 +++ security/bearssl/pkg/CVS/Repository | 1 + security/bearssl/pkg/CVS/Root | 1 + security/bearssl/pkg/DESCR | 19 +++++++++++++++++++ security/bearssl/pkg/PLIST | 16 ++++++++++++++++ 10 files changed, 71 insertions(+) create mode 100644 security/bearssl/CVS/Entries create mode 100644 security/bearssl/CVS/Repository create mode 100644 security/bearssl/CVS/Root create mode 100644 security/bearssl/Makefile create mode 100644 security/bearssl/distinfo create mode 100644 security/bearssl/pkg/CVS/Entries create mode 100644 security/bearssl/pkg/CVS/Repository create mode 100644 security/bearssl/pkg/CVS/Root create mode 100644 security/bearssl/pkg/DESCR create mode 100644 security/bearssl/pkg/PLIST diff --git a/security/bearssl/CVS/Entries b/security/bearssl/CVS/Entries new file mode 100644 index 0000000..2edd3b6 --- /dev/null +++ b/security/bearssl/CVS/Entries @@ -0,0 +1,4 @@ +/Makefile/1.41/Fri Mar 11 19:51:40 2022// +/distinfo/1.22/Sat May 1 13:42:25 2021// +D/patches//// +D/pkg//// diff --git a/security/bearssl/CVS/Repository b/security/bearssl/CVS/Repository new file mode 100644 index 0000000..bf3c4dd --- /dev/null +++ b/security/bearssl/CVS/Repository @@ -0,0 +1 @@ +ports/productivity/calcurse diff --git a/security/bearssl/CVS/Root b/security/bearssl/CVS/Root new file mode 100644 index 0000000..3811072 --- /dev/null +++ b/security/bearssl/CVS/Root @@ -0,0 +1 @@ +/cvs diff --git a/security/bearssl/Makefile b/security/bearssl/Makefile new file mode 100644 index 0000000..24856ce --- /dev/null +++ b/security/bearssl/Makefile @@ -0,0 +1,23 @@ +COMMENT= a C implementation of the SSL/TLS protocol (RFC 5246) + +DISTNAME= bearssl-0.6 +REVISION= 1 + +CATEGORIES= security + +HOMEPAGE= https://www.bearssl.org/ + +# MIT +PERMIT_PACKAGE= Yes + +WANTLIB += c + +MASTER_SITES= ${HOMEPAGE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${PREFIX}/bin/ + ${INSTALL_DATA} ${WRKSRC}/build/libbearssl.a ${PREFIX}/lib/ + ${INSTALL_DATA} ${WRKSRC}/build/libbearssl.so ${PREFIX}/lib/ + ${INSTALL_DATA} ${WRKSRC}/inc/* ${PREFIX}/include/ + +.include diff --git a/security/bearssl/distinfo b/security/bearssl/distinfo new file mode 100644 index 0000000..f807c94 --- /dev/null +++ b/security/bearssl/distinfo @@ -0,0 +1,2 @@ +SHA256 (bearssl-0.6.tar.gz) = ZwW7oXFJYbQaco38Xeu+NI0pZsEXZJOS+MgTnvyD/xQ= +SIZE (bearssl-0.6.tar.gz) = 765094 diff --git a/security/bearssl/pkg/CVS/Entries b/security/bearssl/pkg/CVS/Entries new file mode 100644 index 0000000..5b5f4d3 --- /dev/null +++ b/security/bearssl/pkg/CVS/Entries @@ -0,0 +1,3 @@ +/DESCR/1.1.1.1/Sat Oct 27 15:25:37 2007// +/PLIST/1.13/Fri Mar 11 19:51:40 2022// +D diff --git a/security/bearssl/pkg/CVS/Repository b/security/bearssl/pkg/CVS/Repository new file mode 100644 index 0000000..d1c715b --- /dev/null +++ b/security/bearssl/pkg/CVS/Repository @@ -0,0 +1 @@ +ports/productivity/calcurse/pkg diff --git a/security/bearssl/pkg/CVS/Root b/security/bearssl/pkg/CVS/Root new file mode 100644 index 0000000..3811072 --- /dev/null +++ b/security/bearssl/pkg/CVS/Root @@ -0,0 +1 @@ +/cvs diff --git a/security/bearssl/pkg/DESCR b/security/bearssl/pkg/DESCR new file mode 100644 index 0000000..668ef66 --- /dev/null +++ b/security/bearssl/pkg/DESCR @@ -0,0 +1,19 @@ +BearSSL is an implementation of the SSL/TLS protocol (RFC 5246) written +in C. It aims at offering the following features: + +* Be correct and secure. In particular, insecure protocol versions and + choices of algorithms are not supported, by design; cryptographic + algorithm implementations are constant-time by default. + +* Be small, both in RAM and code footprint. For instance, a minimal + server implementation may fit in about 20 kilobytes of compiled code and + 25 kilobytes of RAM. + +* Be highly portable. BearSSL targets not operating systems like Linux + and Windows, but also small embedded systems and even special contexts + like bootstrap code. + +* Be feature-rich and extensible. SSL/TLS has many defined cipher suites + and extensions; BearSSL should implement most of them, and allow extra + algorithm implementations to be added afterwards, possibly from third + parties. diff --git a/security/bearssl/pkg/PLIST b/security/bearssl/pkg/PLIST new file mode 100644 index 0000000..be7a25d --- /dev/null +++ b/security/bearssl/pkg/PLIST @@ -0,0 +1,16 @@ +@bin bin/brssl +include/bearssl.h +include/bearssl_aead.h +include/bearssl_block.h +include/bearssl_ec.h +include/bearssl_hash.h +include/bearssl_hmac.h +include/bearssl_kdf.h +include/bearssl_pem.h +include/bearssl_prf.h +include/bearssl_rand.h +include/bearssl_rsa.h +include/bearssl_ssl.h +include/bearssl_x509.h +@static-lib lib/libbearssl.a +@so lib/libbearssl.so -- cgit v1.2.3