Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.10 2015/08/23 20:34:07 wiz Exp $
# $NetBSD: Makefile,v 1.19 2016/07/09 06:38:01 wiz Exp $
DISTNAME= postgis-2.1.8
DISTNAME= postgis-2.2.2
PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= databases geography
MASTER_SITES= http://download.osgeo.org/postgis/source/
@@ -27,7 +28,7 @@ CONFLICTS= postgis-[0-9]*
# gmake complains about adding + to parent rule
MAKE_JOBS_SAFE= no
PGSQL_VERSIONS_ACCEPTED= 90 91 92 93 94
PGSQL_VERSIONS_ACCEPTED= 95 94 93 92 91
USE_GCC_RUNTIME= yes
USE_LANGUAGES= c c++ c99
@@ -37,6 +38,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-rpath
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/postgresql/contrib
# The address standardizer needs more modules; see
# share/doc/postgresql/extension/README.address_standardizer
# for details. Until they are required, disable it to ensure
# repeatable builds.
CONFIGURE_ARGS+= --without-address-standardizer
BUILD_TARGET= all docs
INSTALL_TARGET= install docs-install
@@ -53,6 +60,7 @@ SUBST_STAGE.paths= pre-configure
INSTALLATION_DIRS= ${DOCDIR} ${DOCDIR}/images ${PKGMANDIR}/man1
REPLACE_PERL+= utils/postgis_restore.pl.in
REPLACE_PERL+= utils/create_spatial_ref_sys_config_dump.pl
#MAKE_ENV+= PERL5=${PERL5:Q}
INSTALL_ENV+= mkinstalldirs=${INSTALL_DATA_DIR:Q}

View File

@@ -1,33 +1,35 @@
@comment $NetBSD: PLIST,v 1.4 2015/07/07 16:19:19 gdt Exp $
@comment $NetBSD: PLIST,v 1.7 2016/04/11 12:22:02 gdt Exp $
bin/pgsql2shp
bin/raster2pgsql
bin/shp2pgsql
include/liblwgeom.h
include/liblwgeom_topo.h
lib/liblwgeom.la
lib/postgresql/postgis-2.1.so
lib/postgresql/rtpostgis-2.1.so
share/postgresql/contrib/postgis-2.1/legacy.sql
share/postgresql/contrib/postgis-2.1/legacy_gist.sql
share/postgresql/contrib/postgis-2.1/legacy_minimal.sql
share/postgresql/contrib/postgis-2.1/postgis.sql
share/postgresql/contrib/postgis-2.1/postgis_comments.sql
share/postgresql/contrib/postgis-2.1/postgis_restore.pl
share/postgresql/contrib/postgis-2.1/postgis_upgrade_20_21.sql
share/postgresql/contrib/postgis-2.1/postgis_upgrade_21_minor.sql
share/postgresql/contrib/postgis-2.1/raster_comments.sql
share/postgresql/contrib/postgis-2.1/rtpostgis.sql
share/postgresql/contrib/postgis-2.1/rtpostgis_legacy.sql
share/postgresql/contrib/postgis-2.1/rtpostgis_upgrade_20_21.sql
share/postgresql/contrib/postgis-2.1/rtpostgis_upgrade_21_minor.sql
share/postgresql/contrib/postgis-2.1/spatial_ref_sys.sql
share/postgresql/contrib/postgis-2.1/topology.sql
share/postgresql/contrib/postgis-2.1/topology_comments.sql
share/postgresql/contrib/postgis-2.1/topology_upgrade_21_minor.sql
share/postgresql/contrib/postgis-2.1/uninstall_legacy.sql
share/postgresql/contrib/postgis-2.1/uninstall_postgis.sql
share/postgresql/contrib/postgis-2.1/uninstall_rtpostgis.sql
share/postgresql/contrib/postgis-2.1/uninstall_sfcgal.sql
share/postgresql/contrib/postgis-2.1/uninstall_topology.sql
lib/postgresql/postgis-2.2.so
lib/postgresql/postgis_topology-2.2.so
lib/postgresql/rtpostgis-2.2.so
share/postgresql/contrib/postgis-2.2/legacy.sql
share/postgresql/contrib/postgis-2.2/legacy_gist.sql
share/postgresql/contrib/postgis-2.2/legacy_minimal.sql
share/postgresql/contrib/postgis-2.2/postgis.sql
share/postgresql/contrib/postgis-2.2/postgis_comments.sql
share/postgresql/contrib/postgis-2.2/postgis_proc_set_search_path.sql
share/postgresql/contrib/postgis-2.2/postgis_restore.pl
share/postgresql/contrib/postgis-2.2/postgis_upgrade.sql
share/postgresql/contrib/postgis-2.2/raster_comments.sql
share/postgresql/contrib/postgis-2.2/rtpostgis.sql
share/postgresql/contrib/postgis-2.2/rtpostgis_legacy.sql
share/postgresql/contrib/postgis-2.2/rtpostgis_proc_set_search_path.sql
share/postgresql/contrib/postgis-2.2/rtpostgis_upgrade.sql
share/postgresql/contrib/postgis-2.2/sfcgal_comments.sql
share/postgresql/contrib/postgis-2.2/spatial_ref_sys.sql
share/postgresql/contrib/postgis-2.2/topology.sql
share/postgresql/contrib/postgis-2.2/topology_comments.sql
share/postgresql/contrib/postgis-2.2/topology_upgrade.sql
share/postgresql/contrib/postgis-2.2/uninstall_legacy.sql
share/postgresql/contrib/postgis-2.2/uninstall_postgis.sql
share/postgresql/contrib/postgis-2.2/uninstall_rtpostgis.sql
share/postgresql/contrib/postgis-2.2/uninstall_topology.sql
share/postgresql/extension/postgis--2.0.0--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.0.1--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.0.2--${PKGVERSION}.sql
@@ -37,9 +39,6 @@ share/postgresql/extension/postgis--2.0.5--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.0.6--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.0.7--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.0--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.0rc1--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.0rc2--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.0rc3--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.1--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.2--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.3--${PKGVERSION}.sql
@@ -47,6 +46,10 @@ share/postgresql/extension/postgis--2.1.4--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.5--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.6--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.7--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.8--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.1.9--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.2.0--${PKGVERSION}.sql
share/postgresql/extension/postgis--2.2.1--${PKGVERSION}.sql
share/postgresql/extension/postgis--${PKGVERSION}--${PKGVERSION}.sql
share/postgresql/extension/postgis--${PKGVERSION}--${PKGVERSION}next.sql
share/postgresql/extension/postgis--${PKGVERSION}.sql
@@ -60,10 +63,8 @@ share/postgresql/extension/postgis_tiger_geocoder--2.0.3--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.0.4--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.0.5--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.0.6--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.0.7--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.0--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.0rc1--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.0rc2--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.0rc3--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.1--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.2--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.3--${PKGVERSION}.sql
@@ -71,12 +72,17 @@ share/postgresql/extension/postgis_tiger_geocoder--2.1.4--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.5--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.6--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.7--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.8--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.1.9--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.2.0--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--2.2.1--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}--${PKGVERSION}next.sql
share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--${PKGVERSION}next--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder--unpackaged--${PKGVERSION}.sql
share/postgresql/extension/postgis_tiger_geocoder.control
share/postgresql/extension/postgis_tiger_geocoder.sql
share/postgresql/extension/postgis_topology--2.0.0--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.1--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.2--${PKGVERSION}.sql
@@ -84,10 +90,8 @@ share/postgresql/extension/postgis_topology--2.0.3--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.4--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.5--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.6--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.0.7--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.0--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.0rc1--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.0rc2--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.0rc3--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.1--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.2--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.3--${PKGVERSION}.sql
@@ -95,6 +99,10 @@ share/postgresql/extension/postgis_topology--2.1.4--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.5--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.6--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.7--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.8--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.1.9--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.2.0--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--2.2.1--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--${PKGVERSION}--${PKGVERSION}.sql
share/postgresql/extension/postgis_topology--${PKGVERSION}--${PKGVERSION}next.sql
share/postgresql/extension/postgis_topology--${PKGVERSION}.sql

View File

@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.4 2015/06/10 01:43:00 wiedi Exp $
# $NetBSD: buildlink3.mk,v 1.5 2015/10/24 21:18:12 joerg Exp $
BUILDLINK_TREE+= postgresql-postgis
@@ -9,7 +9,7 @@ BUILDLINK_API_DEPENDS.postgresql-postgis+= postgresql${PGSQL_VERSION}-postgis>=1
BUILDLINK_ABI_DEPENDS.postgresql-postgis?= postgresql${PGSQL_VERSION}-postgis>=2.1.4nb2
BUILDLINK_PKGSRCDIR.postgresql-postgis?= ../../databases/postgresql-postgis2
PGSQL_VERSIONS_ACCEPTED= 94 93 92 91 90
PGSQL_VERSIONS_ACCEPTED= 94 93 92 91
.include "../../geography/geos/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"

View File

@@ -1,5 +1,9 @@
$NetBSD: distinfo,v 1.4 2015/07/07 15:49:48 gdt Exp $
$NetBSD: distinfo,v 1.8 2016/04/11 12:22:02 gdt Exp $
SHA1 (postgis-2.1.8.tar.gz) = cfb3b7a01449fbbdb3a052002cebd23537ea6c93
RMD160 (postgis-2.1.8.tar.gz) = 006d475584fdc5b00a063a68d923e97ed1701ca7
Size (postgis-2.1.8.tar.gz) = 6811272 bytes
SHA1 (postgis-2.2.2.tar.gz) = f82fa96c4c73e8a94091b51f2e528a8146b03597
RMD160 (postgis-2.2.2.tar.gz) = 1107540f50e163a998e34659922044d7801d336e
SHA512 (postgis-2.2.2.tar.gz) = c5ad97abe52b7ec67e52a06e05e694099eaf2daacb7dc73c85dce71a61c269c755ec401f1077a1760cfb930ccd42fb1d34ebfb79990f52f5bc3aafa9db2e9ce4
Size (postgis-2.2.2.tar.gz) = 10071528 bytes
SHA1 (patch-extensions_address__standardizer_Makefile.in) = e560e734b3652b5ae4c539af8f077754979f2f29
SHA1 (patch-extensions_postgis_Makefile.in) = 30b67a57cd3999b7fe688fc65c4d8730ad0afaa8
SHA1 (patch-extensions_postgis__topology_Makefile.in) = f1095e0a852d746027417d49a0c14bf00a5da00f

View File

@@ -0,0 +1,36 @@
$NetBSD: patch-extensions_address__standardizer_Makefile.in,v 1.1 2015/12/15 00:44:40 gdt Exp $
Use perl from autoconf rather than pgxs. Reported upstream.
--- extensions/address_standardizer/Makefile.in.orig 2015-08-25 09:44:58.000000000 +0000
+++ extensions/address_standardizer/Makefile.in
@@ -66,7 +66,7 @@ PERL=@PERL@
sql/%.sql: %.sql.in
mkdir -p sql
$(SQLPP) -I../libpgcommon $< | grep -v '^#' | \
- $(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/${EXTENSION}-${MINORVERSION}'g" > $@
+ @PERL@ -lpe "s'MODULE_PATHNAME'\$$libdir/${EXTENSION}-${MINORVERSION}'g" > $@
sql/address_standardizer--@POSTGIS_LIB_VERSION@.sql: sql/address_standardizer_types.sql \
sql/address_standardizer_functions.sql
@@ -105,16 +105,16 @@ sql/$(EXTENSION)_data_us--$(EXTVERSION)n
cat $^ > $@
mk-st-regexp: mk-st-regexp.pl
- $(PERL) -c mk-st-regexp.pl
+ @PERL@ -c mk-st-regexp.pl
rm -f mk-st-regexp
- echo "#! " $(PERL) > mk-st-regexp
+ echo "#! " @PERL@ > mk-st-regexp
cat mk-st-regexp.pl >> mk-st-regexp
chmod ugo+x mk-st-regexp
mk-city-regex: mk-city-regex.pl usps-st-city-name.txt
- $(PERL) -c mk-city-regex.pl
+ @PERL@ -c mk-city-regex.pl
rm -f mk-city-regex
- echo "#! " $(PERL) > mk-city-regex
+ echo "#! " @PERL@ > mk-city-regex
cat mk-city-regex.pl >> mk-city-regex
chmod ugo+x mk-city-regex

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-extensions_postgis_Makefile.in,v 1.1 2015/12/15 00:44:40 gdt Exp $
Use perl from autoconf rather than pgxs. Reported upstream.
--- extensions/postgis/Makefile.in.orig 2014-06-27 07:35:32.000000000 +0000
+++ extensions/postgis/Makefile.in
@@ -48,7 +48,7 @@ sql/$(EXTENSION)--$(EXTVERSION).sql: sql
sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: ../../postgis/postgis.sql ../../raster/rt_pg/rtpostgis.sql ../../utils/create_unpackaged.pl
mkdir -p sql
- cat ../../postgis/postgis.sql ../../raster/rt_pg/rtpostgis.sql | $(PERL) ../../utils/create_unpackaged.pl postgis > $@
+ cat ../../postgis/postgis.sql ../../raster/rt_pg/rtpostgis.sql | @PERL@ ../../utils/create_unpackaged.pl postgis > $@
#this is a cludge to allow upgrading from same SVN to same SVN
sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql: sql_bits/postgis_raster_upgrade_minor.sql

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-extensions_postgis__topology_Makefile.in,v 1.1 2015/12/15 00:44:40 gdt Exp $
Use perl from autoconf rather than pgxs. Reported upstream.
--- extensions/postgis_topology/Makefile.in.orig 2014-06-27 07:35:32.000000000 +0000
+++ extensions/postgis_topology/Makefile.in
@@ -60,7 +60,7 @@ sql_bits/topology_comments.sql: ../../do
sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: ../../topology/topology.sql ../../utils/create_unpackaged.pl
mkdir -p sql
- cat $< | $(PERL) ../../utils/create_unpackaged.pl postgis_topology > $@
+ cat $< | @PERL@ ../../utils/create_unpackaged.pl postgis_topology > $@
#upgrade script should have everything but table, schema, type creation/alter
#NOTE: we assume all object definitions end in ;