diff options
| -rw-r--r-- | security/bearssl/CVS/Entries | 4 | ||||
| -rw-r--r-- | security/bearssl/CVS/Repository | 1 | ||||
| -rw-r--r-- | security/bearssl/CVS/Root | 1 | ||||
| -rw-r--r-- | security/bearssl/Makefile | 23 | ||||
| -rw-r--r-- | security/bearssl/distinfo | 2 | ||||
| -rw-r--r-- | security/bearssl/pkg/CVS/Entries | 3 | ||||
| -rw-r--r-- | security/bearssl/pkg/CVS/Repository | 1 | ||||
| -rw-r--r-- | security/bearssl/pkg/CVS/Root | 1 | ||||
| -rw-r--r-- | security/bearssl/pkg/DESCR | 19 | ||||
| -rw-r--r-- | security/bearssl/pkg/PLIST | 16 |
10 files changed, 71 insertions, 0 deletions
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 @@ | |||
| 1 | /Makefile/1.41/Fri Mar 11 19:51:40 2022// | ||
| 2 | /distinfo/1.22/Sat May 1 13:42:25 2021// | ||
| 3 | D/patches//// | ||
| 4 | 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 @@ | |||
| 1 | COMMENT= a C implementation of the SSL/TLS protocol (RFC 5246) | ||
| 2 | |||
| 3 | DISTNAME= bearssl-0.6 | ||
| 4 | REVISION= 1 | ||
| 5 | |||
| 6 | CATEGORIES= security | ||
| 7 | |||
| 8 | HOMEPAGE= https://www.bearssl.org/ | ||
| 9 | |||
| 10 | # MIT | ||
| 11 | PERMIT_PACKAGE= Yes | ||
| 12 | |||
| 13 | WANTLIB += c | ||
| 14 | |||
| 15 | MASTER_SITES= ${HOMEPAGE} | ||
| 16 | |||
| 17 | do-install: | ||
| 18 | ${INSTALL_PROGRAM} ${WRKSRC}/build/brssl ${PREFIX}/bin/ | ||
| 19 | ${INSTALL_DATA} ${WRKSRC}/build/libbearssl.a ${PREFIX}/lib/ | ||
| 20 | ${INSTALL_DATA} ${WRKSRC}/build/libbearssl.so ${PREFIX}/lib/ | ||
| 21 | ${INSTALL_DATA} ${WRKSRC}/inc/* ${PREFIX}/include/ | ||
| 22 | |||
| 23 | .include <bsd.port.mk> | ||
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 @@ | |||
| 1 | SHA256 (bearssl-0.6.tar.gz) = ZwW7oXFJYbQaco38Xeu+NI0pZsEXZJOS+MgTnvyD/xQ= | ||
| 2 | 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 @@ | |||
| 1 | /DESCR/1.1.1.1/Sat Oct 27 15:25:37 2007// | ||
| 2 | /PLIST/1.13/Fri Mar 11 19:51:40 2022// | ||
| 3 | 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 @@ | |||
| 1 | BearSSL is an implementation of the SSL/TLS protocol (RFC 5246) written | ||
| 2 | in C. It aims at offering the following features: | ||
| 3 | |||
| 4 | * Be correct and secure. In particular, insecure protocol versions and | ||
| 5 | choices of algorithms are not supported, by design; cryptographic | ||
| 6 | algorithm implementations are constant-time by default. | ||
| 7 | |||
| 8 | * Be small, both in RAM and code footprint. For instance, a minimal | ||
| 9 | server implementation may fit in about 20 kilobytes of compiled code and | ||
| 10 | 25 kilobytes of RAM. | ||
| 11 | |||
| 12 | * Be highly portable. BearSSL targets not operating systems like Linux | ||
| 13 | and Windows, but also small embedded systems and even special contexts | ||
| 14 | like bootstrap code. | ||
| 15 | |||
| 16 | * Be feature-rich and extensible. SSL/TLS has many defined cipher suites | ||
| 17 | and extensions; BearSSL should implement most of them, and allow extra | ||
| 18 | algorithm implementations to be added afterwards, possibly from third | ||
| 19 | 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 @@ | |||
| 1 | @bin bin/brssl | ||
| 2 | include/bearssl.h | ||
| 3 | include/bearssl_aead.h | ||
| 4 | include/bearssl_block.h | ||
| 5 | include/bearssl_ec.h | ||
| 6 | include/bearssl_hash.h | ||
| 7 | include/bearssl_hmac.h | ||
| 8 | include/bearssl_kdf.h | ||
| 9 | include/bearssl_pem.h | ||
| 10 | include/bearssl_prf.h | ||
| 11 | include/bearssl_rand.h | ||
| 12 | include/bearssl_rsa.h | ||
| 13 | include/bearssl_ssl.h | ||
| 14 | include/bearssl_x509.h | ||
| 15 | @static-lib lib/libbearssl.a | ||
| 16 | @so lib/libbearssl.so | ||
