openwrt/package/network
Jonas Gorski c8a30172f8 dnsmasq: ensure test and rc order as older than final releases
Opkg treats text after a version number as higher than without:

 ~# opkg compare-versions "2.80rc1" "<<" "2.80"; echo $?
 1
 ~# opkg compare-versions "2.80rc1" ">>" "2.80"; echo $?
 0

This causes opkg not offering final release as upgradable version, and
even refusing to update, since it thinks the installed version is
higher.

This can be mitigated by adding ~ between the version and the text, as ~
will order as less than everything except itself. Since 'r' < 't', to
make sure that test will be treated as lower than rc we add a second ~
before the test tag. That way, the ordering becomes

  2.80~~test < 2.80~rc < 2.80

which then makes opkg properly treat prerelease versions as lower.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2019-02-17 16:55:24 +01:00
..
config vti: remove setting default firewall zone to wan 2019-02-09 21:04:36 +01:00
ipv6 map: depend on nat46, provide map-t 2019-01-27 18:39:55 +01:00
services dnsmasq: ensure test and rc order as older than final releases 2019-02-17 16:55:24 +01:00
utils iproute2: tc: reduce size of dynamic symbol table 2019-02-11 20:18:48 +00:00