summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShokara Kou <kou@13f0.net>2023-08-10 23:15:48 -0400
committerShokara Kou <kou@13f0.net>2023-08-10 23:39:23 -0400
commit0f66e5686e2ce39c6821efcf2ead70bfcf4a4a83 (patch)
tree3b5a8f5949dda64816e07cb45722f298a3888e94
parentc4145b75238fb382f4a03c1482a1d844fac9f3f1 (diff)
add security/bearssl
-rw-r--r--security/bearssl/CVS/Entries4
-rw-r--r--security/bearssl/CVS/Repository1
-rw-r--r--security/bearssl/CVS/Root1
-rw-r--r--security/bearssl/Makefile23
-rw-r--r--security/bearssl/distinfo2
-rw-r--r--security/bearssl/pkg/CVS/Entries3
-rw-r--r--security/bearssl/pkg/CVS/Repository1
-rw-r--r--security/bearssl/pkg/CVS/Root1
-rw-r--r--security/bearssl/pkg/DESCR19
-rw-r--r--security/bearssl/pkg/PLIST16
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//
3D/patches////
4D/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 @@
1COMMENT= a C implementation of the SSL/TLS protocol (RFC 5246)
2
3DISTNAME= bearssl-0.6
4REVISION= 1
5
6CATEGORIES= security
7
8HOMEPAGE= https://www.bearssl.org/
9
10# MIT
11PERMIT_PACKAGE= Yes
12
13WANTLIB += c
14
15MASTER_SITES= ${HOMEPAGE}
16
17do-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 @@
1SHA256 (bearssl-0.6.tar.gz) = ZwW7oXFJYbQaco38Xeu+NI0pZsEXZJOS+MgTnvyD/xQ=
2SIZE (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//
3D
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 @@
1BearSSL is an implementation of the SSL/TLS protocol (RFC 5246) written
2in 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
2include/bearssl.h
3include/bearssl_aead.h
4include/bearssl_block.h
5include/bearssl_ec.h
6include/bearssl_hash.h
7include/bearssl_hmac.h
8include/bearssl_kdf.h
9include/bearssl_pem.h
10include/bearssl_prf.h
11include/bearssl_rand.h
12include/bearssl_rsa.h
13include/bearssl_ssl.h
14include/bearssl_x509.h
15@static-lib lib/libbearssl.a
16@so lib/libbearssl.so