-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-db/pgbackrest: bump version to 2.53
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST pgbackrest-2.26.tar.gz 5354188 BLAKE2B 96e5b76e131d3f682a85abcc4db6a9df6ce085871c903b5b4608cb88dae40444197a4d113da22cc5447d9bd9f5727f0e27a922b6c1a0c5d4357a752dc2aa424e SHA512 76c677ff76f28fda940f1464adf6531388aec1baf27f8e98eae0f2fd87cc3e4424b329a686f54922cf9868759accbacead937f838ec7b642ff9d3f898b3ed433 | ||
DIST pgbackrest-2.38.tar.gz 5770696 BLAKE2B 43887fc2af517a36deb5f58594c150996516c7e19980b2e935ceb9369085d2d653ec42ec269249708369a07161058c68877179487a856d04bc065e51c71e7693 SHA512 84cd67a4b4d17f6a7c71a34335c2ccf9f94fda0c2b6c01a55e3504d4426539073d17e61f243e158867ba8f5058d427e64707db9aa795daa498214c7cbd6a1746 | ||
DIST pgbackrest-2.53.tar.gz 2693089 BLAKE2B c8f992cf065b8c7538298aad8186623039d5df57e8e7b6bfb66aa6d72f97b4ed7db7bdd9da31e20ae4a1bcaaf8e9b9d535cc0ce5736835731926d6b02ed2338e SHA512 0778837f784a534149ef96d7124a70c040090b52100f23d649696ceb972b05cc77a675c69728eb0609d9578c7eed7ab6bc0f46e79b9b3ed259657071e569f2ee |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Copyright 1999-2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DESCRIPTION="Simple, reliable, scalable backup solution to postgres" | ||
HOMEPAGE="https://pgbackrest.org/" | ||
SRC_URI="https://github.com/${PN}/${PN}/archive/release/${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="MIT" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
SLOT="0" | ||
|
||
# Docs depend on XML::Checker::Parser. Skip for now | ||
#IUSE="doc" | ||
|
||
DEPEND=" | ||
acct-group/postgres | ||
acct-user/postgres | ||
>=dev-db/postgresql-9.0:= | ||
sys-libs/zlib | ||
app-arch/lz4 | ||
app-arch/bzip2 | ||
dev-libs/openssl | ||
dev-libs/libxml2 | ||
>=app-arch/zstd-1.0 | ||
" | ||
|
||
RDEPEND="${DEPEND}" | ||
|
||
BDEPEND="dev-libs/libyaml" | ||
|
||
S="${WORKDIR}/${PN}-release-${PV}/src" | ||
|
||
src_install() { | ||
# install base configuration | ||
dodir /etc/"${PN}" | ||
insinto /etc/"${PN}" | ||
insopts -o postgres -g postgres | ||
doins "${FILESDIR}"/pgbackrest.conf | ||
# user postgres should exist implicitly by dev-db/postgresql | ||
diropts -m 0775 -g postgres | ||
keepdir /var/log/"${PN}" | ||
# async wal archiving requires a spooler directory | ||
keepdir /var/spool/"${PN}" | ||
|
||
insopts -o root -g root | ||
insinto /etc/logrotate.d | ||
newins "${FILESDIR}/${PN}.logrotate" ${PN} | ||
|
||
newinitd "${FILESDIR}/${PN}.initd" ${PN} | ||
newconfd "${FILESDIR}/${PN}.confd" ${PN} | ||
|
||
default | ||
} |