mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
databases/pgbackrest: new port, backup tool for PostgreSQL
This commit is contained in:
parent
7a4ce8f831
commit
c49969ef4f
4 changed files with 46 additions and 0 deletions
36
databases/pgbackrest/Makefile
Normal file
36
databases/pgbackrest/Makefile
Normal 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>
|
3
databases/pgbackrest/distinfo
Normal file
3
databases/pgbackrest/distinfo
Normal 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
|
5
databases/pgbackrest/pkg-descr
Normal file
5
databases/pgbackrest/pkg-descr
Normal 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/
|
2
databases/pgbackrest/pkg-plist
Normal file
2
databases/pgbackrest/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bin/pgbackrest
|
||||||
|
@dir %%ETCDIR%%
|
Loading…
Add table
Reference in a new issue