pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Initial import of libtls-bearssl, an implementation of libtls on top of BearSSL.
Module Name: pkgsrc-wip
Committed By: Amitai Schleier <schmonz-web-git%schmonz.com@localhost>
Pushed By: schmonz
Date: Fri Nov 27 14:51:39 2020 +0100
Changeset: b77b92a8eea832a4a22bcbfe4793eb5607b1bc64
Modified Files:
Makefile
Added Files:
libtls-bearssl/DESCR
libtls-bearssl/Makefile
libtls-bearssl/PLIST
libtls-bearssl/buildlink3.mk
libtls-bearssl/distinfo
Log Message:
Initial import of libtls-bearssl, an implementation of libtls on top
of BearSSL.
libtls shares some of the same goals as BearSSL: it is also consistent,
secure by default, and well documented. However, it is also a
higher-level API that is designed to be easy to use for many common
situations.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b77b92a8eea832a4a22bcbfe4793eb5607b1bc64
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
libtls-bearssl/DESCR | 6 ++++++
libtls-bearssl/Makefile | 20 ++++++++++++++++++++
libtls-bearssl/PLIST | 16 ++++++++++++++++
libtls-bearssl/buildlink3.mk | 13 +++++++++++++
libtls-bearssl/distinfo | 6 ++++++
6 files changed, 62 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 9feaf2de9c..43eabd6069 100644
--- a/Makefile
+++ b/Makefile
@@ -1970,6 +1970,7 @@ SUBDIR+= libtermkey
SUBDIR+= libtextcat
SUBDIR+= libtheorafile
SUBDIR+= libtlen2
+SUBDIR+= libtls-bearssl
SUBDIR+= libtogl
SUBDIR+= libtxc_dxtn
SUBDIR+= libucl
diff --git a/libtls-bearssl/DESCR b/libtls-bearssl/DESCR
new file mode 100644
index 0000000000..c59a5dfe32
--- /dev/null
+++ b/libtls-bearssl/DESCR
@@ -0,0 +1,6 @@
+libtls-bearssl is an implementation of libtls on top of BearSSL.
+
+libtls shares some of the same goals as BearSSL: it is also consistent,
+secure by default, and well documented. However, it is also a
+higher-level API that is designed to be easy to use for many common
+situations.
diff --git a/libtls-bearssl/Makefile b/libtls-bearssl/Makefile
new file mode 100644
index 0000000000..f1b538016c
--- /dev/null
+++ b/libtls-bearssl/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME= libtls-bearssl-0.2
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=michaelforney/}
+GITHUB_PROJECT= ${PKGBASE}
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://sr.ht/~mcf/libtls-bearssl
+COMMENT= Implementation of libtls on top of BearSSL
+LICENSE= isc
+
+USE_TOOLS+= pkg-config gmake
+
+PKGCONFIG_OVERRIDE+= libtls.pc.in
+INSTALL_MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}
+
+.include "../../security/bearssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libtls-bearssl/PLIST b/libtls-bearssl/PLIST
new file mode 100644
index 0000000000..ade898037d
--- /dev/null
+++ b/libtls-bearssl/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+include/tls.h
+lib/libtls.a
+lib/pkgconfig/libtls.pc
+man/man3/tls_accept_socket.3
+man/man3/tls_client.3
+man/man3/tls_config_ocsp_require_stapling.3
+man/man3/tls_config_set_protocols.3
+man/man3/tls_config_set_session_id.3
+man/man3/tls_config_verify.3
+man/man3/tls_conn_version.3
+man/man3/tls_connect.3
+man/man3/tls_init.3
+man/man3/tls_load_file.3
+man/man3/tls_ocsp_process_response.3
+man/man3/tls_read.3
diff --git a/libtls-bearssl/buildlink3.mk b/libtls-bearssl/buildlink3.mk
new file mode 100644
index 0000000000..533f7ce358
--- /dev/null
+++ b/libtls-bearssl/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libtls-bearssl
+
+.if !defined(LIBTLS_BEARSSL_BUILDLINK3_MK)
+LIBTLS_BEARSSL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libtls-bearssl+= libtls-bearssl>=0.2
+BUILDLINK_PKGSRCDIR.libtls-bearssl?= ../../wip/libtls-bearssl
+BUILDLINK_DEPMETHOD.libtls-bearssl?= build
+.endif # LIBTLS_BEARSSL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libtls-bearssl
diff --git a/libtls-bearssl/distinfo b/libtls-bearssl/distinfo
new file mode 100644
index 0000000000..715c69e8d8
--- /dev/null
+++ b/libtls-bearssl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libtls-bearssl-0.2.tar.gz) = 7ac0741b75030f5ff9673d383f1dd43f7508d774
+RMD160 (libtls-bearssl-0.2.tar.gz) = 12dd74adc1cf1e635994dd0cc446ebad13f826b3
+SHA512 (libtls-bearssl-0.2.tar.gz) = 7de6b020a9be3890de3c2d01f07d13a72922c9e993948d43b3f273fa859f82d240ec038e29a4c755caf7966638c3602b773da30ba9e732b092701cb4defbbd8a
+Size (libtls-bearssl-0.2.tar.gz) = 39239 bytes
Home |
Main Index |
Thread Index |
Old Index