| #
641eba2d
|
| 13-Dec-2023 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.inc1: Reinstate building sbin/md5 for BOOTSTRAP_ALL_TOOLS
The sha256 and sha512 binaries are used when building release images. Bootstrapping them used to be gated on MK_BOOT, which wasn't
Makefile.inc1: Reinstate building sbin/md5 for BOOTSTRAP_ALL_TOOLS
The sha256 and sha512 binaries are used when building release images. Bootstrapping them used to be gated on MK_BOOT, which wasn't quite right but in practice worked, at least in our use cases downstream. Add back bootstrapping sbin/md5 and its aliases for this purpose to fix building release images on Linux and macOS.
Fixes: f213da893ca8 ("Makefile.inc1: Remove beri straggler")
show more ...
|
| #
3b1904d9
|
| 09-Dec-2023 |
Ed Maste <emaste@FreeBSD.org> |
pkgbase: pass --recurse-submodules to `git ls-files`
When generating source packages. Although submodules are not used by FreeBSD itself they may be used by downstream projects. By default for sub
pkgbase: pass --recurse-submodules to `git ls-files`
When generating source packages. Although submodules are not used by FreeBSD itself they may be used by downstream projects. By default for submodules `git ls-files` just emits the submodule directory name, which resulted in:
pkg: pkg_checksum_hash_sha256_file(read failed): Is a directory
Passing --recurse-submodules lists all of the files in each submodule (which is desired when submodules are in use), and has no effect when submodules are not present.
Reviewed by: bapt, manu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42983
show more ...
|
| #
06c3fb27
|
| 02-Sep-2023 |
Dimitry Andric <dim@FreeBSD.org> |
Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, t
Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, the last commit before the upstream release/17.x branch was created.
PR: 273753 MFC after: 1 month
show more ...
|
| #
7b085f14
|
| 07-Dec-2023 |
Warner Losh <imp@FreeBSD.org> |
build: use bare (and portable) echo instead of echo -n
There's no need to use echo -n here. A single echo will do nicely. This fixes the post-buildworld output on a macos build, where echo -n is imp
build: use bare (and portable) echo instead of echo -n
There's no need to use echo -n here. A single echo will do nicely. This fixes the post-buildworld output on a macos build, where echo -n is implemented like System V instead of BSD (so you get two lines first one starting with -n).
Sponsored by: Netflix Reviewed by: jrtc27, emaste Differential Revision: https://reviews.freebsd.org/D42869
show more ...
|
| #
5faaa602
|
| 04-Dec-2023 |
Baptiste Daroussin <bapt@FreeBSD.org> |
pkgbase: propagate SRCRELDATE to the packages correctly
MFC After: 3 days Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D42892
|
| #
99b8c0c3
|
| 17-Nov-2023 |
Baptiste Daroussin <bapt@FreeBSD.org> |
pkgbase: create source package
FreeBSD-src for all the sources but the kernel FreeBSD-src-sys just for the kernel
MFC After: 3 days Reviewed by: manu Differential Revision: https://reviews.freebs
pkgbase: create source package
FreeBSD-src for all the sources but the kernel FreeBSD-src-sys just for the kernel
MFC After: 3 days Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D42651
show more ...
|
| #
f213da89
|
| 21-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
Makefile.inc1: Remove beri straggler
Beri's boot loader needed md5 to build. It was the only thing that needed that, so remove it (confirmed with univers and grep).
Sponsored by: Netflix
|
| #
051d69d6
|
| 14-Nov-2023 |
Baptiste Daroussin <bapt@FreeBSD.org> |
pkgbase: create package with SRCRELDATE not OSRELDATE as OSVERSION
In 188fe88ec50eac7c10e1d8350bf1180f8c16e463 OSVERSION has been set to OSRELDATE which is the RELDATE of the building OS while we wa
pkgbase: create package with SRCRELDATE not OSRELDATE as OSVERSION
In 188fe88ec50eac7c10e1d8350bf1180f8c16e463 OSVERSION has been set to OSRELDATE which is the RELDATE of the building OS while we wanted to use SRCRELDATE which is the RELDATE of the target system
show more ...
|
| #
21e9018a
|
| 13-Nov-2023 |
Doug Rabson <dfr@FreeBSD.org> |
pkgbase: use <major>.<minor> format for alpha, beta and release package versions
This is consistent with version numbers used in releng/13.2.
PR: 275051 Reviewed by: bapt MFC after: 3 days Differe
pkgbase: use <major>.<minor> format for alpha, beta and release package versions
This is consistent with version numbers used in releng/13.2.
PR: 275051 Reviewed by: bapt MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42562
show more ...
|
| #
188fe88e
|
| 03-Nov-2023 |
Baptiste Daroussin <bapt@FreeBSD.org> |
pkgbase: force OSVERSION
This is used to the package annotation helping pkg to know about backward compatibility is set to the version of the packages not the version of the host building the packag
pkgbase: force OSVERSION
This is used to the package annotation helping pkg to know about backward compatibility is set to the version of the packages not the version of the host building the packages
show more ...
|
| #
df6e7e11
|
| 02-Nov-2023 |
Baptiste Daroussin <bapt@FreeBSD.org> |
pkgbase: set a default set of kernel for when PACKAGE_BUILDING=1
PACKAGE_BUILDING is already known in the ports tree as a variable use to defined when the packages is being actually built in an auto
pkgbase: set a default set of kernel for when PACKAGE_BUILDING=1
PACKAGE_BUILDING is already known in the ports tree as a variable use to defined when the packages is being actually built in an automation process, reuse that variable to define the default set of kernel we plan to build for the default pkgbase.
Reviewed by: manu, jrtc27 Accepted by: manu MFC After: 1 week Differential Revision: https://reviews.freebsd.org/D42444
show more ...
|
| #
5c783a0b
|
| 03-Nov-2023 |
SHENG-YI HONG <aokblast@FreeBSD.org> |
ASan: Add asan_static to build
This is a partial fix for building with -DWITH_ASAN.
Reviewed by: Fangrui Song, dim, emaste MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42388
|
| #
f38bad0a
|
| 16-Oct-2023 |
Ed Maste <emaste@FreeBSD.org> |
Remove MOVED_LIBS handling from list-old-libs
In 922337e8d398 I added MOVED_LIBS into list-old-files, so that delete-old-files would remove the old /usr/lib/libc++.so.1 as soon as possible (after th
Remove MOVED_LIBS handling from list-old-libs
In 922337e8d398 I added MOVED_LIBS into list-old-files, so that delete-old-files would remove the old /usr/lib/libc++.so.1 as soon as possible (after the library moved to /lib).
I left it in list-old-libs in case a user updated their src tree between delete-old-files and delete-old-libs. Now that some time has passed, tremove the redundant MOVED_LIBS entry.
PR: 272642 Sponsored by: The FreeBSD Foundation
show more ...
|
| #
820fbcf2
|
| 26-Oct-2023 |
Baptiste Daroussin <bapt@FreeBSD.org> |
pkgbase: compress packages with zstandard
MFC After: 3 days Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D42375
|
| #
0e0c4f58
|
| 16-Oct-2023 |
Brooks Davis <brooks@FreeBSD.org> |
certctl: invoke with LOCALBASE set
When invoking certctl as part of installworld, set LOCALBASE in the environment to match the build environment. That ensures that LOCABASE is non-empty on systems
certctl: invoke with LOCALBASE set
When invoking certctl as part of installworld, set LOCALBASE in the environment to match the build environment. That ensures that LOCABASE is non-empty on systems without the user.localbase sysctl and avoids allowing a system configuration detail to leak into the build. Users who wish to build targeting a non-standard LOCALBASE should ensure it is set in src.conf or similar.
Reviewed by: Mina Galić <freebsd@igalic.co> Differential Revision: https://reviews.freebsd.org/D40530
show more ...
|
| #
2ee28902
|
| 16-Oct-2023 |
Ed Maste <emaste@FreeBSD.org> |
Makefile.inc1: remove ncurses/form from _prebuild_libs
As of d287d3282f43 libbsddialog has a built-in form implementation and does not need a formw dependency.
This reverts commit 483a226238ed8949c
Makefile.inc1: remove ncurses/form from _prebuild_libs
As of d287d3282f43 libbsddialog has a built-in form implementation and does not need a formw dependency.
This reverts commit 483a226238ed8949c6d280ae0757a0683962a74b.
Reported by: asiciliano Sponsored by: The FreeBSD Foundation
show more ...
|
| #
922337e8
|
| 13-Oct-2023 |
Ed Maste <emaste@FreeBSD.org> |
Handle MOVED_LIBS in list-old-files
MOVED_LIBS is used when a library moves from one directory to another, e.g. /usr/lib/libc++.so.1 to /lib/libc++.so.1.
delete-old-files and delete-old-libs are tw
Handle MOVED_LIBS in list-old-files
MOVED_LIBS is used when a library moves from one directory to another, e.g. /usr/lib/libc++.so.1 to /lib/libc++.so.1.
delete-old-files and delete-old-libs are two separate steps, so that old libraries can be retained until third party software packages are rebuilt or reinstalled.
Having two copies of the same shared library with the same so version (as can happen when delete-old-libs hasn't been run) causes trouble. The PR below gives one example.
Libraries listed in MOVED_LIBS are logically equivalent to updating a library without changing the so version, and should be removed as soon as possible. Handle them in list-old-files and thus delete-old-files.
Leave them also in *-old-libs for now, in case the user updates their tree between running delete-old-files and delete-old-libs.
PR: 272642 Reviewed by: dim MFC after: 3 days Sponsored by: The FreeBSD Foundation Co-authored-by: Dimitry Andric <dim@FreeBSD.org> Differential Revision: https://reviews.freebsd.org/D42197
show more ...
|
| #
1a18383a
|
| 15-Sep-2023 |
Pierre Pronchery <pierre@freebsdfoundation.org> |
libcrypto: link engines and the legacy provider to libcrypto
OpenSSL's legacy provider module and engines need to link to libcrypto.so, as it provides some of the actual implementations of legacy ro
libcrypto: link engines and the legacy provider to libcrypto
OpenSSL's legacy provider module and engines need to link to libcrypto.so, as it provides some of the actual implementations of legacy routines.
This is a little tricky due to build order issues. Introduce a small hack (LIBCRYPTO_WITHOUT_SUBDIRS) that builds libcrypto.so in its usual early phase without any OpenSSL provider modules or engines. This is intended to restore the test suite; a future change should remove the hack and replace it with a better approach.
PR: 254853, 273528 Discussed with: Folks at EuroBSDCon in Coimbra Sponsored by: The FreeBSD Foundation
show more ...
|
| #
bd016ad2
|
| 01-Sep-2023 |
Brooks Davis <brooks@FreeBSD.org> |
Teach make showconfig about group options
Output OPT_ variables in addition to MK_ variables.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D41682
|
| #
315ee00f
|
| 26-Aug-2023 |
Martin Matuska <mm@FreeBSD.org> |
zfs: merge openzfs/zfs@804414aad
Notable upstream pull request merges: #15024 Add missed DMU_PROJECTUSED_OBJECT prefetch #15029 Do not request data L1 buffers on scan prefetch #15036 FreeBSD:
zfs: merge openzfs/zfs@804414aad
Notable upstream pull request merges: #15024 Add missed DMU_PROJECTUSED_OBJECT prefetch #15029 Do not request data L1 buffers on scan prefetch #15036 FreeBSD: catch up to __FreeBSD_version 1400093 #15039 Fix raw receive with different indirect block size #15047 FreeBSD: Fix build on stable/13 after 1302506 #15049 Fix the ZFS checksum error histograms with larger record sizes #15052 Reduce bloat in ereport.fs.zfs.checksum events #15056 Avoid extra snprintf() in dsl_deadlist_merge() #15061 Ignore pool ashift property during vdev attachment #15063 Don't panic if setting vdev properties is unsupported for this vdev type #15067 spa_min_alloc should be GCD, not min #15071 Add explicit prefetches to bpobj_iterate() #15072 Adjust prefetch parameters #15076 Refactor dmu_prefetch() #15079 set autotrim default to 'off' everywhere #15080 ZIL: Fix config lock deadlock #15088 metaslab: tuneable to better control force ganging #15096 Avoid waiting in dmu_sync_late_arrival() #15097 BRT should return EOPNOTSUPP #15103 Remove zl_issuer_lock from zil_suspend() #15107 Remove fastwrite mechanism #15113 libzfs: sendrecv: send_progress_thread: handle SIGINFO/SIGUSR1 #15122 ZIL: Second attempt to reduce scope of zl_issuer_lock #15129 zpool_vdev_remove() should handle EALREADY error return #15132 ZIL: Replay blocks without next block pointer #15148 zfs_clone_range should return descriptive error codes #15153 ZIL: Avoid dbuf_read() before dmu_sync() #15172 copy_file_range: fix fallback when source create on same txg #15180 Update outdated assertion from zio_write_compress
Obtained from: OpenZFS OpenZFS commit: 804414aad224b432590afe3f9ec114ffb49e0f13
show more ...
|
| #
968a3db7
|
| 22-Aug-2023 |
Jessica Clarke <jrtc27@FreeBSD.org> |
kbdcontrol: Support building as a bootstrap tool on old and non-FreeBSD
Systems that predate 971bac5ace7a ("kbd: consolidate kb interfaces (phase one)") cannot build kbdcontrol since kbdelays and kb
kbdcontrol: Support building as a bootstrap tool on old and non-FreeBSD
Systems that predate 971bac5ace7a ("kbd: consolidate kb interfaces (phase one)") cannot build kbdcontrol since kbdelays and kbrates moved to sys/kbio.h. Moreover, on non-FreeBSD, it requires all kinds of ioctls and sysctls that are highly FreeBSD-specific to build, but we use it as a bootstrap tool to generate the keymaps used by some kernels (LINT ones in particular). Thus, when bootstrapping kbdcontrol, disable everything that's not needed for that singular use, and use the in-tree kbio.h to get the definitions of the necessary structures.
This allows KBDMUX_DFLT_KEYMAP, UKBD_DFLT_KEYMAP and ATKBD_DFLT_KEYMAP to be enabled when building on non-FreeBSD, and thus LINT kernels.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D41541
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
2726978b
|
| 05-Jul-2022 |
Warner Losh <imp@FreeBSD.org> |
Makefile.inc1: Remove redundant test for armv[67]
If MACHINE is arm, then MACHINE_ARCH is going to be either armv6* or armv7*.
Sponsored by: Netflix
|
| #
1c024976
|
| 01-Aug-2023 |
John Baldwin <jhb@FreeBSD.org> |
Makefile.inc1: Enable requesting the universe toolchain.
make universe builds a cross toolchain under HOST_OBJTMP/tmp via the universe-toolchain target. However, doing a plain 'make buildworld' aft
Makefile.inc1: Enable requesting the universe toolchain.
make universe builds a cross toolchain under HOST_OBJTMP/tmp via the universe-toolchain target. However, doing a plain 'make buildworld' after a universe/tinderbox run (e.g. to reproduce a failure and test the fix for it), will try to build a new cross toolchain under OBJTMP/tmp which can be tedious. This commit adds a make variable (UNIVERSE_TOOLCHAIN) which can be used similar to CROSS_TOOLCHAIN to request an external toolchain. If this variable is set (value doesn't matter), the the universe toolchain is used as an external toolchain.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D40777
show more ...
|
| #
9f811192
|
| 27-Jul-2023 |
Jessica Clarke <jrtc27@FreeBSD.org> |
Makefile.inc1: Fix list-old-libs by deleting stray pipe
Reported by: Yuri <yuri@aetern.org> Fixes: 264594efbe69 ("Makefile.inc1: Automatically generate _LIBCOMPATS and list-old-* libcompats")
|