Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Mar 2025 04:41:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 284992] [new port] net/libtlsrpt: C Library to implement TLSRPT into a MTA
Message-ID:  <bug-284992-7788-Li0GjfZkrb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284992-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284992-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284992

--- Comment #7 from Shi Yanling <sylphenix@outlook.com> ---
Comment on attachment 257770
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D257770
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 in=
to 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 +=3D libslirp
>     SUBDIR +=3D libsockpp
>     SUBDIR +=3D libsrtp2
>+    SUBDIR +=3D libtlsrpt
>     SUBDIR +=3D libtnl
>     SUBDIR +=3D libtrace
>     SUBDIR +=3D 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=3D	libtlsrpt
>+DISTVERSIONPREFIX=3D	v
>+DISTVERSION=3D	0.5.0
>+CATEGORIES=3D	net
>+
>+MAINTAINER=3D	nxjoseph@protonmail.com
>+COMMENT=3D	C Library to implement TLSRPT into a MTA
>+WWW=3D		https://github.com/sys4/libtlsrpt
>+
>+LICENSE=3D	LGPL3
>+LICENSE_FILE=3D	${WRKSRC}/COPYING
>+
>+USES=3D		autoreconf gettext-tools libtool
>+USE_GITHUB=3D	yes
>+GH_ACCOUNT=3D	sys4
>+USE_LDCONFIG=3D	yes
>+
>+GNU_CONFIGURE=3D	yes
>+
>+INSTALL_TARGET=3D	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 =3D 1740327188
>+SHA256 (sys4-libtlsrpt-v0.5.0_GH0.tar.gz) =3D 8cf811f4feece4e00f9f0140c2f=
3211b67d7fd46db57d8381d3b35ad5d00135f
>+SIZE (sys4-libtlsrpt-v0.5.0_GH0.tar.gz) =3D 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
>--=20
>2.48.1
>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284992-7788-Li0GjfZkrb>