pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/http_load Update http_load to 20060312, a.k.a. 12m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e32c030c66d2
branches:  trunk
changeset: 398035:e32c030c66d2
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Aug 22 12:01:21 2009 +0000

description:
Update http_load to 20060312, a.k.a. 12mar2006.

Changes is unknown, but at least, patch-ab was incorporated.

diffstat:

 www/http_load/Makefile         |   7 ++---
 www/http_load/distinfo         |   9 +++---
 www/http_load/patches/patch-ab |  56 ------------------------------------------
 3 files changed, 7 insertions(+), 65 deletions(-)

diffs (90 lines):

diff -r ddbc3aa094cf -r e32c030c66d2 www/http_load/Makefile
--- a/www/http_load/Makefile    Sat Aug 22 11:44:39 2009 +0000
+++ b/www/http_load/Makefile    Sat Aug 22 12:01:21 2009 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2009/07/07 19:21:57 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2009/08/22 12:01:21 obache Exp $
 
-DISTNAME=      http_load-04jan2002
-PKGNAME=       http_load-20020104
-PKGREVISION=   5
+DISTNAME=      http_load-12mar2006
+PKGNAME=       http_load-20060312
 CATEGORIES=    www
 MASTER_SITES=  http://www.acme.com/software/http_load/
 
diff -r ddbc3aa094cf -r e32c030c66d2 www/http_load/distinfo
--- a/www/http_load/distinfo    Sat Aug 22 11:44:39 2009 +0000
+++ b/www/http_load/distinfo    Sat Aug 22 12:01:21 2009 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.8 2009/08/22 09:30:37 obache Exp $
+$NetBSD: distinfo,v 1.9 2009/08/22 12:01:21 obache Exp $
 
-SHA1 (http_load-04jan2002.tar.gz) = 7b21fd2cfeb4bf6705ef6bd3f194a6a2f01ff976
-RMD160 (http_load-04jan2002.tar.gz) = dc0986091b1f1819100c24503a58a57978deba38
-Size (http_load-04jan2002.tar.gz) = 16710 bytes
+SHA1 (http_load-12mar2006.tar.gz) = a989253cf32f9ef038dfaa2c254773ea9912137f
+RMD160 (http_load-12mar2006.tar.gz) = 6202297454b24694315880258049da8dafc900b7
+Size (http_load-12mar2006.tar.gz) = 17033 bytes
 SHA1 (patch-aa) = ca3967a62bd9cc0d2dceefe60a29e43bf3a888a1
-SHA1 (patch-ab) = b10f08ce3f09d8518415f4735aad2ca8bd53de3b
diff -r ddbc3aa094cf -r e32c030c66d2 www/http_load/patches/patch-ab
--- a/www/http_load/patches/patch-ab    Sat Aug 22 11:44:39 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2004/08/04 12:21:02 cube Exp $
-
---- http_load.c.orig   2002-01-04 22:20:46.000000000 +0100
-+++ http_load.c
-@@ -655,11 +655,11 @@ lookup_address( int url_num )
-     (void) memset( &hints, 0, sizeof(hints) );
-     hints.ai_family = PF_UNSPEC;
-     hints.ai_socktype = SOCK_STREAM;
--    (void) snprintf( portstr, sizeof(portstr), "%d", (int) urls[url_num].port );
--    if ( (gaierr = getaddrinfo( urls[url_num].hostname, portstr, &hints, &ai )) != 0 )
-+    (void) snprintf( portstr, sizeof(portstr), "%d", (int) port );
-+    if ( (gaierr = getaddrinfo( hostname, portstr, &hints, &ai )) != 0 )
-       {
-       (void) fprintf(
--          stderr, "%s: getaddrinfo %s - %s\n", argv0, urls[url_num].hostname,
-+          stderr, "%s: getaddrinfo %s - %s\n", argv0, hostname,
-           gai_strerror( gaierr ) );
-       exit( 1 );
-       }
-@@ -689,7 +689,7 @@ lookup_address( int url_num )
-           {
-           (void) fprintf(
-               stderr, "%s - sockaddr too small (%lu < %lu)\n",
--              urls[url_num].hostname,
-+              hostname,
-               (unsigned long) sizeof(urls[url_num].sa),
-               (unsigned long) aiv4->ai_addrlen );
-           exit( 1 );
-@@ -708,7 +708,7 @@ lookup_address( int url_num )
-           {
-           (void) fprintf(
-               stderr, "%s - sockaddr too small (%lu < %lu)\n",
--              urls[url_num].hostname,
-+              hostname,
-               (unsigned long) sizeof(urls[url_num].sa),
-               (unsigned long) aiv6->ai_addrlen );
-           exit( 1 );
-@@ -724,15 +724,15 @@ lookup_address( int url_num )
- 
-     (void) fprintf(
-       stderr, "%s: no valid address found for host %s\n", argv0,
--      urls[url_num].hostname );
-+      hostname );
-     exit( 1 );
- 
- #else /* USE_IPV6 */
- 
--    he = gethostbyname( urls[url_num].hostname );
-+    he = gethostbyname( hostname );
-     if ( he == (struct hostent*) 0 )
-       {
--      (void) fprintf( stderr, "%s: unknown host - %s\n", argv0, urls[url_num].hostname );
-+      (void) fprintf( stderr, "%s: unknown host - %s\n", argv0, hostname );
-       exit( 1 );
-       }
-     urls[url_num].sock_family = urls[url_num].sa.sin_family = he->h_addrtype;



Home | Main Index | Thread Index | Old Index