You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/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>
5 years ago
..
base-files base-files: fix ucert verification 5 years ago
boot uboot-omap: add 'rootwait' to the kernel cmdline 5 years ago
devel perf: replace libelf1 dependency with libelf 6 years ago
firmware ipq40xx: add support for ASUS Lyra 5 years ago
kernel ipset: add support for hash(ip,mac) 5 years ago
libs openssl: add package for openssl.cnf, misc changes 5 years ago
network dnsmasq: ensure test and rc order as older than final releases 5 years ago
system fwtool: add support for extracting the truncated data part to stdout 5 years ago
utils busybox: update to 1.30.1 5 years ago
Makefile build: add ABI_VERSION to binary package names 6 years ago