diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-11-08 04:26:37 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-11-08 04:26:37 +0800 |
commit | 0040c4bcbc241107a77b9efacf8c6996fb2e2b3b (patch) | |
tree | eeca2deb2f56def910638331d0490a23aba5de40 /www/squirm | |
parent | 4c0f14f37435c97abc3447cc1389312fe941cc56 (diff) | |
download | freebsd-ports-gnome-0040c4bcbc241107a77b9efacf8c6996fb2e2b3b.tar.gz freebsd-ports-gnome-0040c4bcbc241107a77b9efacf8c6996fb2e2b3b.tar.zst freebsd-ports-gnome-0040c4bcbc241107a77b9efacf8c6996fb2e2b3b.zip |
Make substitution in PUT and HEAD methods work.
Submitted by: Alexey Khlyamkov <official@lll.pp.ru>
Diffstat (limited to 'www/squirm')
-rw-r--r-- | www/squirm/Makefile | 1 | ||||
-rw-r--r-- | www/squirm/files/patch-ac | 22 |
2 files changed, 21 insertions, 2 deletions
diff --git a/www/squirm/Makefile b/www/squirm/Makefile index 565bcc6970b2..83081e4cce14 100644 --- a/www/squirm/Makefile +++ b/www/squirm/Makefile @@ -7,6 +7,7 @@ PORTNAME= squirm PORTVERSION= 1.23 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.senet.com.au/squirm/ \ http://www.elab.co.za/squirm/ diff --git a/www/squirm/files/patch-ac b/www/squirm/files/patch-ac index 74c751a12fc1..b30d9eac669a 100644 --- a/www/squirm/files/patch-ac +++ b/www/squirm/files/patch-ac @@ -1,5 +1,8 @@ ---- ../squirm-1.23.orig/config.c Fri Mar 31 08:08:04 2000 -+++ config.c Wed Jun 7 10:27:39 2000 + +$FreeBSD$ + +--- config.c.orig Fri Mar 31 08:08:04 2000 ++++ config.c Wed Nov 7 22:23:27 2001 @@ -277,7 +277,7 @@ return 0; } @@ -9,3 +12,18 @@ if (fq_pattern_filename == NULL) { log(LOG_ERROR, "couldn't allocate memory in parse_squirm_conf()\n"); dodo_mode = 1; +@@ -304,11 +304,11 @@ + } + else if (strncasecmp(tmp1,"post", min(strlen("post"), strlen(tmp1))) == 0) { + methods |= POST; +- tmp1 += strlen("get"); ++ tmp1 += strlen("post"); + } + else if (strncasecmp(tmp1, "head", min(strlen("head"), strlen(tmp1))) == 0) { +- methods |= GET; +- tmp1 += strlen("get"); ++ methods |= HEAD; ++ tmp1 += strlen("head"); + } + else if (strncasecmp(tmp1, "all", min(strlen("all"), strlen(tmp1))) == 0) { + methods |= ALL; |