summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2007-01-18 16:28:07 +0000
committerreed <reed@pkgsrc.org>2007-01-18 16:28:07 +0000
commitc979c33234488bf125f0c13e574d90d509f3096e (patch)
treea15c5fd9c0a57e5ef2116776c851bf251df03696 /www
parentd6cd7df7c70d10bcf51a42f0f60f7ce17225683d (diff)
downloadpkgsrc-c979c33234488bf125f0c13e574d90d509f3096e.tar.gz
Add patch: do not fail on ECONNABORTED.
Reported to mini_httpd developers. Patch is found various places on internet.
Diffstat (limited to 'www')
-rw-r--r--www/mini_httpd/Makefile4
-rw-r--r--www/mini_httpd/distinfo3
-rw-r--r--www/mini_httpd/patches/patch-ac15
3 files changed, 19 insertions, 3 deletions
diff --git a/www/mini_httpd/Makefile b/www/mini_httpd/Makefile
index 16378e447bb..a8be32b3fdb 100644
--- a/www/mini_httpd/Makefile
+++ b/www/mini_httpd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2006/10/01 10:37:14 schwarz Exp $
+# $NetBSD: Makefile,v 1.13 2007/01/18 16:28:07 reed Exp $
DISTNAME= mini_httpd-1.19
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://www.acme.com/software/mini_httpd/
diff --git a/www/mini_httpd/distinfo b/www/mini_httpd/distinfo
index d9102ad7bb5..a8ee0295f7f 100644
--- a/www/mini_httpd/distinfo
+++ b/www/mini_httpd/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/12/08 17:11:58 joerg Exp $
+$NetBSD: distinfo,v 1.5 2007/01/18 16:28:07 reed Exp $
SHA1 (mini_httpd-1.19/mini_httpd-1.19.tar.gz) = b156a5e0b9b6e2169ed772a5890fc63d8ed60514
RMD160 (mini_httpd-1.19/mini_httpd-1.19.tar.gz) = 4e8ec41bd9238d49481354bcf9404fb11519a667
Size (mini_httpd-1.19/mini_httpd-1.19.tar.gz) = 42063 bytes
SHA1 (patch-aa) = 3e30a58fa50283a5b9fe3d272ae312f825a4c8ec
SHA1 (patch-ab) = bf74dd6f6a921024e0dde08eeff39fdf64706414
+SHA1 (patch-ac) = ccbd255aa5b3580426276e8f2fe211deea3feae5
diff --git a/www/mini_httpd/patches/patch-ac b/www/mini_httpd/patches/patch-ac
new file mode 100644
index 00000000000..742ae1ed5bb
--- /dev/null
+++ b/www/mini_httpd/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2007/01/18 16:28:08 reed Exp $
+
+--- mini_httpd.c.orig 2006-12-31 03:00:18.000000000 +0900
++++ mini_httpd.c 2007-01-05 11:40:35.000000000 +0900
+@@ -822,6 +822,10 @@
+ if ( errno == EPROTO )
+ continue; /* try again */
+ #endif /* EPROTO */
++#ifdef ECONNABORTED
++ if ( errno == ECONNABORTED )
++ continue; /* try again */
++#endif /* ECONNABORTED */
+ syslog( LOG_CRIT, "accept - %m" );
+ perror( "accept" );
+ exit( 1 );