1 |
commit: 63dbb517cda5ac93a69a484c0444b8c6d3952a91 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 31 23:10:56 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 31 23:10:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63dbb517 |
7 |
|
8 |
sys-apps/man-db: Replaced version_is_at_least with ver_test |
9 |
|
10 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-apps/man-db/man-db-2.8.5.ebuild | 2 +- |
14 |
sys-apps/man-db/man-db-9999.ebuild | 2 +- |
15 |
2 files changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/man-db/man-db-2.8.5.ebuild b/sys-apps/man-db/man-db-2.8.5.ebuild |
18 |
index fc34d010327..6935f3bcada 100644 |
19 |
--- a/sys-apps/man-db/man-db-2.8.5.ebuild |
20 |
+++ b/sys-apps/man-db/man-db-2.8.5.ebuild |
21 |
@@ -92,7 +92,7 @@ pkg_preinst() { |
22 |
local _replacing_version= |
23 |
local _setgid_vuln=0 |
24 |
for _replacing_version in ${REPLACING_VERSIONS}; do |
25 |
- if version_is_at_least '2.7.6.1-r2' "${_replacing_version}"; then |
26 |
+ if ver_test '2.7.6.1-r2' -gt "${_replacing_version}"; then |
27 |
debug-print "Skipping security bug #602588 ... existing installation (${_replacing_version}) should not be affected!" |
28 |
else |
29 |
_setgid_vuln=1 |
30 |
|
31 |
diff --git a/sys-apps/man-db/man-db-9999.ebuild b/sys-apps/man-db/man-db-9999.ebuild |
32 |
index fc34d010327..6935f3bcada 100644 |
33 |
--- a/sys-apps/man-db/man-db-9999.ebuild |
34 |
+++ b/sys-apps/man-db/man-db-9999.ebuild |
35 |
@@ -92,7 +92,7 @@ pkg_preinst() { |
36 |
local _replacing_version= |
37 |
local _setgid_vuln=0 |
38 |
for _replacing_version in ${REPLACING_VERSIONS}; do |
39 |
- if version_is_at_least '2.7.6.1-r2' "${_replacing_version}"; then |
40 |
+ if ver_test '2.7.6.1-r2' -gt "${_replacing_version}"; then |
41 |
debug-print "Skipping security bug #602588 ... existing installation (${_replacing_version}) should not be affected!" |
42 |
else |
43 |
_setgid_vuln=1 |