1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

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
This commit is contained in:
Dmitry Marakasov 2019-10-21 17:54:03 +00:00
parent 62d6b5ac15
commit 65b7863877
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515115
4 changed files with 48 additions and 0 deletions

View File

@ -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

View File

@ -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 <bsd.port.mk>

View File

@ -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

View File

@ -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