collectd: fix upstream bug in 5.9.2 version string
authorHannu Nyman <redacted>
Sun, 13 Oct 2019 08:21:24 +0000 (11:21 +0300)
committerHannu Nyman <redacted>
Sun, 13 Oct 2019 08:21:24 +0000 (11:21 +0300)
Fix the missing version bump in the upstream source code
to display the correct version 5.9.2

Signed-off-by: Hannu Nyman <redacted>
utils/collectd/patches/0001-fix-5.9.2-version-string.patch [new file with mode: 0644]

diff --git a/utils/collectd/patches/0001-fix-5.9.2-version-string.patch b/utils/collectd/patches/0001-fix-5.9.2-version-string.patch
new file mode 100644 (file)
index 0000000..a718f93
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/version-gen.sh
++++ b/version-gen.sh
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+-DEFAULT_VERSION="5.9.0.git"
++DEFAULT_VERSION="5.9.2"
+ if [ -d .git ]; then
+       VERSION="`git describe --dirty=+ --abbrev=7 2> /dev/null | grep collectd | sed -e 's/^collectd-//' -e 's/-/./g'`"
+
git clone https://git.99rst.org/PROJECT