diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2001-02-22 09:25:11 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2001-02-22 09:25:11 +0000 |
commit | d21c75af3bfdbfb27e5fc2e96cba65f7e86e4adf (patch) | |
tree | ffc7e135438fc2e987867f5c39444cb48ae479dc /www/links | |
parent | Update to 2.0.2a2, change maintainer. (diff) |
Enable Authentication.
Bump PORTREVISION.
Submitted by: Ollivier Robert <roberto@eurocontrol.fr>
Notes
Notes:
svn path=/head/; revision=38589
Diffstat (limited to 'www/links')
-rw-r--r-- | www/links/Makefile | 1 | ||||
-rw-r--r-- | www/links/files/patch-ac | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/www/links/Makefile b/www/links/Makefile index 414d8e2de4db..5628d6abaa2b 100644 --- a/www/links/Makefile +++ b/www/links/Makefile @@ -7,6 +7,7 @@ PORTNAME= links PORTVERSION= 0.95 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links/download/ \ http://www.add.com.pl/links/download/ \ diff --git a/www/links/files/patch-ac b/www/links/files/patch-ac new file mode 100644 index 000000000000..1d829173d2f0 --- /dev/null +++ b/www/links/files/patch-ac @@ -0,0 +1,19 @@ +--- http.c.orig Thu Feb 22 12:21:56 2001 ++++ http.c Thu Feb 22 12:22:44 2001 +@@ -540,14 +540,14 @@ + e->redirect_get = h == 303; + } + } +- /*if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) { ++ if (h == 401) if ((d = parse_http_header(e->head, "WWW-Authenticate", NULL))) { + if (!strncasecmp(d, "Basic", 5)) { + add_auth_entry(host, get_param(d, "realm")); + add_questions_entry(do_auth_dialog); + setcstate(c, S_QUESTIONS); + } + mem_free(d); +- }*/ ++ } + kill_buffer_data(rb, a); + c->cache = e; + info->close = 0; |