Skip to content

Commit

Permalink
www/ulfius: Web Framework to build REST APIs in C
Browse files Browse the repository at this point in the history
Added because it is a dependency of www/glewlwyd - see upcoming commit
  • Loading branch information
dlangille committed Dec 29, 2021
1 parent 1404b2c commit 192ce85
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/Makefile
Expand Up @@ -2291,6 +2291,7 @@
SUBDIR += typo3-9
SUBDIR += uchiwa
SUBDIR += ufdbguard
SUBDIR += ulfius
SUBDIR += unit
SUBDIR += unit-java
SUBDIR += unit-perl
Expand Down
31 changes: 31 additions & 0 deletions www/ulfius/Makefile
@@ -0,0 +1,31 @@
PORTNAME= ulfius
DISTVERSIONPREFIX= v
DISTVERSION= 2.7.3
CATEGORIES= www

MAINTAINER= dvl@FreeBSD.org
COMMENT= Web Framework to build REST APIs, Webservices in C

LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= cmake

USE_GITHUB= yes
GH_ACCOUNT= babelouest

BUILD_DEPENDS+= libmicrohttpd>0:www/libmicrohttpd
BUILD_DEPENDS+= yder>0:devel/yder

LIB_DEPENDS+= libgnutls.so:security/gnutls
LIB_DEPENDS+= libjansson.so:devel/jansson
LIB_DEPENDS+= libcurl.so:ftp/curl
BUILD_DEPENDS+= orcania>0:devel/orcania

RUN_DEPENDS+= jansson>0:devel/jansson
RUN_DEPENDS+= gnutls>0:security/gnutls
RUN_DEPENDS+= libmicrohttpd>0:www/libmicrohttpd

CMAKE_ARGS= -DWITH_JOURNALD=off

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions www/ulfius/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1627935585
SHA256 (babelouest-ulfius-v2.7.3_GH0.tar.gz) = a20f575b3e81924c4ddb72c4ccdced134b5756a86b017f4a38b51608610628c5
SIZE (babelouest-ulfius-v2.7.3_GH0.tar.gz) = 252679
12 changes: 12 additions & 0 deletions www/ulfius/pkg-descr
@@ -0,0 +1,12 @@
HTTP Framework for REST Applications in C.

Based on GNU Libmicrohttpd for the backend web server, Jansson for the json
manipulation library, and Libcurl for the http/smtp client API.

Used to facilitate creation of web applications in C programs with a small
memory footprint, as in embedded systems applications.

You can create webservices in HTTP or HTTPS mode, stream data, or implement
server websockets.

WWW: https://github.com/babelouest/ulfius
7 changes: 7 additions & 0 deletions www/ulfius/pkg-plist
@@ -0,0 +1,7 @@
bin/uwsc
include/ulfius-cfg.h
include/ulfius.h
lib/libulfius.so
lib/libulfius.so.2.7
lib/libulfius.so.2.7.3
libdata/pkgconfig/libulfius.pc

0 comments on commit 192ce85

Please sign in to comment.