From e3c5c188010d9bb117869cd8bda6efbb7f6d1ddb Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 6 Aug 2020 20:09:34 +0000 Subject: Add libretls port Based on libressl port. --- security/libretls/Makefile | 28 ++++++++++++++ security/libretls/distinfo | 3 ++ security/libretls/pkg-descr | 4 ++ security/libretls/pkg-plist | 94 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 129 insertions(+) create mode 100644 security/libretls/Makefile create mode 100644 security/libretls/distinfo create mode 100644 security/libretls/pkg-descr create mode 100644 security/libretls/pkg-plist (limited to 'security') diff --git a/security/libretls/Makefile b/security/libretls/Makefile new file mode 100644 index 0000000..4d4a83a --- /dev/null +++ b/security/libretls/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= libretls +PORTVERSION= 3.2.0 +CATEGORIES= security devel +MASTER_SITES= https://causal.agency/libretls/ + +MAINTAINER= june@causal.agency +COMMENT= Port of libtls for OpenSSL + +LICENSE= ISCL + +BROKEN_SSL= libressl +BROKEN_SSL_REASON_libressl= libtls is provided by LibreSSL + +USES= libtool pathfix pkgconfig ssl +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} +CFLAGS+= -fpic -DPIC -Wl,-rpath,${PREFIX}/lib -Wl,--as-needed +LDFLAGS+= -pthread + +CONFLICTS_INSTALL= libressl-[0-9]* \ + libressl-devel-[0-9]* + +INSTALL_TARGET= install-strip + +.include diff --git a/security/libretls/distinfo b/security/libretls/distinfo new file mode 100644 index 0000000..0c4ba35 --- /dev/null +++ b/security/libretls/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1596744021 +SHA256 (libretls-3.2.0.tar.gz) = 6b83c48569a93bd2a01fbbd8f7287698c95942d0d5542bb04c1a1329f12deb30 +SIZE (libretls-3.2.0.tar.gz) = 424807 diff --git a/security/libretls/pkg-descr b/security/libretls/pkg-descr new file mode 100644 index 0000000..6d3a7ef --- /dev/null +++ b/security/libretls/pkg-descr @@ -0,0 +1,4 @@ +LibreTLS is a port of libtls from LibreSSL to OpenSSL. libtls is a new TLS +library, designed to make it easier to write foolproof applications. + +WWW: https://git.causal.agency/libretls/about diff --git a/security/libretls/pkg-plist b/security/libretls/pkg-plist new file mode 100644 index 0000000..1330004 --- /dev/null +++ b/security/libretls/pkg-plist @@ -0,0 +1,94 @@ +include/tls.h +lib/libtls.a +lib/libtls.so +lib/libtls.so.20 +lib/libtls.so.20.0.1 +libdata/pkgconfig/libtls.pc +man/man3/tls_accept_cbs.3.gz +man/man3/tls_accept_fds.3.gz +man/man3/tls_accept_socket.3.gz +man/man3/tls_client.3.gz +man/man3/tls_close.3.gz +man/man3/tls_config_add_keypair_file.3.gz +man/man3/tls_config_add_keypair_mem.3.gz +man/man3/tls_config_add_keypair_ocsp_file.3.gz +man/man3/tls_config_add_keypair_ocsp_mem.3.gz +man/man3/tls_config_add_ticket_key.3.gz +man/man3/tls_config_clear_keys.3.gz +man/man3/tls_config_error.3.gz +man/man3/tls_config_free.3.gz +man/man3/tls_config_insecure_noverifycert.3.gz +man/man3/tls_config_insecure_noverifyname.3.gz +man/man3/tls_config_insecure_noverifytime.3.gz +man/man3/tls_config_new.3.gz +man/man3/tls_config_ocsp_require_stapling.3.gz +man/man3/tls_config_parse_protocols.3.gz +man/man3/tls_config_prefer_ciphers_client.3.gz +man/man3/tls_config_prefer_ciphers_server.3.gz +man/man3/tls_config_set_alpn.3.gz +man/man3/tls_config_set_ca_file.3.gz +man/man3/tls_config_set_ca_mem.3.gz +man/man3/tls_config_set_ca_path.3.gz +man/man3/tls_config_set_cert_file.3.gz +man/man3/tls_config_set_cert_mem.3.gz +man/man3/tls_config_set_ciphers.3.gz +man/man3/tls_config_set_crl_file.3.gz +man/man3/tls_config_set_crl_mem.3.gz +man/man3/tls_config_set_dheparams.3.gz +man/man3/tls_config_set_ecdhecurves.3.gz +man/man3/tls_config_set_key_file.3.gz +man/man3/tls_config_set_key_mem.3.gz +man/man3/tls_config_set_keypair_file.3.gz +man/man3/tls_config_set_keypair_mem.3.gz +man/man3/tls_config_set_keypair_ocsp_file.3.gz +man/man3/tls_config_set_keypair_ocsp_mem.3.gz +man/man3/tls_config_set_ocsp_staple_file.3.gz +man/man3/tls_config_set_ocsp_staple_mem.3.gz +man/man3/tls_config_set_protocols.3.gz +man/man3/tls_config_set_session_fd.3.gz +man/man3/tls_config_set_session_id.3.gz +man/man3/tls_config_set_session_lifetime.3.gz +man/man3/tls_config_set_verify_depth.3.gz +man/man3/tls_config_verify.3.gz +man/man3/tls_config_verify_client.3.gz +man/man3/tls_config_verify_client_optional.3.gz +man/man3/tls_configure.3.gz +man/man3/tls_conn_alpn_selected.3.gz +man/man3/tls_conn_cipher.3.gz +man/man3/tls_conn_cipher_strength.3.gz +man/man3/tls_conn_servername.3.gz +man/man3/tls_conn_session_resumed.3.gz +man/man3/tls_conn_version.3.gz +man/man3/tls_connect.3.gz +man/man3/tls_connect_cbs.3.gz +man/man3/tls_connect_fds.3.gz +man/man3/tls_connect_servername.3.gz +man/man3/tls_connect_socket.3.gz +man/man3/tls_default_ca_cert_file.3.gz +man/man3/tls_error.3.gz +man/man3/tls_free.3.gz +man/man3/tls_handshake.3.gz +man/man3/tls_init.3.gz +man/man3/tls_load_file.3.gz +man/man3/tls_ocsp_process_response.3.gz +man/man3/tls_peer_cert_chain_pem.3.gz +man/man3/tls_peer_cert_contains_name.3.gz +man/man3/tls_peer_cert_hash.3.gz +man/man3/tls_peer_cert_issuer.3.gz +man/man3/tls_peer_cert_notafter.3.gz +man/man3/tls_peer_cert_notbefore.3.gz +man/man3/tls_peer_cert_provided.3.gz +man/man3/tls_peer_cert_subject.3.gz +man/man3/tls_peer_ocsp_cert_status.3.gz +man/man3/tls_peer_ocsp_crl_reason.3.gz +man/man3/tls_peer_ocsp_next_update.3.gz +man/man3/tls_peer_ocsp_response_status.3.gz +man/man3/tls_peer_ocsp_result.3.gz +man/man3/tls_peer_ocsp_revocation_time.3.gz +man/man3/tls_peer_ocsp_this_update.3.gz +man/man3/tls_peer_ocsp_url.3.gz +man/man3/tls_read.3.gz +man/man3/tls_reset.3.gz +man/man3/tls_server.3.gz +man/man3/tls_unload_file.3.gz +man/man3/tls_write.3.gz -- cgit 1.4.1 572ca7d8c5e4d&follow=1'>Fix all copyright noticesJune McEnroe 2022-08-04Add Conversations With FriendsJune McEnroe The better of the two, but largely the same. I feel like these books are a bit too autobiographical, but I don't know if I'm allowed to accuse an author of that. My real problem is that I read these books as largely uncritical of their characters. They behave in nonsense ways, are mostly uncritical of their own behaviour, and don't really have arcs of growth or change. I suppose this book had a bit of one, but only in the last two chapters. 2022-07-30Add Normal PeopleJune McEnroe Unbearably straight. Eyerolls and sighs per page off the charts. Shout out to Joanna, I guess. I kinda like the lack of quotation marks though to be honest. After half of the Ruth Ozeki novel and now this, I need to get back to some genre fiction. 2022-07-26Rewrite glitch from new pngoJune McEnroe 2022-07-26Update Care with time-to-ID and piercingsJune McEnroe 2022-07-26Add -w to upJune McEnroe 2022-07-13Set push.autoSetupRemoteJune McEnroe 2022-07-08Remove TOURJune McEnroe There is not that much distinct stuff here anymore. 2022-07-03Add The Bone Shard EmperorJune McEnroe Suffers a little bit from middle book but I really enjoyed it. Read it faster than the first one too, despite its length. 2022-06-25Bump xterm font size to 12June McEnroe 2022-06-10Handle subshells (and functions) inside substitutionsJune McEnroe 2022-06-10Switch to jorts Install scriptJune McEnroe 2022-06-08Indicate if still reading or no resultsJune McEnroe 2022-06-08Add Maiden, Mother, CroneJune McEnroe Mixed bag like most collections of short stories. Some of them are pretty good. The author of the worst written story also has the worst written bio. 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe