From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 1 17:40:08 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FB3E1065670 for ; Sun, 1 Jul 2012 17:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A030E8FC12 for ; Sun, 1 Jul 2012 17:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q61He7WM056759 for ; Sun, 1 Jul 2012 17:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q61He7BB056758; Sun, 1 Jul 2012 17:40:07 GMT (envelope-from gnats) Resent-Date: Sun, 1 Jul 2012 17:40:07 GMT Resent-Message-Id: <201207011740.q61He7BB056758@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adam Weinberger Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9EE28106566B for ; Sun, 1 Jul 2012 17:37:14 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 71B678FC15; Sun, 1 Jul 2012 17:37:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q61HbE27056676; Sun, 1 Jul 2012 17:37:14 GMT (envelope-from adamw@freefall.freebsd.org) Received: (from adamw@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q61HbEOn056675; Sun, 1 Jul 2012 17:37:14 GMT (envelope-from adamw) Message-Id: <201207011737.q61HbEOn056675@freefall.freebsd.org> Date: Sun, 1 Jul 2012 17:37:14 GMT From: Adam Weinberger To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: smatsui@karashi.org Subject: ports/169582: Update www/tinytinyhttpd to 0.11 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Adam Weinberger List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2012 17:40:08 -0000 >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: