svn commit: r515115 - in head/databases: . postgresql-ogr_fdw
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Oct 21 17:54:04 UTC 2019
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 at 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 at 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 <bsd.port.mk>
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
More information about the svn-ports-head
mailing list