Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2014 09:45:59 +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: r372984 - in head/www: . kcgi kcgi/files
Message-ID:  <201411210945.sAL9jxfv034386@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Nov 21 09:45:59 2014
New Revision: 372984
URL: https://svnweb.freebsd.org/changeset/ports/372984
QAT: https://qat.redports.org/buildarchive/r372984/

Log:
  kcgi is a minimal CGI library for web applications in ISC licensed ISO C. It was
  designed to be secure and auditable. See a Comparison of CGI Libraries in C for
  alternatives. To start, download kcgi.tgz and run make install into your PREFIX
  of choice. The kcgi(3) manpage documents usage. kcgi is a BSD.lv project
  
  WWW: http://kristaps.bsd.lv/kcgi/

Added:
  head/www/kcgi/
  head/www/kcgi/Makefile   (contents, props changed)
  head/www/kcgi/distinfo   (contents, props changed)
  head/www/kcgi/files/
  head/www/kcgi/files/patch-Makefile   (contents, props changed)
  head/www/kcgi/pkg-descr   (contents, props changed)
  head/www/kcgi/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri Nov 21 08:24:45 2014	(r372983)
+++ head/www/Makefile	Fri Nov 21 09:45:59 2014	(r372984)
@@ -347,6 +347,7 @@
     SUBDIR += jtoolkit
     SUBDIR += junkbuster
     SUBDIR += kannel
+    SUBDIR += kcgi
     SUBDIR += kdewebdev4
     SUBDIR += kpartsplugin
     SUBDIR += kplaylist

Added: head/www/kcgi/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/kcgi/Makefile	Fri Nov 21 09:45:59 2014	(r372984)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME=	kcgi
+PORTVERSION=	0.3.3
+CATEGORIES=	www devel
+MASTER_SITES=	http://kristaps.bsd.lv/kcgi/snapshots/
+
+MAINTAINER=	bapt@FreeBSD.org
+COMMENT=	Minimal CGI library in C
+
+LICENSE=	ISCL
+
+USES=		tar:tgz
+
+OPTIONS_DEFINE=	EXAMPLES
+
+HAS_CONFIGURE=	yes
+MAKE_ARGS=	DATADIR=${EXAMPLESDIR}
+
+.include <bsd.port.mk>

Added: head/www/kcgi/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/kcgi/distinfo	Fri Nov 21 09:45:59 2014	(r372984)
@@ -0,0 +1,2 @@
+SHA256 (kcgi-0.3.3.tgz) = 932512d8dc57fecca18b277e500d86c90166981e71bbb769812f5270bfdb0b7d
+SIZE (kcgi-0.3.3.tgz) = 45010

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	Fri Nov 21 09:45:59 2014	(r372984)
@@ -0,0 +1,25 @@
+--- Makefile.orig	2014-07-07 14:23:50 UTC
++++ Makefile
+@@ -67,14 +67,14 @@ installcgi: sample 
+ install: libkcgi.a
+ 	sed -e "s!@VERSION@!$(VERSION)!g" -e "s!@DATADIR@!$(DATADIR)!g" kcgi.h >kcgi.h~
+ 	sed -e "s!@VERSION@!$(VERSION)!g" -e "s!@DATADIR@!$(DATADIR)!g" kcgi.3 >kcgi.3~
+-	mkdir -p $(LIBDIR)
+-	mkdir -p $(INCLUDEDIR)
+-	mkdir -p $(DATADIR)
+-	mkdir -p $(MANDIR)
+-	install -m 0444 libkcgi.a $(LIBDIR)
+-	install -m 0444 kcgi.h~ $(INCLUDEDIR)/kcgi.h
+-	install -m 0444 kcgi.3~ $(MANDIR)/kcgi.3
+-	install -m 0444 template.xml sample.c $(DATADIR)
++	mkdir -p $(DESTDIR)$(LIBDIR)
++	mkdir -p $(DESTDIR)$(INCLUDEDIR)
++	mkdir -p $(DESTDIR)$(DATADIR)
++	mkdir -p $(DESTDIR)$(MANDIR)
++	install -m 0444 libkcgi.a $(DESTDIR)$(LIBDIR)
++	install -m 0444 kcgi.h~ $(DESTDIR)$(INCLUDEDIR)/kcgi.h
++	install -m 0444 kcgi.3~ $(DESTDIR)$(MANDIR)/kcgi.3
++	install -m 0444 template.xml sample.c $(DESTDIR)$(DATADIR)
+ 	rm -f kcgi.h~ kcgi.3~
+ 
+ sample: sample.o libkcgi.a

Added: head/www/kcgi/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/kcgi/pkg-descr	Fri Nov 21 09:45:59 2014	(r372984)
@@ -0,0 +1,6 @@
+kcgi is a minimal CGI library for web applications in ISC licensed ISO C. It was
+designed to be secure and auditable. See a Comparison of CGI Libraries in C for
+alternatives. To start, download kcgi.tgz and run make install into your PREFIX
+of choice. The kcgi(3) manpage documents usage. kcgi is a BSD.lv project
+
+WWW: http://kristaps.bsd.lv/kcgi/

Added: head/www/kcgi/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/kcgi/pkg-plist	Fri Nov 21 09:45:59 2014	(r372984)
@@ -0,0 +1,5 @@
+include/kcgi.h
+lib/libkcgi.a
+man/man3/kcgi.3.gz
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/template.xml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411210945.sAL9jxfv034386>