Displaying 3 results from an estimated 3 matches for "vercmp".
2020 Mar 16
2
CentOS rpm versioning
...rable, because of RHSA-2019:3708
It states, that mariadb must be updated at least to the version
"10.3.17-1.module+el8.1.0+3974+90eded84". CentOS' last version is
"10.3.17-1.module_el8.1.0+257+48736ea6". Rpm/yum considers CentOS' version
older, than RHEL's.
% rpmdev-vercmp 3:10.3.17-1.module_el8.1.0+257+48736ea6 3:10.3.17-1.module+
el8.1.0+3974+90eded84
3:10.3.17-1.module_el8.1.0+257+48736ea6 < 3:10.3.17-1.module+el8.1.0+3974+
90eded84
That's why Clair considers it's vulnerable. Is there any way to fix it?
--
skype: miptpatriot
2020 Mar 16
0
CentOS rpm versioning
...708
> It states, that mariadb must be updated at least to the version
> "10.3.17-1.module+el8.1.0+3974+90eded84". CentOS' last version is
> "10.3.17-1.module_el8.1.0+257+48736ea6". Rpm/yum considers CentOS' version
> older, than RHEL's.
>
> % rpmdev-vercmp 3:10.3.17-1.module_el8.1.0+257+48736ea6 3:10.3.17-1.module+
> el8.1.0+3974+90eded84
> 3:10.3.17-1.module_el8.1.0+257+48736ea6 < 3:10.3.17-1.module+el8.1.0+3974+
> 90eded84
>
> That's why Clair considers it's vulnerable. Is there any way to fix it?
>
>
The issue is th...
2006 Jul 27
1
[PATCH] add local xmms.m4
...greater,
+# 0 if the numbers are equal.
+
+# Written 15 December 1999 by Ben Gertzfield <che@debian.org>
+# Revised 15 December 1999 by Jim Monty <monty@primenet.com>
+
+ AC_PROG_AWK
+ xmms_got_version=[` $AWK ' \
+BEGIN { \
+ print vercmp(ARGV[1], ARGV[2]); \
+} \
+ \
+function vercmp(ver1, ver2, ver1arr, ver2arr, \
+ ver1len, ver2len, \
+ ver1int, ver2int, len, i, p) { \
+ \
+ ver1len = split(ver1, ver1arr, /\./); \
+ ver2len =...