From nobody Wed Dec 29 01:24:27 2021 X-Original-To: dev-commits-ports-all@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 8CD531910A58; Wed, 29 Dec 2021 01:24:28 +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 4JNtwq6VNpz3CSv; Wed, 29 Dec 2021 01:24:27 +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 B7E611BF4E; Wed, 29 Dec 2021 01:24:27 +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 1BT1ORpB054104; Wed, 29 Dec 2021 01:24:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BT1ORmm054103; Wed, 29 Dec 2021 01:24:27 GMT (envelope-from git) Date: Wed, 29 Dec 2021 01:24:27 GMT Message-Id: <202112290124.1BT1ORmm054103@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: 1404b2c1e25e - main - devel/hoel: New port: Database abstraction library List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 1404b2c1e25e21b433b421790163c32344d03bdd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640741068; 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=5DVsES8K9GOI4x/+U/j5EAuwV07wyG4pMOn146TJ79U=; b=JxKGLrM2cXoO3HtyeNi68w4bishkPRWFArE2mdN2dBq8dT5khiN7eRAfSciaMocemTEu6q Ekh84CiVr7catzbtpvC2hYTeVyvkrSpQTxo9X+L48ipPRGmtrbz4eugWacbcL2N13XO538 OCzduzSnScVJ8qkLpKlBxU+Dbs9xE997vapJHMOZWM5Zcdoh9mWnrANTe8pabaMiUTjzrr MDssGypnxcJB6HgTTGMiz3HX90LEnamfHQKAZ9VSkp1kgT3CwO1o0dcY3EQiLUfbMl9E2b vkbjEJI7mJyeSljMy9tIKhjI0ntpK9Sm9LYT4UJQk7egW2ddBHZxDfcrZZ8fXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640741068; a=rsa-sha256; cv=none; b=Nn4dyaMlptwCGi/oosNl9YL+AsIBgzXR/ezAOHD3nOVeA4qfVT7LRxRvV4jTudfctlZ18X Yy59oNtSHrA3ROy8FalRtNwzUPGKV0tDgBAuCxydutVGMWj1s0pXmABOt2kNNM7HlKY2/Y xHj4/9LdcU/v86IAilnNGRMIiLETfHbAhmrOR2aI5Mlkfv4XedWpx7grHZw3nv7w+74kVr 9iaW/evtkigStV27KPRtg82IaVaXU9dprSi7adQt3MLrXG3IKArgURcvB2ysy4WNZunliT QIijqYqlBaQJzGoqN7q5BdFVQij3t3AYwFh3dOZp/Rggv07NmJD8U2+tNsIKSA== 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=1404b2c1e25e21b433b421790163c32344d03bdd commit 1404b2c1e25e21b433b421790163c32344d03bdd Author: Dan Langille AuthorDate: 2021-12-28 23:07:35 +0000 Commit: Dan Langille CommitDate: 2021-12-29 01:23:01 +0000 devel/hoel: New port: Database abstraction library Added because it is a dependency of www/glewlwyd - see upcoming commit --- devel/Makefile | 1 + devel/hoel/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++ devel/hoel/distinfo | 3 +++ devel/hoel/pkg-descr | 7 +++++++ devel/hoel/pkg-plist | 6 ++++++ 5 files changed, 63 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8e5d9d708b61..5d929ccff89a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -961,6 +961,7 @@ SUBDIR += hgsvn SUBDIR += hhdate SUBDIR += highlighterkit + SUBDIR += hoel SUBDIR += horde-content SUBDIR += horde-timeobjects SUBDIR += horde-whups diff --git a/devel/hoel/Makefile b/devel/hoel/Makefile new file mode 100644 index 000000000000..14b871c60b03 --- /dev/null +++ b/devel/hoel/Makefile @@ -0,0 +1,46 @@ +PORTNAME= hoel +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.14 +CATEGORIES= devel + +MAINTAINER= dvl@FreeBSD.org +COMMENT= Database abstraction library written in C + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake + +USE_GITHUB= yes +GH_ACCOUNT= babelouest + +LIB_DEPENDS+= libjansson.so:devel/jansson +LIB_DEPENDS+= liborcania.so:devel/orcania + +BUILD_DEPENDS+= orcania>0:devel/orcania +BUILD_DEPENDS+= yder>0:devel/yder + +RUN_DEPENDS+= jansson>0:devel/jansson +RUN_DEPENDS+= yder>0:devel/yder + +OPTIONS_DEFINE= MARIADB PGSQL SQLITE3 +OPTIONS_DEFAULT= PGSQL + +PGSQL_DESC= Use PostgreSQL as backend +SQLITE3_DESC= Use SQLite 3 as backend +MARIADB_DESC= Use MariaDB as backend + +MARIADB_USES= mariadb +PGSQL_USES= pgsql +SQLITE3_USES= sqlite3 + +MARIADB_CMAKE_BOOL= WITH_MARIADB +PGSQL_CMAKE_BOOL= WITH_PGSQL +SQLITE3_CMAKE_BOOL= WITH_SQLITE3 + +CMAKE_ARGS= -DWITH_JOURNALD=off +# -DWITH_PGSQL=on +# -DWITH_SQLITE3=off +# -DWITH_MARIADB=off + +.include diff --git a/devel/hoel/distinfo b/devel/hoel/distinfo new file mode 100644 index 000000000000..66f3f80048e5 --- /dev/null +++ b/devel/hoel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1640726967 +SHA256 (babelouest-hoel-v1.4.14_GH0.tar.gz) = 613920cb9ab7cebb1435117f8f750b19b93b7eae2ce7204bef0564b882a2333d +SIZE (babelouest-hoel-v1.4.14_GH0.tar.gz) = 203595 diff --git a/devel/hoel/pkg-descr b/devel/hoel/pkg-descr new file mode 100644 index 000000000000..1078e43d59c3 --- /dev/null +++ b/devel/hoel/pkg-descr @@ -0,0 +1,7 @@ +Database abstraction library written in C. + +Simple and easy to use database access library. Works with SQLite 3, +MariaDB and PostgreSQL databases. Uses a JSON-based language with +jansson to execute simple queries based on one table. + +WWW: https://github.com/babelouest/hoel diff --git a/devel/hoel/pkg-plist b/devel/hoel/pkg-plist new file mode 100644 index 000000000000..75646e234adb --- /dev/null +++ b/devel/hoel/pkg-plist @@ -0,0 +1,6 @@ +include/hoel-cfg.h +include/hoel.h +lib/libhoel.so +lib/libhoel.so.1.4 +lib/libhoel.so.1.4.14 +libdata/pkgconfig/libhoel.pc