Thread View: muc.lists.freebsd.ports
2 messages
2 total messages
Started by Koen Martens
Sat, 14 Nov 2026 20:58
Flavors and OPTIONS
Author: Koen Martens
Date: Sat, 14 Nov 2026 20:58
Date: Sat, 14 Nov 2026 20:58
50 lines
5540 bytes
5540 bytes
Hi all! I'm intending to adopt the net/lambdamoo port, which is currently without a maintainer. The current version is 1.8.1, which is ~25 years old. There's an upcoming new version which will introduce a number of new features (such as 64 bit integers, unicode support and more) that will be somewhat incompatible with databases running under version 1.8.1. Many of those are optional. To not cause too much disruption, I'd like to create two flavors: a default 'legacy compatible' flavor that is configured to behave like the 1.8.1 release and a 'modern' flavor that enables a number of the new features. This would create two binary packages, the default one being the automatic upgrade path when using binary packages, and the new available for admins that want to migrate their moo database to make use of the new features. However, I would also still provide the ability to manually configure the port and enable individual features. I think I can get what I want by defining options for all the features and then define OPTIONS_FILE differently for the two flavors as well as providing different OPTIONS_DEFAULT values for the flavors. I see other ports doing similar things, so it's not without precedent, but I'm curious whether that's the canonical way to go about it or whether there are other ways of going about this. Cheers, Koen -- Software architecture & engineering: https://www.sonologic.se/ Sci-fi: https://www.koenmartens.nl/ Retro computing: https://video.chasmcity.net/c/scandinavianretro/videos -- Software architecture & engineering: https://www.sonologic.se/ Sci-fi: https://www.koenmartens.nl/ Retro computing: https://video.chasmcity.net/c/scandinavianretro/videos -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Flavors and OPTIONS
Author: ronald
Date: Sun, 15 Nov 2026 10:07
Date: Sun, 15 Nov 2026 10:07
57 lines
3846 bytes
3846 bytes
Op zaterdag 14 november 2026 21:58:59 (+01:00) schreef Koen Martens: > Hi all! > > I'm intending to adopt the net/lambdamoo port, which is currently > without a maintainer. The current version is 1.8.1, which is ~25 years > old. > > There's an upcoming new version which will introduce a number of new > features (such as 64 bit integers, unicode support and more) that will > be somewhat incompatible with databases running under version 1.8.1. > Many of those are optional. > > To not cause too much disruption, I'd like to create two flavors: a > default 'legacy compatible' flavor that is configured to behave like > the 1.8.1 release and a 'modern' flavor that enables a number of the > new features. This would create two binary packages, the default one > being the automatic upgrade path when using binary packages, and the > new available for admins that want to migrate their moo database to > make use of the new features. > > However, I would also still provide the ability to manually configure > the port and enable individual features. > > I think I can get what I want by defining options for all the features > and then define OPTIONS_FILE differently for the two flavors as well as > providing different OPTIONS_DEFAULT values for the flavors. > > I see other ports doing similar things, so it's not without precedent, > but I'm curious whether that's the canonical way to go about it or > whether there are other ways of going about this. > > Cheers, > > Koen Hi Koen, This sounds like a proper solution. When you put up a patch in bugzilla I'm able to review. As your name and .nl website hint on being Dutch I want to point (or invite) you to the https://bsdnl.nl/ group. Regards, Ronald. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads