aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/proftpd
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-05-11 05:32:16 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-05-11 05:32:16 +0800
commit8107eba33576877a180e9f0f018bb396db692acd (patch)
tree0f5e3a2846889a8d9fa6fe9dead1338630220d20 /ftp/proftpd
parent3041211e3c1281977fd9e76302eacf0f7f6f14d2 (diff)
downloadfreebsd-ports-gnome-8107eba33576877a180e9f0f018bb396db692acd.tar.gz
freebsd-ports-gnome-8107eba33576877a180e9f0f018bb396db692acd.tar.zst
freebsd-ports-gnome-8107eba33576877a180e9f0f018bb396db692acd.zip
Remove broken extra patch files/extra-patch-module-mod_ldap.c the patch itself
is actually repeated 3 times so it tries to reverse itself and fails. This patch is only applied if the LDAP know is checked so it doesn't appear on all builds. The patch itself defines TLS support in the LDAP module. There are two problems with doing this. One, it breaks LDAP if the server doesn't support TLS. And two it causes the build to fail on 4.x. The patch to do this was a requested option, and isn't critical for most people. The maintainer is going to add another option knob for LDAP_TLS support once the 4.x build problems are resolved. PR: 96713 Submitted by: Beech Rintoul <beech@mangohealth.org> (maintainer)
Diffstat (limited to 'ftp/proftpd')
-rw-r--r--ftp/proftpd/Makefile10
-rw-r--r--ftp/proftpd/files/extra-patch-module-mod_ldap.c31
2 files changed, 3 insertions, 38 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index b84903971b44..0e6fa9b77d96 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= proftpd
DISTVERSION= 1.3.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
@@ -52,10 +52,10 @@ OPTIONS= IPV6 "Use IPv6" off \
WRAP "Include mod_wrap" on \
RADIUS "Include mod_radius" off
-MODULES?=
-
.include <bsd.port.pre.mk>
+MODULES?=
+
.if defined(WITH_RATIO)
MODULES:=${MODULES}:mod_ratio
.endif
@@ -125,10 +125,6 @@ USE_OPENSSL= yes
.include <${PORTSDIR}/Mk/bsd.openssl.mk>
PROFTPD_LIBS+= -lssl -lcrypto -L${LOCALBASE}/lib
MODULES:=${MODULES}:mod_tls
-
-.if defined(WITH_LDAP)
-EXTRA_PATCHES=${FILESDIR}/extra-patch-module-mod_ldap.c
-.endif
.endif
.if defined(WITH_CTRLS)
diff --git a/ftp/proftpd/files/extra-patch-module-mod_ldap.c b/ftp/proftpd/files/extra-patch-module-mod_ldap.c
deleted file mode 100644
index 632264c44c44..000000000000
--- a/ftp/proftpd/files/extra-patch-module-mod_ldap.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- contrib/mod_ldap.c Fri Apr 21 10:31:23 2006
-+++ contrib/mod_ldap.c Fri Apr 21 10:31:43 2006
-@@ -55,7 +55,7 @@
- * after connecting to the LDAP server. If TLS cannot be enabled, the LDAP
- * connection will fail.
- */
--/* #define USE_LDAP_TLS */
-+#define USE_LDAP_TLS
-
- /* Uncomment this if you have OpenSSL and wish to verify non-crypt()
- * password hashes locally with OpenSSL. You'll also need to edit--- contrib/mod_ldap.c Fri Apr 21 10:31:23 2006
-+++ contrib/mod_ldap.c Fri Apr 21 10:31:43 2006
-@@ -55,7 +55,7 @@
- * after connecting to the LDAP server. If TLS cannot be enabled, the LDAP
- * connection will fail.
- */
--/* #define USE_LDAP_TLS */
-+#define USE_LDAP_TLS
-
- /* Uncomment this if you have OpenSSL and wish to verify non-crypt()
- * password hashes locally with OpenSSL. You'll also need to edit--- contrib/mod_ldap.c Fri Apr 21 10:31:23 2006
-+++ contrib/mod_ldap.c Fri Apr 21 10:31:43 2006
-@@ -55,7 +55,7 @@
- * after connecting to the LDAP server. If TLS cannot be enabled, the LDAP
- * connection will fail.
- */
--/* #define USE_LDAP_TLS */
-+#define USE_LDAP_TLS
-
- /* Uncomment this if you have OpenSSL and wish to verify non-crypt()
- * password hashes locally with OpenSSL. You'll also need to edit