Import civetweb-1.15, ok op@

Comment:
embedded C/C++ web server

Description:
Civetweb is a small footprint HTTP Server with optional Lua and SQLite support
written in C. It can be embedded into C/C++ applications or used as stand alone
web server.

Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org>

WWW: https://github.com/civetweb/civetweb
This commit is contained in:
rsadowski 2022-07-10 12:30:40 +00:00
parent 5d5040a814
commit 701ebf179a
4 changed files with 45 additions and 0 deletions

26
www/civetweb/Makefile Normal file
View File

@ -0,0 +1,26 @@
COMMENT = embedded C/C++ web server
GH_ACCOUNT = civetweb
GH_PROJECT = civetweb
GH_TAGNAME = v1.15
SHARED_LIBS += civetweb 0.0 # 0.0
SHARED_LIBS += civetweb-cpp 0.0 # 0.0
CATEGORIES = www
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} c m z
MODULES = devel/cmake
CONFIGURE_ARGS = -DCIVETWEB_BUILD_TESTING=OFF \
-DCIVETWEB_ENABLE_CXX=ON \
-DCIVETWEB_ENABLE_IPV6=ON \
-DCIVETWEB_ENABLE_ZLIB=ON \
-DCIVETWEB_ENABLE_WEBSOCKETS=ON \
-DBUILD_SHARED_LIBS=ON
.include <bsd.port.mk>

2
www/civetweb/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (civetweb-1.15.tar.gz) = kKUzQilEqzJ6T7uZafCEXQ26BTVPnKzOOlAF+ln1k7k=
SIZE (civetweb-1.15.tar.gz) = 12067940

3
www/civetweb/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
Civetweb is a small footprint HTTP Server with optional Lua and SQLite support
written in C. It can be embedded into C/C++ applications or used as stand alone
web server.

14
www/civetweb/pkg/PLIST Normal file
View File

@ -0,0 +1,14 @@
@bin bin/civetweb
include/CivetServer.h
include/civetweb.h
lib/cmake/
lib/cmake/civetweb/
lib/cmake/civetweb/FindLibDl.cmake
lib/cmake/civetweb/FindLibRt.cmake
lib/cmake/civetweb/FindWinSock.cmake
lib/cmake/civetweb/civetweb-config-version.cmake
lib/cmake/civetweb/civetweb-config.cmake
lib/cmake/civetweb/civetweb-targets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/civetweb/civetweb-targets.cmake
@lib lib/libcivetweb-cpp.so.${LIBcivetweb-cpp_VERSION}
@lib lib/libcivetweb.so.${LIBcivetweb_VERSION}