git: c49969ef4f68 - main - databases/pgbackrest: new port, backup tool for PostgreSQL
Michael Zhilin
mizhka at FreeBSD.org
Thu Jun 3 11:51:08 UTC 2021
The branch main has been updated by mizhka (src committer):
URL: https://cgit.FreeBSD.org/ports/commit/?id=c49969ef4f68de362c260f7822e212c8045f7e6a
commit c49969ef4f68de362c260f7822e212c8045f7e6a
Author: Michael Zhilin <mizhka at FreeBSD.org>
AuthorDate: 2021-06-03 11:44:50 +0000
Commit: Michael Zhilin <mizhka at FreeBSD.org>
CommitDate: 2021-06-03 11:49:39 +0000
databases/pgbackrest: new port, backup tool for PostgreSQL
---
databases/pgbackrest/Makefile | 36 ++++++++++++++++++++++++++++++++++++
databases/pgbackrest/distinfo | 3 +++
databases/pgbackrest/pkg-descr | 5 +++++
databases/pgbackrest/pkg-plist | 2 ++
4 files changed, 46 insertions(+)
diff --git a/databases/pgbackrest/Makefile b/databases/pgbackrest/Makefile
new file mode 100644
index 000000000000..0df5f7b68f62
--- /dev/null
+++ b/databases/pgbackrest/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= pgbackrest
+DISTVERSION= 2.33
+CATEGORIES= databases
+
+MAINTAINER= schoutm at gmail.com
+COMMENT= Reliable PostgreSQL Backup & Restore
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/../LICENSE
+
+LIB_DEPENDS= liblz4.so:archivers/liblz4
+
+USES= gmake gnome pkgconfig pgsql ssl
+USE_GNOME= libxml2
+GNU_CONFIGURE= yes
+
+USE_GITHUB= yes
+GH_TAGNAME= release/${DISTVERSION}
+
+WRKSRC_SUBDIR= src
+
+ALL_TARGET=
+
+CONFIGURE_ARGS= --with-configdir="${LOCALBASE}/etc/pgbackrest"
+
+OPTIONS_DEFINE= ZSTD
+
+ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
+ZSTD_CONFIGURE_OFF= ac_cv_lib_zstd_ZSTD_isError=no
+ZSTD_CONFIGURE_ON= ac_cv_lib_zstd_ZSTD_isError=yes
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgbackrest
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/pgbackrest
+
+.include <bsd.port.mk>
diff --git a/databases/pgbackrest/distinfo b/databases/pgbackrest/distinfo
new file mode 100644
index 000000000000..17541cb0679c
--- /dev/null
+++ b/databases/pgbackrest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618942356
+SHA256 (pgbackrest-pgbackrest-2.33-release-2.33_GH0.tar.gz) = 772afaf5cae17fa1fa102c84576b8d6a5074ba3ff510bb86d321c98feebff837
+SIZE (pgbackrest-pgbackrest-2.33-release-2.33_GH0.tar.gz) = 5642397
diff --git a/databases/pgbackrest/pkg-descr b/databases/pgbackrest/pkg-descr
new file mode 100644
index 000000000000..33b92b8d96c9
--- /dev/null
+++ b/databases/pgbackrest/pkg-descr
@@ -0,0 +1,5 @@
+pgBackRest aims to be a reliable, easy-to-use backup and restore solution for
+PostgreSQL that can seamlessly scale up to the largest databases and workloads
+by utilizing algorithms that are optimized for database-specific requirements.
+
+WWW: https://pgbackrest.org/
diff --git a/databases/pgbackrest/pkg-plist b/databases/pgbackrest/pkg-plist
new file mode 100644
index 000000000000..60dbcd9fde28
--- /dev/null
+++ b/databases/pgbackrest/pkg-plist
@@ -0,0 +1,2 @@
+bin/pgbackrest
+ at dir %%ETCDIR%%
More information about the dev-commits-ports-all
mailing list