Import www/kore

Kore is an easy to use web application framework for writing scalable
web APIs in C.

Its main goals are security, scalability and allowing rapid development
and deployment of such APIs. Because of this Kore is an ideal candidate
for building robust, scalable and secure web things.

OK juanfra@
This commit is contained in:
fcambus 2016-10-31 10:24:52 +00:00
parent ce3e470611
commit 178c2172d0
4 changed files with 67 additions and 0 deletions

47
www/kore/Makefile Normal file
View File

@ -0,0 +1,47 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/10/31 10:24:52 fcambus Exp $
COMMENT = web application framework for writing scalable web APIs in C
GH_ACCOUNT = jorisvink
GH_PROJECT = kore
GH_TAGNAME = 2.0.0-release
PKGNAME = ${DISTNAME:S/-release//}
CATEGORIES = www
HOMEPAGE = https://kore.io/
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# ISC
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c crypto pthread ssl
FLAVORS = debug pgsql
FLAVOR ?=
.if ${FLAVOR} == "debug"
MAKE_ENV += DEBUG=1
.endif
.if ${FLAVOR} == "pgsql"
MAKE_ENV += PGSQL=1
WANTLIB += pq
LIB_DEPENDS += databases/postgresql,-main
.endif
USE_GMAKE = Yes
MAKE_ENV += TASKS=1
NO_TEST = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kore
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/kore
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/kore
${INSTALL_DATA} ${WRKSRC}/conf/kore.conf.example ${PREFIX}/share/examples/kore
.include <bsd.port.mk>

2
www/kore/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (kore-2.0.0-release.tar.gz) = 6Vc6O9mGvH2Rzj+4iYy1QlI9btJ0dhKBzqcqgZY1ScE=
SIZE (kore-2.0.0-release.tar.gz) = 947440

6
www/kore/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
Kore is an easy to use web application framework for writing scalable
web APIs in C.
Its main goals are security, scalability and allowing rapid development
and deployment of such APIs. Because of this Kore is an ideal candidate
for building robust, scalable and secure web things.

12
www/kore/pkg/PLIST Normal file
View File

@ -0,0 +1,12 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/10/31 10:24:52 fcambus Exp $
@bin bin/kore
include/kore/
include/kore/http.h
include/kore/jsonrpc.h
include/kore/kore.h
include/kore/pgsql.h
include/kore/tasks.h
share/doc/kore/
share/doc/kore/README.md
share/examples/kore/
share/examples/kore/kore.conf.example