From owner-svn-ports-all@freebsd.org Mon Oct 21 17:54:04 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E14215CB77; Mon, 21 Oct 2019 17:54:04 +0000 (UTC) (envelope-from amdmi3@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xklw3j41z4VwH; Mon, 21 Oct 2019 17:54:04 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 625542797B; Mon, 21 Oct 2019 17:54:04 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x9LHs4ju058238; Mon, 21 Oct 2019 17:54:04 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9LHs3D3058235; Mon, 21 Oct 2019 17:54:03 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201910211754.x9LHs3D3058235@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 21 Oct 2019 17:54:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r515115 - in head/databases: . postgresql-ogr_fdw X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/databases: . postgresql-ogr_fdw X-SVN-Commit-Revision: 515115 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 17:54:04 -0000 Author: amdmi3 Date: Mon Oct 21 17:54:03 2019 New Revision: 515115 URL: https://svnweb.freebsd.org/changeset/ports/515115 Log: Add databases/postgresql-ogr_fdw: PostgreSQL foreign data wrapper for OGR This PostgreSQL extension implements a Foreign Data Wrapper (FDW) for OGR. Please note that this version of mysql_fdw works with PostgreSQL 9.3+, and have some limitations: Only non-spatial query restrictions are pushed down to the OGR driver. Spatial restrictions are not pushed down. OGR connections every time. All columns are retrieved every time. WWW: https://github.com/pramsey/pgsql-ogr-fdw PR: 241199 Submitted by: lbartoletti@tuxfamily.org Added: head/databases/postgresql-ogr_fdw/ head/databases/postgresql-ogr_fdw/Makefile (contents, props changed) head/databases/postgresql-ogr_fdw/distinfo (contents, props changed) head/databases/postgresql-ogr_fdw/pkg-descr (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Mon Oct 21 17:48:39 2019 (r515114) +++ head/databases/Makefile Mon Oct 21 17:54:03 2019 (r515115) @@ -687,6 +687,7 @@ SUBDIR += postgresql-libpqxx4 SUBDIR += postgresql-mysql_fdw SUBDIR += postgresql-odbc + SUBDIR += postgresql-ogr_fdw SUBDIR += postgresql-orafce SUBDIR += postgresql-plproxy SUBDIR += postgresql-plv8js Added: head/databases/postgresql-ogr_fdw/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/postgresql-ogr_fdw/Makefile Mon Oct 21 17:54:03 2019 (r515115) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= ogr_fdw +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.8 +CATEGORIES= databases +PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- + +MAINTAINER= lbartoletti@tuxfamily.org +COMMENT= PostgreSQL foreign data wrapper for OGR + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +LIB_DEPENDS= libgdal.so:graphics/gdal + +USES= gmake pgsql:9.3+ +WANT_PGSQL= server +USE_GITHUB= yes +GH_ACCOUNT= pramsey +GH_PROJECT= pgsql-ogr-fdw + +MAKE_ENV= USE_PGXS=1 + +PLIST_FILES= bin/ogr_fdw_info \ + lib/postgresql/ogr_fdw.so \ + share/postgresql/extension/ogr_fdw--1.0.sql \ + share/postgresql/extension/ogr_fdw.control + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ogr_fdw_info + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/ogr_fdw.so + +.include Added: head/databases/postgresql-ogr_fdw/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/postgresql-ogr_fdw/distinfo Mon Oct 21 17:54:03 2019 (r515115) @@ -0,0 +1,3 @@ +TIMESTAMP = 1570784198 +SHA256 (pramsey-pgsql-ogr-fdw-v1.0.8_GH0.tar.gz) = 4ab0c303006bfd83dcd40af4d53c48e7d8ec7835bb98491bc6640686da788a8b +SIZE (pramsey-pgsql-ogr-fdw-v1.0.8_GH0.tar.gz) = 246197 Added: head/databases/postgresql-ogr_fdw/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/postgresql-ogr_fdw/pkg-descr Mon Oct 21 17:54:03 2019 (r515115) @@ -0,0 +1,10 @@ +This PostgreSQL extension implements a Foreign Data Wrapper (FDW) for OGR. + +Please note that this version of mysql_fdw works with PostgreSQL 9.3+, and +have some limitations: + Only non-spatial query restrictions are pushed down to the OGR driver. + Spatial restrictions are not pushed down. + OGR connections every time. + All columns are retrieved every time. + +WWW: https://github.com/pramsey/pgsql-ogr-fdw