diff --git a/Mk/Uses/pgsql.mk b/Mk/Uses/pgsql.mk index b858792d8159..2755cf03649e 100644 --- a/Mk/Uses/pgsql.mk +++ b/Mk/Uses/pgsql.mk @@ -1,178 +1,178 @@ # Provide support for PostgreSQL (pgsql) # # Feature: pgsql # Usage: USES= pgsql[:version] # # version Maintainer can set versions required. You can set this to # [min]-[max] or min+ or -max or as an explicit version -# (eg. 9.3-9.6 for [min]-[max], 9.5+ or 9.6- -# for min+ and max-, 9.4 for an explicit version). Example: +# (eg. 11-14 for [min]-[max], 11+ or 12- +# for min+ and max-, 13 for an explicit version). Example: # -# USES=pgsql:9.4 # Only use PostgreSQL 9.4 -# USES=pgsql:9.3+ # Use PostgreSQL 9.3 or newer -# USES=pgsql:9.3-9.6 # Use PostgreSQL between 9.3 & 9.6 -# USES=pgsql:9.6- # Use any PostgreSQL up to 9.6 +# USES=pgsql:13 # Only use PostgreSQL 13 +# USES=pgsql:11+ # Use PostgreSQL 11 or newer +# USES=pgsql:11-14 # Use PostgreSQL between 11 & 14 inclusive +# USES=pgsql:12- # Use any PostgreSQL up to 12 # USES=pgsql # Use the default PostgreSQL # # WANT_PGSQL= server[:fetch] plperl plpython pltcl # # Add PostgreSQL component dependency, using # WANT_PGSQL= component[:target]. # For the full list use make -V _USE_PGSQL_DEP # If no version is given (by the maintainer via the port or # by the user via defined variable), try to find the # currently installed version. Fall back to default if # necessary. # # MAINTAINER: pgsql@FreeBSD.org .if !defined(_INCLUDE_USES_PGSQL_MK) _INCLUDE_USES_PGSQL_MK= yes # Variables set by pgsql.mk: # # PGSQL_VER # Detected PostgreSQL version. Do *not* use this # to add dependencies; use WANT_PGSQL as explained above # # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. VALID_PGSQL_VER= 11 12 13 14 15 # Override non-default LIBVERS like this: #PGSQL99_LIBVER=6 PGSQL_LIBVER= 5 . for v in ${VALID_PGSQL_VER:S,.,,} PGSQL$v_LIBVER?= ${PGSQL_LIBVER} . endfor . for v in ${PGSQL_DEFAULT} . if ! ${VALID_PGSQL_VER:M$v} IGNORE= Invalid PGSQL default version ${PGSQL_DEFAULT}; valid versions are ${VALID_PGSQL_VER} . endif . endfor . for w in WITH DEFAULT . ifdef $w_PGSQL_VER WARNING+= "$w_PGSQL_VER is defined, consider using DEFAULT_VERSIONS=pgsql=${$w_PGSQL_VER:C,^.,&.,} instead" PGSQL_DEFAULT?= ${$w_PGSQL_VER:C,^.,&.,} . endif . endfor . ifdef DEFAULT_PGSQL_VER && WITH_PGSQL_VER IGNORE= will not allow setting both DEFAULT_PGSQL_VER and WITH_PGSQL_VER. Use DEFAULT_VERSIONS=pgsql=13 instead . endif # Setting/finding PostgreSQL version we want. PG_CONFIG?= ${LOCALBASE}/bin/pg_config . if exists(${PG_CONFIG}) _PGSQL_VER!= ${PG_CONFIG} --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9]\.*[0-9]\).*/\1/p' . endif # Handle the + and - version stuff . if !empty(pgsql_ARGS) . if ${pgsql_ARGS:M*+} . for version in ${VALID_PGSQL_VER} . if ${pgsql_ARGS:S/+//} <= ${version} _WANT_PGSQL_VER+=${version} . endif . endfor . elif ${pgsql_ARGS:M*-} . for version in ${VALID_PGSQL_VER} . if ${pgsql_ARGS:S/-//} >= ${version} _WANT_PGSQL_VER+=${version} . endif . endfor . elif ${pgsql_ARGS:M*-*} _MIN=${pgsql_ARGS:M?*-?*:C,-.*,,} _MAX=${pgsql_ARGS:M?*-?*:C,.*-,,} . if ${_MIN} > ${_MAX} IGNORE= The minimum version must be higher than the maximum version wanted . endif . for version in ${VALID_PGSQL_VER} . if ${_MIN} <= ${version} && ${_MAX} >= ${version} _WANT_PGSQL_VER+= ${version} . endif . endfor . endif _WANT_PGSQL_VER?= ${pgsql_ARGS} . endif # Try to match default version, otherwise just take the first version # that matches. Prefer the installed version if it matches . if !empty(_WANT_PGSQL_VER) . for version in ${_WANT_PGSQL_VER} . if ${PGSQL_DEFAULT} == ${version} PGSQL_VER= ${version} . endif PGSQL_VER?= ${version} . endfor . if defined(_PGSQL_VER) . for v in ${_PGSQL_VER} . if ${_WANT_PGSQL_VER:M$v} == ${_PGSQL_VER} PGSQL_VER= ${_PGSQL_VER} . endif . endfor . endif . if defined(_PGSQL_VER) && ${_PGSQL_VER} != ${PGSQL_VER} IGNORE?= cannot install: the port wants postgresql-client version ${_WANT_PGSQL_VER} and you have version ${_PGSQL_VER} installed . endif . endif # OK, so the port is ambivalent, we'll just take what's on the system. PGSQL_VER?= ${_PGSQL_VER} # After all that, we still have found nothing! . if empty(PGSQL_VER) PGSQL_VER= ${PGSQL_DEFAULT} . endif # We don't want to be :S,.,, the whole time when doing port version checks PGSQL_VER_NODOT= ${PGSQL_VER:S,.,,} # And now we are checking if we can use it . if defined(PGSQL${PGSQL_VER_NODOT}_LIBVER) # Compat. Please DO NOT use IGNORE_WITH_PGSQL! . if defined(IGNORE_WITH_PGSQL) DEV_WARNING+= "Do not set IGNORE_WITH_PGSQL, use the version argument to USES=pgsql" . for ver in ${IGNORE_WITH_PGSQL} . if (${PGSQL_VER} == ${ver}) IGNORE?= cannot install: does not work with postgresql${PGSQL_VER_NODOT}-client (PostgreSQL ${IGNORE_WITH_PGSQL} not supported) . endif . endfor . endif # IGNORE_WITH_PGSQL . if !defined(WANT_PGSQL) || ${WANT_PGSQL:Mlib} LIB_DEPENDS+= libpq.so.${PGSQL${PGSQL_VER_NODOT}_LIBVER}:databases/postgresql${PGSQL_VER_NODOT}-client . endif _USE_PGSQL_DEP= client contrib docs pgtcl plperl plpython pltcl server _USE_PGSQL_DEP_client= psql _USE_PGSQL_DEP_contrib= vacuumlo _USE_PGSQL_DEP_docs= postgresql${PGSQL_VER_NODOT}-docs>0 _USE_PGSQL_DEP_pgtcl= ${LOCALBASE}/lib/pgtcl/pkgIndex.tcl _USE_PGSQL_DEP_plperl= postgresql${PGSQL_VER_NODOT}-plperl>0 _USE_PGSQL_DEP_plpython=postgresql${PGSQL_VER_NODOT}-plpython>0 _USE_PGSQL_DEP_pltcl= postgresql${PGSQL_VER_NODOT}-pltcl>0 _USE_PGSQL_DEP_server= postgres . if defined(WANT_PGSQL) . for depend in ${_USE_PGSQL_DEP} . if ${WANT_PGSQL:M${depend}} BUILD_DEPENDS+= ${_USE_PGSQL_DEP_${depend}}:databases/postgresql${PGSQL_VER_NODOT}-${depend} RUN_DEPENDS+= ${_USE_PGSQL_DEP_${depend}}:databases/postgresql${PGSQL_VER_NODOT}-${depend} . elif ${WANT_PGSQL:M${depend}\:*} BUILD_DEPENDS+= ${NONEXISTENT}:databases/postgresql${PGSQL_VER_NODOT}-${depend}:${WANT_PGSQL:M${depend}\:*:C,^[^:]*\:,,} . endif . endfor . endif . else IGNORE?= cannot install: unknown PostgreSQL version: ${PGSQL_VER} . endif # Check for correct version CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .endif # !defined(_INCLUDE_USES_PGSQL_MK) diff --git a/databases/lua-pgsql/Makefile b/databases/lua-pgsql/Makefile index 147fadab6d31..0ea50700499e 100644 --- a/databases/lua-pgsql/Makefile +++ b/databases/lua-pgsql/Makefile @@ -1,28 +1,28 @@ PORTNAME= pgsql PORTVERSION= 1.6.8 CATEGORIES= databases PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} MAINTAINER= dmitry.wagin@ya.ru COMMENT= Lua binding for PostgreSQL WWW= https://github.com/arcapos/luapgsql LICENSE= BSD3CLAUSE -USES= lua pgsql:9.5+ +USES= lua pgsql:11+ WANT_PGSQL= client USE_GITHUB= yes GH_ACCOUNT= arcapos GH_PROJECT= luapgsql GH_TAGNAME= 023992e MAKE_ARGS= LUA_VERSION=${LUA_VER} PLIST_FILES= ${LUA_MODLIBDIR}/pgsql.so do-install: ${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} ${INSTALL_LIB} ${WRKSRC}/libpgsql.so ${STAGEDIR}${LUA_MODLIBDIR}/pgsql.so .include diff --git a/databases/pg_ed25519/Makefile b/databases/pg_ed25519/Makefile index a840cc158884..fe16a38ee3a6 100644 --- a/databases/pg_ed25519/Makefile +++ b/databases/pg_ed25519/Makefile @@ -1,26 +1,26 @@ PORTNAME= pg_ed25519 PORTVERSION= 0.2 CATEGORIES= databases MAINTAINER= dmitry.wagin@ya.ru COMMENT= PostgreSQL extension for ed25519 sign and verify WWW= https://gitlab.com/dwagin/pg_ed25519 LICENSE= MIT -USES= gmake pgsql:9.4+ +USES= gmake pgsql:11+ LLD_UNSAFE= yes WANT_PGSQL= server USE_GITLAB= yes GL_ACCOUNT= dwagin GL_COMMIT= 203944dbd3444257490eb30d2f6363e391a23a6b PLIST_FILES= lib/postgresql/pg_ed25519.so \ share/postgresql/extension/pg_ed25519--${PORTVERSION}.sql \ share/postgresql/extension/pg_ed25519.control post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_ed25519.so .include diff --git a/databases/pg_hashids/Makefile b/databases/pg_hashids/Makefile index a672de3b9c80..426cbd50a387 100644 --- a/databases/pg_hashids/Makefile +++ b/databases/pg_hashids/Makefile @@ -1,31 +1,31 @@ PORTNAME= pg_hashids PORTVERSION= 1.3 CATEGORIES= databases MAINTAINER= dmitry.wagin@ya.ru COMMENT= PostgreSQL extension for generates short, unique, non-sequential ids from numbers WWW= https://github.com/iCyberon/pg_hashids LICENSE= MIT -USES= gmake pgsql:9.6+ +USES= gmake pgsql:11+ WANT_PGSQL= server USE_GITHUB= yes GH_ACCOUNT= iCyberon GH_TAGNAME= 83398bcb LLD_UNSAFE= yes PLIST_FILES= lib/postgresql/${PORTNAME}.so \ share/postgresql/extension/${PORTNAME}--${PORTVERSION}.sql \ share/postgresql/extension/${PORTNAME}--1.0--1.1.sql \ share/postgresql/extension/${PORTNAME}--1.1--1.2.sql \ share/postgresql/extension/${PORTNAME}--1.2--${PORTVERSION}.sql \ share/postgresql/extension/${PORTNAME}--1.2.1--${PORTVERSION}.sql \ share/postgresql/extension/${PORTNAME}.control post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/${PORTNAME}.so .include diff --git a/databases/pg_partman/Makefile b/databases/pg_partman/Makefile index 59206390f658..32224873b7ec 100644 --- a/databases/pg_partman/Makefile +++ b/databases/pg_partman/Makefile @@ -1,50 +1,40 @@ PORTNAME= pg_partman DISTVERSIONPREFIX= v DISTVERSION= 4.6.0 CATEGORIES= databases MAINTAINER= lacey.leanne@gmail.com COMMENT= PostgreSQL Partition Manager WWW= https://github.com/keithf4/pg_partman LICENSE= PostgreSQL LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:databases/py-psycopg2 -USES= cpe gmake pgsql:9.4+ python uidfix shebangfix +USES= cpe gmake pgsql:11+ python uidfix shebangfix CPE_VENDOR= pgxn USE_GITHUB= yes GH_ACCOUNT= keithf4 WANT_PGSQL= server SHEBANG_GLOB= *.py LLD_UNSAFE= yes OPTIONS_DEFINE= DOCS -.include - -# With PG11+ some scripts are only installed when they are common to -# all PG versions. -.if ${PGSQL_VER:R} < 11 -PLIST_SUB+= OLDPG="" -.else -PLIST_SUB+= OLDPG="@comment " -.endif - post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_partman_bgw.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${PREFIX}/share/doc/postgresql/extension/*.md ${STAGEDIR}${DOCSDIR} ${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/postgresql/extension ${RMDIR} ${STAGEDIR}${PREFIX}/share/doc/postgresql post-install-DOCS-off: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/postgresql -.include +.include diff --git a/databases/pg_partman/pkg-plist b/databases/pg_partman/pkg-plist index 76c7d626b893..461344a04b92 100644 --- a/databases/pg_partman/pkg-plist +++ b/databases/pg_partman/pkg-plist @@ -1,93 +1,93 @@ bin/check_unique_constraint.py bin/dump_partition.py -%%OLDPG%%bin/partition_data.py -%%OLDPG%%bin/reapply_constraints.py -%%OLDPG%%bin/reapply_foreign_keys.py +bin/partition_data.py +bin/reapply_constraints.py +bin/reapply_foreign_keys.py bin/reapply_indexes.py -%%OLDPG%%bin/undo_partition.py +bin/undo_partition.py bin/vacuum_maintenance.py lib/postgresql/pg_partman_bgw.so %%PORTDOCS%%%%DOCSDIR%%/migrate_to_native.md %%PORTDOCS%%%%DOCSDIR%%/migration_to_partman.md %%PORTDOCS%%%%DOCSDIR%%/pg_partman.md %%PORTDOCS%%%%DOCSDIR%%/pg_partman_howto_native.md %%PORTDOCS%%%%DOCSDIR%%/pg_partman_howto_triggerbased.md share/postgresql/extension/pg_partman--0.1.0--0.1.1.sql share/postgresql/extension/pg_partman--0.1.1--0.1.2.sql share/postgresql/extension/pg_partman--0.1.2--0.2.0.sql share/postgresql/extension/pg_partman--0.2.0--0.3.0.sql share/postgresql/extension/pg_partman--0.3.0--0.3.1.sql share/postgresql/extension/pg_partman--0.3.1--0.3.2.sql share/postgresql/extension/pg_partman--0.3.2--0.4.0.sql share/postgresql/extension/pg_partman--0.4.0--0.4.1.sql share/postgresql/extension/pg_partman--0.4.1--0.4.2.sql share/postgresql/extension/pg_partman--0.4.2--1.0.0.sql share/postgresql/extension/pg_partman--1.0.0--1.1.0.sql share/postgresql/extension/pg_partman--1.1.0--1.2.0.sql share/postgresql/extension/pg_partman--1.2.0--1.3.0.sql share/postgresql/extension/pg_partman--1.3.0--1.4.0.sql share/postgresql/extension/pg_partman--1.4.0--1.4.1.sql share/postgresql/extension/pg_partman--1.4.1--1.4.2.sql share/postgresql/extension/pg_partman--1.4.2--1.4.3.sql share/postgresql/extension/pg_partman--1.4.3--1.4.4.sql share/postgresql/extension/pg_partman--1.4.4--1.4.5.sql share/postgresql/extension/pg_partman--1.4.5--1.5.0.sql share/postgresql/extension/pg_partman--1.5.0--1.5.1.sql share/postgresql/extension/pg_partman--1.5.1--1.6.0.sql share/postgresql/extension/pg_partman--1.6.0--1.6.1.sql share/postgresql/extension/pg_partman--1.6.1--1.7.0.sql share/postgresql/extension/pg_partman--1.7.0--1.7.1.sql share/postgresql/extension/pg_partman--1.7.1--1.7.2.sql share/postgresql/extension/pg_partman--1.7.2--1.8.0.sql share/postgresql/extension/pg_partman--1.8.0--1.8.1.sql share/postgresql/extension/pg_partman--1.8.1--1.8.2.sql share/postgresql/extension/pg_partman--1.8.2--1.8.3.sql share/postgresql/extension/pg_partman--1.8.3--1.8.4.sql share/postgresql/extension/pg_partman--1.8.4--1.8.5.sql share/postgresql/extension/pg_partman--1.8.5--1.8.6.sql share/postgresql/extension/pg_partman--1.8.6--1.8.7.sql share/postgresql/extension/pg_partman--1.8.7--1.8.8.sql share/postgresql/extension/pg_partman--1.8.7--2.0.0.sql share/postgresql/extension/pg_partman--1.8.8--2.0.0.sql share/postgresql/extension/pg_partman--2.0.0--2.1.0.sql share/postgresql/extension/pg_partman--2.1.0--2.2.0.sql share/postgresql/extension/pg_partman--2.2.0--2.2.1.sql share/postgresql/extension/pg_partman--2.2.1--2.2.2.sql share/postgresql/extension/pg_partman--2.2.2--2.2.3.sql share/postgresql/extension/pg_partman--2.2.3--2.3.0.sql share/postgresql/extension/pg_partman--2.3.0--2.3.1.sql share/postgresql/extension/pg_partman--2.3.1--2.3.2.sql share/postgresql/extension/pg_partman--2.3.2--2.3.3.sql share/postgresql/extension/pg_partman--2.3.3--2.3.4.sql share/postgresql/extension/pg_partman--2.3.4--2.4.0.sql share/postgresql/extension/pg_partman--2.4.0--2.4.1.sql share/postgresql/extension/pg_partman--2.4.1--2.5.0.sql share/postgresql/extension/pg_partman--2.5.0--2.5.1.sql share/postgresql/extension/pg_partman--2.5.1--2.6.0.sql share/postgresql/extension/pg_partman--2.6.0--2.6.1.sql share/postgresql/extension/pg_partman--2.6.1--2.6.2.sql share/postgresql/extension/pg_partman--2.6.2--2.6.3.sql share/postgresql/extension/pg_partman--2.6.3--2.6.4.sql share/postgresql/extension/pg_partman--2.6.4--3.0.0.sql share/postgresql/extension/pg_partman--3.0.0--3.0.1.sql share/postgresql/extension/pg_partman--3.0.1--3.0.2.sql share/postgresql/extension/pg_partman--3.0.2--3.1.0.sql share/postgresql/extension/pg_partman--3.1.0--3.1.1.sql share/postgresql/extension/pg_partman--3.1.1--3.1.2.sql share/postgresql/extension/pg_partman--3.1.2--3.1.3.sql share/postgresql/extension/pg_partman--3.1.3--3.2.0.sql share/postgresql/extension/pg_partman--3.2.0--3.2.1.sql share/postgresql/extension/pg_partman--3.2.1--4.0.0.sql share/postgresql/extension/pg_partman--4.0.0--4.1.0.sql share/postgresql/extension/pg_partman--4.1.0--4.2.0.sql share/postgresql/extension/pg_partman--4.2.0--4.2.1.sql share/postgresql/extension/pg_partman--4.2.1--4.2.2.sql share/postgresql/extension/pg_partman--4.2.2--4.3.0.sql share/postgresql/extension/pg_partman--4.3.0--4.3.1.sql share/postgresql/extension/pg_partman--4.3.1--4.4.0.sql share/postgresql/extension/pg_partman--4.4.0--4.5.0.sql share/postgresql/extension/pg_partman--4.4.1--4.5.0.sql share/postgresql/extension/pg_partman--4.5.0--4.5.1.sql share/postgresql/extension/pg_partman--4.5.1--4.6.0.sql share/postgresql/extension/pg_partman--4.6.0.sql share/postgresql/extension/pg_partman.control diff --git a/databases/pg_qualstats/Makefile b/databases/pg_qualstats/Makefile index 549eaaada573..e23a78781868 100644 --- a/databases/pg_qualstats/Makefile +++ b/databases/pg_qualstats/Makefile @@ -1,21 +1,21 @@ PORTNAME= pg_qualstats PORTVERSION= 2.0.4 CATEGORIES= databases MAINTAINER= girgen@FreeBSD.org COMMENT= PostgreSQL extension for collecting statistics about predicates WWW= https://github.com/dalibo/pg_qualstats LICENSE= PostgreSQL USE_GITHUB= yes GH_ACCOUNT= powa-team -USES= gmake pgsql:9.4+ +USES= gmake pgsql:11+ LLD_UNSAFE= yes WANT_PGSQL= server pre-patch: @${MV} ${BUILD_WRKSRC}/doc/README.md ${BUILD_WRKSRC}/doc/${PORTNAME}-README.md .include diff --git a/databases/pg_repack/Makefile b/databases/pg_repack/Makefile index 74c400b3e7cb..7bdbb3c4be9b 100644 --- a/databases/pg_repack/Makefile +++ b/databases/pg_repack/Makefile @@ -1,29 +1,29 @@ PORTNAME= pg_repack PORTVERSION= 1.4.8 DISTVERSIONPREFIX= ver_ CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- MAINTAINER= farrokhi@FreeBSD.org COMMENT= Reorganize tables in PostgreSQL databases with minimal locks WWW= https://github.com/reorg/pg_repack LICENSE= BSD3CLAUSE -USES= gettext-runtime gmake pgsql:9.4+ +USES= gettext-runtime gmake pgsql:11+ LLD_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= reorg WANT_PGSQL= server PLIST_FILES= bin/pg_repack \ lib/postgresql/pg_repack.so \ share/postgresql/extension/pg_repack--${PORTVERSION}.sql \ share/postgresql/extension/pg_repack.control post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pg_repack \ ${STAGEDIR}${PREFIX}/lib/postgresql/pg_repack.so .include diff --git a/databases/pg_similarity/Makefile b/databases/pg_similarity/Makefile index 9eac01dd236d..e13b392657d0 100644 --- a/databases/pg_similarity/Makefile +++ b/databases/pg_similarity/Makefile @@ -1,31 +1,31 @@ PORTNAME= pg_similarity PORTVERSION= 20160917 PORTREVISION= 2 CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- MAINTAINER= amutu@amutu.com COMMENT= Set of functions and operators for executing similarity queries WWW= http://pgsimilarity.projects.pgfoundry.org LICENSE= BSD3CLAUSE -USES= gmake pgsql:9.1+ +USES= gmake pgsql:11+ USE_GITHUB= yes GH_ACCOUNT= eulerto GH_TAGNAME= be1a8b0 MAKE_ENV= USE_PGXS=1 WANT_PGSQL= server PLIST_FILES= lib/postgresql/pg_similarity.so \ share/postgresql/extension/pg_similarity--1.0.sql \ share/postgresql/extension/pg_similarity--unpackaged--1.0.sql \ share/postgresql/extension/pg_similarity.control \ share/postgresql/extension/pg_similarity.sql post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/pg_similarity.so .include diff --git a/databases/pg_stat_kcache/Makefile b/databases/pg_stat_kcache/Makefile index 9efe2307539e..7c8880b0a950 100644 --- a/databases/pg_stat_kcache/Makefile +++ b/databases/pg_stat_kcache/Makefile @@ -1,22 +1,22 @@ PORTNAME= pg_stat_kcache DISTVERSIONPREFIX= REL DISTVERSION= 2_2_1 CATEGORIES= databases MAINTAINER= girgen@FreeBSD.org COMMENT= Gather statistics about PostgreSQL I/O and CPU usage WWW= https://github.com/dalibo/pg_stat_kcache LICENSE= PostgreSQL -USES= gmake pgsql:9.6+ +USES= gmake pgsql:11+ LLD_UNSAFE= yes WANT_PGSQL= server contrib USE_GITHUB= yes GH_ACCOUNT= powa-team pre-patch: @${MV} ${BUILD_WRKSRC}/README.rst ${BUILD_WRKSRC}/${PORTNAME}-README.rst .include diff --git a/databases/pgadmin3/Makefile b/databases/pgadmin3/Makefile index 64ca7039f014..0f0be75033d1 100644 --- a/databases/pgadmin3/Makefile +++ b/databases/pgadmin3/Makefile @@ -1,58 +1,58 @@ PORTNAME= pgadmin3 PORTVERSION= 1.22.2 PORTREVISION= 8 CATEGORIES= databases MASTER_SITES= PGSQL/pgadmin/pgadmin3/v${PORTVERSION}/src DIST_SUBDIR= postgresql MAINTAINER= ports@FreeBSD.org COMMENT= PostgreSQL database design and management system WWW= https://www.pgadmin.org/ LICENSE= PostgreSQL BUILD_DEPENDS= sphinx-build:textproc/py-sphinx -USES= compiler:c++11-lib gettext gmake gnome pgsql:9.0+ ssl +USES= compiler:c++11-lib gettext gmake gnome pgsql:11+ ssl USE_GNOME= libxml2 libxslt USE_WX= 3.0 USE_CXXSTD= c++11 WX_COMPS= wx ICON_SIZES= 16 32 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-wx-version=${USE_WX} --enable-databasedesigner CXXFLAGS+= -Wno-c++11-narrowing PLIST_FILES= bin/pgadmin3 share/applications/pgadmin3.desktop .for SZ in ${ICON_SIZES} PLIST_FILES+= share/icons/hicolor/${SZ}x${SZ}/apps/pgAdmin3.png .endfor PORTDATA= * .include .if ${PGSQL_VER}>13 EXTRA_PATCHES+= ${FILESDIR}/extrapatch-pg13 .endif post-patch: @${REINPLACE_CMD} -e 's,/wx-config,/${WX_CONFIG:T},' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's,wxrc ,${WXRC_CMD:T} ,' ${WRKSRC}/pgadmin/ui/embed-xrc @${REINPLACE_CMD} -e 's,/usr/bin/xterm,${LOCALBASE}/bin/xterm,' ${WRKSRC}/plugins.d/plugins.ini @${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/pgadmin/ver_svn.sh @${REINPLACE_CMD} -e 's,Exec=/usr/bin/pgadmin3,Exec=${LOCALBASE}/bin/pgadmin3,'\ -e 's,Icon=/usr/share/pgadmin3/pgAdmin3.png,Icon=pgAdmin3,'\ -e '/^MimeType=/d'\ -e '/^DocPath=/d'\ ${WRKSRC}/pkg/pgadmin3.desktop post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/pkg/pgadmin3.desktop ${STAGEDIR}${PREFIX}/share/applications .for SZ in ${ICON_SIZES} ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps ${INSTALL_DATA} ${WRKSRC}/pgadmin/include/images/pgAdmin3-${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/pgAdmin3.png .endfor .include diff --git a/databases/pgpool-II-40/Makefile b/databases/pgpool-II-40/Makefile index 5cc3fa54ee99..24c2247598cd 100644 --- a/databases/pgpool-II-40/Makefile +++ b/databases/pgpool-II-40/Makefile @@ -1,56 +1,56 @@ PORTNAME= pgpool-II PORTVERSION= 4.0.22 CATEGORIES= databases MASTER_SITES= http://www.pgpool.net/mediawiki/images/ PKGNAMESUFFIX= 40 MAINTAINER= tz@FreeBSD.org COMMENT= Connection pool server for PostgreSQL WWW= https://pgpool.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake libtool pgsql:9.6+ +USES= gmake libtool pgsql:11+ USE_LDCONFIG= yes USE_RC_SUBR= pgpool GNU_CONFIGURE= yes CONFLICTS_INSTALL= pgpool-II-[0-9][0-9] pgpool-II[0-9][0-9] # etc/pcp.conf.sample PORTSCOUT= limit:^4.0.[0-9]* PORTDOCS= * OPTIONS_DEFINE= DOCS MEMCACHED PAM SSL OPTIONS_DEFAULT= SSL MEMCACHED_DESC= Use memcached for in memory query cache PAM_DESC= Build with PAM support SSL_DESC= Build with OpenSSL support MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached MEMCACHED_CONFIGURE_ON= --with-memcached=${LOCALBASE}/include PAM_CONFIGURE_ON= --with-pam SSL_USES= ssl SSL_CONFIGURE_WITH= openssl .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 CFLAGS+= -Wno-error=int-conversion .endif post-install: @${MKDIR} ${STAGEDIR}/var/run/pgpool ${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.1.0.0 ${STAGEDIR}${PREFIX}/lib post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} "-not -name Makefile.\*" .for f in AUTHORS ChangeLog NEWS TODO ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/databases/pgpool-II-41/Makefile b/databases/pgpool-II-41/Makefile index 6abd9e98558a..5fb5f66e6465 100644 --- a/databases/pgpool-II-41/Makefile +++ b/databases/pgpool-II-41/Makefile @@ -1,56 +1,56 @@ PORTNAME= pgpool-II PORTVERSION= 4.1.15 CATEGORIES= databases MASTER_SITES= http://www.pgpool.net/mediawiki/images/ PKGNAMESUFFIX= 41 MAINTAINER= tz@FreeBSD.org COMMENT= Connection pool server for PostgreSQL WWW= https://pgpool.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake libtool pgsql:9.6+ +USES= gmake libtool pgsql:11+ USE_LDCONFIG= yes USE_RC_SUBR= pgpool GNU_CONFIGURE= yes CONFLICTS_INSTALL= pgpool-II-[0-9][0-9] pgpool-II[0-9][0-9] # etc/failover.sh.sample etc/pcp.conf.sample PORTSCOUT= limit:^4.1.[0-9]* PORTDOCS= * OPTIONS_DEFINE= DOCS MEMCACHED PAM SSL OPTIONS_DEFAULT= SSL MEMCACHED_DESC= Use memcached for in memory query cache PAM_DESC= Build with PAM support SSL_DESC= Build with OpenSSL support MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached MEMCACHED_CONFIGURE_ON= --with-memcached=${LOCALBASE}/include PAM_CONFIGURE_ON= --with-pam SSL_USES= ssl SSL_CONFIGURE_WITH= openssl .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 CFLAGS+= -Wno-error=int-conversion .endif post-install: @${MKDIR} ${STAGEDIR}/var/run/pgpool ${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.1.0.0 ${STAGEDIR}${PREFIX}/lib post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} "-not -name Makefile.\*" .for f in AUTHORS ChangeLog NEWS TODO ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/databases/pgpool-II-42/Makefile b/databases/pgpool-II-42/Makefile index 5d2bad365f93..cc5430ae67d3 100644 --- a/databases/pgpool-II-42/Makefile +++ b/databases/pgpool-II-42/Makefile @@ -1,52 +1,52 @@ PORTNAME= pgpool-II PORTVERSION= 4.2.3 CATEGORIES= databases MASTER_SITES= http://www.pgpool.net/mediawiki/images/ PKGNAMESUFFIX= 42 MAINTAINER= mike.jakubik@swiftsmsgateway.com COMMENT= Connection pool server for PostgreSQL WWW= https://pgpool.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING PORTSCOUT= limit:^4.2.[0-9]* -USES= gmake libtool pgsql:9.6+ +USES= gmake libtool pgsql:11+ USE_LDCONFIG= yes USE_RC_SUBR= pgpool GNU_CONFIGURE= yes CONFLICTS_INSTALL= pgpool-II-[0-9][0-9] pgpool-II[0-9][0-9] # etc/escalation.sh.sample etc/failover.sh.sample etc/pcp.conf.sample PORTDOCS= * PAM_DESC= Build with PAM support SSL_DESC= Build with OpenSSL support MEMCACHED_DESC= Use memcached for in memory query cache OPTIONS_DEFINE= DOCS SSL PAM MEMCACHED OPTIONS_DEFAULT= SSL MEMCACHED_CONFIGURE_ON= --with-memcached=${LOCALBASE}/include MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached PAM_CONFIGURE_ON= --with-pam SSL_CONFIGURE_WITH= openssl SSL_USES= ssl post-install: @${MKDIR} ${STAGEDIR}/var/run/pgpool ${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.2.0.0 ${STAGEDIR}${PREFIX}/lib post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} "-not -name Makefile.\*" .for f in AUTHORS ChangeLog NEWS TODO ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/databases/pgpool-II-43/Makefile b/databases/pgpool-II-43/Makefile index 0f4a068598b2..6b3f6d5eca37 100644 --- a/databases/pgpool-II-43/Makefile +++ b/databases/pgpool-II-43/Makefile @@ -1,56 +1,56 @@ PORTNAME= pgpool-II PORTVERSION= 4.3.5 CATEGORIES= databases MASTER_SITES= http://www.pgpool.net/mediawiki/images/ PKGNAMESUFFIX= -43 MAINTAINER= bofh@FreeBSD.org COMMENT= Connection pool server for PostgreSQL (4.3.X branch) WWW= https://pgpool.net/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake libtool pgsql:9.6+ +USES= gmake libtool pgsql:11+ USE_LDCONFIG= yes USE_RC_SUBR= pgpool GNU_CONFIGURE= yes CONFLICTS_INSTALL= pgpool-II-[0-9][0-9] pgpool-II[0-9][0-9] # etc/escalation.sh.sample etc/failover.sh.sample etc/pcp.conf.sample PORTSCOUT= limit:^4.3.[0-9]* PORTDOCS= * OPTIONS_DEFINE= DOCS MEMCACHED PAM SSL OPTIONS_DEFAULT= SSL MEMCACHED_DESC= Use memcached for in memory query cache PAM_DESC= Build with PAM support SSL_DESC= Build with OpenSSL support MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached MEMCACHED_CONFIGURE_ON= --with-memcached=${LOCALBASE}/include PAM_CONFIGURE_ON= --with-pam SSL_USES= ssl SSL_CONFIGURE_WITH= openssl .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 CFLAGS+= -Wno-error=int-conversion .endif post-install: @${MKDIR} ${STAGEDIR}/var/run/pgpool ${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.2.0.0 ${STAGEDIR}${PREFIX}/lib post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} "-not -name Makefile.\*" .for f in AUTHORS ChangeLog NEWS TODO ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/databases/pgrouting/Makefile b/databases/pgrouting/Makefile index 483149cc4610..e6e2cd509cc4 100644 --- a/databases/pgrouting/Makefile +++ b/databases/pgrouting/Makefile @@ -1,24 +1,24 @@ PORTNAME= pgrouting DISTVERSIONPREFIX= v DISTVERSION= 3.5.0 CATEGORIES= databases geography MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Extension to PostGIS to provide geospatial routing functionality WWW= https://pgrouting.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_system.so:devel/boost-libs RUN_DEPENDS= ${LOCALBASE}/share/postgresql/extension/postgis.control:databases/postgis33 -USES= compiler:c++14-lang cmake localbase perl5 pgsql:10+ pkgconfig +USES= compiler:c++14-lang cmake localbase perl5 pgsql:11+ pkgconfig WANT_PGSQL= lib server USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= pgRouting PLIST_SUB= DISTVERSION=${DISTVERSION} .include diff --git a/databases/plpgsql_check/Makefile b/databases/plpgsql_check/Makefile index f3b2609d6a39..66af0a3b271c 100644 --- a/databases/plpgsql_check/Makefile +++ b/databases/plpgsql_check/Makefile @@ -1,30 +1,30 @@ PORTNAME= plpgsql_check PORTVERSION= 2.3.3 DISTVERSIONPREFIX= v CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER_NODOT}- MAINTAINER= sunpoet@FreeBSD.org COMMENT= PostgreSQL extension to check PL/pgSQL code WWW= https://github.com/okbob/plpgsql_check LICENSE= UNKNOWN LICENSE_NAME= postcardware LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell -USES= compiler:c11 gmake pgsql:10+ +USES= compiler:c11 gmake pgsql:11+ LLD_UNSAFE= yes MAKE_ARGS= CC="${CC}" WANT_PGSQL= server PLIST_SUB= PORTVERSION=${PORTVERSION:R} USE_GITHUB= yes GH_ACCOUNT= okbob post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/plpgsql_check.so .include diff --git a/databases/postgis30/Makefile b/databases/postgis30/Makefile index a605d2c24895..ac47536b0f94 100644 --- a/databases/postgis30/Makefile +++ b/databases/postgis30/Makefile @@ -1,85 +1,85 @@ PORTNAME= postgis PORTVERSION= 3.0.8 PORTREVISION= 3 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 30 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ - localbase perl5 pkgconfig pgsql:9.5+ shebangfix + localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} SHEBANG_FILES= extensions/address_standardizer/*.pl raster/test/regress/*.pl \ regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support WAGYU_DESC= Enable WAGYU support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_LIB_DEPENDS= libpcre.so:devel/pcre ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_USE= GNOME=gtk20 NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology WAGYU_CONFIGURE_WITH= wagyu CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION} \ VER=${VER} .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgis31/Makefile b/databases/postgis31/Makefile index 3df0fb4d32bb..f6952114c422 100644 --- a/databases/postgis31/Makefile +++ b/databases/postgis31/Makefile @@ -1,85 +1,85 @@ PORTNAME= postgis PORTVERSION= 3.1.8 PORTREVISION= 3 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 31 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ - localbase perl5 pkgconfig pgsql:9.5+ shebangfix + localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} SHEBANG_FILES= extensions/address_standardizer/*.pl raster/test/regress/*.pl \ raster/test/regress/loader/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support WAGYU_DESC= Enable WAGYU support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_LIB_DEPENDS= libpcre.so:devel/pcre ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_USE= GNOME=gtk20 NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology WAGYU_CONFIGURE_WITH= wagyu CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgis32/Makefile b/databases/postgis32/Makefile index 8d807fea7c9d..a8bb727f18f4 100644 --- a/databases/postgis32/Makefile +++ b/databases/postgis32/Makefile @@ -1,86 +1,86 @@ PORTNAME= postgis DISTVERSION= 3.2.4 PORTREVISION= 3 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 32 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ - localbase perl5 pkgconfig pgsql:9.5+ shebangfix + localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} SHEBANG_FILES= extensions/address_standardizer/*.pl raster/test/regress/*.pl \ raster/test/regress/loader/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support WAGYU_DESC= Enable WAGYU support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_LIB_DEPENDS= libpcre.so:devel/pcre ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c LOADERGUI_USE= GNOME=gtk20 NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology WAGYU_CONFIGURE_WITH= wagyu CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgis33/Makefile b/databases/postgis33/Makefile index 5c8e1debbba6..9aa9cd6b4e26 100644 --- a/databases/postgis33/Makefile +++ b/databases/postgis33/Makefile @@ -1,88 +1,88 @@ PORTNAME= postgis DISTVERSION= 3.3.2 PORTREVISION= 3 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 33 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal \ libpcre2-8.so:devel/pcre2 USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ - localbase perl5 pkgconfig pgsql:9.5+ shebangfix + localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} SHEBANG_FILES= extensions/address_standardizer/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support NLS_DESC= Enable international language support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support WAGYU_DESC= Enable WAGYU support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_LIB_DEPENDS= libpcre.so:devel/pcre ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c LOADERGUI_USE= GNOME=gtk20 desktop-file-utils NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology WAGYU_CONFIGURE_WITH= wagyu RASTER_CONFIGURE_WITH= raster CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgs* ${STAGEDIR}${PREFIX}/bin/rast* ${STAGEDIR}${PREFIX}/bin/shp* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgresql-cstore_fdw/Makefile b/databases/postgresql-cstore_fdw/Makefile index b69dee1c8e37..1391bc387b8d 100644 --- a/databases/postgresql-cstore_fdw/Makefile +++ b/databases/postgresql-cstore_fdw/Makefile @@ -1,32 +1,32 @@ PORTNAME= cstore_fdw PORTVERSION= 1.7.0 DISTVERSIONPREFIX= v CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 2b6bf67ca60faf5a3ebe914fad53257a634ae48a.patch:-p1 MAINTAINER= farrokhi@FreeBSD.org COMMENT= Columnar store for analytics with PostgreSQL WWW= https://github.com/citusdata/cstore_fdw LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c -USES= gmake pgsql:9.3+ +USES= gmake pgsql:11+ SUB_FILES= pkg-message LLD_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= citusdata WANT_PGSQL= server post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/cstore_fdw.so .include diff --git a/databases/postgresql-mysql_fdw/Makefile b/databases/postgresql-mysql_fdw/Makefile index 93331056151d..30d005e44bb9 100644 --- a/databases/postgresql-mysql_fdw/Makefile +++ b/databases/postgresql-mysql_fdw/Makefile @@ -1,24 +1,24 @@ PORTNAME= mysql_fdw DISTVERSIONPREFIX= REL- DISTVERSION= 2_9_0 CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- MAINTAINER= tz@FreeBSD.org COMMENT= PostgreSQL foreign data wrapper for MySQL WWW= https://github.com/EnterpriseDB/mysql_fdw LICENSE= PostgreSQL LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake mysql pgsql:10+ +USES= gmake mysql pgsql:11+ WANT_PGSQL= server USE_GITHUB= yes GH_ACCOUNT= EnterpriseDB MAKE_ENV= USE_PGXS=1 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/mysql_fdw.so .include diff --git a/databases/postgresql-ogr_fdw/Makefile b/databases/postgresql-ogr_fdw/Makefile index f68273612e6b..dba46d15a085 100644 --- a/databases/postgresql-ogr_fdw/Makefile +++ b/databases/postgresql-ogr_fdw/Makefile @@ -1,34 +1,34 @@ PORTNAME= ogr_fdw DISTVERSIONPREFIX= v DISTVERSION= 1.1.3 CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- MAINTAINER= lbartoletti@FreeBSD.org COMMENT= PostgreSQL foreign data wrapper for OGR WWW= https://github.com/pramsey/pgsql-ogr-fdw LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libgdal.so:graphics/gdal -USES= gmake pgsql:9.3+ +USES= gmake pgsql:11+ 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--${PORTVERSION:R}.sql \ share/postgresql/extension/ogr_fdw--${PORTVERSION:R}.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 diff --git a/databases/postgresql-orafce/Makefile b/databases/postgresql-orafce/Makefile index f6ebb540f335..ce43b8087d25 100644 --- a/databases/postgresql-orafce/Makefile +++ b/databases/postgresql-orafce/Makefile @@ -1,37 +1,37 @@ PORTNAME= orafce DISTVERSIONPREFIX= VERSION_ DISTVERSION= 3_13_4 CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- MAINTAINER= ports@FreeBSD.org COMMENT= Oracle's compatibility functions and packages for PostgreSQL WWW= https://github.com/orafce/orafce LICENSE= 0BSD LICENSE_NAME= Zero-Clause BSD / Free Public License 1.0.0 LICENSE_FILE= ${WRKSRC}/COPYRIGHT.orafce LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -USES= gmake pgsql:9.5+ +USES= gmake pgsql:11+ USE_GITHUB= yes LLD_UNSAFE= yes WANT_PGSQL= server PORTDOCS= COPYRIGHT.orafce NEWS README.asciidoc OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e 's/DOCS = README/#&/' ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/orafce.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} @(for f in ${PORTDOCS}; do \ ${INSTALL_DATA} ${WRKSRC}/$${f} ${STAGEDIR}${DOCSDIR}; done) .include diff --git a/databases/postgresql-prefix/Makefile b/databases/postgresql-prefix/Makefile index b5f03607e33f..6df4eb918570 100644 --- a/databases/postgresql-prefix/Makefile +++ b/databases/postgresql-prefix/Makefile @@ -1,27 +1,27 @@ PORTNAME= prefix PORTVERSION= 1.2.9 DISTVERSIONPREFIX= v CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Prefix Range module for PostgreSQL WWW= https://github.com/dimitri/prefix LICENSE= PostgreSQL -USES= gmake pgsql:9.1+ +USES= gmake pgsql:11+ WANT_PGSQL= server USE_GITHUB= yes GH_ACCOUNT= dimitri OPTIONS_DEFINE= DOCS post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/prefix.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} ; ${INSTALL_DATA} README.md TESTS.md ${STAGEDIR}${DOCSDIR}) .include diff --git a/databases/postgresql-rum/Makefile b/databases/postgresql-rum/Makefile index 20f54afd1e95..c10ff224a6d5 100644 --- a/databases/postgresql-rum/Makefile +++ b/databases/postgresql-rum/Makefile @@ -1,27 +1,27 @@ PORTNAME= rum PORTVERSION= 1.3.13 PORTREVISION= 0 CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- MAINTAINER= feld@FreeBSD.org COMMENT= Inverted index with additional information in posting lists WWW= https://github.com/postgrespro/rum LICENSE= PostgreSQL -USES= gmake pgsql:9.6+ +USES= gmake pgsql:11+ LLD_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= postgrespro WANT_PGSQL= server do-build: cd ${WRKSRC} && ${MAKE_CMD} USE_PGXS=1 do-install: cd ${WRKSRC} && ${MAKE_CMD} USE_PGXS=1 DESTDIR=${STAGEDIR} install .include diff --git a/databases/postgresql-tds_fdw/Makefile b/databases/postgresql-tds_fdw/Makefile index 04a179add64d..8654640438e7 100644 --- a/databases/postgresql-tds_fdw/Makefile +++ b/databases/postgresql-tds_fdw/Makefile @@ -1,28 +1,28 @@ PORTNAME= tds_fdw PORTVERSION= 2.0.3 DISTVERSIONPREFIX= v CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER_NODOT}- MAINTAINER= sunpoet@FreeBSD.org COMMENT= PostgreSQL foreign data wrapper to connect to TDS databases WWW= https://github.com/tds-fdw/tds_fdw LICENSE= PostgreSQL LIB_DEPENDS= libsybdb.so:databases/freetds -USES= gmake pgsql:9.6+ +USES= gmake pgsql:11+ USE_GITHUB= yes GH_ACCOUNT= tds-fdw PLIST_FILES= lib/postgresql/tds_fdw.so \ share/doc/postgresql/extension/README.tds_fdw.md \ share/postgresql/extension/tds_fdw--${DISTVERSION}.sql \ share/postgresql/extension/tds_fdw.control post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/tds_fdw.so .include diff --git a/databases/postgresql-zhparser/Makefile b/databases/postgresql-zhparser/Makefile index 504faec02fcf..eee545b3af01 100644 --- a/databases/postgresql-zhparser/Makefile +++ b/databases/postgresql-zhparser/Makefile @@ -1,35 +1,35 @@ PORTNAME= zhparser PORTVERSION= 0.2.0 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= databases PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- MAINTAINER= ports@FreeBSD.org COMMENT= PostgreSQL extension for full-text search of Chinese WWW= https://github.com/amutu/zhparser LICENSE= PostgreSQL LIB_DEPENDS= libscws.so:textproc/scws -USES= gmake pgsql:9.2+ +USES= gmake pgsql:11+ LLD_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= amutu WANT_PGSQL= server MAKE_ENV= SCWS_HOME=${PREFIX} PLIST_FILES= lib/postgresql/zhparser.so \ share/postgresql/extension/zhparser--1.0.sql \ share/postgresql/extension/zhparser--unpackaged--1.0.sql \ share/postgresql/extension/zhparser.control \ share/postgresql/tsearch_data/dict.utf8.xdb \ share/postgresql/tsearch_data/rules.utf8.ini post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/zhparser.so .include diff --git a/databases/powa-archivist/Makefile b/databases/powa-archivist/Makefile index 98e38f82a909..b77cc8bb9730 100644 --- a/databases/powa-archivist/Makefile +++ b/databases/powa-archivist/Makefile @@ -1,24 +1,24 @@ PORTNAME= powa-archivist DISTVERSIONPREFIX= REL_ DISTVERSION= 4_1_4 CATEGORIES= databases MAINTAINER= girgen@FreeBSD.org COMMENT= PostgreSQL workload analyzer background worker WWW= http://powa.readthedocs.org/en/latest/powa-archivist/index.html LICENSE= PostgreSQL RUN_DEPENDS= ${LOCALBASE}/lib/postgresql/pg_stat_kcache.so:databases/pg_stat_kcache \ ${LOCALBASE}/lib/postgresql/pg_qualstats.so:databases/pg_qualstats USE_GITHUB= yes GH_ACCOUNT= powa-team -USES= gmake pgsql:9.4+ +USES= gmake pgsql:11+ WANT_PGSQL= server contrib pre-patch: @for f in ${BUILD_WRKSRC}/*.md; do ${MV} $$f $${f%/*}/powa-$${f##*/}; done .include diff --git a/databases/py-aiopg/Makefile b/databases/py-aiopg/Makefile index 8c5c824598ee..169e5f4a4bf6 100644 --- a/databases/py-aiopg/Makefile +++ b/databases/py-aiopg/Makefile @@ -1,28 +1,28 @@ PORTNAME= aiopg PORTVERSION= 1.4.0 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= farrokhi@FreeBSD.org COMMENT= Python library for accessing PostgreSQL database using asyncio WWW= https://github.com/aio-libs/aiopg LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.7.0:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}async_timeout>=3.0.0:devel/py-async_timeout@${PY_FLAVOR} -USES= pgsql:9.2+ python:3.4+ +USES= pgsql:11+ python:3.4+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= DOCS PORTDOCS= PKG-INFO README.rst CHANGES.txt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/databases/py-asyncpg/Makefile b/databases/py-asyncpg/Makefile index d98680a3fdf1..229a6539f8e5 100644 --- a/databases/py-asyncpg/Makefile +++ b/databases/py-asyncpg/Makefile @@ -1,33 +1,33 @@ PORTNAME= asyncpg PORTVERSION= 0.27.0 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= farrokhi@FreeBSD.org COMMENT= High performance PostgreSQL Client Library for Python/asyncio WWW= https://github.com/MagicStack/asyncpg/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cpe pgsql:9.2+ python:3.6+ +USES= cpe pgsql:11+ python:3.6+ CPE_VENDOR= magic USE_PYTHON= autoplist concurrent cython distutils OPTIONS_DEFINE= DOCS PORTDOCS= PKG-INFO README.rst post-extract: @${RM} ${WRKSRC}/asyncpg/pgproto/*.c @${RM} ${WRKSRC}/asyncpg/protocol/*.c post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/protocol/protocol*.so @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/asyncpg/pgproto/pgproto*.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/databases/timescaledb/Makefile b/databases/timescaledb/Makefile index 067d376974be..295254e90b6b 100644 --- a/databases/timescaledb/Makefile +++ b/databases/timescaledb/Makefile @@ -1,41 +1,41 @@ PORTNAME= timescaledb PORTVERSION= 2.10.1 CATEGORIES= databases MAINTAINER= kbowling@FreeBSD.org COMMENT= Time-series database built on PostgreSQL WWW= https://www.timescale.com/ LICENSE= APACHE20 TSL LICENSE_COMB= multi LICENSE_NAME_TSL= Timescale License Agreement LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_TSL= ${WRKSRC}/tsl/LICENSE-TIMESCALE LICENSE_PERMS_TSL= dist-mirror pkg-mirror auto-accept -USES= compiler:c11 cmake gettext-runtime cpe pgsql:12,13,14,15 +USES= compiler:c11 cmake gettext-runtime cpe pgsql:12-15 USE_GITHUB= YES GH_ACCOUNT= timescale CPE_VENDOR= timescale PLIST_SUB= PORTVERSION=${PORTVERSION} SUB_FILES= pkg-message SUB_LIST= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= SSL TSL OPTIONS_DEFAULT= SSL TSL OPTIONS_SUB= yes SSL_DESC= Build with OpenSSL support TSL_DESC= Enables TSL licensed code in additon to Apache license code SSL_CMAKE_BOOL= USE_OPENSSL SSL_USES= ssl TSL_CMAKE_BOOL_OFF= APACHE_ONLY CMAKE_OFF= REGRESS_CHECKS TAP_CHECKS WARNINGS_AS_ERRORS WANT_PGSQL= lib server .include diff --git a/devel/bugzilla50/Makefile b/devel/bugzilla50/Makefile index d98749921708..dde7813709c2 100644 --- a/devel/bugzilla50/Makefile +++ b/devel/bugzilla50/Makefile @@ -1,145 +1,145 @@ PORTNAME= bugzilla PORTVERSION= 5.0.4 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= MOZILLA/webtools MOZILLA/webtools/archived MAINTAINER= bz-ports@FreeBSD.org COMMENT= Bug-tracking system developed by Mozilla Project WWW= https://www.bugzilla.org/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE # see Bugzilla/Install/Requirements.pm # PR 194782: silence Module::Pluggable deprecated warnings # PR 196060,196100: explicitly depend on textproc/p5-Text-Tabv RUN_DEPENDS= \ p5-CGI>=3.51:www/p5-CGI \ p5-DBI>=1.614:databases/p5-DBI \ p5-DateTime-TimeZone>=1.64:devel/p5-DateTime-TimeZone \ p5-DateTime>=0.75:devel/p5-DateTime \ p5-Email-MIME>=1.904:mail/p5-Email-MIME \ p5-Email-Sender>=1.300011:mail/p5-Email-Sender \ p5-Encode-Detect>=0:converters/p5-Encode-Detect \ p5-JSON-XS>=2.01:converters/p5-JSON-XS \ p5-List-MoreUtils>=0.32:lang/p5-List-MoreUtils \ p5-Math-Random-ISAAC>=1.001:math/p5-Math-Random-ISAAC \ p5-Module-Pluggable>=5.1:devel/p5-Module-Pluggable \ p5-Template-Toolkit>=2.24:www/p5-Template-Toolkit \ p5-Text-Tabs+Wrap>=2013.0523:textproc/p5-Text-Tabs+Wrap \ p5-TimeDate>=2.23:devel/p5-TimeDate \ p5-URI>=1.55:net/p5-URI USES= cpe perl5 USE_PERL5= run CPE_VENDOR= mozilla SUB_FILES= pkg-message DATA_DIRS_LIST= images js skins # checksetup will fail if these directories are not present! EMPTY_DIRS_LIST=data graphs contrib lib t xt .include "${.CURDIR}/Makefile.common" .include "${.CURDIR}/Makefile.options" MODPERL_USES= apache:run MYSQL_USES= mysql MYSQL_RUN_DEPENDS= p5-DBD-mysql>=4.0001:databases/p5-DBD-mysql -PGSQL_USES= pgsql:9.1+ +PGSQL_USES= pgsql:11+ PGSQL_RUN_DEPENDS= p5-DBD-Pg>=3.4.2:databases/p5-DBD-Pg SQLITE_USES= sqlite SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=1.29:databases/p5-DBD-SQLite \ sqlite3>=3:databases/sqlite3 GRAPH_REPORTS_RUN_DEPENDS= p5-GD>=1.20:graphics/p5-GD \ p5-GD-Graph>=0:graphics/p5-GD-Graph \ p5-GD-TextUtil>=0:graphics/p5-GD-TextUtil \ p5-Template-GD>=0:www/p5-Template-GD CHARTING_MODULES_RUN_DEPENDS= p5-Chart>=2.4.10:graphics/p5-Chart PATCH_VIEWER_RUN_DEPENDS= p5-PatchReader>=0.9.6:devel/p5-PatchReader \ interdiff:misc/patchutils MORE_HTML_RUN_DEPENDS= p5-HTML-Parser>=3.67:www/p5-HTML-Parser \ p5-HTML-Scrubber>=0:www/p5-HTML-Scrubber INBOUND_EMAIL_RUN_DEPENDS= p5-Email-MIME-Attachment-Stripper>=0:mail/p5-Email-MIME-Attachment-Stripper \ p5-Email-Reply>=0:mail/p5-Email-Reply \ p5-HTML-FormatText-WithLinks>=0.13:textproc/p5-HTML-FormatText-WithLinks MAIL_QUEUEING_RUN_DEPENDS= p5-TheSchwartz>=1.10:devel/p5-TheSchwartz \ p5-Daemon-Generic>=0:net/p5-Daemon-Generic MOVE_BUGZ_RUN_DEPENDS= p5-MIME-Tools>=5.406:mail/p5-MIME-Tools \ p5-XML-Twig>=0:textproc/p5-XML-Twig BMP2PNG_USES= magick:6,run # Note: XML-RPC and JSON-RPC are deprecated in favor of REST # and will likely be removed in the Bugzilla 7.0 release. # XXX SOAP::Lite can be removed if upstream officially depends on # XMLRPC::Lite>=0.717, see Bugzilla/Install/Requirements.pm XMLRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-XMLRPC-Lite>=0.712:net/p5-XMLRPC-Lite \ p5-SOAP-Lite>=0.712:net/p5-SOAP-Lite JSONRPC_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-JSON-RPC>=0:devel/p5-JSON-RPC REST_RUN_DEPENDS= p5-Test-Taint>=1.06:devel/p5-Test-Taint \ p5-JSON-RPC>=0:devel/p5-JSON-RPC MODPERL_RUN_DEPENDS= ${APACHE_PKGNAMEPREFIX}mod_perl2>=0:www/mod_perl2 \ p5-Apache-DBI>=0:www/p5-Apache-DBI GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz EXPORT_IMPORT_RUN_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser \ p5-XML-Twig>=0:textproc/p5-XML-Twig LDAP_RUN_DEPENDS= p5-perl-ldap>=0:net/p5-perl-ldap RADIUS_RUN_DEPENDS= p5-Authen-Radius>=0:security/p5-Authen-Radius SMTP_AUTH_RUN_DEPENDS= p5-Authen-SASL>=2.16:security/p5-Authen-SASL MIME_SNIFF_RUN_DEPENDS= p5-File-MimeInfo>=0.16:devel/p5-File-MimeInfo \ p5-IO-Stringy>=2.110:devel/p5-IO-Stringy MEMCACHED_RUN_DEPENDS= p5-Cache-Memcached>=1.30:databases/p5-Cache-Memcached .include post-extract: # The docs_urlbase parameter has been removed. If documentation has not been # compiled locally, the "Help" links and other documentation links will # redirect to bugzilla.readthedocs.org automatically. ${RM} -r ${WRKSRC}/docs ${RM} -r ${WRKSRC}/.git ${RM} ${WRKSRC}/.bzrignore ${WRKSRC}/.gitignore ${WRKSRC}/.gitrev \ ${WRKSRC}/.travis.yml ${WRKSRC}/Build.PL ${WRKSRC}/MANIFEST.SKIP post-patch: ${REINPLACE_CMD} -e 's/apache/www/' ${WRKSRC}/Bugzilla/Install/Localconfig.pm ${REINPLACE_CMD} -e 's|/opt/bugzilla|${WWWDIR}|' ${WRKSRC}/importxml.pl ${FIND} ${WRKSRC} -type f \( -name \*.cgi -o -name \*.pl -o -name \*.pm -o -name \*.t \) \ -exec ${SED} -i '' -e "s=/usr/bin/perl=${PERL}=g; \ s!/usr/lib/sendmail!/usr/sbin/sendmail!g;" {} \+ .if ${PORT_OPTIONS:MPGSQL} && ! ${PORT_OPTIONS:MMYSQL} ${REINPLACE_CMD} -e "s/'mysql'/'Pg'/" ${WRKSRC}/Bugzilla/Install/Localconfig.pm .endif pre-install: ${FIND} ${WRKSRC} -type f \( -name "*.orig" -or -name "*.bak" \) -delete do-install: .SILENT @${MKDIR} ${STAGEDIR}${WWWDIR} ${FIND} ${WRKSRC} \! -type d -maxdepth 1 \! -name "UPGRADING*" -exec \ ${INSTALL_SCRIPT} {} ${STAGEDIR}${WWWDIR} \; @${MKDIR} ${DATA_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} .for D in ${DATA_DIRS_LIST} (cd ${WRKSRC}/${D} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/${D}) .endfor ${TAR} -C ${WRKSRC} -cf - Bugzilla template | ${TAR} --unlink -C ${STAGEDIR}${WWWDIR} -xf - @${MKDIR} ${EMPTY_DIRS_LIST:S!^!${STAGEDIR}${WWWDIR}/!} do-install-CONTRIB-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/contrib (cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/contrib) do-install-MOREBUGURL-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/extensions/MoreBugUrl (cd ${WRKSRC}/extensions/MoreBugUrl && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/extensions/MoreBugUrl) do-install-VOTING-on: @${MKDIR} ${STAGEDIR}${WWWDIR}/extensions/Voting (cd ${WRKSRC}/extensions/Voting && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/extensions/Voting) .include diff --git a/devel/root/Makefile b/devel/root/Makefile index 2f954fbc8a17..f4d8da59547c 100644 --- a/devel/root/Makefile +++ b/devel/root/Makefile @@ -1,85 +1,85 @@ PORTNAME= root DISTVERSION= 6.28.02 CATEGORIES= devel science math parallel python MASTER_SITES= https://root.cern/download/ DISTFILES= ${PORTNAME}_v${DISTVERSION}.source${EXTRACT_SUFX} MAINTAINER= erik@tenku.dk COMMENT= Data analysis framework made at CERN WWW= https://root.cern/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL2_1.txt BUILD_DEPENDS= ${PYNUMPY} \ bash:shells/bash \ nlohmann-json>=3:devel/nlohmann-json LIB_DEPENDS= libAfterImage.so:graphics/libafterimage \ libcfitsio.so:astro/cfitsio \ libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libfreetype.so:print/freetype2 \ libftgl.so:graphics/ftgl \ libgif.so:graphics/giflib \ libgl2ps.so:print/gl2ps \ libgsl.so:math/gsl \ liblz4.so:archivers/liblz4 \ libpcre.so:devel/pcre \ libpng.so:graphics/png \ libtbb.so:devel/onetbb \ libtiff.so:graphics/tiff \ libvdt.so:math/vdt \ libxkbcommon.so:x11/libxkbcommon \ libXrdCl.so:databases/xrootd \ libxxhash.so:devel/xxhash \ libzstd.so:archivers/zstd USES= blaslapack:openblas cmake compiler:c++17-lang desktop-file-utils \ - gettext-runtime gl gnome iconv jpeg mysql:57 pgsql:13.0+ python:3.9+ \ + gettext-runtime gl gnome iconv jpeg mysql:57 pgsql:13+ python:3.9+ \ shebangfix sqlite ssl xorg USE_GL= glew glu opengl USE_GNOME= cairo gdkpixbuf2 glib20 librsvg2 libxml2 USE_XORG= ice sm x11 xau xaw xcb xcomposite xcursor xdamage xdmcp xext \ xfixes xfont xfont2 xft xi xinerama xkbfile xmu xpm xrandr \ xrender xres xscrnsaver xt xv xxf86vm SHEBANG_FILES= config/rootssh etc/dictpch/makepch.py etc/proof/utils/circle.sh \ etc/proof/utils/crypt etc/proof/utils/pps \ etc/proof/utils/proofctl.sh etc/proof/utils/proofinstall.sh CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 CMAKE_ON= gnuinstall soversion CMAKE_OFF= builtin_gtest CONFIGURE_WRKSRC?= ${WRKDIR}/.build MAKE_ENV+= ROOTSYS=${CONFIGURE_WRKSRC} OPTIONS_DEFINE= DOCS ROOT7 OPTIONS_DEFAULT= ROOT7 OPTIONS_SUB= yes ROOT7_DESC= Enable supplementary preview features of ROOT version 7 ROOT7_CMAKE_BOOL= root7 .include PLIST_SUB+= SHLIB_SHVER="${DISTVERSION:R}" \ SHLIB_VER="${DISTVERSION}" # Some .modulemap, .pcm and .idx files are not installed on aarch64, a few .pcm files are exclusive to aarch64 and files LIBRARY.pcm are renamed libLIBRARY_rdict.pcm on aarch64 .if ${ARCH} == "aarch64" PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="@comment " ONLY_INSTALLED_ON_AARCH64="" AARCH64_PCM_PREFIX="lib" AARCH64_PCM_SUFFIX="_rdict" .else PLIST_SUB+= NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment " AARCH64_PCM_PREFIX="" AARCH64_PCM_SUFFIX="" .endif # Some files only installed with LLVM/Clang 13 (used on FreeBSD 12.4 and 13.x) # TODO: Introduce USES+=llvm:min=14 instead when this can be deemed not too obtrusive on supported releases # -- the post-patch step further down can then be phased out as well .if 1204000 <= ${OSVERSION} && ${OSVERSION} < 1302000 && ${OSVERSION} != 1301507 PLIST_SUB+= ONLY_INSTALLED_WITH_LLVM_CLANG_13="" .else PLIST_SUB+= ONLY_INSTALLED_WITH_LLVM_CLANG_13="@comment " .endif .include diff --git a/net-mgmt/netmagis-common/Makefile b/net-mgmt/netmagis-common/Makefile index 0e24ff8c6eb6..f685cf038738 100644 --- a/net-mgmt/netmagis-common/Makefile +++ b/net-mgmt/netmagis-common/Makefile @@ -1,52 +1,52 @@ PORTNAME?= netmagis PORTVERSION?= 2.3.4 PORTREVISION= 2 CATEGORIES?= net-mgmt MASTER_SITES= http://netmagis.org/files/ PKGNAMESUFFIX?= -common MAINTAINER?= pdagog@gmail.com COMMENT?= Netmagis common infrastructure WWW= http://www.netmagis.org/ LICENSE= CECILL-B LICENSE_NAME= CeCILL-B Free Software License Agreement LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept RUN_DEPENDS+= dtplite:devel/tcllib NO_ARCH?= yes -USES+= pgsql:9.1+ tcl +USES+= pgsql:11+ tcl WANT_PGSQL+= pgtcl SLAVEDIRS= net-mgmt/netmagis-common \ net-mgmt/netmagis-database \ net-mgmt/netmagis-detecteq \ net-mgmt/netmagis-metro \ net-mgmt/netmagis-servers \ net-mgmt/netmagis-topo \ net-mgmt/netmagis-utils \ net-mgmt/netmagis-www # Variables used in netmagis Makefiles MAKE_ARGS+= DESTDIR=${STAGEDIR}${DESTDIR} PREFIX=${PREFIX} MAKE_ARGS+= TCLSH=${TCLSH} TCLCONF=${TCL_LIBDIR}/tclConfig.sh .if ${PKGNAMESUFFIX} == -topo || ${PKGNAMESUFFIX} == -www ALL_TARGET=build${PKGNAMESUFFIX?=} .else ALL_TARGET=nothing .endif INSTALL_TARGET= install${PKGNAMESUFFIX} # Change "cd foo; make" into "$(MAKE) -C foo" to unbreak parallel builds post-patch: @${FIND} ${WRKSRC} -type f -name Makefile -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -E 's,cd(.+) (;|&&) make,$$(MAKE) -C\1,' @${REINPLACE_CMD} -E 's,cd (.+) ; (ln -s en ),\2\1/,' \ ${WRKSRC}/www/Makefile ${REINPLACE_CMD} '/NMVARDIR/s/$$(PREFIX)//' ${WRKSRC}/Makefile .include