2017-01-01 15:43:22 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2017/01/01 14:43:28 wiz Exp $
|
Import skytools-3.1.5 as databases/skytools.
Based on PR pkg/48639 by rudolf.
SkyTools is a package of tools in use in Skype for replication and failover.
It also includes a generic queuing mechanism called PgQ and a utility
library for Python scripts, as well as a script for setting up and managing
WAL based standby servers.
PgQ is a queuing system written in PL/pgSQL, Python and C code. It is based
on snapshot-based event handling ideas from Slony-I, and is written for
general usage. PgQ provides an efficient, transactional, queueing system
with multi-node support (including work sharing and splitting, failover and
switchover, for queues and for consumers). PgQ is split into 3 layers:
Producers, Ticker and Consumers.
Londiste is a replication tool written in Python, using PgQ as event
transport.
Walmgr is a script that will setup WAL archiving, does the initial backup,
and runtime WAL archive and restore. It can also be used for
up-to-last-second partial file copying, so that less than the whole file is
lost in case of loss of the master database server.
2014-03-06 12:28:41 +01:00
|
|
|
|
2014-04-24 07:48:01 +02:00
|
|
|
DISTNAME= skytools-3.2
|
2016-10-09 23:41:55 +02:00
|
|
|
PKGREVISION= 2
|
Import skytools-3.1.5 as databases/skytools.
Based on PR pkg/48639 by rudolf.
SkyTools is a package of tools in use in Skype for replication and failover.
It also includes a generic queuing mechanism called PgQ and a utility
library for Python scripts, as well as a script for setting up and managing
WAL based standby servers.
PgQ is a queuing system written in PL/pgSQL, Python and C code. It is based
on snapshot-based event handling ideas from Slony-I, and is written for
general usage. PgQ provides an efficient, transactional, queueing system
with multi-node support (including work sharing and splitting, failover and
switchover, for queues and for consumers). PgQ is split into 3 layers:
Producers, Ticker and Consumers.
Londiste is a replication tool written in Python, using PgQ as event
transport.
Walmgr is a script that will setup WAL archiving, does the initial backup,
and runtime WAL archive and restore. It can also be used for
up-to-last-second partial file copying, so that less than the whole file is
lost in case of loss of the master database server.
2014-03-06 12:28:41 +01:00
|
|
|
CATEGORIES= databases
|
2014-04-24 07:48:01 +02:00
|
|
|
MASTER_SITES= http://pgfoundry.org/frs/download.php/3622/
|
Import skytools-3.1.5 as databases/skytools.
Based on PR pkg/48639 by rudolf.
SkyTools is a package of tools in use in Skype for replication and failover.
It also includes a generic queuing mechanism called PgQ and a utility
library for Python scripts, as well as a script for setting up and managing
WAL based standby servers.
PgQ is a queuing system written in PL/pgSQL, Python and C code. It is based
on snapshot-based event handling ideas from Slony-I, and is written for
general usage. PgQ provides an efficient, transactional, queueing system
with multi-node support (including work sharing and splitting, failover and
switchover, for queues and for consumers). PgQ is split into 3 layers:
Producers, Ticker and Consumers.
Londiste is a replication tool written in Python, using PgQ as event
transport.
Walmgr is a script that will setup WAL archiving, does the initial backup,
and runtime WAL archive and restore. It can also be used for
up-to-last-second partial file copying, so that less than the whole file is
lost in case of loss of the master database server.
2014-03-06 12:28:41 +01:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://pgfoundry.org/projects/skytools
|
|
|
|
COMMENT= Tools for PostgreSQL for queueing, replication and failover
|
|
|
|
LICENSE= isc
|
|
|
|
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
|
|
|
|
DEPENDS+= rsync-[0-9]*:../../net/rsync
|
|
|
|
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
USE_TOOLS+= awk gmake grep sed
|
|
|
|
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
PY_NO_EGG= no
|
2017-01-01 15:43:22 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 3.2
|
Import skytools-3.1.5 as databases/skytools.
Based on PR pkg/48639 by rudolf.
SkyTools is a package of tools in use in Skype for replication and failover.
It also includes a generic queuing mechanism called PgQ and a utility
library for Python scripts, as well as a script for setting up and managing
WAL based standby servers.
PgQ is a queuing system written in PL/pgSQL, Python and C code. It is based
on snapshot-based event handling ideas from Slony-I, and is written for
general usage. PgQ provides an efficient, transactional, queueing system
with multi-node support (including work sharing and splitting, failover and
switchover, for queues and for consumers). PgQ is split into 3 layers:
Producers, Ticker and Consumers.
Londiste is a replication tool written in Python, using PgQ as event
transport.
Walmgr is a script that will setup WAL archiving, does the initial backup,
and runtime WAL archive and restore. It can also be used for
up-to-last-second partial file copying, so that less than the whole file is
lost in case of loss of the master database server.
2014-03-06 12:28:41 +01:00
|
|
|
|
|
|
|
REPLACE_PYTHON+= scripts/*.py
|
|
|
|
REPLACE_PYTHON+= python/*.py
|
|
|
|
REPLACE_PYTHON+= python/skytools/*.py
|
|
|
|
REPLACE_PYTHON+= python/pgq/*.py
|
|
|
|
REPLACE_PYTHON+= python/pgq/cascade/*.py
|
|
|
|
REPLACE_PYTHON+= python/londiste/*.py
|
|
|
|
REPLACE_PYTHON+= python/londiste/handlers/*.py
|
|
|
|
REPLACE_PYTHON+= misc/*.py
|
|
|
|
REPLACE_PYTHON+= *.py
|
|
|
|
REPLACE_PYTHON+= tests/setadm/*.py
|
|
|
|
REPLACE_PYTHON+= tests/londiste/*.py
|
|
|
|
REPLACE_PYTHON+= tests/skylog/*.py
|
|
|
|
REPLACE_PYTHON+= tests/cascade/*.py
|
|
|
|
REPLACE_PYTHON+= tests/localconsumer/*.py
|
|
|
|
REPLACE_PYTHON+= tests/quoting/*.py
|
|
|
|
|
|
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|