Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2012 17:37:14 GMT
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        smatsui@karashi.org
Subject:   ports/169582: Update www/tinytinyhttpd to 0.11
Message-ID:  <201207011737.q61HbEOn056675@freefall.freebsd.org>
Resent-Message-ID: <201207011740.q61He7BB056758@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         169582
>Category:       ports
>Synopsis:       Update www/tinytinyhttpd to 0.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 01 17:40:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Adam Weinberger
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386


	
>Description:

tinytinyhttpd 0.11 has been out for more than a year, and fixes some
very serious bugs. The following simple patch updates the port. Please
let me know if you approve these changes, as I'd really like to get the
fixed package into the ports tree.
the fixed package.

>How-To-Repeat:
>Fix:

--- tthttpd.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/tinytinyhttpd/Makefile,v
retrieving revision 1.6
diff -u -d -p -r1.6 Makefile
--- Makefile	4 Nov 2009 08:14:14 -0000	1.6
+++ Makefile	1 Jul 2012 17:32:26 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	tinytinyhttpd
-PORTVERSION=	0.0.9
+PORTVERSION=	0.0.11
 CATEGORIES=	www
 MASTER_SITES=	http://cloud.github.com/downloads/mattn/tinytinyhttpd/ \
 		${MASTER_SITE_LOCAL}
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/www/tinytinyhttpd/distinfo,v
retrieving revision 1.7
diff -u -d -p -r1.7 distinfo
--- distinfo	19 Mar 2011 12:36:55 -0000	1.7
+++ distinfo	1 Jul 2012 17:32:26 -0000
@@ -1,2 +1,2 @@
-SHA256 (tinytinyhttpd-0.0.9.tar.gz) = 374041df75722920a355b3284d242a9fcdf009cc7c67078fd527c2682462792f
-SIZE (tinytinyhttpd-0.0.9.tar.gz) = 147412
+SHA256 (tinytinyhttpd-0.0.11.tar.gz) = 844150ef4f88b3d198273937861e3e9a3854b412f29b8be64ea01e9de7c71e9a
+SIZE (tinytinyhttpd-0.0.11.tar.gz) = 154501
Index: files/patch-httpd.cxx
===================================================================
RCS file: files/patch-httpd.cxx
diff -N files/patch-httpd.cxx
--- files/patch-httpd.cxx	4 Nov 2009 08:14:15 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-diff --git httpd.cxx httpd.cxx
-index 98cec3c..958200a 100644
---- httpd.cxx
-+++ httpd.cxx
-@@ -1734,7 +1734,7 @@ request_done:
- #if defined LINUX_SENDFILE_API
- 			sent = sendfile(msgsock, fileno(res_info->read), NULL, total);
- #elif defined FREEBSD_SENDFILE_API
--			sendfile(msgsock, fileno(res_info->read), total, &sent, NULL, 0);
-+			if (sendfile(msgsock, fileno(res_info->read), NULL, total, NULL, NULL, 0) == 0) sent = total;
- #elif defined _WIN32
- 			if (!res_info->process && lpfnTransmitFile && lpfnTransmitFile(
- 				msgsock,
--- tthttpd.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207011737.q61HbEOn056675>