From nobody Sat Jan 14 01:42:24 2023 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 4Nv1Hh5g97z2sXvM; Sat, 14 Jan 2023 01:42:24 +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 4Nv1Hh59RTz3MYK; Sat, 14 Jan 2023 01:42:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673660544; 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=BTeNbb5Gh2OF1mg3rtOE2a6ZzbqAsW/CfWJ2S4siFaE=; b=JI6RG0Mi0aAZuB+JUPbqgbbmwuAsnuESwDM0SdQEwfpb8/PqYfnxEs6bSRQEQUyQws1uyA A2k976npc7goW+SAtArS/n1pQWrsuzb3jnSaTc3tMwMcW6dbY+zj0hhkc8DhLwuDL1p019 2gSqZThHLjhIntBB+olxtOStaP4Rzk4t0HP0reDfhPtpsH6W1Ww20c3LgQTtFoJeYHSqOI iyRsWGfmzV15nx8fMYzi7R52sohy5CcQBFWhugINn4/Sy9dDGXDgcenTsuLnzjlpm1p9ar LawzkKhPXDpMYPUhrZbZFpGC94wXzduTjNfcadMK6M7UrYMTx1vI1TYwSIYWRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673660544; 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=BTeNbb5Gh2OF1mg3rtOE2a6ZzbqAsW/CfWJ2S4siFaE=; b=QVzCJNjKYtckw6xhs4gwk7iNK9tMd4gQZfTvMUQiPudjr9hfaaPfyVbOG8qaEaSmGFKHgc V5IFGtpHZMEqcIdw7iKvTe1bU9ZkMKPePzKTT3sQBgdYktThrlqceePp0S1/nH4y+WVkmS IL4UDAswlv0wynkThgCD7lqHm8EleV1I/+CEPMYfwoAfE2/PXAUqI7wLZ/Vz8TQpp3zXMW AxQsC4uxeio/D4I3I4EoVfQ+/SHdTstINiiMq8SyRXRBAAiv+QdJIg+PTxFT4jtDXUT3B3 iYLiql6qT0+PN4SehZmvNefNDL1R0abV0/I2oTrICdmmt2WHptz2LjS7htcrIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673660544; a=rsa-sha256; cv=none; b=l1S9JuUuR/3GmwYLW73tzSPvoFJwosedEa+54HUEEoNFE+iPm30hEV68wQhWfn7+dKiSj/ EUpsaWCwvBUewfEtSYjQXAe3psTpctYMRkOxZP94DDHjecieLawtaDlPPXiOIW7Q+TtmOM YqzpGNq1OUgewxE6zcgavidCY8I1kA1nIGuZUJnJ32jFQimdwju8ACYpGl0nf++bYdRwp+ CZb1M8anpsFGxTFnDEKfH/xACu8rldjcGJXj8qvGFt8UsMPNkOAPiDwHfJhFNDKKlaO9Q1 3lm2Y4h3sYCLrJuevl0KqRpapUsQdi0Ef6TfhRzFnr/tvijz4BLJUOtSJsdTrA== 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 4Nv1Hh4CqWzVXn; Sat, 14 Jan 2023 01:42:24 +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 30E1gOjx013676; Sat, 14 Jan 2023 01:42:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30E1gOxm013675; Sat, 14 Jan 2023 01:42:24 GMT (envelope-from git) Date: Sat, 14 Jan 2023 01:42:24 GMT Message-Id: <202301140142.30E1gOxm013675@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 7d3a3b7c0bdb - main - databases/nanodbc: New port: Small C++ wrapper for the native C ODBC API 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d3a3b7c0bdb2173a86cace56a6ea081461db094 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=7d3a3b7c0bdb2173a86cace56a6ea081461db094 commit 7d3a3b7c0bdb2173a86cace56a6ea081461db094 Author: Yuri Victorovich AuthorDate: 2023-01-14 01:07:09 +0000 Commit: Yuri Victorovich CommitDate: 2023-01-14 01:42:19 +0000 databases/nanodbc: New port: Small C++ wrapper for the native C ODBC API --- databases/Makefile | 1 + databases/nanodbc/Makefile | 24 ++++++++++++++++++++++++ databases/nanodbc/distinfo | 3 +++ databases/nanodbc/pkg-descr | 1 + databases/nanodbc/pkg-plist | 5 +++++ 5 files changed, 34 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index d492464e1e69..c2453616c329 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -227,6 +227,7 @@ SUBDIR += nagios-check_postgres_replication SUBDIR += nagios-check_redis SUBDIR += namazu2 + SUBDIR += nanodbc SUBDIR += neo4j SUBDIR += ocaml-dbm SUBDIR += ocaml-mysql diff --git a/databases/nanodbc/Makefile b/databases/nanodbc/Makefile new file mode 100644 index 000000000000..f96dd7b9c537 --- /dev/null +++ b/databases/nanodbc/Makefile @@ -0,0 +1,24 @@ +PORTNAME= nanodbc +DISTVERSIONPREFIX= v +DISTVERSION= 2.14.0 +CATEGORIES= databases devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Small C++ wrapper for the native C ODBC API +WWW= https://nanodbc.github.io/nanodbc/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libodbc.so:databases/unixODBC + +USES= cmake:testing compiler:c++14-lang localbase:ldflags # pkgconfig python:build +USE_LDCONFIG= yes + +USE_GITHUB= yes + +CMAKE_ON= BUILD_SHARED_LIBS \ + NANODBC_DISABLE_TESTS NANODBC_DISABLE_EXAMPLES +CMAKE_TESTING_ARGS= -DNANODBC_DISABLE_TESTS=OFF # many tests fail: Data source name not found and no default + +.include diff --git a/databases/nanodbc/distinfo b/databases/nanodbc/distinfo new file mode 100644 index 000000000000..7ffc1a42114c --- /dev/null +++ b/databases/nanodbc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1673647747 +SHA256 (nanodbc-nanodbc-v2.14.0_GH0.tar.gz) = 56228372042b689beccd96b0ac3476643ea85b3f57b3f23fb11ca4314e68b9a5 +SIZE (nanodbc-nanodbc-v2.14.0_GH0.tar.gz) = 707731 diff --git a/databases/nanodbc/pkg-descr b/databases/nanodbc/pkg-descr new file mode 100644 index 000000000000..263198cfcd6f --- /dev/null +++ b/databases/nanodbc/pkg-descr @@ -0,0 +1 @@ +nanodbc is a small library that makes ODBC API programming easy and fun again. diff --git a/databases/nanodbc/pkg-plist b/databases/nanodbc/pkg-plist new file mode 100644 index 000000000000..89ab018431f1 --- /dev/null +++ b/databases/nanodbc/pkg-plist @@ -0,0 +1,5 @@ +include/nanodbc/nanodbc.h +lib/cmake/nanodbc/nanodbc-config-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/nanodbc/nanodbc-config.cmake +lib/libnanodbc.so +lib/libnanodbc.so.2.14.0