diff options
Diffstat (limited to 'security/authforce')
-rw-r--r-- | security/authforce/Makefile | 4 | ||||
-rw-r--r-- | security/authforce/files/patch-ae | 12 |
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")) |