From d75d26857b0b7a9c9cb61d9429714629a786f9ee Mon Sep 17 00:00:00 2001 From: asau <asau@pkgsrc.org> Date: Fri, 10 Dec 2010 03:51:31 +0000 Subject: Import PostgreSQL 9.0 replication tools as databases/postgresql90-replicationtools This package provides the following PostgreSQL tools: - pg_archivecleanup - pg_standby pg_standby supports creation of a "warm standby" database server. It is designed to be a waiting restore_command, which is needed to turn a standard archive recovery into a warm standby operation. pg_archivecleanup is designed to cleanup an archive when used as an archive_cleanup_command when running with standby_mode = on. pg_archivecleanup can also be used as a standalone program to clean WAL file archives. --- databases/postgresql90-replicationtools/DESCR | 12 ++++++++++++ databases/postgresql90-replicationtools/Makefile | 16 ++++++++++++++++ databases/postgresql90-replicationtools/PLIST | 3 +++ 3 files changed, 31 insertions(+) create mode 100644 databases/postgresql90-replicationtools/DESCR create mode 100644 databases/postgresql90-replicationtools/Makefile create mode 100644 databases/postgresql90-replicationtools/PLIST (limited to 'databases') diff --git a/databases/postgresql90-replicationtools/DESCR b/databases/postgresql90-replicationtools/DESCR new file mode 100644 index 00000000000..781934b4da0 --- /dev/null +++ b/databases/postgresql90-replicationtools/DESCR @@ -0,0 +1,12 @@ +This package provides the following PostgreSQL tools: + - pg_archivecleanup + - pg_standby + +pg_standby supports creation of a "warm standby" database server. +It is designed to be a waiting restore_command, which is needed +to turn a standard archive recovery into a warm standby operation. + +pg_archivecleanup is designed to cleanup an archive when used as +an archive_cleanup_command when running with standby_mode = on. +pg_archivecleanup can also be used as a standalone program to +clean WAL file archives. diff --git a/databases/postgresql90-replicationtools/Makefile b/databases/postgresql90-replicationtools/Makefile new file mode 100644 index 00000000000..6df88194fc8 --- /dev/null +++ b/databases/postgresql90-replicationtools/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/12/10 03:51:31 asau Exp $ + +PKGNAME= postgresql90-replicationtools-${BASE_VERS} +COMMENT= PostgreSQL replication tools +MAINTAINER= pkgsrc-users@NetBSD.org + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../databases/postgresql90/Makefile.common" + +BUILD_DIRS+= contrib/pg_archivecleanup +BUILD_DIRS+= contrib/pg_standby + +.include "../../databases/postgresql90-client/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/postgresql90-replicationtools/PLIST b/databases/postgresql90-replicationtools/PLIST new file mode 100644 index 00000000000..26fba11926b --- /dev/null +++ b/databases/postgresql90-replicationtools/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/12/10 03:51:31 asau Exp $ +${PG_SUBPREFIX}bin/pg_archivecleanup +${PG_SUBPREFIX}bin/pg_standby -- cgit v1.2.3