databases/pgbackrest: new port, backup tool for PostgreSQL

This commit is contained in:
Michael Zhilin 2021-06-03 14:44:50 +03:00
parent 7a4ce8f831
commit c49969ef4f
4 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,36 @@
PORTNAME= pgbackrest
DISTVERSION= 2.33
CATEGORIES= databases
MAINTAINER= schoutm@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>

View file

@ -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

View file

@ -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/

View file

@ -0,0 +1,2 @@
bin/pgbackrest
@dir %%ETCDIR%%