Index: head/www/kcgi/files/patch-sandbox-capsicum.c =================================================================== --- head/www/kcgi/files/patch-sandbox-capsicum.c (revision 394958) +++ head/www/kcgi/files/patch-sandbox-capsicum.c (nonexistent) @@ -1,18 +0,0 @@ ---- 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) Property changes on: head/www/kcgi/files/patch-sandbox-capsicum.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/kcgi/files/patch-Makefile =================================================================== --- head/www/kcgi/files/patch-Makefile (revision 394958) +++ head/www/kcgi/files/patch-Makefile (nonexistent) @@ -1,9 +0,0 @@ ---- 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 Property changes on: head/www/kcgi/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/kcgi/Makefile =================================================================== --- head/www/kcgi/Makefile (revision 394958) +++ head/www/kcgi/Makefile (revision 394959) @@ -1,23 +1,23 @@ # $FreeBSD$ PORTNAME= kcgi -PORTVERSION= 0.6.3 +PORTVERSION= 0.7.1 CATEGORIES= www devel MASTER_SITES= http://kristaps.bsd.lv/kcgi/snapshots/ MAINTAINER= bapt@FreeBSD.org COMMENT= Minimal sandboxed CGI library in C LICENSE= ISCL USES= tar:tgz OPTIONS_DEFINE= EXAMPLES HAS_CONFIGURE= yes MAKE_ARGS= DATADIR=${EXAMPLESDIR} post-install: ${INSTALL_PROGRAM} ${WRKSRC}/kfcgi ${STAGEDIR}${PREFIX}/sbin/kfcgi .include Index: head/www/kcgi/distinfo =================================================================== --- head/www/kcgi/distinfo (revision 394958) +++ head/www/kcgi/distinfo (revision 394959) @@ -1,2 +1,2 @@ -SHA256 (kcgi-0.6.3.tgz) = db71973c11cdda5c2dec01ee906af59743422440a4c5a17797285a78dfdf98c6 -SIZE (kcgi-0.6.3.tgz) = 97541 +SHA256 (kcgi-0.7.1.tgz) = aad90187c20681ceb0cdd54e5cbc54a01c7c3d251b147a2cf1129697e76082c0 +SIZE (kcgi-0.7.1.tgz) = 108222 Index: head/www/kcgi/pkg-plist =================================================================== --- head/www/kcgi/pkg-plist (revision 394958) +++ head/www/kcgi/pkg-plist (revision 394959) @@ -1,30 +1,32 @@ include/kcgi.h include/kcgihtml.h include/kcgijson.h include/kcgixml.h lib/libkcgi.a lib/libkcgihtml.a lib/libkcgijson.a lib/libkcgixml.a man/man3/kcgi.3.gz -man/man3/kcgi_regress.3.gz man/man3/kcgihtml.3.gz man/man3/kcgijson.3.gz +man/man3/kcgiregress.3.gz man/man3/kcgixml.3.gz man/man3/khttp_body.3.gz man/man3/khttp_fcgi_free.3.gz man/man3/khttp_fcgi_init.3.gz man/man3/khttp_fcgi_parse.3.gz +man/man3/khttp_fcgi_test.3.gz man/man3/khttp_free.3.gz man/man3/khttp_head.3.gz man/man3/khttp_parse.3.gz man/man3/khttp_template.3.gz man/man3/khttp_write.3.gz man/man3/kmalloc.3.gz man/man3/kutil_urlencode.3.gz man/man3/kvalid_string.3.gz man/man8/kfcgi.8.gz sbin/kfcgi %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-cgi.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-fcgi.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/template.xml