From nobody Thu Oct 7 09:02:35 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 50A1E17E28E6; Thu, 7 Oct 2021 09:03:09 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HQ52P1tX2z4bCt; Thu, 7 Oct 2021 09:03:09 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Received: from localhost (gate.home.utahime.org [183.180.29.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 03C83263FC; Thu, 7 Oct 2021 09:03:07 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Thu, 07 Oct 2021 18:02:35 +0900 (JST) Message-Id: <20211007.180235.2300875723014522392.yasu@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: e761728685b1 - main - security/clamav-lts: Add new port From: Yasuhiro Kimura In-Reply-To: <202110070853.1978rVgQ099961@gitrepo.freebsd.org> References: <202110070853.1978rVgQ099961@gitrepo.freebsd.org> X-Mailer: Mew version 6.8 on Emacs 29.0.50 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N From: Yasuhiro Kimura Subject: git: e761728685b1 - main - security/clamav-lts: Add new port Date: Thu, 7 Oct 2021 08:53:31 GMT > The branch main has been updated by yasu: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=e761728685b12571bdf0a8a20d4506c8c58f934c > > commit e761728685b12571bdf0a8a20d4506c8c58f934c > Author: Yasuhiro Kimura > AuthorDate: 2021-09-18 08:44:56 +0000 > Commit: Yasuhiro Kimura > CommitDate: 2021-10-07 08:52:06 +0000 > > security/clamav-lts: Add new port > > * Add Long Term Support release of ClamAV > * Add CONFLICTS_INSTALL to security/clamav > * Add entry to UPDATING that explains > - Upstream changed their end-of-life policy and LTS release is > introduced > - How to switch from regular release (security/clamav) to LTS > release (security/clamav-lts) > > Note about setting PORTEPOCH > > In general new port should not set PORTEPOCH. But in this case it > should be set with following reason. > > 1. Recently upstream changed their end-of-life policy as following. > - Regular feature release (= 0.xyz.0 release) is released more > frequently, and life time of each feature release is shortened to > about 4 months. > - To compensate for the short lifetime of regular feature release, > Long Term Support feature release is introduced and its life time > is about 3 years. > 2. First LTS starts with version 0.103.3 and it is same as current > version of security/clamav. > 3. Because of short lifetime of regular feature release, it is > probable that not a few users of security/clamav want to switch to > security/clamav-lts after the latter is connected (and the former > is updated to 0.104.0). > 3. For such users the entry is added to UPDATING about how to switch > from security/clamav to security/clamav-lts. And binary package > user is suggested to execute > `pkg set -o security/clamav:security/clamav-lts`. This command > changes the origin of already installed clamav packages. So user > can switch to LTS version without reinstalling. > 4. But if PORTEPOCH isn't set in security/clamav-lts, binary package > user who executed above command will notice that version of > installed package (0.103.3,1) succeeds to current version of > security/clamav-lts (0.103.3). The situation doesn't change after > new patch release (0.103.4 for example) is released and it causes > the problem that installed package isn't properly upgraded with > `pkg upgrade`. > 5. So PORTEPOCH is set in security/clamav-lts to prevent binary > package user from suffering from such problem. I don't know why but following metadata was dropped from commit message. PR: 258567 Approved by: meta (mentor), ygy (mentor) Differential Revision: https://reviews.freebsd.org/D32175 --- Yasuhiro Kimura