1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

www/hiawatha: 10.1 -> 10.3

Changes:
   https://www.hiawatha-webserver.org/weblog/112
   https://www.hiawatha-webserver.org/weblog/113

PR:		209240
Submitted by:	Fred <fred@trinitech.co.uk>
Approved by:	Chris Hutchinson <portmaster@BSDforge.com> (maintainer)
This commit is contained in:
Kurt Jaeger 2016-06-14 16:14:32 +00:00
parent efd8e3a5d6
commit 27a3a25d56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416896
3 changed files with 4 additions and 17 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= hiawatha
PORTVERSION= 10.1
PORTREVISION= 1
PORTVERSION= 10.3
CATEGORIES= www
MASTER_SITES= https://www.hiawatha-webserver.org/files/

View File

@ -1,2 +1,3 @@
SHA256 (hiawatha-10.1.tar.gz) = 3892e0a1836661c8dcc649f9ae965289f701640a618baf2c2287da9b78e36cf1
SIZE (hiawatha-10.1.tar.gz) = 887895
TIMESTAMP = 1465723990
SHA256 (hiawatha-10.3.tar.gz) = 99d185fb16bb1ab706724494d3cac86464f1485ed4b0fff09a192eca6da5ff8e
SIZE (hiawatha-10.3.tar.gz) = 897607

View File

@ -1,13 +0,0 @@
--- src/http.c.orig 2015-12-28 15:05:15 UTC
+++ src/http.c
@@ -845,8 +845,8 @@ int last_forwarded_ip(t_http_header *htt
/* Forwarded header
*/
begin = NULL;
- while ((forwarded = strcasestr(forwarded, "for=")) == NULL) {
- begin = forwarded;
+ while ((forwarded = strcasestr(forwarded, "for=")) != NULL) {
+ begin = forwarded + 4;
forwarded++;
}