From bf76edff067fb8ba29ba4caa5f44622655fec8ff Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 7 Mar 2009 17:31:39 +0100 Subject: [PATCH] patches/: Added postgresql_conf_fix.dpatch. This is an upstream patch to fix the use of deprecated configuration options. --- debian/changelog | 5 ++- debian/patches/00list | 1 + debian/patches/postgresql_conf_fix.dpatch | 38 +++++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100755 debian/patches/postgresql_conf_fix.dpatch diff --git a/debian/changelog b/debian/changelog index 5f1f21c..b0253d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -40,8 +40,11 @@ collectd (4.6.1-1) unstable; urgency=low * debian/collectd.overrides: - Override "spelling-error-in-description" for the apache plugin name - all plugins are spelled lowercase. + * debian/patches/: + - Added postgresql_conf_fix.dpatch - upstream patch to fix the use of + deprecated configuration options. - -- Sebastian Harl Tue, 03 Mar 2009 18:32:27 +0100 + -- Sebastian Harl Sat, 07 Mar 2009 17:29:39 +0100 collectd (4.5.1-1) experimental; urgency=low diff --git a/debian/patches/00list b/debian/patches/00list index 332b35c..75ae68d 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -1,3 +1,4 @@ rrd_filter_path.dpatch collection_conf_path.dpatch +postgresql_conf_fix.dpatch diff --git a/debian/patches/postgresql_conf_fix.dpatch b/debian/patches/postgresql_conf_fix.dpatch new file mode 100755 index 0000000..74d9e72 --- /dev/null +++ b/debian/patches/postgresql_conf_fix.dpatch @@ -0,0 +1,38 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## postgresql_conf_fix.dpatch by Sebastian Harl +## +## DP: postgresql_default.conf: Don't use the deprecated {Min,Max}PgVersion +## DP: options. + +@DPATCH@ + +diff a/src/postgresql_default.conf b/src/postgresql_default.conf +--- a/src/postgresql_default.conf ++++ b/src/postgresql_default.conf +@@ -54,7 +54,7 @@ + ValuesFrom "del" + + +- MaxPGVersion 80299 ++ MaxVersion 80299 + + + +@@ -85,7 +85,7 @@ + ValuesFrom "hot_upd" + + +- MinPGVersion 80300 ++ MinVersion 80300 + + + +@@ -132,7 +132,7 @@ + ValuesFrom "dead" + + +- MinPGVersion 80300 ++ MinVersion 80300 + + + -- 2.30.2