ports/net-mgmt/collectd5/files/patch-version-gen.sh
Krzysztof 910e52c9d1 net-mgmt/collectd5: update varnish dependency, modify nut dependency
As discussed in PR 265217 there is small patch for the nut (libups)
dependency.  I also add the actual varnish depndency (6 instead of 4).

PR:		268972, 265217
2023-03-17 10:02:16 +01:00

13 lines
317 B
Bash

--- version-gen.sh.orig 2020-09-03 11:26:25 UTC
+++ version-gen.sh
@@ -2,10 +2,6 @@
DEFAULT_VERSION="5.12.0.git"
-if [ -d .git ]; then
- VERSION="`git describe --dirty=+ --abbrev=7 2> /dev/null | sed -e '/^collectd-/!d' -e 's///' -e 'y/-/./'`"
-fi
-
if test -z "$VERSION"; then
VERSION="$DEFAULT_VERSION"
fi