is based on snapshot based event handling ideas from Slony-I, written for
general usage.
-Package: postgresql-9.1-pgq3
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-9.1
-Provides: skytools-modules
-Conflicts: skytools-modules-9.1
-Replaces: skytools-modules-9.1
-Description: Skype tools for PostgreSQL replication, londiste and PGQ
- This is the PGQ extension used by Skype replication, londiste. It consists
- of PL/pgsql, and C code in database.
-
-Package: postgresql-8.4-pgq3
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-8.4
-Provides: skytools-modules
-Conflicts: skytools-modules-8.4
-Replaces: skytools-modules-8.4
-Description: Skype tools for PostgreSQL replication, londiste and PGQ
- This is the PGQ extension used by Skype replication, londiste. It consists
- of PL/pgsql, and C code in database.
-
-Package: postgresql-9.0-pgq3
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-9.0
-Provides: skytools-modules
-Conflicts: skytools-modules-9.0
-Replaces: skytools-modules-9.0
-Description: Skype tools for PostgreSQL replication, londiste and PGQ
- This is the PGQ extension used by Skype replication, londiste. It consists
- of PL/pgsql, and C code in database.
-
is based on snapshot based event handling ideas from Slony-I, written for
general usage.
-Package: postgresql-9.1-pgq3
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-9.1
-Provides: skytools-modules
-Conflicts: skytools-modules-9.1
-Replaces: skytools-modules-9.1
-Description: Skype tools for PostgreSQL replication, londiste and PGQ
- This is the PGQ extension used by Skype replication, londiste. It consists
- of PL/pgsql, and C code in database.
-
Package: postgresql-PGVERSION-pgq3
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, postgresql-PGVERSION
-# don't list here 9.1, it's hard-coded in debian/rules (yes, I know)
-8.3
8.4
9.0
+9.1
usr/share/postgresql/8.4/contrib/pgq_coop.sql
usr/share/postgresql/8.4/contrib/londiste.upgrade.sql
usr/share/postgresql/8.4/contrib/uninstall_pgq.sql
-pgq_core_upgrade_to_v3.0.sql usr/share/postgresql/8.4/contrib/
usr/share/postgresql/9.0/contrib/pgq_coop.sql
usr/share/postgresql/9.0/contrib/londiste.upgrade.sql
usr/share/postgresql/9.0/contrib/uninstall_pgq.sql
-pgq_core_upgrade_to_v3.0.sql usr/share/postgresql/9.0/contrib/
usr/share/postgresql/9.1/contrib/pgq_coop.sql
usr/share/postgresql/9.1/contrib/londiste.upgrade.sql
usr/share/postgresql/9.1/contrib/uninstall_pgq.sql
-pgq_core_upgrade_to_v3.0.sql usr/share/postgresql/9.1/contrib/
# The build system is averse to VPATH building, so we can't properly use
# postgresql-server-dev-all
SRCDIR = $(CURDIR)
-PG_CONFIG_91=/usr/lib/postgresql/9.1/bin/pg_config
PKGVERS = $(shell dpkg-parsechangelog | awk -F '[:-]' '/^Version:/ { print substr($$2, 2) }')
ORIG_EXCLUDE=--exclude-vcs --exclude=debian
config.mak:
autoreconf -I lib/m4
- ./configure --prefix=/usr --with-asciidoc
+ ./configure --prefix=/usr --with-asciidoc --with-sk3-subdir
override_dh_auto_configure:
override_dh_auto_clean: config.mak debian/control
- make -C lib distclean
make -C doc realclean
dh_auto_clean -- distclean
- rm -f upgrade/final/v3.0_pgq_core.sql
for version in $$(pg_buildext supported-versions .) ; do \
- rm -rf debian/postgresql-$$version-pgq3; \
+ rm -rf debian/postgresql-$${version}-pgq3; \
done
override_dh_auto_build: config.mak lib/build
- dh_auto_build -- SQLDIR=/usr/share/skytools3 PG_CONFIG=$(PG_CONFIG_91)
- make -C upgrade
+ dh_auto_build -- SQLDIR=/usr/share/skytools3
# upstream build system will build fine for one given PostgreSQL version,
# then we build the PostgreSQL module and files for yet another version of
# it so that we have binary packages for postgresql-8.4-pgq3 and 9.0.
override_dh_auto_install:
mkdir -p $(CURDIR)/debian/tmp
- cp -a upgrade/final/v3.0_pgq_core.sql $(CURDIR)/debian/tmp/pgq_core_upgrade_to_v3.0.sql
- dh_auto_install -- SQLDIR=/usr/share/skytools3 PG_CONFIG=$(PG_CONFIG_91)
+ dh_auto_install -- SQLDIR=/usr/share/skytools3
# now care about any previous supported versions
for version in $$(pg_buildext supported-versions .) ; do \
echo "### Building for PostgreSQL $$version" && \
done; \
done
-lib/build:
- chmod +x lib/find_modules.sh
-
orig: clean
cd .. && tar czf skytools3_$(PKGVERS).orig.tar.gz $(ORIG_EXCLUDE) skytools
%:
dh $@
+
-debian/tmp/usr/share/doc/skytools3/walmgr.html
+debian/tmp/usr/share/doc/skytools3/walmgr3.html
debian/tmp/usr/share/doc/skytools3/conf/wal-master.ini
debian/tmp/usr/share/doc/skytools3/conf/wal-slave.ini
-debian/tmp/usr/share/doc/skytools3/pgqadm.html
debian/tmp/usr/share/doc/skytools3/scriptmgr.html
debian/tmp/usr/share/doc/skytools3/skytools_upgrade.html
debian/tmp/usr/share/doc/skytools3/qadmin.html
debian/tmp/usr/share/doc/skytools3/skytools3.html
-debian/tmp/usr/share/doc/skytools3/londiste.html
-debian/tmp/usr/share/doc/skytools3/londiste.ref.html
debian/tmp/usr/share/doc/skytools3/queue_splitter.html
debian/tmp/usr/share/doc/skytools3/queue_mover.html
+debian/tmp/usr/share/doc/skytools3/londiste3.html
usr/bin/queue_splitter3
debian/skytools.ini /etc
usr/lib/python*/site-packages/skytools-3.0/londiste
-usr/share/postgresql/9.0/contrib/pgq.upgrade.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/txid.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/pgq_triggers.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/pgq_lowlevel.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/pgq_node.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/pgq_coop.upgrade.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/pgq_ext.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/londiste.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/pgq_node.upgrade.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/pgq.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/pgq_coop.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/londiste.upgrade.sql /usr/share/skytools3
-usr/share/postgresql/9.0/contrib/uninstall_pgq.sql /usr/share/skytools3
+usr/share/skytools3
debian/tmp/usr/share/man/man1/scriptmgr3.1
debian/tmp/usr/share/man/man1/qadmin.1
-debian/tmp/usr/share/man/man1/pgqadm3.1
debian/tmp/usr/share/man/man1/londiste3.1
debian/tmp/usr/share/man/man1/queue_mover3.1
debian/tmp/usr/share/man/man1/queue_splitter3.1