Hello community,

here is the log from the commit of package trivy for openSUSE:Factory checked 
in at 2020-11-06 23:45:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trivy (Old)
 and      /work/SRC/openSUSE:Factory/.trivy.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trivy"

Fri Nov  6 23:45:37 2020 rev:4 rq:846494 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/trivy/trivy.changes      2020-10-29 
14:52:24.525247230 +0100
+++ /work/SRC/openSUSE:Factory/.trivy.new.11331/trivy.changes   2020-11-06 
23:46:38.687085486 +0100
@@ -1,0 +2,5 @@
+Fri Oct 30 14:52:37 UTC 2020 - Dirk Mueller <[email protected]>
+
+- add 0001-Add-suse-sles-15.2-to-the-EOL-list-as-well.patch 
+
+-------------------------------------------------------------------

New:
----
  0001-Add-suse-sles-15.2-to-the-EOL-list-as-well.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ trivy.spec ++++++
--- /var/tmp/diff_new_pack.lHanMM/_old  2020-11-06 23:46:39.287084333 +0100
+++ /var/tmp/diff_new_pack.lHanMM/_new  2020-11-06 23:46:39.291084325 +0100
@@ -27,6 +27,7 @@
 URL:            https://github.com/aquasecurity/trivy
 Source:         %{name}-%{version}.tar.gz
 Source1:        vendor.tar.gz
+Patch1:         0001-Add-suse-sles-15.2-to-the-EOL-list-as-well.patch
 BuildRequires:  golang-packaging
 BuildRequires:  golang(API) >= 1.15
 Requires:       ca-certificates

++++++ 0001-Add-suse-sles-15.2-to-the-EOL-list-as-well.patch ++++++
>From 80efb57cace38e4002b4020a786f988d9e03630d Mon Sep 17 00:00:00 2001
From: Dirk Mueller <[email protected]>
Date: Fri, 30 Oct 2020 15:46:27 +0100
Subject: [PATCH] Add suse sles 15.2 to the EOL list as well

without that you get this arning:
  WARN  This OS version is not on the EOL list: suse linux enterprise server 
15.2

which is actually misleading because 15.2 is the most current release,
we just don't know when it ends. we can however assume that it runs
for at least another year.

Signed-off-by: Dirk Mueller <[email protected]>
Signed-off-by: Dirk Mueller <[email protected]>
---
 pkg/detector/ospkg/suse/suse.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pkg/detector/ospkg/suse/suse.go b/pkg/detector/ospkg/suse/suse.go
index 114eb40..6216840 100644
--- a/pkg/detector/ospkg/suse/suse.go
+++ b/pkg/detector/ospkg/suse/suse.go
@@ -39,7 +39,9 @@ var (
                "15":   time.Date(2019, 12, 31, 23, 59, 59, 0, time.UTC),
                "15.1": time.Date(2021, 1, 31, 23, 59, 59, 0, time.UTC),
                // 6 months after SLES 15 SP3 release
-               // "15.2":   time.Date(2028, 7, 31, 23, 59, 59, 0, time.UTC),
+               "15.2": time.Date(2021, 10, 31, 23, 59, 59, 0, time.UTC),
+               // 6 months after SLES 15 SP4 release
+               // "15.3":   time.Date(2028, 7, 31, 23, 59, 59, 0, time.UTC),
        }
 
        opensuseEolDates = map[string]time.Time{
-- 
2.29.0


Reply via email to