[Dnsmasq-discuss] Announce: dnsmasq-2.84

Lonnie Abelbeck lists at lonnie.abelbeck.com
Mon Jan 25 23:43:37 UTC 2021



> On Jan 25, 2021, at 5:21 PM, Lonnie Abelbeck <lists at lonnie.abelbeck.com> wrote:
> 
> 
>> Get it here:
>> 
>> http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.84.tar.gz
> 
> The version string generated is "2.84rc2"
> 
> $ cat dnsmasq-2.84/VERSION 
> (HEAD -> master, tag: v2.84rc2, tag: v2.84, origin/master, origin/HEAD)

This patch solves the problem:

--- dnsmasq-2.84/bld/get-version.orig	2021-01-25 17:35:04.882908877 -0600
+++ dnsmasq-2.84/bld/get-version	2021-01-25 17:35:58.658467974 -0600
@@ -28,7 +28,7 @@
      vers=`cat $1/VERSION | sed 's/[(), ]/,/ g' | tr ',' '\n' | grep ^v[0-9]`
 
      if [ $? -eq 0 ]; then
-         echo "${vers}" | sort -r | head -n 1 | sed 's/^v//'
+         echo "${vers}" | sort | head -n 1 | sed 's/^v//'
      else
          cat $1/VERSION
      fi



Lonnie




More information about the Dnsmasq-discuss mailing list