summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/librelp/Makefile14
-rw-r--r--devel/librelp/distinfo6
-rw-r--r--devel/librelp/pkg-descr2
3 files changed, 16 insertions, 6 deletions
diff --git a/devel/librelp/Makefile b/devel/librelp/Makefile
index b92bd99c46dd..d860fdb90a93 100644
--- a/devel/librelp/Makefile
+++ b/devel/librelp/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= librelp
-PORTVERSION= 1.2.16
+PORTVERSION= 1.2.17
CATEGORIES= devel
MASTER_SITES= http://download.rsyslog.com/librelp/
@@ -11,7 +11,17 @@ COMMENT= Reliable event logging protocol library
LICENSE= GPLv3
-LIB_DEPENDS= libgnutls.so:security/gnutls
+OPTIONS_SINGLE= SSLLIB
+OPTIONS_SINGLE_SSLLIB= GNUTLS OPENSSL
+OPTIONS_DEFAULT= GNUTLS
+
+GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
+GNUTLS_CONFIGURE_ENABLE= tls
+
+OPENSSL_USES= ssl
+OPENSSL_CONFIGURE_ENABLE= tls-openssl
+OPENSSL_CONFIGURE_ENV= OPENSSL_LIBS=${OPENSSLLIB} \
+ OPENSSL_CFLAGS="-I ${OPENSSLINC}"
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
diff --git a/devel/librelp/distinfo b/devel/librelp/distinfo
index aa5b1db0fb7c..85156e2a2267 100644
--- a/devel/librelp/distinfo
+++ b/devel/librelp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1526593637
-SHA256 (librelp-1.2.16.tar.gz) = 0c235dd2a01060ad5e64438879b31ae64e7640d0e262aa1a287a2dd9bc60fd53
-SIZE (librelp-1.2.16.tar.gz) = 474456
+TIMESTAMP = 1533400822
+SHA256 (librelp-1.2.17.tar.gz) = 1bf88b9decdbcaf06454ea1362455aa5ceccbcce282f07a4dc95e6911da4cbf0
+SIZE (librelp-1.2.17.tar.gz) = 506426
diff --git a/devel/librelp/pkg-descr b/devel/librelp/pkg-descr
index d7445ee7b16b..83d82dd473d1 100644
--- a/devel/librelp/pkg-descr
+++ b/devel/librelp/pkg-descr
@@ -10,4 +10,4 @@ In this case, a few messages may be duplicated (a problem that also
exists with plain TCP syslog). Future versions of RELP will address
this shortcoming.
-WWW: http://www.librelp.com/
+WWW: https://www.rsyslog.com/librelp/