diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2007-07-26 20:42:30 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2007-07-26 20:42:30 +0000 |
commit | 9b478cbcd6dd76c545ab52486162de804607359b (patch) | |
tree | ed3e5a712b802a9581155b4df8fd0539f13efd81 /databases | |
parent | - Update to 4.51 (diff) |
Add skytools 2.1.4, PostgreSQL tools from Skype: walshipping, queueing,
replication.
Notes
Notes:
svn path=/head/; revision=196339
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/skytools/Makefile | 29 | ||||
-rw-r--r-- | databases/skytools/distinfo | 3 | ||||
-rw-r--r-- | databases/skytools/pkg-descr | 5 | ||||
-rw-r--r-- | databases/skytools/pkg-plist | 96 |
5 files changed, 134 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 233d5acd59ec..3e8599c44c25 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -492,6 +492,7 @@ SUBDIR += rubygem-memcache-client SUBDIR += rubygem-rrdtool SUBDIR += rubygem-sqlite3 + SUBDIR += skytools SUBDIR += slony1 SUBDIR += sqlcached SUBDIR += sqlclient diff --git a/databases/skytools/Makefile b/databases/skytools/Makefile new file mode 100644 index 000000000000..0e150e150391 --- /dev/null +++ b/databases/skytools/Makefile @@ -0,0 +1,29 @@ +# Ports collection makefile for: skytools +# Date created: 27 July 2007 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= skytools +PORTVERSION= 2.1.4 +CATEGORIES= databases +MASTER_SITES= http://pgfoundry.org/frs/download.php/1354/ + +MAINTAINER= skv@FreeBSD.org +COMMENT= PostgreSQL tools from Skype: walshipping, queueing, replication + +GNU_CONFIGURE= yes +USE_GMAKE= yes + +USE_PGSQL= yes +USE_PYTHON= 2.4+ + +CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \ + --docdir=${EXAMPLESDIR} \ + --with-pgconfig=${LOCALBASE}/bin/pg_config + +post-patch: + @${REINPLACE_CMD} -e 's=share/doc=share/examples=' ${WRKSRC}/setup.py + +.include <bsd.port.mk> diff --git a/databases/skytools/distinfo b/databases/skytools/distinfo new file mode 100644 index 000000000000..d11c376008c2 --- /dev/null +++ b/databases/skytools/distinfo @@ -0,0 +1,3 @@ +MD5 (skytools-2.1.4.tar.gz) = 2877393a7a78df5cead31bd1858eddc5 +SHA256 (skytools-2.1.4.tar.gz) = 3d644971d7ac2340336ab4462367b543dc26904cebb68005b42580ba93ff17ca +SIZE (skytools-2.1.4.tar.gz) = 143249 diff --git a/databases/skytools/pkg-descr b/databases/skytools/pkg-descr new file mode 100644 index 000000000000..bdf911dae900 --- /dev/null +++ b/databases/skytools/pkg-descr @@ -0,0 +1,5 @@ +This is a package of tools in use in Skype for replication and +failover. Also it includes a generic queuing mechanism PgQ and +utility library for Python scripts. + +WWW: https://developer.skype.com/SkypeGarage/DbProjects/SkyTools diff --git a/databases/skytools/pkg-plist b/databases/skytools/pkg-plist new file mode 100644 index 000000000000..090d49f3f94a --- /dev/null +++ b/databases/skytools/pkg-plist @@ -0,0 +1,96 @@ +bin/bulk_loader.py +bin/cube_dispatcher.py +bin/londiste.py +bin/pgqadm.py +bin/queue_mover.py +bin/queue_splitter.py +bin/scriptmgr.py +bin/table_dispatcher.py +bin/walmgr.py +%%PYTHON_SITELIBDIR%%/londiste/__init__.py +%%PYTHON_SITELIBDIR%%/londiste/__init__.pyc +%%PYTHON_SITELIBDIR%%/londiste/compare.py +%%PYTHON_SITELIBDIR%%/londiste/compare.pyc +%%PYTHON_SITELIBDIR%%/londiste/file_read.py +%%PYTHON_SITELIBDIR%%/londiste/file_read.pyc +%%PYTHON_SITELIBDIR%%/londiste/file_write.py +%%PYTHON_SITELIBDIR%%/londiste/file_write.pyc +%%PYTHON_SITELIBDIR%%/londiste/installer.py +%%PYTHON_SITELIBDIR%%/londiste/installer.pyc +%%PYTHON_SITELIBDIR%%/londiste/playback.py +%%PYTHON_SITELIBDIR%%/londiste/playback.pyc +%%PYTHON_SITELIBDIR%%/londiste/repair.py +%%PYTHON_SITELIBDIR%%/londiste/repair.pyc +%%PYTHON_SITELIBDIR%%/londiste/setup.py +%%PYTHON_SITELIBDIR%%/londiste/setup.pyc +%%PYTHON_SITELIBDIR%%/londiste/syncer.py +%%PYTHON_SITELIBDIR%%/londiste/syncer.pyc +%%PYTHON_SITELIBDIR%%/londiste/table_copy.py +%%PYTHON_SITELIBDIR%%/londiste/table_copy.pyc +%%PYTHON_SITELIBDIR%%/pgq/__init__.py +%%PYTHON_SITELIBDIR%%/pgq/__init__.pyc +%%PYTHON_SITELIBDIR%%/pgq/consumer.py +%%PYTHON_SITELIBDIR%%/pgq/consumer.pyc +%%PYTHON_SITELIBDIR%%/pgq/event.py +%%PYTHON_SITELIBDIR%%/pgq/event.pyc +%%PYTHON_SITELIBDIR%%/pgq/maint.py +%%PYTHON_SITELIBDIR%%/pgq/maint.pyc +%%PYTHON_SITELIBDIR%%/pgq/producer.py +%%PYTHON_SITELIBDIR%%/pgq/producer.pyc +%%PYTHON_SITELIBDIR%%/pgq/status.py +%%PYTHON_SITELIBDIR%%/pgq/status.pyc +%%PYTHON_SITELIBDIR%%/pgq/ticker.py +%%PYTHON_SITELIBDIR%%/pgq/ticker.pyc +%%PYTHON_SITELIBDIR%%/skytools/__init__.py +%%PYTHON_SITELIBDIR%%/skytools/__init__.pyc +%%PYTHON_SITELIBDIR%%/skytools/config.py +%%PYTHON_SITELIBDIR%%/skytools/config.pyc +%%PYTHON_SITELIBDIR%%/skytools/dbstruct.py +%%PYTHON_SITELIBDIR%%/skytools/dbstruct.pyc +%%PYTHON_SITELIBDIR%%/skytools/gzlog.py +%%PYTHON_SITELIBDIR%%/skytools/gzlog.pyc +%%PYTHON_SITELIBDIR%%/skytools/installer_config.py +%%PYTHON_SITELIBDIR%%/skytools/installer_config.pyc +%%PYTHON_SITELIBDIR%%/skytools/quoting.py +%%PYTHON_SITELIBDIR%%/skytools/quoting.pyc +%%PYTHON_SITELIBDIR%%/skytools/scripting.py +%%PYTHON_SITELIBDIR%%/skytools/scripting.pyc +%%PYTHON_SITELIBDIR%%/skytools/skylog.py +%%PYTHON_SITELIBDIR%%/skytools/skylog.pyc +%%PYTHON_SITELIBDIR%%/skytools/sqltools.py +%%PYTHON_SITELIBDIR%%/skytools/sqltools.pyc +@dirrm %%PYTHON_SITELIBDIR%%/skytools +@dirrm %%PYTHON_SITELIBDIR%%/pgq +@dirrm %%PYTHON_SITELIBDIR%%/londiste +@dirrmtry %%PYTHON_SITELIBDIR%% +%%EXAMPLESDIR%%/conf/bulk_loader.ini.templ +%%EXAMPLESDIR%%/conf/cube_dispatcher.ini.templ +%%EXAMPLESDIR%%/conf/londiste.ini +%%EXAMPLESDIR%%/conf/pgqadm.ini +%%EXAMPLESDIR%%/conf/queue_mover.ini.templ +%%EXAMPLESDIR%%/conf/queue_splitter.ini.templ +%%EXAMPLESDIR%%/conf/scriptmgr.ini.templ +%%EXAMPLESDIR%%/conf/table_dispatcher.ini.templ +%%EXAMPLESDIR%%/conf/wal-master.ini +%%EXAMPLESDIR%%/conf/wal-slave.ini +@dirrm %%EXAMPLESDIR%%/conf +@dirrm %%EXAMPLESDIR%% +lib/postgresql/logtriga.so +lib/postgresql/txid.so +share/doc/postgresql/contrib/README.londiste +share/doc/postgresql/contrib/README.pgq +share/doc/postgresql/contrib/README.pgq_ext +share/doc/postgresql/contrib/README.txid +share/postgresql/contrib/logtriga.sql +share/postgresql/contrib/londiste.sql +share/postgresql/contrib/londiste.upgrade.sql +share/postgresql/contrib/pgq.sql +share/postgresql/contrib/pgq.upgrade.sql +share/postgresql/contrib/pgq_ext.sql +share/postgresql/contrib/uninstall_txid.sql +share/postgresql/contrib/txid.sql +@dirrmtry lib/postgresql +@dirrmtry share/doc/postgresql/contrib +@dirrmtry share/doc/postgresql +@dirrmtry share/postgresql/contrib +@dirrmtry share/postgresql |