From: Dietmar Maurer Date: Thu, 22 Aug 2013 06:56:32 +0000 (+0200) Subject: fix Error in fencing_snmp.py on line 73 X-Git-Url: https://git.proxmox.com/?p=fence-agents-pve.git;a=commitdiff_plain;h=f5de5b7f75013cf71aab0a4841259084c78ee824;ds=sidebyside fix Error in fencing_snmp.py on line 73 see https://bugzilla.redhat.com/show_bug.cgi?id=999146 --- diff --git a/debian/patches/fix-rh-bug-999146-fencing-snmp-py.patch b/debian/patches/fix-rh-bug-999146-fencing-snmp-py.patch new file mode 100644 index 0000000..7d3ce92 --- /dev/null +++ b/debian/patches/fix-rh-bug-999146-fencing-snmp-py.patch @@ -0,0 +1,13 @@ +Index: new/fence/agents/lib/fencing_snmp.py.py +=================================================================== +--- new.orig/fence/agents/lib/fencing_snmp.py.py 2013-03-15 08:44:49.000000000 +0100 ++++ new/fence/agents/lib/fencing_snmp.py.py 2013-08-22 08:51:01.000000000 +0200 +@@ -70,7 +70,7 @@ + ('snmp-priv-passwd','X'),('password','A'),('username','u')) + for item in mapping_v3: + if (self.options.has_key("--"+item[0])): +- cmd += " -%s '%s'"% (item[1], self.quote_for_run(self.options["--" + item[1]])) ++ cmd += " -%s '%s'"% (item[1], self.quote_for_run(self.options["--" + item[0]])) + + force_ipvx = "" + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8f787af --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +fix-rh-bug-999146-fencing-snmp-py.patch diff --git a/debian/rules b/debian/rules index ac67cdd..57a6d32 100755 --- a/debian/rules +++ b/debian/rules @@ -48,7 +48,7 @@ zvm DESTDIR=debian/fence-agents-pve/ %: - dh $@ + dh --with quilt $@ override_dh_auto_configure: ./configure \