<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/release/packages/generate-ucl.lua, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F14</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F14'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-04-15T23:27:05Z</updated>
<entry>
<title>packages: Fix build with libucl 0.9.3</title>
<updated>2026-04-15T23:27:05Z</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2026-04-06T17:11:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d51d91780b61180fbeae406a29e9a02ec74d56df'/>
<id>urn:sha1:d51d91780b61180fbeae406a29e9a02ec74d56df</id>
<content type='text'>
In libucl 0.9.3, macros and includes are disabled by default when
creating a new UCL parser.  This breaks the package build, which
relies on includes.  Fix this by explicitly passing zero flags
to ucl.parser().

MFC after:	3 days
Fixes:		abda442d92fd ("contrib/libucl:  Import libucl 0.9.3")
Reviewed by:	kevans, bapt
Reported by:	freebsd@walstatt-de.de
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D56266

(cherry picked from commit 63d0e3e3aa2483420f828686336d6615616363d5)
</content>
</entry>
<entry>
<title>pkgbase: rework certctl package to only run rehash on the main package</title>
<updated>2024-03-27T08:31:47Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-01-31T12:42:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=099bd9e6ab8fd563587ccff84f33349a193f208e'/>
<id>urn:sha1:099bd9e6ab8fd563587ccff84f33349a193f208e</id>
<content type='text'>
Rework how ucl manifest are generated leveraging ucl features and flua

now the ucl generation is done via a lua script which uses libucl to
ingest the template and use variables as defined in its command line.

the template will include only if it exist a ucl file named after the
package name which will complement the template or overwrite what was
defined in the template if defined in this specific ucl file

this allows to overwrite license, but add script only to the packages
who actually needs them.

As a results the post install scripts are now only added to the right
package and not also added to the subpackages like -man or -dev

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D44374

(cherry picked from commit f8e46fd61e055fcc767c2038d867f58c38e43ec3)
</content>
</entry>
</feed>
