diff options
author | tz <tz@FreeBSD.org> | 2017-07-05 17:24:14 +0800 |
---|---|---|
committer | tz <tz@FreeBSD.org> | 2017-07-05 17:24:14 +0800 |
commit | 608fffd5192704266614dd419e6754f3e01dd513 (patch) | |
tree | 97e0dce644042d155bf7a470e40b34d2a28e3ebd | |
parent | 32ae73d2bf3d32bb4ae2a8710d6fb756f0478988 (diff) | |
download | freebsd-ports-gnome-608fffd5192704266614dd419e6754f3e01dd513.tar.gz freebsd-ports-gnome-608fffd5192704266614dd419e6754f3e01dd513.tar.zst freebsd-ports-gnome-608fffd5192704266614dd419e6754f3e01dd513.zip |
New port: databases/plpgsql_check
Plpgsql_check is next generation of plpgsql_lint. It allows to check source
code by explicit call plpgsql_check_function. The SQL statements inside
PL/pgSQL functions are checked by validator for semantic errors. These errors
can be found by plpgsql_check_function. PostgreSQL 9.2 is required, PostgreSQL
9.3, 9.4, 9.5, 9.6 and 10 are supported.
WWW: https://github.com/okbob/plpgsql_check
PR: 219680
Submitted by: Jov <amutu@amutu.com>
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/plpgsql_check/Makefile | 30 | ||||
-rw-r--r-- | databases/plpgsql_check/distinfo | 3 | ||||
-rw-r--r-- | databases/plpgsql_check/pkg-descr | 7 | ||||
-rw-r--r-- | databases/plpgsql_check/pkg-plist | 7 |
5 files changed, 48 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 9a444923bd88..cb6de238f2c6 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -649,6 +649,7 @@ SUBDIR += phpmyadmin SUBDIR += phppgadmin SUBDIR += pldebugger + SUBDIR += plpgsql_check SUBDIR += postgis-jdbc SUBDIR += postgis20 SUBDIR += postgis21 diff --git a/databases/plpgsql_check/Makefile b/databases/plpgsql_check/Makefile new file mode 100644 index 000000000000..f9217b844cf5 --- /dev/null +++ b/databases/plpgsql_check/Makefile @@ -0,0 +1,30 @@ +# Created by: Jov <amutu@amutu.com> +# $FreeBSD$ + +PORTNAME= plpgsql_check +PORTVERSION= 1.2.0 +DISTVERSIONPREFIX= v +CATEGORIES= databases +PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}- + +MAINTAINER= amutu@amutu.com +COMMENT= PostgreSQL extension to check PL/pgSQL code + +LICENSE= UNKNOWN +LICENSE_NAME= postcardware +LICENSE_TEXT= If you like it - send a postcard to address: \ + Pavel Stehule \ + Skalice 12 \ + Benesov u Prahy \ + 256 01 \ + Czech Republic \ + Use this code freely on own risk +LICENSE_PERMS= dist-mirror pkg-mirror dist-sell pkg-sell auto-accept + +USES= gmake pgsql:9.2+ +USE_GITHUB= yes +GH_ACCOUNT= okbob + +WANT_PGSQL= server + +.include <bsd.port.mk> diff --git a/databases/plpgsql_check/distinfo b/databases/plpgsql_check/distinfo new file mode 100644 index 000000000000..63d64ed1eb27 --- /dev/null +++ b/databases/plpgsql_check/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1496223426 +SHA256 (okbob-plpgsql_check-v1.2.0_GH0.tar.gz) = 370be67e557e91936f05c3697629ce45f1a7855d668359dc147d7fbf125dfcf5 +SIZE (okbob-plpgsql_check-v1.2.0_GH0.tar.gz) = 62269 diff --git a/databases/plpgsql_check/pkg-descr b/databases/plpgsql_check/pkg-descr new file mode 100644 index 000000000000..bd28ddfbee08 --- /dev/null +++ b/databases/plpgsql_check/pkg-descr @@ -0,0 +1,7 @@ +Plpgsql_check is next generation of plpgsql_lint. It allows to check source +code by explicit call plpgsql_check_function. The SQL statements inside +PL/pgSQL functions are checked by validator for semantic errors. These errors +can be found by plpgsql_check_function. PostgreSQL 9.2 is required, PostgreSQL +9.3, 9.4, 9.5, 9.6 and 10 are supported. + +WWW: https://github.com/okbob/plpgsql_check diff --git a/databases/plpgsql_check/pkg-plist b/databases/plpgsql_check/pkg-plist new file mode 100644 index 000000000000..87ecece9a70d --- /dev/null +++ b/databases/plpgsql_check/pkg-plist @@ -0,0 +1,7 @@ +lib/postgresql/plpgsql_check.so +share/postgresql/extension/plpgsql_check--1.0--1.1.sql +share/postgresql/extension/plpgsql_check--1.0.sql +share/postgresql/extension/plpgsql_check--1.1--1.2.sql +share/postgresql/extension/plpgsql_check--1.1.sql +share/postgresql/extension/plpgsql_check--1.2.sql +share/postgresql/extension/plpgsql_check.control |