git: fc5b80a8bc4d - main - databases/postgresql-semver: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Nov 2021 17:33:00 UTC
The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc5b80a8bc4d08dd954f198b21176bdfb1b7eac7 commit fc5b80a8bc4d08dd954f198b21176bdfb1b7eac7 Author: Alexander Sieg <ports@xanderio.de> AuthorDate: 2021-10-08 09:26:50 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2021-11-03 17:32:10 +0000 databases/postgresql-semver: Add new port This library contains a single PostgreSQL extension, a data type called "semver". It's an implementation of the version number format specified by the Semantic Versioning 2.0.0 Specification. PR: 259001 --- databases/Makefile | 1 + databases/postgresql-semver/Makefile | 20 ++++++++++++++++++++ databases/postgresql-semver/distinfo | 3 +++ databases/postgresql-semver/pkg-descr | 5 +++++ databases/postgresql-semver/pkg-message | 9 +++++++++ databases/postgresql-semver/pkg-plist | 23 +++++++++++++++++++++++ 6 files changed, 61 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 8d57ffa545ec..e9b4a483baca 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -672,6 +672,7 @@ SUBDIR += postgresql-relay SUBDIR += postgresql-repmgr SUBDIR += postgresql-rum + SUBDIR += postgresql-semver SUBDIR += postgresql-tds_fdw SUBDIR += postgresql-zhparser SUBDIR += postgresql10-client diff --git a/databases/postgresql-semver/Makefile b/databases/postgresql-semver/Makefile new file mode 100644 index 000000000000..c785e85b5ffc --- /dev/null +++ b/databases/postgresql-semver/Makefile @@ -0,0 +1,20 @@ +PORTNAME= semver +PORTVERSION= 0.31.2 +DISTVERSIONPREFIX= v +CATEGORIES= databases +PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- + +MAINTAINER= ports@xanderio.de +COMMENT= SemVer 2.0.0 compatible datatype for PostgreSQL database + +LICENSE= PostgreSQL + +USES= gmake pgsql +WANT_PGSQL= server +USE_GITHUB= yes +GH_ACCOUNT= theory +GH_PROJECT= pg-${PORTNAME} + +INSTALL_TARGET= install-strip + +.include <bsd.port.mk> diff --git a/databases/postgresql-semver/distinfo b/databases/postgresql-semver/distinfo new file mode 100644 index 000000000000..c6ab7a1baffc --- /dev/null +++ b/databases/postgresql-semver/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1633684541 +SHA256 (theory-pg-semver-v0.31.2_GH0.tar.gz) = de9a0e271c13cd6083e934c0e0cb88d819af8aa2cb5356d6d934a0ef26f62149 +SIZE (theory-pg-semver-v0.31.2_GH0.tar.gz) = 39809 diff --git a/databases/postgresql-semver/pkg-descr b/databases/postgresql-semver/pkg-descr new file mode 100644 index 000000000000..1f9477708f29 --- /dev/null +++ b/databases/postgresql-semver/pkg-descr @@ -0,0 +1,5 @@ +This library contains a single PostgreSQL extension, a semantic version data +type called `semver`. It's an implementation of the version number format +specified by the Semantic Versioning 2.0.0 Specification. + +WWW: https://github.com/theory/pg-semver/ diff --git a/databases/postgresql-semver/pkg-message b/databases/postgresql-semver/pkg-message new file mode 100644 index 000000000000..c17d7777569b --- /dev/null +++ b/databases/postgresql-semver/pkg-message @@ -0,0 +1,9 @@ +[ +{ type: install + message: <<EOM +Use the following sql script to create semver extension + + psql -c 'CREATE EXTENSION semver' +EOM +} +] diff --git a/databases/postgresql-semver/pkg-plist b/databases/postgresql-semver/pkg-plist new file mode 100644 index 000000000000..9ee3b4c1cbfe --- /dev/null +++ b/databases/postgresql-semver/pkg-plist @@ -0,0 +1,23 @@ +lib/postgresql/semver.so +share/doc/postgresql/extension/semver.mmd +share/postgresql/extension/semver--0.10.0--0.11.0.sql +share/postgresql/extension/semver--0.11.0--0.12.0.sql +share/postgresql/extension/semver--0.12.0--0.13.0.sql +share/postgresql/extension/semver--0.13.0--0.15.0.sql +share/postgresql/extension/semver--0.15.0--0.16.0.sql +share/postgresql/extension/semver--0.16.0--0.17.0.sql +share/postgresql/extension/semver--0.17.0--0.20.0.sql +share/postgresql/extension/semver--0.2.1--0.2.4.sql +share/postgresql/extension/semver--0.2.4--0.3.0.sql +share/postgresql/extension/semver--0.20.0--0.21.0.sql +share/postgresql/extension/semver--0.21.0--0.22.0.sql +share/postgresql/extension/semver--0.22.0--0.30.0.sql +share/postgresql/extension/semver--0.3.0--0.4.0.sql +share/postgresql/extension/semver--0.30.0--0.31.0.sql +share/postgresql/extension/semver--0.31.0--0.31.1.sql +share/postgresql/extension/semver--0.31.1--0.31.2.sql +share/postgresql/extension/semver--0.31.2.sql +share/postgresql/extension/semver--0.5.0--0.10.0.sql +share/postgresql/extension/semver--unpackaged--0.2.1.sql +share/postgresql/extension/semver.control +share/postgresql/extension/semver.sql