Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 07:18:02 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 07500a18a2f7 - main - databases/postgresql-orafce: Update to 4.3.0
Message-ID:  <202306300718.35U7I2OS064489@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=07500a18a2f764241879c96d3cd512e4f1e3d4c8

commit 07500a18a2f764241879c96d3cd512e4f1e3d4c8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:01:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:01:46 +0000

    databases/postgresql-orafce: Update to 4.3.0
    
    - Update LICENSE: Use BSD0CLAUSE
    - Convert REINPLACE_CMD to patch file
    - Update pkg-descr
    - Take maintainership
    
    Changes:        https://github.com/orafce/orafce/releases
---
 databases/postgresql-orafce/Makefile             | 31 +++++++-----------------
 databases/postgresql-orafce/distinfo             |  6 ++---
 databases/postgresql-orafce/files/patch-Makefile | 11 +++++++++
 databases/postgresql-orafce/pkg-descr            | 10 ++++----
 databases/postgresql-orafce/pkg-plist            | 17 ++++++++++++-
 5 files changed, 44 insertions(+), 31 deletions(-)

diff --git a/databases/postgresql-orafce/Makefile b/databases/postgresql-orafce/Makefile
index e246e5dcd4bc..4dad0a1d9db2 100644
--- a/databases/postgresql-orafce/Makefile
+++ b/databases/postgresql-orafce/Makefile
@@ -1,37 +1,24 @@
-PORTNAME=		orafce
+PORTNAME=	orafce
+PORTVERSION=	4.3.0
 DISTVERSIONPREFIX=	VERSION_
-DISTVERSION=		3_14_0
-CATEGORIES=		databases
-PKGNAMEPREFIX=		postgresql${PGSQL_VER:S/.//}-
+CATEGORIES=	databases
+PKGNAMEPREFIX=	postgresql-
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@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=	BSD0CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT.orafce
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-USES=		gmake pgsql:11+
-USE_GITHUB=	yes
-LLD_UNSAFE=	yes
+USES=		gmake pgsql
 
+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
+USE_GITHUB=	yes
 
 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 <bsd.port.mk>
diff --git a/databases/postgresql-orafce/distinfo b/databases/postgresql-orafce/distinfo
index 0def41452df8..ddf7d6e6c131 100644
--- a/databases/postgresql-orafce/distinfo
+++ b/databases/postgresql-orafce/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687687563
-SHA256 (orafce-orafce-VERSION_3_14_0_GH0.tar.gz) = 9638d21b789cab72849a51abe7f09033c4c957eb8ca738f76e6113b75534466d
-SIZE (orafce-orafce-VERSION_3_14_0_GH0.tar.gz) = 670967
+TIMESTAMP = 1686496676
+SHA256 (orafce-orafce-VERSION_4.3.0_GH0.tar.gz) = d1df0ed17c119360deaf7d574f57592a4b9b3f7154f9acf6fe73d55775f5b474
+SIZE (orafce-orafce-VERSION_4.3.0_GH0.tar.gz) = 722307
diff --git a/databases/postgresql-orafce/files/patch-Makefile b/databases/postgresql-orafce/files/patch-Makefile
new file mode 100644
index 000000000000..17cd490fa697
--- /dev/null
+++ b/databases/postgresql-orafce/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig	2023-06-01 04:04:25 UTC
++++ Makefile
+@@ -60,8 +60,6 @@ DATA = orafce--4.3.sql\
+ 		orafce--4.2--4.3.sql
+ 
+ 
+-DOCS = README.asciidoc COPYRIGHT.orafce INSTALL.orafce
+-
+ PG_CONFIG ?= pg_config
+ 
+ # make "all" the default target
diff --git a/databases/postgresql-orafce/pkg-descr b/databases/postgresql-orafce/pkg-descr
index 06825e03cb2d..fc9cf2f84638 100644
--- a/databases/postgresql-orafce/pkg-descr
+++ b/databases/postgresql-orafce/pkg-descr
@@ -1,5 +1,5 @@
-The "orafce" is a module of PostgreSQL. It implements of some functions from
-the Oracle database. The functionality was verified on Oracle 10g, and the
-module is useful for production work. This module contains some useful function
-which can help with porting Oracle application to PostgreSQL or can be useful
-generally.
+Orafce provides the functions and operators that emulate a subset of functions
+and packages from the Oracle RDBMS.
+
+The Orafce is supported in AWS Aurora with PostgreSQL Compatibility and also in
+Azure Database for PostgreSQL.
diff --git a/databases/postgresql-orafce/pkg-plist b/databases/postgresql-orafce/pkg-plist
index 9657b4ea44e3..25170337a90a 100644
--- a/databases/postgresql-orafce/pkg-plist
+++ b/databases/postgresql-orafce/pkg-plist
@@ -3,8 +3,19 @@ share/postgresql/extension/orafce--3.10--3.11.sql
 share/postgresql/extension/orafce--3.11--3.12.sql
 share/postgresql/extension/orafce--3.12--3.13.sql
 share/postgresql/extension/orafce--3.13--3.14.sql
-share/postgresql/extension/orafce--3.14.sql
+share/postgresql/extension/orafce--3.14--3.15.sql
+share/postgresql/extension/orafce--3.15--3.16.sql
+share/postgresql/extension/orafce--3.16--3.17.sql
+share/postgresql/extension/orafce--3.17--3.18.sql
+share/postgresql/extension/orafce--3.18--3.19.sql
+share/postgresql/extension/orafce--3.19--3.20.sql
 share/postgresql/extension/orafce--3.2--3.3.sql
+share/postgresql/extension/orafce--3.20--3.21.sql
+share/postgresql/extension/orafce--3.21--3.22.sql
+share/postgresql/extension/orafce--3.22--3.23.sql
+share/postgresql/extension/orafce--3.23--3.24.sql
+share/postgresql/extension/orafce--3.24--3.25.sql
+share/postgresql/extension/orafce--3.25--4.0.sql
 share/postgresql/extension/orafce--3.3--3.4.sql
 share/postgresql/extension/orafce--3.4--3.5.sql
 share/postgresql/extension/orafce--3.5--3.6.sql
@@ -12,4 +23,8 @@ share/postgresql/extension/orafce--3.6--3.7.sql
 share/postgresql/extension/orafce--3.7--3.8.sql
 share/postgresql/extension/orafce--3.8--3.9.sql
 share/postgresql/extension/orafce--3.9--3.10.sql
+share/postgresql/extension/orafce--4.0--4.1.sql
+share/postgresql/extension/orafce--4.1--4.2.sql
+share/postgresql/extension/orafce--4.2--4.3.sql
+share/postgresql/extension/orafce--4.3.sql
 share/postgresql/extension/orafce.control



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300718.35U7I2OS064489>