Re: git: e761728685b1 - main - security/clamav-lts: Add new port
- In reply to: Yasuhiro Kimura : "git: e761728685b1 - main - security/clamav-lts: Add new port"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Oct 2021 09:02:35 UTC
From: Yasuhiro Kimura <yasu@FreeBSD.org> 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 <yasu@FreeBSD.org> > AuthorDate: 2021-09-18 08:44:56 +0000 > Commit: Yasuhiro Kimura <yasu@FreeBSD.org> > 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