From owner-freebsd-questions@freebsd.org Sun Sep 27 15:36:43 2020 Return-Path: Delivered-To: freebsd-questions@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 509393FE655 for ; Sun, 27 Sep 2020 15:36:43 +0000 (UTC) (envelope-from carlj@peak.org) Received: from smtp.email-protect.gosecure.net (smtp.email-protect.gosecure.net [208.80.203.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.email-protect.gosecure.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BzqWZ2VTYz3dWK for ; Sun, 27 Sep 2020 15:36:41 +0000 (UTC) (envelope-from carlj@peak.org) Received: from envoy14.neonova.net ([137.118.58.100]) by smtp.email-protect.gosecure.net ({54129e2e-a207-11ea-bac7-9b881365fc0b}) via TCP (outbound) with ESMTP id 20200927153634291_00001140 for ; Sun, 27 Sep 2020 08:36:34 -0700 X-RC-FROM: X-RC-RCPT: Received: from elm.localnet (unknown [199.58.99.76]) (Authenticated sender: carlj@peak.org) by envoy14.neonova.net (Postfix) with ESMTPA id 4BzqWL6dtcz9sxV for ; Sun, 27 Sep 2020 11:36:30 -0400 (EDT) Received: from localhost.localnet ([127.0.0.1] helo=elm.localnet) by elm.localnet with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1kMYiz-000Abm-Dw for freebsd-questions@freebsd.org; Sun, 27 Sep 2020 08:36:29 -0700 Received: (from carlj@localhost) by elm.localnet (8.15.2/8.15.2/Submit) id 08RFaSeb040781; Sun, 27 Sep 2020 08:36:28 -0700 (PDT) (envelope-from carlj) From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: Daily Security Run References: <20200927060507.0000719c@seibercom.net> Date: Sun, 27 Sep 2020 08:36:28 -0700 In-Reply-To: <20200927060507.0000719c@seibercom.net> (jerry@seibercom.net's message of "Sun, 27 Sep 2020 06:05:07 -0400") Message-ID: <8636338c5f.fsf@elm.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-MAG-OUTBOUND: greymail.email-protect.gosecure.net@137.118.58.100/32 X-Rspamd-Queue-Id: 4BzqWZ2VTYz3dWK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=peak.org; spf=pass (mx1.freebsd.org: domain of carlj@peak.org designates 208.80.203.3 as permitted sender) smtp.mailfrom=carlj@peak.org X-Spamd-Result: default: False [-3.26 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[208.80.203.3:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:208.80.200.0/21]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.97)[-0.972]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-0.50)[-0.495]; DMARC_POLICY_ALLOW(-0.50)[peak.org,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:208.80.202.0/23, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2020 15:36:43 -0000 Jerry writes: > The "Daily Security Run" outputs a lot of information. I was wondering > if it can be modified. > > The end of the output lists files for packages with mismatched > checksums. The files listed below were all modified by me, so I really > am not interested in this notice. > > Checking for packages with mismatched checksums: > apache24-2.4.46: /usr/local/etc/apache24/httpd.conf.sample > fetchmail-6.4.12: /usr/local/etc/rc.d/fetchmail > mysql80-server-8.0.21_2: /usr/local/etc/rc.d/mysql-server > poudriere-devel-3.3.99.20200326: missing file /usr/local/etc/poudriere.conf.sample > smartmontools-7.1_2: /usr/local/share/smartmontools/drivedb.h > > Now, I would like to either remove this info from the daily security > output or rehash or whatever the files so they are not listed as > incorrect. Is that possible? You can recompute the checksums as shown in the pkg-check(8) manpage. The 'pkg check -r' command will recalculate the checksums for any specified (or all) packages. I use that for my modified files. -- Carl Johnson carlj@peak.org