From owner-freebsd-pkg@freebsd.org Mon Jul 13 15:34:15 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F1F80367596 for ; Mon, 13 Jul 2020 15:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B573q6Czmz45bQ for ; Mon, 13 Jul 2020 15:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D3AF9367595; Mon, 13 Jul 2020 15:34:15 +0000 (UTC) Delivered-To: pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3777367566 for ; Mon, 13 Jul 2020 15:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B573q4rVhz45Gc for ; Mon, 13 Jul 2020 15:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 89A4F17641 for ; Mon, 13 Jul 2020 15:34:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 06DFYF86061583 for ; Mon, 13 Jul 2020 15:34:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06DFYFvh061582 for pkg@FreeBSD.org; Mon, 13 Jul 2020 15:34:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 247953] ports-mgmt/pkg gives annoying messages Date: Mon, 13 Jul 2020 15:34:15 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2020 15:34:16 -0000 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 247953: ports-mgmt/pkg gives annoying messages https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247953 --- Description --- Periodic pkg audit is a good thing. Unfortunately, it is a bit annoying with some of its warnings. For example, I receive this on a daily basis for mont= hs now: Database fetched: Sat Jul 11 03:38:29 CEST 2020 bind911-9.11.20: Tag: expiration_date Value: 2021-12-31 bind911-9.11.20: Tag: deprecated Value: End of life, please migrate to a newer version of BIND9 Which is rather annoying since the expiration date is still 18 months away!= !! Similar, some ports are completely o.k. for running, only during the build process they are using deprecated tools (notably python 2.7), this gives messages such as: firefox-78.0_2,1: Tag: deprecated Value: Uses Python 2.7 which is EOLed upstream spidermonkey60-60.9.0_3: Tag: deprecated Value: Uses Python 2.7 which is EOLed upstream thunderbird-68.9.0_1: Tag: deprecated Value: Uses Python 2.7 which is EOL= ed upstream Note that these packages do not use Python to run, only to build. The attached patch allows to filter this using the nobs: security_status_pkgaudit_expiration=3D"NO" security_status_pkgaudit_deprecation=3D"NO" that can be put in periodic.conf I would really appreciated if this patch can make it in the system. p.s.: a better solution might be to add a time window, e.g. warn me only if= a expatriation date of a pkg is less than 3 months away. However, I do not kn= ow how to do that in sh/bash.