summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-03-24 19:48:12 +0000
committerJune McEnroe <june@causal.agency>2021-03-24 19:48:12 +0000
commit29c3329e7281acf0ca7c61768957a25c5eff456b (patch)
tree7291a33a4e10511d0d1b6487e71ad6d1cb65b638
parentAdd bubger port (diff)
downloadports-29c3329e7281acf0ca7c61768957a25c5eff456b.tar.gz
ports-29c3329e7281acf0ca7c61768957a25c5eff456b.zip
Import security/libretls from ports svn
-rw-r--r--security/libretls/Makefile21
-rw-r--r--security/libretls/distinfo2
-rw-r--r--security/libretls/pkg-descr10
3 files changed, 14 insertions, 19 deletions
diff --git a/security/libretls/Makefile b/security/libretls/Makefile
index ca29014..5fca48e 100644
--- a/security/libretls/Makefile
+++ b/security/libretls/Makefile
@@ -1,28 +1,19 @@
-# $FreeBSD$
+# $FreeBSD: head/security/libretls/Makefile 561899 2021-01-18 07:55:49Z bapt $
 
 PORTNAME=	libretls
 PORTVERSION=	3.3.1
 CATEGORIES=	security devel
 MASTER_SITES=	https://causal.agency/libretls/
 
-MAINTAINER=	june@causal.agency
-COMMENT=	Port of libtls for OpenSSL
+MAINTAINER=	bapt@FreeBSD.org
+COMMENT=	TLS library designed to ease writing foolproof applications
 
 LICENSE=	ISCL
 
-BROKEN_SSL=			libressl
-BROKEN_SSL_REASON_libressl=	libtls is provided by LibreSSL
-
-USES=		libtool pathfix pkgconfig ssl
-USE_LDCONFIG=	yes
+USES=	libtool ssl pkgconfig
+INSTALL_TARGET=	install-strip
 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
+USE_LDCONFIG=	yes
 
 .include <bsd.port.mk>
diff --git a/security/libretls/distinfo b/security/libretls/distinfo
index ca12fef..720dc7c 100644
--- a/security/libretls/distinfo
+++ b/security/libretls/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608073305
+TIMESTAMP = 1610882864
 SHA256 (libretls-3.3.1.tar.gz) = f23a29ef321eff099b8fbabdecc3a3378cfb9eca24b2bf02062554e9779c4d33
 SIZE (libretls-3.3.1.tar.gz) = 431233
diff --git a/security/libretls/pkg-descr b/security/libretls/pkg-descr
index 6d3a7ef..ec3a3ce 100644
--- a/security/libretls/pkg-descr
+++ b/security/libretls/pkg-descr
@@ -1,4 +1,8 @@
-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.
+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
+libtls provides an excellent new API, but LibreSSL can be difficult to install
+on systems which already use OpenSSL. LibreTLS aims to make the libtls API more
+easily and widely available.
+
+WWW: https://git.causal.agency/libretls/about/