From nobody Wed Dec 29 01:24:28 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 382541910E02; Wed, 29 Dec 2021 01:24:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JNtws41VZz3CRF; Wed, 29 Dec 2021 01:24:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D6BD31C176; Wed, 29 Dec 2021 01:24:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BT1OSZP054128; Wed, 29 Dec 2021 01:24:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BT1OSh5054127; Wed, 29 Dec 2021 01:24:28 GMT (envelope-from git) Date: Wed, 29 Dec 2021 01:24:28 GMT Message-Id: <202112290124.1BT1OSh5054127@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: 192ce850e01c - main - www/ulfius: Web Framework to build REST APIs in C List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 192ce850e01cae90f38bc7fcabf34791d4ac93e4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640741069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Dh7lnYycqrPz5OYUozS8IUTtcjbXAyIn6m8KdQ4DCxI=; b=IFWqpFvRGM8W3xIPVGKWbAYLiVdsY628hu8wfkFaa6AWu35bHPzT7EHoqiqvv2rBUivMs7 R6h8Y7D48gpCAXiwhCJlgQ9xVeI/4pIarg+8YJbqe8JHF+1IuGfgUuI+F+fmFstwcBdOjr l9IuAZ+n1c3r+9KHEC5JuR0hvywVQRPrVBAAej/HhecZJdfxanqzS8Z9oXKOHDAWhzVC+3 mv+MdKoCGHRCj3grT15SwrrZgNSR8ABJWoiSTbqxevM0R+gthV6QazOQqlh7DOaGDgorZF adOOiMmbK5PIXOxd9Gy002gmj+/Ak5JaY+vQNdUf3rR2vw4joatXEx8jTv8mXg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640741069; a=rsa-sha256; cv=none; b=JUBnexaVm1sjNz0X4d4rbVU4j9SRzS8g5z4fFb3CH6g+2kc+WAFMLQDsd7tESXVzNH/G2B Bb9loQbrpItW+Sixq9DHTdf30beYmCbouh1HKemAYEekKDCYiM26LJ4cTYmLujRoPB8LXo YHsBBmU6REqlNsMNBo8nHj7Vgen6CIBvpjT818g2iMe0LJmUgqMrAGvAG8XiftVrMUmfku A/9Pj+ppG6DNnosjX3NPy7u1B4mGRwbcwoRETJsc27bFLyIZrKufg0DmLhAxt7tiawEIJk EwcnyHj28nsvDdd5qInKyypqc4QZDa42ntfvYBsw/vXRqrQUu+yXvLuUVCtpFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=192ce850e01cae90f38bc7fcabf34791d4ac93e4 commit 192ce850e01cae90f38bc7fcabf34791d4ac93e4 Author: Dan Langille AuthorDate: 2021-12-28 23:10:46 +0000 Commit: Dan Langille CommitDate: 2021-12-29 01:23:01 +0000 www/ulfius: Web Framework to build REST APIs in C Added because it is a dependency of www/glewlwyd - see upcoming commit --- www/Makefile | 1 + www/ulfius/Makefile | 31 +++++++++++++++++++++++++++++++ www/ulfius/distinfo | 3 +++ www/ulfius/pkg-descr | 12 ++++++++++++ www/ulfius/pkg-plist | 7 +++++++ 5 files changed, 54 insertions(+) diff --git a/www/Makefile b/www/Makefile index 958cf94f423c..c8570aa8374e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2291,6 +2291,7 @@ SUBDIR += typo3-9 SUBDIR += uchiwa SUBDIR += ufdbguard + SUBDIR += ulfius SUBDIR += unit SUBDIR += unit-java SUBDIR += unit-perl diff --git a/www/ulfius/Makefile b/www/ulfius/Makefile new file mode 100644 index 000000000000..c3d24fc37802 --- /dev/null +++ b/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 diff --git a/www/ulfius/distinfo b/www/ulfius/distinfo new file mode 100644 index 000000000000..f421c37896e4 --- /dev/null +++ b/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 diff --git a/www/ulfius/pkg-descr b/www/ulfius/pkg-descr new file mode 100644 index 000000000000..798900d7b298 --- /dev/null +++ b/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 diff --git a/www/ulfius/pkg-plist b/www/ulfius/pkg-plist new file mode 100644 index 000000000000..8934f22cae8e --- /dev/null +++ b/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