svn commit: r507965 - head/databases/postgresql-mysql_fdw

Tobias Kortkamp tobik at FreeBSD.org
Sat Aug 3 11:31:49 UTC 2019


Author: tobik
Date: Sat Aug  3 11:31:48 2019
New Revision: 507965
URL: https://svnweb.freebsd.org/changeset/ports/507965

Log:
  databases/postgresql-mysql_fdw: Update to 2.5.1
  
  This fixes the build with PostgreSQL 10 and 11
  
  Changes:	https://github.com/EnterpriseDB/mysql_fdw/releases
  
  PR:		239514

Modified:
  head/databases/postgresql-mysql_fdw/Makefile
  head/databases/postgresql-mysql_fdw/distinfo
  head/databases/postgresql-mysql_fdw/pkg-descr

Modified: head/databases/postgresql-mysql_fdw/Makefile
==============================================================================
--- head/databases/postgresql-mysql_fdw/Makefile	Sat Aug  3 11:31:19 2019	(r507964)
+++ head/databases/postgresql-mysql_fdw/Makefile	Sat Aug  3 11:31:48 2019	(r507965)
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	mysql_fdw
-PORTVERSION=	2.2.0
-PORTREVISION=	2
+DISTVERSIONPREFIX=	REL-
+DISTVERSION=	2_5_1
 CATEGORIES=	databases
 PKGNAMEPREFIX=	postgresql${PGSQL_VER:S/.//}-
 
@@ -11,22 +11,22 @@ MAINTAINER=	ports at FreeBSD.org
 COMMENT=	PostgreSQL foreign data wrapper for MySQL
 
 LICENSE=	PostgreSQL
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		gmake pgsql:9.3+ mysql
-LLD_UNSAFE=	yes
+USES=		gmake pgsql:9.3-11 mysql
+WANT_PGSQL=	server
 USE_GITHUB=	yes
 GH_ACCOUNT=	EnterpriseDB
-GH_TAGNAME=	c14ee1d
 
 MAKE_ENV=	USE_PGXS=1
 
-WANT_PGSQL=	server
-
 PLIST_FILES=	lib/postgresql/mysql_fdw.so \
+		share/postgresql/extension/mysql_fdw--1.0--1.1.sql \
 		share/postgresql/extension/mysql_fdw--1.0.sql \
+		share/postgresql/extension/mysql_fdw--1.1.sql \
 		share/postgresql/extension/mysql_fdw.control
 
-do-patch:
-	${SED} -i '.orig' 's/#if defined(__APPLE__)/& || defined(__FreeBSD__)/' ${WRKSRC}/mysql_fdw.c
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/mysql_fdw.so
 
 .include <bsd.port.mk>

Modified: head/databases/postgresql-mysql_fdw/distinfo
==============================================================================
--- head/databases/postgresql-mysql_fdw/distinfo	Sat Aug  3 11:31:19 2019	(r507964)
+++ head/databases/postgresql-mysql_fdw/distinfo	Sat Aug  3 11:31:48 2019	(r507965)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1496048192
-SHA256 (EnterpriseDB-mysql_fdw-2.2.0-c14ee1d_GH0.tar.gz) = 531f065a5827ba4f19f222e502b9b224031574845adb5d001d6527a0a601b55f
-SIZE (EnterpriseDB-mysql_fdw-2.2.0-c14ee1d_GH0.tar.gz) = 39601
+TIMESTAMP = 1564831233
+SHA256 (EnterpriseDB-mysql_fdw-REL-2_5_1_GH0.tar.gz) = 8367ed71e76000d4ec9661cab7e12c3c8d0ecc887d6f677f7d448a5a35bbd96e
+SIZE (EnterpriseDB-mysql_fdw-REL-2_5_1_GH0.tar.gz) = 42615

Modified: head/databases/postgresql-mysql_fdw/pkg-descr
==============================================================================
--- head/databases/postgresql-mysql_fdw/pkg-descr	Sat Aug  3 11:31:19 2019	(r507964)
+++ head/databases/postgresql-mysql_fdw/pkg-descr	Sat Aug  3 11:31:48 2019	(r507965)
@@ -5,7 +5,7 @@ The following enhancements are added to the mysql_fdw:
 	Where clause push-down
 	Column push-down
 	Prepared Statment
-Please note that this version of mysql_fdw works with PostgreSQL 9.3, 9.4, 9.5
-and 9.6.
+Please note that this version of mysql_fdw works with PostgreSQL
+9.3, 9.4, 9.5, 9.6, 10, and 11.
 
 WWW: https://github.com/EnterpriseDB/mysql_fdw


More information about the svn-ports-all mailing list