Enable Authentication.
Bump PORTREVISION. Submitted by: Ollivier Robert <roberto@eurocontrol.fr>
This commit is contained in:
parent
401695d3cb
commit
d21c75af3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38589
@ -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/ \
|
||||
|
19
www/elinks-devel/files/patch-ac
Normal file
19
www/elinks-devel/files/patch-ac
Normal file
@ -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;
|
@ -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/ \
|
||||
|
19
www/elinks/files/patch-ac
Normal file
19
www/elinks/files/patch-ac
Normal file
@ -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;
|
@ -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/ \
|
||||
|
19
www/links/files/patch-ac
Normal file
19
www/links/files/patch-ac
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user