openwrt-mirror/package
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
..
base-files base-files: fix ucert verification 2019-02-12 16:42:03 +01:00
boot uboot-omap: add 'rootwait' to the kernel cmdline 2019-01-31 14:07:00 +01:00
devel perf: replace libelf1 dependency with libelf 2019-01-24 12:56:11 +01:00
firmware ipq40xx: add support for ASUS Lyra 2019-02-14 16:56:15 +01:00
kernel ipset: add support for hash(ip,mac) 2019-02-17 12:00:02 +01:00
libs openssl: add package for openssl.cnf, misc changes 2019-02-12 22:24:09 +01:00
network dnsmasq: ensure test and rc order as older than final releases 2019-02-17 16:55:24 +01:00
system fwtool: add support for extracting the truncated data part to stdout 2019-02-12 16:41:38 +01:00
utils busybox: update to 1.30.1 2019-02-14 21:43:07 +01:00
Makefile build: add ABI_VERSION to binary package names 2019-01-19 14:32:12 +01:00