Date: Sun, 19 Jul 2015 12:35:22 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392502 - in head/www/kcgi: . files Message-ID: <201507191235.t6JCZMs7053616@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun Jul 19 12:35:21 2015 New Revision: 392502 URL: https://svnweb.freebsd.org/changeset/ports/392502 Log: Update to 0.6.3 New custom patches: - fix regress target in Makefile - fix capsicum sandbox in fcgi mode Added: head/www/kcgi/files/patch-Makefile (contents, props changed) head/www/kcgi/files/patch-sandbox-capsicum.c (contents, props changed) Deleted: head/www/kcgi/files/patch-child.c head/www/kcgi/files/patch-kcgiregress.c head/www/kcgi/files/patch-output.c Modified: head/www/kcgi/Makefile head/www/kcgi/distinfo Modified: head/www/kcgi/Makefile ============================================================================== --- head/www/kcgi/Makefile Sun Jul 19 12:27:58 2015 (r392501) +++ head/www/kcgi/Makefile Sun Jul 19 12:35:21 2015 (r392502) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= kcgi -PORTVERSION= 0.6.2 -PORTREVISION= 1 +PORTVERSION= 0.6.3 CATEGORIES= www devel MASTER_SITES= http://kristaps.bsd.lv/kcgi/snapshots/ Modified: head/www/kcgi/distinfo ============================================================================== --- head/www/kcgi/distinfo Sun Jul 19 12:27:58 2015 (r392501) +++ head/www/kcgi/distinfo Sun Jul 19 12:35:21 2015 (r392502) @@ -1,2 +1,2 @@ -SHA256 (kcgi-0.6.2.tgz) = a1e5104c521f6528afd544c20e2c35e176916085659a878ae99eb59dc119534d -SIZE (kcgi-0.6.2.tgz) = 97487 +SHA256 (kcgi-0.6.3.tgz) = db71973c11cdda5c2dec01ee906af59743422440a4c5a17797285a78dfdf98c6 +SIZE (kcgi-0.6.3.tgz) = 97541 Added: head/www/kcgi/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/kcgi/files/patch-Makefile Sun Jul 19 12:35:21 2015 (r392502) @@ -0,0 +1,9 @@ +--- Makefile.orig 2015-07-18 20:23:31 UTC ++++ Makefile +@@ -1,5 +1,5 @@ + .SUFFIXES: .3 .3.html .8 .8.html .dot .svg .gnuplot .png .xml .html +- ++.PHONY: regress + # Comment if you don't need statically linked. + # This is only for the sample program! + #STATIC = -static Added: head/www/kcgi/files/patch-sandbox-capsicum.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/kcgi/files/patch-sandbox-capsicum.c Sun Jul 19 12:35:21 2015 (r392502) @@ -0,0 +1,18 @@ +--- sandbox-capsicum.c.orig 2015-07-18 20:23:31 UTC ++++ sandbox-capsicum.c +@@ -39,10 +39,13 @@ ksandbox_capsicum_init_child(void *arg, + + cap_rights_init(&rights); + +- if (cap_rights_limit(STDIN_FILENO, &rights) < 0 && errno != ENOSYS) ++ cap_rights_init(&rights, CAP_READ|CAP_FSTAT); ++ /* Test for EBADF because STDIN_FILENO can be close in fcgi */ ++ if (cap_rights_limit(STDIN_FILENO, &rights) < 0 && errno != ENOSYS && ++ errno != EBADF) + XWARN("cap_rights_limit: STDIN_FILENO"); + +- cap_rights_init(&rights, CAP_WRITE); ++ cap_rights_init(&rights, CAP_WRITE|CAP_FSTAT); + if (cap_rights_limit(STDOUT_FILENO, &rights) < 0 && errno != ENOSYS) + XWARN("cap_rights_limit: STDOUT_FILENO"); + if (cap_rights_limit(STDERR_FILENO, &rights) < 0 && errno != ENOSYS)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507191235.t6JCZMs7053616>