From owner-svn-ports-head@freebsd.org Sun Jul 19 12:35:24 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 230769A6967; Sun, 19 Jul 2015 12:35:24 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0683415DC; Sun, 19 Jul 2015 12:35:24 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6JCZN8o053621; Sun, 19 Jul 2015 12:35:23 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6JCZMs7053616; Sun, 19 Jul 2015 12:35:22 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201507191235.t6JCZMs7053616@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sun, 19 Jul 2015 12:35:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392502 - in head/www/kcgi: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 12:35:24 -0000 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)