Subject: pkg/30641: pkgsrc/www/thttpd is broken, submitting patch to fix it
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <j.momose@ieee.org>
List: pkgsrc-bugs
Date: 06/30/2005 13:40:00
>Number:         30641
>Category:       pkg
>Synopsis:       pkgsrc/www/thttpd is broken, submitting patch to fix it
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 30 13:40:00 +0000 2005
>Originator:     Jared Momose
>Release:        2.0.2
>Organization:
>Environment:
NetBSD evileye.ams.apc.com 2.0.2 NetBSD 2.0.2 (JPM) #0: Tue May 24 11:57:15 EDT 2005  jmomose@evileye.ams.apc.com:/home/jmomose/NetBSD_2.0.2/src/sys/arch/i386/compile/JPM i386
>Description:
The thttpd-2.25b.tar.gz tarball must have been changed or repackaged because the hashes do not match.

Also, patch-ad fails as the index.html file has changed.

>How-To-Repeat:
cd /usr/pkgsrc/www/thttpd && make
>Fix:
Here is a patch that fixes distinfo:

--- distinfo.orig       2005-06-30 06:02:30.000000000 -0400
+++ distinfo    2005-06-30 06:13:31.000000000 -0400
@@ -1,13 +1,13 @@
 $NetBSD: distinfo,v 1.9 2005/02/24 14:08:39 wiz Exp $

-SHA1 (thttpd-2.25b.tar.gz) = 51bc25ef035d7557c869a02ce353580a1cadfa2c
-RMD160 (thttpd-2.25b.tar.gz) = 15020e8d04d27b30c4da3104387a281e35d58025
-Size (thttpd-2.25b.tar.gz) = 132363 bytes
+SHA1 (thttpd-2.25b.tar.gz) = cd0e823233ad73e34ee1c9b871b01050feb9db52
+RMD160 (thttpd-2.25b.tar.gz) = 2b67abe40dfec7a21ed338a9082594825a9fef0e
+Size (thttpd-2.25b.tar.gz) = 132275 bytes
 SHA1 (sitedrivenby.gif) = 7671e9a8ec2cad3961b268befd33c0920e07c658
 RMD160 (sitedrivenby.gif) = 2e350e6531a800da8796207509c12fb590d0affa
 Size (sitedrivenby.gif) = 8519 bytes
 SHA1 (patch-aa) = 0f739bebf1ade45a9b9819fc92d48eeb1004eb66
 SHA1 (patch-ab) = 3766ae48fabc1980483e482157d1267971e621df
 SHA1 (patch-ac) = 71b2926a9513bd25a124510ad5f234d029492eb2
-SHA1 (patch-ad) = 1d7777516ff0c5e7b03643809854bf96707759ec
+SHA1 (patch-ad) = 844376c5da37cae4b4677d90fb2b4e946972bf74
 SHA1 (patch-af) = 2fa1603964383a745a82f1760faa947193764079

And here is the NEW patch-ad file for the CHANGED index.html:

--- index.html.orig     2005-06-30 06:10:23.000000000 -0400
+++ index.html  2005-06-30 06:11:08.000000000 -0400
@@ -9,6 +9,9 @@

 <P>
 Here's a link to the thttpd web pages.
+<A HREF="http://www.netbsd.org/">
+<IMG ALIGN=RIGHT SRC="sitedrivenby.gif" border=0 ALT="Site driven by NetBSD">
+</A>

 </BODY>
 </HTML>