On 2025/01/14 12:01, Theo Buehler wrote:
> On Tue, Jan 14, 2025 at 11:57:24AM +0100, Theo Buehler wrote:
> > I have switched the remaining consumers of OpenSSL 3.2 to OpenSSL 3.3
> > and plan on removing openssl/1.1 and openssl/3.2 soon.
> > 
> > I merged the @pkgpath and @conflict annotations from 1.1 and 3.2 into 3.3
> > and running 'make install' from 3.3 did the expected: 1.1 and 3.2 were
> > updated to 3.3p2 and all that remained of 1.1 and 3.2 the machine were
> > their .lib versions.
> > 
> > Does that look right? Is there more testing needed?
> > 
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/security/openssl/Makefile,v
> > diff -u -p -r1.43 Makefile
> > --- Makefile        23 Oct 2024 02:40:07 -0000      1.43
> > +++ Makefile        14 Jan 2025 10:46:33 -0000
> > @@ -1,6 +1,4 @@
> >  SUBDIR =
> > -SUBDIR += 1.1
> > -SUBDIR += 3.2
> >  SUBDIR += 3.3
> >  SUBDIR += 3.4
> >  SUBDIR += libretls
> > Index: 3.3/Makefile
> > ===================================================================
> > RCS file: /cvs/ports/security/openssl/3.3/Makefile,v
> > diff -u -p -r1.8 Makefile
> > --- 3.3/Makefile    7 Dec 2024 11:35:35 -0000       1.8
> > +++ 3.3/Makefile    14 Jan 2025 10:46:33 -0000
> > @@ -8,7 +8,7 @@ V=          3.3.2
> >  PKGNAME=   openssl-${V}
> >  PKGSPEC=   openssl->=3.3v0,<3.4v0
> >  EPOCH=             0
> > -REVISION=  1
> > +REVISION=  2
> >  
> >  SHLIBVER=  27.0
> >  SHARED_LIBS=       crypto ${SHLIBVER} \
> > Index: 3.3/pkg/PLIST
> > ===================================================================
> > RCS file: /cvs/ports/security/openssl/3.3/pkg/PLIST,v
> > diff -u -p -r1.2 PLIST
> > --- 3.3/pkg/PLIST   4 Jun 2024 16:28:42 -0000       1.2
> > +++ 3.3/pkg/PLIST   14 Jan 2025 10:52:12 -0000
> > @@ -1,6 +1,16 @@
> >  @option no-default-conflict
> >  @option is-branch
> > +@conflict openssl->=1.1.0,<1.2
> > +@conflict openssl->=1.1.0v0,<1.2v0
> > +@conflict openssl->=3.1,<3.2
> > +@conflict openssl->=3.1v0,<3.2v0
> > +@conflict openssl->=3.2v0,<3.4v0
> 
> That should probably be 
> 
> @conflict openssl->=3.2v0,<3.3v0
> 
> Also, is there a reason why we need all these conflicts? Can all these
> be simplified to
> 
> @conflict openssl->=1.1.0,<3.4v0?

I don't think we need any of the old ones at all, only the one
relating to the current version, i.e. for 3.3 that's "@conflict
openssl->=3.3v0,<3.4v0" (that one is necessary because the default
conflict was overridden with "@option no-default-conflict").

Reply via email to