pkgconf: import into the base system #9

Open
khorben wants to merge 4 commits from khorben/pkgconf-base into main AGit
Member

This introduces the following option:

  • MK_PKGCONF: determines if pkgconf and bomtool should be built

Sponsored by: Alpha-Omega, The FreeBSD Foundation

This introduces the following option: * MK_PKGCONF: determines if pkgconf and bomtool should be built Sponsored by: Alpha-Omega, The FreeBSD Foundation
Obtained from https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.4.3.tar.gz

SHA1: 2070428744c91991bc2ef8b8434776b8986eac86  -
SHA256: cea5b0ed69806b69c1900ce2f6f223a33f15230ad797243634df9fd56e64b156  -
git-subtree-dir: contrib/pkgconf
git-subtree-mainline: e9fc0c5382
git-subtree-split: 9047b97ef4
Obtained from https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.5.1.tar.gz

SHA1: c5d6a0e62f293b2c9078c815b2343b0f208c9879  -
SHA256: 79721badcad1987dead9c3609eb4877ab9b58821c06bdacb824f2c8897c11f2a  -
pkgconf: import into the base system
Some checks are pending
Checklist / commit (pull_request_target) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Style Checker / Style Checker (pull_request) Blocked by required conditions
0caeb8cc2e
This introduces the following option:

* MK_PKGCONF: determines if pkgconf and bomtool should be built

Sponsored by:	Alpha-Omega, The FreeBSD Foundation
@ -0,0 +15,4 @@
CFLAGS+= -Wno-error=cast-align
CFLAGS+= -Wno-error=cast-qual
CFLAGS+= -Wno-error=incompatible-pointer-types-discards-qualifiers
CFLAGS+= -DPERSONALITY_PATH=\"/usr/share/pkgconfig/personality.d:/etc/pkgconfig/personality.d\"
Member

Please also localbase. for the personality

Please also localbase. for the personality
Author
Member

Done; thanks!

Done; thanks!
bapt marked this conversation as resolved
bapt approved these changes 2026-04-15 13:30:10 +00:00
bapt left a comment
Member

on the technical side this looks good to me (we don't need to import the 2.4.1 version).

Side note: I proposed to import pkgconf back in 2012: https://lists.freebsd.org/pipermail/freebsd-hackers/2012-December/041471.html and this lead to some discussions.

on the technical side this looks good to me (we don't need to import the 2.4.1 version). Side note: I proposed to import pkgconf back in 2012: https://lists.freebsd.org/pipermail/freebsd-hackers/2012-December/041471.html and this lead to some discussions.
khorben force-pushed khorben/pkgconf-base from 0caeb8cc2e
Some checks are pending
Checklist / commit (pull_request_target) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Style Checker / Style Checker (pull_request) Blocked by required conditions
to 7c51a892e6
Some checks are pending
Checklist / commit (pull_request_target) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Style Checker / Style Checker (pull_request) Blocked by required conditions
2026-04-16 02:27:24 +00:00
Compare
khorben force-pushed khorben/pkgconf-base from 7c51a892e6
Some checks are pending
Checklist / commit (pull_request_target) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Style Checker / Style Checker (pull_request) Blocked by required conditions
to b0ded25570
Some checks are pending
Checklist / commit (pull_request_target) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Style Checker / Style Checker (pull_request) Blocked by required conditions
2026-04-16 02:36:28 +00:00
Compare
khorben force-pushed khorben/pkgconf-base from b0ded25570
Some checks are pending
Checklist / commit (pull_request_target) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Style Checker / Style Checker (pull_request) Blocked by required conditions
to 0e6b5018f5
Some checks are pending
Checklist / commit (pull_request_target) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Style Checker / Style Checker (pull_request) Blocked by required conditions
2026-04-16 15:00:14 +00:00
Compare
khorben force-pushed khorben/pkgconf-base from 0e6b5018f5
Some checks are pending
Checklist / commit (pull_request_target) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Blocked by required conditions
Style Checker / Style Checker (pull_request) Blocked by required conditions
to 157eaeb0be
Some checks failed
Checklist / commit (pull_request_target) Has been cancelled
Style Checker / Style Checker (pull_request) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Waiting to run
2026-04-16 16:12:56 +00:00
Compare
khorben force-pushed khorben/pkgconf-base from 157eaeb0be
Some checks failed
Checklist / commit (pull_request_target) Has been cancelled
Style Checker / Style Checker (pull_request) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Waiting to run
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Waiting to run
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Waiting to run
to 981edba196
Some checks failed
Checklist / commit (pull_request_target) Has been cancelled
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Has been cancelled
Style Checker / Style Checker (pull_request) Has been cancelled
2026-04-17 17:36:04 +00:00
Compare
Author
Member

I have also added the commit re-generating src.conf(5), similar to dc2687bf71.

I have also added the commit re-generating `src.conf(5)`, similar to dc2687bf719a04c81746050bcc1b3c5645efb6cb.
Some checks failed
Checklist / commit (pull_request_target) Has been cancelled
Cross-build Kernel / amd64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-15) (pull_request) Has been cancelled
Cross-build Kernel / amd64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 ubuntu-24.04 (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / amd64 macos-latest (clang-18) (pull_request) Has been cancelled
Cross-build Kernel / aarch64 macos-latest (clang-18) (pull_request) Has been cancelled
Style Checker / Style Checker (pull_request) Has been cancelled
This pull request has changes conflicting with the target branch.
  • share/man/man5/src.conf.5
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/9/head:khorben/pkgconf-base
git switch khorben/pkgconf-base
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
FreeBSD/src!9
No description provided.