🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.ports
Article #168

Flavors and OPTIONS

#168
From: Koen Martens
Date: Sat, 14 Nov 2026 20:58
50 lines
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
Technical Details
Message-ID: <3d7224ab338b4958ece6b531d3b9dd5947a0a743.camel@metro.cx>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Koen Martens <gmc@metro.cx>
Newsgroups: muc.lists.freebsd.ports
Subject: Flavors and OPTIONS
Date: Sat, 14 Nov 2026 21:58:59 +0100
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <3d7224ab338b4958ece6b531d3b9dd5947a0a743.camel@metro.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="9468"; mail-complaints-to="news-admin@muc.de"
User-Agent: Evolution 3.60.2
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1794689965;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:list-id:list-help:
	 list-owner:list-unsubscribe:list-subscribe:list-post;
	bh=rAdOTQt+05LnJ1K0r87TMLdVX8QyPCnxz5QtSpUUSos=;
	b=UWSDzoctrL5DQbIEwEN0c0ntL4stQU9oJKZZvHOroFyePk+lCUgP5KwSsAv8kzpez++cUW
	OeKt0mxPenKSufppBnSy68ZrepzbhAzjea2Sx1ZuYTc2w/drEv5By2Bi2ha+S0EbXqc2QV
	EGM4FPw5wtLvLrVy+IuY8Q3C5fynCSmEOHdZw1SGbNHdmPNTUuI8UM0dborEsSTABd1Jlf
	ob3gR/sKMnjGW5ZVpYq8Si8QjJyYtMR3RKVHOToppf/YthXm1hnhNWWM2+HVp524ft6pvT
	/tSuZDKdjK07gr3VJaEj/zN66+uGpszFLUVOIXE6wGxlUn5m8gnmZJKRHVkZCQ==
X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=pass header.d=metro.cx header.s=dkim header.b=JqwjYtXN;
	spf=pass (mx1.freebsd.org: domain of gmc@metro.cx designates 2a0e:73c2:602:2002::118 as permitted sender) smtp.mailfrom=gmc@metro.cx;
	dmarc=pass (policy=none) header.from=metro.cx
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=metro.cx; s=dkim;
	t=1794689940; bh=rAdOTQt+05LnJ1K0r87TMLdVX8QyPCnxz5QtSpUUSos=;
	h=Subject:From:To:Date;
	b=JqwjYtXNGV+I2R0U4icJGNbb3bMcnKzhC0Ezv4xNWsR+OFJUNZ6LDPi+3d5iDZ8Ws
	 MTptjdpxLkfFHcyaIpECR/n8+8UvGZLp9DzJOhazf7t8CU+slvm46vvP5yULud3FWk
	 JeaZCroqj73cVSO1KUsUDM2HvGSRL2d5k8qnbYU8S14YR5vhTuPg0bJ8qcYJrJLQXH
	 qj0XCb8pphrUbOhop+N8lDot4DsW9PDYOstcD2u0CrpKDanw1IO5Efx1PZBcnM7/Q5
	 no2VYjW96r3YW1/b6RVAAo0ygKYQYgQzVl6qNysTBh7BhI6v8H+D6Sl0Lc6+aNz4Hm
	 /MqF94kWxmUaw==
X-Authentication-Warning: mx1.sonologic.net: Host 2a0e-73c2-602-2001-d75b-8b56-50c0-1cb3.ipv6.karabro.net [IPv6:2a0e:73c2:602:2001:d75b:8b56:50c0:1cb3] claimed to be [IPv6:2a0e:73c2:602:2001:d75b:8b56:50c0:1cb3]
X-BeenThere: freebsd-ports@freebsd.org
Precedence: list
X-Rspamd-Queue-Id: 4jRmhB13ZMz4HMd
X-Spamd-Bar: /
X-Spamd-Result: default: False [-0.80 / 15.00];
	DMARC_POLICY_ALLOW(-0.50)[metro.cx,none];
	R_DKIM_ALLOW(-0.20)[metro.cx:s=dkim];
	ONCE_RECEIVED(0.20)[];
	R_SPF_ALLOW(-0.20)[+ip6:2a0e:73c2:602:2002::/64];
	MIME_GOOD(-0.10)[text/plain];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	RCPT_COUNT_ONE(0.00)[1];
	RCVD_COUNT_ONE(0.00)[1];
	ASN(0.00)[asn:51519, ipnet:2a0e:73c0::/29, country:SE];
	MIME_TRACE(0.00)[0:+];
	RCVD_TLS_ALL(0.00)[];
	MID_RHS_MATCH_FROM(0.00)[];
	MLMMJ_DEST(0.00)[freebsd-ports@FreeBSD.org];
	FROM_HAS_DN(0.00)[];
	HAS_XAW(0.00)[];
	ARC_NA(0.00)[];
	FROM_EQ_ENVFROM(0.00)[];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	TO_DN_NONE(0.00)[];
	PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org];
	DKIM_TRACE(0.00)[metro.cx:+]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes