Package: release.debian.org Followup-For: Bug #783835 Attached you can see the debdiff of the proposed package.
For the records, the 3.0.1-4 version that is stuck in NEW queue, contains some quite invasive changes both to the software and the packaging, so it cannot be considered for stable updates. -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init)
diff -Nru repmgr-2.0/debian/changelog repmgr-2.0/debian/changelog --- repmgr-2.0/debian/changelog 2014-08-07 19:19:19.000000000 +0200 +++ repmgr-2.0/debian/changelog 2015-04-30 18:10:07.000000000 +0200 @@ -1,3 +1,10 @@ +repmgr (2.0-3+deb8u1) jessie; urgency=medium + + * Copy pg_logical directory in PostgreSQL 9.4 when clone + (Closes: #781753) + + -- Marco Nenciarini <[email protected]> Thu, 30 Apr 2015 16:00:49 +0200 + repmgr (2.0-3) unstable; urgency=medium [ Christoph Berg ] diff -Nru repmgr-2.0/debian/patches/properly-specify-rsync-exclude-directories.patch repmgr-2.0/debian/patches/properly-specify-rsync-exclude-directories.patch --- repmgr-2.0/debian/patches/properly-specify-rsync-exclude-directories.patch 1970-01-01 01:00:00.000000000 +0100 +++ repmgr-2.0/debian/patches/properly-specify-rsync-exclude-directories.patch 2015-04-30 18:10:07.000000000 +0200 @@ -0,0 +1,33 @@ +From: Ian Barwick <[email protected]> +Date: Mon, 7 Jul 2014 10:42:45 +0900 +Subject: properly specify rsync exclude directories + +Using '--exclude=dirname/*' to explicitly specify directories whose contents +should not be copied. This will result in empty directories being created +on the destination if they exist on the source, but that's not a problem as +they are needed anyway. + +Previously the generated rsync command contained '--exclude=pg_log*', which +will break replication on 9.5 as the wildcard expansion prevents the +'pg_logical' directory from being copied. +--- + repmgr.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/repmgr.c b/repmgr.c +index 53a35d8..8267910 100644 +--- a/repmgr.c ++++ b/repmgr.c +@@ -1892,9 +1892,10 @@ copy_remote_files(char *host, char *remote_user, char *remote_path, + + if (is_directory) + { +- strcat(rsync_flags, " --exclude=pg_xlog* --exclude=pg_log* --exclude=pg_control --exclude=*.pid"); ++ strcat(rsync_flags, ++ " --exclude=pg_xlog/* --exclude=pg_log/* --exclude=pg_control --exclude=*.pid"); + maxlen_snprintf(script, "rsync %s %s:%s/* %s", +- rsync_flags, host_string, remote_path, local_path); ++ rsync_flags, host_string, remote_path, local_path); + } + else + { diff -Nru repmgr-2.0/debian/patches/series repmgr-2.0/debian/patches/series --- repmgr-2.0/debian/patches/series 2014-08-07 19:19:19.000000000 +0200 +++ repmgr-2.0/debian/patches/series 2015-04-30 18:10:07.000000000 +0200 @@ -1,2 +1,3 @@ regress.patch makefile-no-libs.patch +properly-specify-rsync-exclude-directories.patch

