summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/slony1/DESCR9
-rw-r--r--databases/slony1/Makefile26
-rw-r--r--databases/slony1/PLIST17
-rw-r--r--databases/slony1/distinfo5
4 files changed, 57 insertions, 0 deletions
diff --git a/databases/slony1/DESCR b/databases/slony1/DESCR
new file mode 100644
index 00000000000..b2b3e6b0f3a
--- /dev/null
+++ b/databases/slony1/DESCR
@@ -0,0 +1,9 @@
+Slony-I is a "master to multiple slaves" replication system with cascading
+and failover.
+
+The big picture for the development of Slony-I is a master-slave system that
+includes all features and capabilities needed to replicate large databases to
+a reasonably limited number of slave systems.
+
+Slony-I is a system for data centers and backup sites, where the normal mode
+of operation is that all nodes are available.
diff --git a/databases/slony1/Makefile b/databases/slony1/Makefile
new file mode 100644
index 00000000000..a1458846bdd
--- /dev/null
+++ b/databases/slony1/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/02 15:05:16 adam Exp $
+
+DISTNAME= slony1-1.1.5
+CATEGORIES= databases
+MASTER_SITES= http://developer.postgresql.org/~wieck/slony1/download/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://gborg.postgresql.org/project/slony1/
+COMMENT= Replication system for PostgreSQL
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-pgconfigdir=${PGSQL_PREFIX:Q}/bin
+CONFIGURE_ARGS+= --with-pgbindir=${PGSQL_PREFIX:Q}/bin
+CONFIGURE_ARGS+= --with-pgincludedir=${PGSQL_PREFIX:Q}/include/postgresql
+CONFIGURE_ARGS+= --with-pgincludeserverdir=${PGSQL_PREFIX:Q}/include/postgresql/server
+CONFIGURE_ARGS+= --with-pglibdir=${PGSQL_PREFIX:Q}/lib
+CONFIGURE_ARGS+= --with-pgpkglibdir=${PGSQL_PREFIX:Q}/lib/postgresql
+CONFIGURE_ARGS+= --with-pgsharedir=${PGSQL_PREFIX:Q}/share/postgresql
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/share/slon.conf-sample \
+ ${PGSQL_PREFIX:Q}/share/postgresql
+
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/slony1/PLIST b/databases/slony1/PLIST
new file mode 100644
index 00000000000..af99e4bd9a5
--- /dev/null
+++ b/databases/slony1/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/02 15:05:16 adam Exp $
+bin/slon
+bin/slonik
+lib/postgresql/slony1_funcs.so
+lib/postgresql/xxid.so
+share/postgresql/slon.conf-sample
+share/postgresql/slony1_base.sql
+share/postgresql/slony1_base.v73.sql
+share/postgresql/slony1_base.v74.sql
+share/postgresql/slony1_base.v80.sql
+share/postgresql/slony1_funcs.sql
+share/postgresql/slony1_funcs.v73.sql
+share/postgresql/slony1_funcs.v74.sql
+share/postgresql/slony1_funcs.v80.sql
+share/postgresql/xxid.v73.sql
+share/postgresql/xxid.v74.sql
+share/postgresql/xxid.v80.sql
diff --git a/databases/slony1/distinfo b/databases/slony1/distinfo
new file mode 100644
index 00000000000..e72c0308aca
--- /dev/null
+++ b/databases/slony1/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/06/02 15:05:16 adam Exp $
+
+SHA1 (slony1-1.1.5.tar.bz2) = 19f42fbd3c92f299b65803adcebfed5b508c236b
+RMD160 (slony1-1.1.5.tar.bz2) = 207e81a8f30366810cb63ddb256f324415cad1f1
+Size (slony1-1.1.5.tar.bz2) = 610569 bytes