summaryrefslogtreecommitdiff
path: root/security/authforce
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2006-12-13 12:41:35 +0000
committerPeter Pentchev <roam@FreeBSD.org>2006-12-13 12:41:35 +0000
commit64e068d25c1370f67d2f0d779ac1719f9bc5d137 (patch)
treee8e79d2b112a29862848aa733e4b3f9387c78d2e /security/authforce
parent- wv2 -- Integer Overflow Vulnerability (diff)
Update the ftp/curl port to 7.16.0.
Bump PORTREVISION of all dependent ports. Fix the build errors in the few ports that still use the long deprecated, and now obsoleted, cURL options. Thanks to everyone who took the time to look over the patch! Discussed on: -ports
Diffstat (limited to 'security/authforce')
-rw-r--r--security/authforce/Makefile4
-rw-r--r--security/authforce/files/patch-ae12
2 files changed, 14 insertions, 2 deletions
diff --git a/security/authforce/Makefile b/security/authforce/Makefile
index 27fd7b5213f5..9b8cdef9ee84 100644
--- a/security/authforce/Makefile
+++ b/security/authforce/Makefile
@@ -7,14 +7,14 @@
PORTNAME= authforce
PORTVERSION= 0.9.6
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= security www
MASTER_SITES= http://www.divineinvasion.net/authforce/
MAINTAINER= ache@FreeBSD.org
COMMENT= HTTP authentication brute forcer
-LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl
USE_BZIP2= yes
USE_GETOPT_LONG=yes
diff --git a/security/authforce/files/patch-ae b/security/authforce/files/patch-ae
new file mode 100644
index 000000000000..33a04ebcca41
--- /dev/null
+++ b/security/authforce/files/patch-ae
@@ -0,0 +1,12 @@
+--- src/http.c.orig Tue Dec 5 16:06:36 2006
++++ src/http.c Tue Dec 5 16:06:24 2006
+@@ -68,7 +68,9 @@
+ curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1);
+ curl_easy_setopt(curl, CURLOPT_USERPWD, authstring);
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
++#if LIBCURL_VERSION_NUM < 0x071000
+ curl_easy_setopt(curl, CURLOPT_MUTE, 1);
++#endif
+ curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1);
+ curl_easy_setopt(curl, CURLOPT_USERAGENT, user_agent);
+ if (strcmp(proxy, "undef"))