aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2017-03-27 05:38:23 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2017-03-27 05:38:23 +0000
commit88ee59f5246280b112090877e7239bbac23a14d4 (patch)
tree30de82202aa25f5d864e4c405214010d2dc7324f /ftp
parentf4850c24557dafd559cf683053eff414dc42d4a6 (diff)
downloadports-88ee59f5246280b112090877e7239bbac23a14d4.tar.gz
ports-88ee59f5246280b112090877e7239bbac23a14d4.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd/Makefile3
-rw-r--r--ftp/proftpd/files/patch-modules_mod__tls.c20
2 files changed, 3 insertions, 20 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 643eb5bc947d..349c3b91ab03 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -174,6 +174,9 @@ CONFIGURE_ARGS+= --with-libraries=${LIBDIRS}
.if ${SSL_DEFAULT:Mopenssl-devel}
BROKEN= Does not build with openssl-devel
.endif
+.if ${SSL_DEFAULT:Mlibressl*}
+BROKEN= Does not build with libressl
+.endif
.if !defined(_BUILDING_PROFTPD_MODULE)
diff --git a/ftp/proftpd/files/patch-modules_mod__tls.c b/ftp/proftpd/files/patch-modules_mod__tls.c
deleted file mode 100644
index b4c6104ba1d8..000000000000
--- a/ftp/proftpd/files/patch-modules_mod__tls.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- modules/mod_tls.c.orig 2017-01-16 01:13:01 UTC
-+++ modules/mod_tls.c
-@@ -609,7 +609,7 @@ static void tls_diags_cb(const SSL *ssl,
- break;
- #endif
-
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
- case TLS_ST_OK:
- #else
- case SSL_ST_OK:
-@@ -633,7 +633,7 @@ static void tls_diags_cb(const SSL *ssl,
-
- ssl_state = SSL_get_state(ssl);
-
--#if OPENSSL_VERSION_NUMBER >= 0x10100000L
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
- if (ssl_state == TLS_ST_SR_CLNT_HELLO) {
- #else
- if (ssl_state == SSL3_ST_SR_CLNT_HELLO_A ||