git: 51d07586402b - main - databases/pgsql-http: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Dec 2025 13:58:52 UTC
The branch main has been updated by decke:
URL: https://cgit.FreeBSD.org/ports/commit/?id=51d07586402bb4524c54654f1e34448287261c25
commit 51d07586402bb4524c54654f1e34448287261c25
Author: Lukas Engelhardt <lukas.engelhardt@gmx.de>
AuthorDate: 2025-12-08 13:58:20 +0000
Commit: Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2025-12-08 13:58:20 +0000
databases/pgsql-http: Add new port
PostgreSQL extension to trigger web services
PR: 290693
---
databases/Makefile | 1 +
databases/pgsql-http/Makefile | 25 +++++++++++++++++++++++++
databases/pgsql-http/distinfo | 3 +++
databases/pgsql-http/pkg-descr | 1 +
databases/pgsql-http/pkg-plist | 10 ++++++++++
5 files changed, 40 insertions(+)
diff --git a/databases/Makefile b/databases/Makefile
index c279a3102d66..0f3fa1c7271b 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -577,6 +577,7 @@
SUBDIR += pgrouting
SUBDIR += pgsanity
SUBDIR += pgschema
+ SUBDIR += pgsql-http
SUBDIR += pgtcl
SUBDIR += pgtop
SUBDIR += pguri
diff --git a/databases/pgsql-http/Makefile b/databases/pgsql-http/Makefile
new file mode 100644
index 000000000000..e8217f1cc228
--- /dev/null
+++ b/databases/pgsql-http/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= pgsql-http
+PORTVERSION= 1.7.0
+DISTVERSIONPREFIX= v
+CATEGORIES= databases
+PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
+
+MAINTAINER= lukas.engelhardt@gmx.de
+COMMENT= PostgreSQL extension to trigger web services
+WWW= https://github.com/pramsey/pgsql-http
+
+LICENSE= MIT
+
+BUILD_DEPENDS= curl:ftp/curl
+LIB_DEPENDS= libcurl.so:ftp/curl
+
+USES= gmake pgsql
+WANT_PGSQL= server
+
+USE_GITHUB= yes
+GH_ACCOUNT= pramsey
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/http.so
+
+.include <bsd.port.mk>
diff --git a/databases/pgsql-http/distinfo b/databases/pgsql-http/distinfo
new file mode 100644
index 000000000000..0c9d455d7d5d
--- /dev/null
+++ b/databases/pgsql-http/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1753969264
+SHA256 (pramsey-pgsql-http-v1.7.0_GH0.tar.gz) = d0330cbf32b37be3bd7ce52919439c903a6f4e88e99e359de2db4050bc3ef726
+SIZE (pramsey-pgsql-http-v1.7.0_GH0.tar.gz) = 27313
diff --git a/databases/pgsql-http/pkg-descr b/databases/pgsql-http/pkg-descr
new file mode 100644
index 000000000000..24bdaf315f1c
--- /dev/null
+++ b/databases/pgsql-http/pkg-descr
@@ -0,0 +1 @@
+PostgreSQL extension to trigger web services
diff --git a/databases/pgsql-http/pkg-plist b/databases/pgsql-http/pkg-plist
new file mode 100644
index 000000000000..baf2b7c28e45
--- /dev/null
+++ b/databases/pgsql-http/pkg-plist
@@ -0,0 +1,10 @@
+lib/postgresql/http.so
+share/postgresql/extension/http.control
+share/postgresql/extension/http--1.0--1.1.sql
+share/postgresql/extension/http--1.1--1.2.sql
+share/postgresql/extension/http--1.2--1.3.sql
+share/postgresql/extension/http--1.3--1.4.sql
+share/postgresql/extension/http--1.4--1.5.sql
+share/postgresql/extension/http--1.5--1.6.sql
+share/postgresql/extension/http--1.6--1.7.sql
+share/postgresql/extension/http--1.7.sql