<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/release/packages, 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>packages: fix ownership of /tmp and /dev</title>
<updated>2025-08-23T00:10:15Z</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-06-04T05:38:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=637fa8441f0c8712b64f7ad95d072fcef5435c11'/>
<id>urn:sha1:637fa8441f0c8712b64f7ad95d072fcef5435c11</id>
<content type='text'>
release/packages/runtime.ucl manually adds "/tmp" and "/dev" to the
"directories" key, which causes them to be included in the manifest
with the user/group owner of whoever built the package repository:

drwxr-xr-x   7 ivy wheel 512 Jun  1 17:24 /dev
drwxrwxrwt  10 ivy wheel  10 Jun  1 17:42 /tmp

Remove the manual entries and instead put an explicit package tag
in etc/mtree/BSD.root.dist.  This also means /tmp gets the right
mode by default and we can remove the chmod from the post-install
script.

PR:	288746
Reviewed by:	manu, kevans, emaste
Approved by:	kevans (mentor)
Differential Revision:	https://reviews.freebsd.org/D50636

(cherry picked from commit 6b2993e74ebaacd46bd1e438787c23450cd2752d)
</content>
</entry>
<entry>
<title>bsd.files.mk: Fix FILESPACKAGE</title>
<updated>2025-08-23T00:10:12Z</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-08-07T11:43:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4f295cd38b0a59d56bfdebb10346e2e91ebf7c19'/>
<id>urn:sha1:4f295cd38b0a59d56bfdebb10346e2e91ebf7c19</id>
<content type='text'>
Because TAGS may already have a package tag, assigning TAGS to
FILESTAGS causes the value of FILESPACKAGE to be ignored.

Only assign tags other than package, and take the default package from
${PACKAGE}, which matches the behaviour of bsd.confs.mk and bsd.man.mk.

This fixes several files that were wrongly installed in utilities,
including /usr/share/examples/sendmail/mailer.conf and some files
in /usr/share/nls.

The fix trips a bug in share/syscons where Makefile.inc was setting
FILESPACKAGE to the wrong package, but the problem was hidden because
the subdirectories set PACKAGE explicitly.  Fix this by setting the
correct FILESPACKAGE in Makefile.inc and removing the PACKAGEs.

In stable/14, this creates a new FreeBSD-examples package, so add an
entry to Makefile.packages.

Reviewed by:		manu
Differential Revision:	https://reviews.freebsd.org/D51784

(cherry picked from commit 1e629ebb15db9ee0cb11a3654d7bcd3046a0df54)
</content>
</entry>
<entry>
<title>package: fix dependency generation</title>
<updated>2025-05-22T19:28:01Z</updated>
<author>
<name>Lexi Winter</name>
<email>lexi@le-Fay.ORG</email>
</author>
<published>2024-04-29T14:30:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fb6b1a797349992d8f166a2724eab2caf59abe28'/>
<id>urn:sha1:fb6b1a797349992d8f166a2724eab2caf59abe28</id>
<content type='text'>
A bug in release/packages/generate-ucl.sh causes package dependencies
(other than shlib depends) to not be generated correctly, meaning
packages are missing their dependencies.

generate-ucl.sh creates the UCL file by:

1. copying ${uclsource} (template.ucl) to ${uclfile}
2. appending dependencies to ${uclfile}
3. calling generate-ucl.lua on ${uclsource} to create ${uclfile}

This breaks because the dependencies added in step 2 are overwritten in
step 3.

Fix this by calling generate-ucl.lua with ${uclfile} as both the input
and output file, so anything we added to ${uclfile} is preserved.

PR:	286551
Reviewed by:	des, imp
Approved by:	kevans (mentor, stable/14 mfc)
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1203

(cherry picked from commit e05b6502f9ca36860236644884f12eff8e3243c4)
</content>
</entry>
<entry>
<title>release: Remove binutils</title>
<updated>2024-11-10T02:57:38Z</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2024-10-18T03:17:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=221461661a94d1d4f83e43b6b5cbd150f127c070'/>
<id>urn:sha1:221461661a94d1d4f83e43b6b5cbd150f127c070</id>
<content type='text'>
Reviewed by:	mhorne, emaste
Approved by:	emaste (mentor)
Fixes:	74e8d41e0ac8
MFC after:	1 week
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1485

(cherry picked from commit 6baae68d7f311f4ee0e844782dbaf4f3c9b223ed)
</content>
</entry>
<entry>
<title>pkgbase: Avoid hard-coding the package prefix in generate-ucl.sh</title>
<updated>2024-09-03T14:54:43Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-08-26T20:46:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e6c6f46dd5ea100f291b49d9d580283d127d54db'/>
<id>urn:sha1:e6c6f46dd5ea100f291b49d9d580283d127d54db</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Innovate UK

(cherry picked from commit b4dd5ff5f4f159a566c64e3348e67c33b80f2bbf)
</content>
</entry>
<entry>
<title>nuageinit: add basic support for cloudinit.</title>
<updated>2024-04-11T11:52:52Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2022-11-23T19:00:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=16a6da44e28d607f2383be7c7c325090979f531f'/>
<id>urn:sha1:16a6da44e28d607f2383be7c7c325090979f531f</id>
<content type='text'>
this is a very early script to support cloudinit, it does not intend to
be a full featured cloudinit client, but will support a good enough
subset to be viable in most case.

It support nocloud and openstack config-2 config drive mode (iso9660 or
msdosfs)

The following features are currently supported:
- adding users (including a default user named 'freebsd' with password
  'freebsd'
- adding groups
- adding ssh keys
- static ipv4, static ipv6, dynamic ipv4

With this one is able to use the 'bring your own image feature" out of
box.

It is expected that the script grows the support of other clouds
supporting cloud-init, contributions are welcomed.

It is designed to be only run once via the firstboot mecanism.

Sponsored by:	OVHCloud
Differential Revision:	https://reviews.freebsd.org/D44141

(cherry picked from commit a42d6f76018e4ed8324e319ab48aac904bda437c)
(cherry picked from commit c051f22bce42d920abba61bd7cf4ef5b6a270ffa)
(cherry picked from commit b8c053c9a612651d4909f7a323088f3e92485b7b)
(cherry picked from commit 9eae9233fdcc946945f4191e1413f548adfa2943)
</content>
</entry>
<entry>
<title>pkgbase: add a mechanism to be able to force a give ucl include</title>
<updated>2024-03-27T08:34:50Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-03-20T08:35:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0e3acd57984ab13270612cf5ea17227ec45f55e7'/>
<id>urn:sha1:0e3acd57984ab13270612cf5ea17227ec45f55e7</id>
<content type='text'>
This is made in order to be able to find add the post-install scripts
for the kernel, where PKGNAME varies for each KERNCONF but we don't want
to dynamically duplicated the kernel.ucl file.

At the same time we don't want the *-dbg* packages to actually include
those post-install scripts

(cherry picked from commit 45d83c39262d9e2727c6f409e19c653f19a5d7cc)
</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>
<entry>
<title>pkgbase: remove packages which do not exists anymore</title>
<updated>2024-03-27T08:30:44Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-03-15T13:50:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cd6e93e7a9fc217884448d427146d296f31fe069'/>
<id>urn:sha1:cd6e93e7a9fc217884448d427146d296f31fe069</id>
<content type='text'>
(cherry picked from commit 5c318f5ce3e293d8479d686da25c1a4460c09388)
</content>
</entry>
</feed>
