mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
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/
This commit is contained in:
parent
aba43df775
commit
c625c70c21
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372984
@ -347,6 +347,7 @@
|
||||
SUBDIR += jtoolkit
|
||||
SUBDIR += junkbuster
|
||||
SUBDIR += kannel
|
||||
SUBDIR += kcgi
|
||||
SUBDIR += kdewebdev4
|
||||
SUBDIR += kpartsplugin
|
||||
SUBDIR += kplaylist
|
||||
|
20
www/kcgi/Makefile
Normal file
20
www/kcgi/Makefile
Normal file
@ -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>
|
2
www/kcgi/distinfo
Normal file
2
www/kcgi/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (kcgi-0.3.3.tgz) = 932512d8dc57fecca18b277e500d86c90166981e71bbb769812f5270bfdb0b7d
|
||||
SIZE (kcgi-0.3.3.tgz) = 45010
|
25
www/kcgi/files/patch-Makefile
Normal file
25
www/kcgi/files/patch-Makefile
Normal file
@ -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
|
6
www/kcgi/pkg-descr
Normal file
6
www/kcgi/pkg-descr
Normal file
@ -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/
|
5
www/kcgi/pkg-plist
Normal file
5
www/kcgi/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
include/kcgi.h
|
||||
lib/libkcgi.a
|
||||
man/man3/kcgi.3.gz
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.c
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/template.xml
|
Loading…
Reference in New Issue
Block a user