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
This commit is contained in:
Po-Chuan Hsieh
2023-06-30 15:01:46 +08:00
parent 1eabb6df5d
commit 07500a18a2
5 changed files with 44 additions and 31 deletions
+9 -22
View File
@@ -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
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>
+3 -3
View File
@@ -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
@@ -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
+5 -5
View File
@@ -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.
+16 -1
View File
@@ -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