Page MenuHomeFreeBSD

khorben (Pierre Pronchery)
User

Projects

User Details

User Since
Apr 26 2023, 1:30 PM (168 w, 4 d)

Recent Activity

Fri, Jul 17

khorben added a comment to D56474: Generate SBOM files as part of the build.
In D56474#1336929, @ivy wrote:

I don't really see how this is going to stay up-to-date: this seems to depend on developers remembering to update the file each time they add a dependency.

i agree and i object to landing this as-is; this simply isn't a workable solution.

when the original SBOM proposal was announced, i was disappointed when FF declared that pkgbase was out-of-scope for that work, but it seems like this and pkgbase and trying to solve similar problems when it comes to dependencies. can we not find a solution that works for both without requiring manual upkeep?

Fri, Jul 17, 2:28 PM

Tue, Jul 14

khorben updated the diff for D56474: Generate SBOM files as part of the build.

No longer build bomtool(1) and spdxtool(1) with NO_SHARED in the tooling phase. (Reported by imp@, thanks!)

Tue, Jul 14, 4:16 PM
khorben updated the diff for D56474: Generate SBOM files as part of the build.

This should fix the cross-compilation of libpkgconf while building bomtool(1) and spdxtool(1) as tools.

Tue, Jul 14, 2:56 PM
khorben added a comment to D56474: Generate SBOM files as part of the build.

I just saw that this breaks cross-compilation, when building libpkgconf early for bomtool(1) and spdxtool(1) as tools for SBOM generation:

Tue, Jul 14, 2:25 PM
khorben added inline comments to D56474: Generate SBOM files as part of the build.
Tue, Jul 14, 1:57 PM
khorben updated the diff for D56474: Generate SBOM files as part of the build.

Generate SPDX files in version 3.0.1 as well by default, now that spdxtool(1) has been imported into the base system.
Sets the correct version of FreeBSD automatically into the SBOM files generated for FreeBSD's own software.

Tue, Jul 14, 1:48 PM
khorben added inline comments to D58034: usr.bin/pkgconf: import the test suite.
Tue, Jul 14, 7:59 AM
khorben updated the diff for D58034: usr.bin/pkgconf: import the test suite.

Removed use of NO_SHARED for the test binaries.

Tue, Jul 14, 7:57 AM

Mon, Jul 13

khorben added a comment to D58034: usr.bin/pkgconf: import the test suite.

Are the tests all passing now?

Mon, Jul 13, 5:34 AM
khorben updated the diff for D58034: usr.bin/pkgconf: import the test suite.

Copied missing data.
Registered the missing test directories in etc/mtree/BSD.tests.dist.
Forced a C locale to avoid the UTF-8 test. (Original test file removed from our import because of UTF-8 filename)

Mon, Jul 13, 5:34 AM

Fri, Jul 10

khorben updated the diff for D58034: usr.bin/pkgconf: import the test suite.

Now copying most of the test data required: only 2 tests do not pass on my local setup (the spdxtool binary is required and I have not installed it yet).

Fri, Jul 10, 6:18 PM

Wed, Jul 8

khorben updated the diff for D58034: usr.bin/pkgconf: import the test suite.

Also hooked the serialisation test for spdxtool.

Wed, Jul 8, 9:32 PM
khorben updated the diff for D58034: usr.bin/pkgconf: import the test suite.

Added the SPDX license header.
Added discovery mechanism for the location of the test executables.

Wed, Jul 8, 7:35 AM

Sat, Jul 4

khorben updated the diff for D58034: usr.bin/pkgconf: import the test suite.

Imported more tests from the 2.9.93 release.
Some still remain to be integrated, like for spdxtool specifically.

Sat, Jul 4, 8:56 PM
khorben updated the diff for D58034: usr.bin/pkgconf: import the test suite.

Fixed inconsistent indentation in etc/mtree/BSD.tests.dist.

Sat, Jul 4, 7:04 PM
khorben requested review of D58034: usr.bin/pkgconf: import the test suite.
Sat, Jul 4, 1:36 AM

Thu, Jul 2

khorben committed rGc146f5ae308e: pkgconf: determine the default paths dynamically (authored by khorben).
pkgconf: determine the default paths dynamically
Thu, Jul 2, 2:48 AM
khorben closed D57246: pkgconf: determine the default paths dynamically.
Thu, Jul 2, 2:48 AM

Wed, Jul 1

khorben committed rG592efe252472: Merge commit '0cf7106da9f36671ef62142c27de98eee9d874d6' into khorben/pkgconf-2. (authored by khorben).
Merge commit '0cf7106da9f36671ef62142c27de98eee9d874d6' into khorben/pkgconf-2.
Wed, Jul 1, 12:27 AM
khorben committed rG43b1ade21e22: pkgconf: match the update to version 2.9.93 (authored by khorben).
pkgconf: match the update to version 2.9.93
Wed, Jul 1, 12:27 AM
khorben closed D57953: pkgconf: match the update to version 2.9.93.
Wed, Jul 1, 12:27 AM

Tue, Jun 30

khorben updated the diff for D57953: pkgconf: match the update to version 2.9.93.
  • Update wording for packages/pkgconf/pkgconf.ucl, as per Mark's suggestion.
Tue, Jun 30, 8:14 PM
khorben updated the diff for D57953: pkgconf: match the update to version 2.9.93.
  • List SRCS and INCS with one line per file, as per Mark's suggestion.
  • Clarify where the information was gathered from.
Tue, Jun 30, 8:11 PM
khorben updated the test plan for D57953: pkgconf: match the update to version 2.9.93.
Tue, Jun 30, 6:39 PM

Mon, Jun 29

khorben updated the summary of D57953: pkgconf: match the update to version 2.9.93.
Mon, Jun 29, 9:58 PM
khorben updated the diff for D57953: pkgconf: match the update to version 2.9.93.

Build a missing file for spdxtool(1).

Mon, Jun 29, 9:41 PM
khorben requested review of D57953: pkgconf: match the update to version 2.9.93.
Mon, Jun 29, 8:09 PM
khorben abandoned D57837: Vendor import of pkgconf 2.9.90.

Imported in ebcc78644e0cbc4141807c0887ef8d902cb91bb4.

Mon, Jun 29, 5:57 AM
khorben committed rG0cf7106da9f3: Vendor import of pkgconf 2.9.93 (authored by khorben).
Vendor import of pkgconf 2.9.93
Mon, Jun 29, 5:34 AM
khorben committed rGb0fc1b7a2fe8: Vendor import of pkgconf 2.9.92 (authored by khorben).
Vendor import of pkgconf 2.9.92
Mon, Jun 29, 5:34 AM
khorben committed rGebcc78644e0c: Vendor import of pkgconf 2.9.90 (authored by khorben).
Vendor import of pkgconf 2.9.90
Mon, Jun 29, 5:34 AM
khorben closed D57890: Vendor import of pkgconf 2.9.93.
Mon, Jun 29, 5:34 AM
khorben committed rGeaa637963bcf: Vendor import of pkgconf 2.9.91 (authored by khorben).
Vendor import of pkgconf 2.9.91
Mon, Jun 29, 5:34 AM
khorben closed D57856: Vendor import of pkgconf 2.9.92.
Mon, Jun 29, 5:34 AM
khorben closed D57855: Vendor import of pkgconf 2.9.91.
Mon, Jun 29, 5:34 AM

Fri, Jun 26

khorben added reviewers for D57890: Vendor import of pkgconf 2.9.93: emaste, markj.
Fri, Jun 26, 5:44 PM
khorben requested review of D57890: Vendor import of pkgconf 2.9.93.
Fri, Jun 26, 5:42 PM

Thu, Jun 25

khorben requested review of D57856: Vendor import of pkgconf 2.9.92.
Thu, Jun 25, 10:38 PM
khorben requested review of D57855: Vendor import of pkgconf 2.9.91.
Thu, Jun 25, 10:28 PM
khorben updated the diff for D57837: Vendor import of pkgconf 2.9.90.

Removed a test folder in tests/lib1 which broke the generation of source packages (UTF-8).

Thu, Jun 25, 7:22 PM
khorben requested review of D57837: Vendor import of pkgconf 2.9.90.
Thu, Jun 25, 1:02 AM

Jun 18 2026

khorben added a comment to D57628: build: raise our FORTIFY_SOURCE default to 2.

How does one verify that a given executable is compiled with FORTIFY_SOURCE > 0?

Jun 18 2026, 1:28 PM

Jun 8 2026

khorben updated the diff for D56474: Generate SBOM files as part of the build.

Imported adjustments from Tuukka.

Jun 8 2026, 3:28 PM

Jun 4 2026

khorben added a reviewer for D56474: Generate SBOM files as part of the build: markj.
Jun 4 2026, 11:15 AM

Jun 1 2026

khorben updated the diff for D57246: pkgconf: determine the default paths dynamically.

Remove redundant code, as suggested by des@. (Thanks!)

Jun 1 2026, 4:03 PM

May 29 2026

khorben updated the diff for D57246: pkgconf: determine the default paths dynamically.

Removed redundant braces.

May 29 2026, 5:59 PM
khorben updated the diff for D57246: pkgconf: determine the default paths dynamically.

Simplified the code obtaining LOCALBASE as per @des' suggestion. (Thanks!)

May 29 2026, 3:05 PM
khorben updated the diff for D56474: Generate SBOM files as part of the build.
  • Avoid file conflicts in the -lib32 base packages (no duplicate installation of SPDX files)
  • Rename the PCFILE variable to SBOMFILE to avoid confusion with PCFILES
  • Fix typo in libmd.pc (thanks stephane.rochoy_stormshield.eu for the heads up!)
May 29 2026, 2:05 PM
khorben added inline comments to D57246: pkgconf: determine the default paths dynamically.
May 29 2026, 1:25 PM
khorben updated the diff for D57246: pkgconf: determine the default paths dynamically.

Use a stack buffer of MAXPATHLEN for localbase, as suggested by @des.

May 29 2026, 1:10 PM

May 28 2026

khorben added reviewers for D57246: pkgconf: determine the default paths dynamically: emaste, markj.
May 28 2026, 5:00 PM

May 26 2026

khorben updated the summary of D57246: pkgconf: determine the default paths dynamically.
May 26 2026, 4:07 PM
khorben updated the diff for D57246: pkgconf: determine the default paths dynamically.

This update takes care of PERSONALITY_PATH in addition to PKG_DEFAULT_PATH.

May 26 2026, 3:33 PM
khorben added inline comments to D57246: pkgconf: determine the default paths dynamically.
May 26 2026, 2:03 PM
khorben requested review of D57246: pkgconf: determine the default paths dynamically.
May 26 2026, 1:59 PM
khorben added inline comments to D56404: pkgconf: import into the base system.
May 26 2026, 2:40 AM

May 22 2026

khorben added a comment to D56404: pkgconf: import into the base system.

What is the relationship of this type of change to use of ${PREFIX} when ports install themselves and it is not the /usr/local default value? (There is also a linux compatibility related standard default for PREFIX and folks can specify things like /opt .) There was a later change to use /usr/local/ when LOCALBASE was undefined.

But in response to that last change there is now from eduardo@freebsd.org :

This change doens't honour PREFIX when it is set to other path than
default "/usr/local/"

(Due to the message Nuno picked to reply to I ended up listed as the "To:", des and the lists Cc:'d.)

I figured I could at least ask the question here of the folks involved in the original review so that the question is not completely lost.

May 22 2026, 4:08 PM
khorben added a comment to D56474: Generate SBOM files as part of the build.
In D56474#1308969, @ivy wrote:

a couple of comments:

  • i'm not sure this should be in release/, since it doesn't seem specific to building releases. iiuc, any src build will include the SBOM data if enabled.
May 22 2026, 2:20 PM
khorben added a comment to D56474: Generate SBOM files as part of the build.

One thing we may want to investigate is building the SBOM files into the ELF headers instead. Sony has compiler extensions to do that -- https://github.com/sony/esstra/tree/poc/rust-llvm

May 22 2026, 2:11 PM

May 13 2026

khorben updated the summary of D56474: Generate SBOM files as part of the build.
May 13 2026, 11:21 AM

May 12 2026

khorben added inline comments to D56474: Generate SBOM files as part of the build.
May 12 2026, 10:30 PM
khorben updated the diff for D56474: Generate SBOM files as part of the build.
  • The SPDX files are now placed in their respective base packages.
  • The source .pc files from illuusio were imported into release/sbom.
May 12 2026, 10:27 PM

Apr 26 2026

khorben accepted D56642: libpkgconf: Fix paths.

LGTM, thanks!

Apr 26 2026, 10:44 AM

Apr 25 2026

khorben added a reverting change for rG970cef9f652e: packages: Register pkgconf: rGe0b74e7b1739: Revert "packages: Register pkgconf".
Apr 25 2026, 7:25 PM
khorben committed rGe0b74e7b1739: Revert "packages: Register pkgconf" (authored by khorben).
Revert "packages: Register pkgconf"
Apr 25 2026, 7:25 PM
khorben added a reverting change for D56589: packages: Register pkgconf: rGe0b74e7b1739: Revert "packages: Register pkgconf".
Apr 25 2026, 7:25 PM
khorben closed D56591: pkgconf: fix the build with GCC 14.
Apr 25 2026, 7:17 PM
khorben committed rG1342eb5a832f: pkgconf: fix the build with GCC 14 (authored by khorben).
pkgconf: fix the build with GCC 14
Apr 25 2026, 7:17 PM
khorben committed rG970cef9f652e: packages: Register pkgconf (authored by khorben).
packages: Register pkgconf
Apr 25 2026, 7:17 PM
khorben added a comment to D56591: pkgconf: fix the build with GCC 14.

The latest update (with WARNS?=3) built correctly with clang; I am still testing with GCC 14.

It built correctly with GCC 14 as well.

Apr 25 2026, 12:36 PM

Apr 24 2026

khorben committed rGc875afcbcdf7: packages: Register pkgconf (authored by khorben).
packages: Register pkgconf
Apr 24 2026, 1:33 AM
khorben closed D56589: packages: Register pkgconf.
Apr 24 2026, 1:33 AM
khorben updated the diff for D56589: packages: Register pkgconf.

Reverted the copyright to myself, and the license to ISC.

Apr 24 2026, 1:15 AM
khorben added a comment to D56589: packages: Register pkgconf.

I gave the copyright back to pkgconf, as the comment and description primarily come from the pkgconf project.

While there, I also updated the SPDX-License-Identifier to pkgconf, as per the discussion here, and confirmed at https://spdx.org/licenses/pkgconf.html.

Does that mean that you need to credit DuckDuckGo or Google whenever you find a result?

Apr 24 2026, 1:09 AM
khorben updated the diff for D56589: packages: Register pkgconf.

I gave the copyright back to pkgconf, as the comment and description primarily come from the pkgconf project.

Apr 24 2026, 12:33 AM

Apr 23 2026

khorben updated the diff for D56589: packages: Register pkgconf.

Updated the copyright, license text, and added the licenses = [ "pkgconf" ] as per ngie's advice; thank you!

Apr 23 2026, 5:38 PM
khorben added a comment to D56591: pkgconf: fix the build with GCC 14.

The latest update (with WARNS?=3) built correctly with clang; I am still testing with GCC 14.

Apr 23 2026, 5:29 PM
khorben added inline comments to D56589: packages: Register pkgconf.
Apr 23 2026, 5:27 PM
khorben added a reviewer for D56589: packages: Register pkgconf: ngie.
Apr 23 2026, 4:51 PM
khorben added a comment to D56603: Add pkgbase UCL metadata for `pkgconf`.

This is already in D56589; which version is best?

Apr 23 2026, 4:50 PM
khorben added a comment to D56589: packages: Register pkgconf.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294724 confirms this patch to be fixing the build issue.

Apr 23 2026, 3:58 PM
khorben added a comment to D56591: pkgconf: fix the build with GCC 14.

The latest update (with WARNS?=3) built correctly with clang; I am still testing with GCC 14.

Apr 23 2026, 3:52 PM
khorben updated the test plan for D56591: pkgconf: fix the build with GCC 14.
Apr 23 2026, 3:51 PM
khorben updated the diff for D56591: pkgconf: fix the build with GCC 14.

Disable stricter warnings for the moment for libpkgconf, bomtool(1), and pkgconf(1) as suggested by ngie. Thanks!

Apr 23 2026, 3:50 PM
khorben requested review of D56591: pkgconf: fix the build with GCC 14.
Apr 23 2026, 1:07 AM

Apr 22 2026

khorben updated the diff for D56589: packages: Register pkgconf.

This should address feedback from ivy:

Apr 22 2026, 9:47 PM
khorben requested review of D56589: packages: Register pkgconf.
Apr 22 2026, 9:20 PM
khorben abandoned D56373: pkgconf: import 2.4.3 and 2.5.1.

Imported in 6294b6ab217a2d5f1d2bc23a64505a228294c508.

Apr 22 2026, 1:49 PM
khorben committed rGa3cefe7f2b4d: Add 'contrib/pkgconf/' from commit '6294b6ab217a2d5f1d2bc23a64505a228294c508' (authored by khorben).
Add 'contrib/pkgconf/' from commit '6294b6ab217a2d5f1d2bc23a64505a228294c508'
Apr 22 2026, 1:46 PM
khorben committed rG57db556be43b: src.conf(5): rebuild after introduction of WITHOUT_PKGCONF (authored by khorben).
src.conf(5): rebuild after introduction of WITHOUT_PKGCONF
Apr 22 2026, 1:46 PM
khorben committed rGb8352da33f34: pkgconf: import into the base system (authored by khorben).
pkgconf: import into the base system
Apr 22 2026, 1:46 PM
khorben closed D56404: pkgconf: import into the base system.
Apr 22 2026, 1:46 PM
khorben committed rG6294b6ab217a: Vendor import of pkgconf 2.5.1 (authored by khorben).
Vendor import of pkgconf 2.5.1
Apr 22 2026, 1:45 PM

Apr 17 2026

khorben requested review of D56474: Generate SBOM files as part of the build.
Apr 17 2026, 5:31 PM

Apr 16 2026

khorben added inline comments to D56404: pkgconf: import into the base system.
Apr 16 2026, 4:26 PM
khorben updated the diff for D56404: pkgconf: import into the base system.

This addresses feedback from ivy, moving /usr/include/pkgconf into the pkgconf-dev package.
It also adds the files in /usr/include/pkgconf to the list of obsolete files when disabling the pkgconf option.

Apr 16 2026, 4:26 PM
khorben added inline comments to D56404: pkgconf: import into the base system.
Apr 16 2026, 3:58 PM
khorben updated the diff for D56404: pkgconf: import into the base system.

This update addresses feedback from bapt, more precisely:

Apr 16 2026, 3:32 PM
khorben added a comment to D56373: pkgconf: import 2.4.3 and 2.5.1.

I don't understand the point of merging both version why not only the latest ?

Apr 16 2026, 2:54 AM
khorben updated the diff for D56404: pkgconf: import into the base system.

This patch adds /usr/local/etc/pkgconfig/personality.d to -DPERSONALITY_PATH in lib/libpkgconfig/Makefile, as requested by bapt at https://ron-dev.freebsd.org/FreeBSD/src/pulls/9.

Apr 16 2026, 2:51 AM