Bugfix update to 1.6.3, from Brad (maintainer).

This commit is contained in:
sthen 2009-09-29 07:33:31 +00:00
parent 81e76625b0
commit 8892470060
3 changed files with 7 additions and 23 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.6 2009/08/03 09:51:47 sthen Exp $ # $OpenBSD: Makefile,v 1.7 2009/09/29 07:33:31 sthen Exp $
COMMENT= spawn FastCGI processes COMMENT= spawn FastCGI processes
DISTNAME= spawn-fcgi-1.6.2 DISTNAME= spawn-fcgi-1.6.3
PKGNAME= ${DISTNAME}p0
CATEGORIES= www CATEGORIES= www
MASTER_SITES= http://www.lighttpd.net/download/ MASTER_SITES= http://www.lighttpd.net/download/

View File

@ -1,5 +1,5 @@
MD5 (spawn-fcgi-1.6.2.tar.gz) = 4R/oC/nlmrSrOXlxger6tg== MD5 (spawn-fcgi-1.6.3.tar.gz) = bXX56UNQVvoeV02DbYI80A==
RMD160 (spawn-fcgi-1.6.2.tar.gz) = zydX4RCIE5nxYWr/bTK7drj55bo= RMD160 (spawn-fcgi-1.6.3.tar.gz) = TAn7PYsD4XtJHHM0aVcNU40/9c4=
SHA1 (spawn-fcgi-1.6.2.tar.gz) = ST3qTDkFQnjIXFKn63dm1OByLrA= SHA1 (spawn-fcgi-1.6.3.tar.gz) = K5fqV9nXl0X+jWBR2DD6UHtCEWk=
SHA256 (spawn-fcgi-1.6.2.tar.gz) = rtxJ6pCzxL1ZX2VuhFd9/hNoNK1oln6/fgnagHzNmB4= SHA256 (spawn-fcgi-1.6.3.tar.gz) = dQeoIplXMWKRSQQO5WhiebdYKuRvApbv1ktULvBSqQ4=
SIZE (spawn-fcgi-1.6.2.tar.gz) = 88805 SIZE (spawn-fcgi-1.6.3.tar.gz) = 97921

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_spawn-fcgi_c,v 1.3 2009/08/03 09:51:47 sthen Exp $
fix http://redmine.lighttpd.net/issues/2033, from upstream repo.
--- src/spawn-fcgi.c.orig Wed Jul 29 21:59:15 2009
+++ src/spawn-fcgi.c Wed Jul 29 21:59:23 2009
@@ -198,7 +198,7 @@ static int bind_socket(const char *addr, unsigned shor
return -1;
}
- if (-1 == chmod(unixsocket, mode)) {
+ if (-1 != mode && -1 == chmod(unixsocket, mode)) {
fprintf(stderr, "spawn-fcgi: couldn't chmod socket: %s\n", strerror(errno));
close(fcgi_fd);
unlink(unixsocket);