[Bug 284992] [new port] net/libtlsrpt: C Library to implement TLSRPT into a MTA
Date: Fri, 07 Mar 2025 04:41:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284992
--- Comment #7 from Shi Yanling <sylphenix@outlook.com> ---
Comment on attachment 257770
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=257770
net/libtlsrpt.patch
>From c704c257ac49eef11a3e9b3f851138ea9e34def5 Mon Sep 17 00:00:00 2001
>From: Yusuf Yaman <nxjoseph@protonmail.com>
>Date: Sun, 23 Feb 2025 19:21:44 +0300
>Subject: [PATCH] net/libtlsrpt: New port: C Library to implement TLSRPT into a
> MTA
>
>libtlsrpt is a C library for generating TLS reporting files,
>allowing developers to integrate TLS connection problem
>reporting into their applications. It provides an
>implementation of the TLS-RPT protocol, enabling the
>generation of reports on TLS handshake failures,
>certificate validation errors, and other security-related issues.
>
>WWW: https://github.com/sys4/libtlsrpt
>
>PR: 284992
>---
> net/Makefile | 1 +
> net/libtlsrpt/Makefile | 22 ++++++++++++++++++++++
> net/libtlsrpt/distinfo | 3 +++
> net/libtlsrpt/pkg-descr | 6 ++++++
> net/libtlsrpt/pkg-plist | 23 +++++++++++++++++++++++
> 5 files changed, 55 insertions(+)
> create mode 100644 net/libtlsrpt/Makefile
> create mode 100644 net/libtlsrpt/distinfo
> create mode 100644 net/libtlsrpt/pkg-descr
> create mode 100644 net/libtlsrpt/pkg-plist
>
>diff --git a/net/Makefile b/net/Makefile
>index 986d53353d..6bf3a128fd 100644
>--- a/net/Makefile
>+++ b/net/Makefile
>@@ -429,6 +429,7 @@
> SUBDIR += libslirp
> SUBDIR += libsockpp
> SUBDIR += libsrtp2
>+ SUBDIR += libtlsrpt
> SUBDIR += libtnl
> SUBDIR += libtrace
> SUBDIR += libunp
>diff --git a/net/libtlsrpt/Makefile b/net/libtlsrpt/Makefile
>new file mode 100644
>index 0000000000..7128d9d917
>--- /dev/null
>+++ b/net/libtlsrpt/Makefile
>@@ -0,0 +1,22 @@
>+PORTNAME= libtlsrpt
>+DISTVERSIONPREFIX= v
>+DISTVERSION= 0.5.0
>+CATEGORIES= net
>+
>+MAINTAINER= nxjoseph@protonmail.com
>+COMMENT= C Library to implement TLSRPT into a MTA
>+WWW= https://github.com/sys4/libtlsrpt
>+
>+LICENSE= LGPL3
>+LICENSE_FILE= ${WRKSRC}/COPYING
>+
>+USES= autoreconf gettext-tools libtool
>+USE_GITHUB= yes
>+GH_ACCOUNT= sys4
>+USE_LDCONFIG= yes
>+
>+GNU_CONFIGURE= yes
>+
>+INSTALL_TARGET= install-strip
>+
>+.include <bsd.port.mk>
>diff --git a/net/libtlsrpt/distinfo b/net/libtlsrpt/distinfo
>new file mode 100644
>index 0000000000..72b4834546
>--- /dev/null
>+++ b/net/libtlsrpt/distinfo
>@@ -0,0 +1,3 @@
>+TIMESTAMP = 1740327188
>+SHA256 (sys4-libtlsrpt-v0.5.0_GH0.tar.gz) = 8cf811f4feece4e00f9f0140c2f3211b67d7fd46db57d8381d3b35ad5d00135f
>+SIZE (sys4-libtlsrpt-v0.5.0_GH0.tar.gz) = 27115
>diff --git a/net/libtlsrpt/pkg-descr b/net/libtlsrpt/pkg-descr
>new file mode 100644
>index 0000000000..5ae849867e
>--- /dev/null
>+++ b/net/libtlsrpt/pkg-descr
>@@ -0,0 +1,6 @@
>+libtlsrpt is a C library for generating TLS reporting files,
>+allowing developers to integrate TLS connection problem
>+reporting into their applications. It provides an
>+implementation of the TLS-RPT protocol, enabling the
>+generation of reports on TLS handshake failures,
>+certificate validation errors, and other security-related issues.
>diff --git a/net/libtlsrpt/pkg-plist b/net/libtlsrpt/pkg-plist
>new file mode 100644
>index 0000000000..8204218f7f
>--- /dev/null
>+++ b/net/libtlsrpt/pkg-plist
>@@ -0,0 +1,23 @@
>+include/tlsrpt.h
>+include/tlsrpt_version.h
>+lib/libtlsrpt.a
>+lib/libtlsrpt.so
>+lib/libtlsrpt.so.0
>+lib/libtlsrpt.so.0.0.0
>+share/man/man3/tlsrpt_add_delivery_request_failure.3.gz
>+share/man/man3/tlsrpt_add_mx_host_pattern.3.gz
>+share/man/man3/tlsrpt_add_policy_string.3.gz
>+share/man/man3/tlsrpt_cancel_delivery_request.3.gz
>+share/man/man3/tlsrpt_close.3.gz
>+share/man/man3/tlsrpt_errno_from_error_code.3.gz
>+share/man/man3/tlsrpt_error_code_is_internal.3.gz
>+share/man/man3/tlsrpt_finish_delivery_request.3.gz
>+share/man/man3/tlsrpt_finish_policy.3.gz
>+share/man/man3/tlsrpt_get_socket.3.gz
>+share/man/man3/tlsrpt_init_delivery_request.3.gz
>+share/man/man3/tlsrpt_init_policy.3.gz
>+share/man/man3/tlsrpt_open.3.gz
>+share/man/man3/tlsrpt_set_blocking.3.gz
>+share/man/man3/tlsrpt_set_malloc_and_free.3.gz
>+share/man/man3/tlsrpt_set_nonblocking.3.gz
>+share/man/man3/tlsrpt_strerror.3.gz
>--
>2.48.1
>
--
You are receiving this mail because:
You are the assignee for the bug.