aboutsummaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* pkgbase: move locales into their own packageBaptiste Daroussin41 hours1-0/+2
| | | | | | | | The only exception here being C.UTF-8 as this is the default locales so it needs to always be installed Reviewed by: pkgbase (emaste) Differential Revision: https://reviews.freebsd.org/D31397
* locales: fix abuse of bsd.dirs.mkBaptiste Daroussin41 hours1-2/+2
| | | | | | | | the way SAMEDIRS was defined was an abuse of bsd.dirs.mk resulting in all the directory to be created in one single command, but DESTDIR is only prepend once on the first element of the list Switch to the properway to use bsd.dirs.mk
* locales: stop hardcoding the directories in the mtreeBaptiste Daroussin45 hours1-0/+2
| | | | | | | | | The framework knows how to create directories and tag them properly for a the creation of a mtree, not need to hardcode all the locales entries in bsd.usr.mk This simplifies addition of new locales but also allow people building with WITHOUT_LOCALES to end up with a directory full of empty files
* Fix BUILD_WITH_STRICT_TMPPATH build after adding time to ITOOLSAlex Richardson3 days1-2/+2
| | | | | This is needed after bbd16236e986ef1b0e1da37c9c8a7f9dd2d63b5d (and 99feb137f5f66f903bba816c1d98ced2a92bef12).
* Allow bootstrapping llvm-tblgen on macOS and LinuxAlex Richardson3 days2-0/+10
| | | | | | | | | | This is needed in order to build various LLVM binutils (e.g. addr2line) as well as clang/lld/lldb. Co-authored-by: Jessica Clarke <jrtc27@FreeBSD.org> Test Plan: Compiles on ubuntu 18.04 and macOS 11.4 Reviewed By: dim Differential Revision: https://reviews.freebsd.org/D31057
* tools/build: Don't redefine open() for the linux bootstrapAlex Richardson3 days1-21/+4
| | | | | | | | | | | This is needed to bootstrap llvm-tblgen on Linux since LLVM calls `::open(...)` which does not work if open is a statement macro. Also stop defining O_SHLOCK/O_EXLOCK and update the only bootstrap tools user of those flags to deal with missing definitions. Reviewed By: jrtc27 MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31226
* nanobsd: adopt dhcpd to latest conventionsWarner Losh5 days1-3/+3
| | | | | | | Adopt the dhcpd build to use nanobsd-build top level directory that other nanobsd builds are using. Sponsored by: Netflix
* Update WITHOUT_KERNEL_SYMBOLS descriptionEd Maste9 days1-4/+1
| | | | | | | | | | | | We have installed kernel debug data under /usr/lib/debug/ for some time now, so the suggestion to set WITHOUT_KERNEL_SYMBOLS for small root partitions is no longer valid. Also call them "debug symbol files" rather than just "symbol files", since they contain much more than just symbols. The kernel also includes (some) symbols, regardless of the setting of this knob. MFC after: 1 week
* stress2: Add another "mdconfig -d -o force" test scenarioPeter Holm11 days1-0/+81
|
* Add stress2 test to exercise FFS forcible unmount with stacked nullfsJason A. Harmening12 days1-0/+85
| | | | | | Reviewed by: kib, mckusick Tested by: pho Differential Revision: https://reviews.freebsd.org/D31016
* Fix the pattern for changing PermitRootLoginJose Luis Duran12 days1-1/+1
| | | | | | | | | | The previous pattern had the (harmless) side-effect of duplicating the entry in the config file. No functional change intended. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/510
* locale: Add Farsi/Persian localesFaraz Vahedi13 days2-1/+3
| | | | | | MFC after: 3 weeks Reviewed by: farrokhi Differential Revision: https://reviews.freebsd.org/D24359
* locales: upgrade CLDR to 39.0 and Unicode to 13.0.0Baptiste Daroussin13 days1-0/+5931
| | | | | MFC after: 3 weeks Relnotes: yes
* locales: prepare CLDR update to v39.0 and Unicode to 13.0.0Baptiste Daroussin13 days1-21/+11
| | | | | Note that rebuilding the cldr tool is not necessary anymore, also note that the sources are not anymore provided along with the other distfiles
* locales: only generate unicode localesBaptiste Daroussin13 days4-184/+14
|
* Remove manpages from OLD_FILESFernando Apesteguía2021-07-221-2/+0
| | | | | | | | | | | | | Remove apm.8 and apmconf.8 from OLD_FILES in the relevant Makefiles. These pages are now installed unconditionally as per 0a0f7486413c PR: 257228 Reported by: yasu@utahime.org, wosch@ Approved by: imp@, wosch@ Fixes: 0a0f7486413c - Build manpages for all architectures MFH: 4 weeks Differential Revision: https://reviews.freebsd.org/D31256
* nanobsd: fix typo in NANO_WORLDDIRYann Kerherve2021-07-201-1/+1
| | | | | Reviewed by: imp PR: 257299
* nanobsd: Bump rescue size to 8GBWarner Losh2021-07-151-4/+6
| | | | | | | | Bump the rescue size from 1.2GB to just shy of 8GB as things have grown somewhat. Also make it possible to build rescue somewhere other than /usr/src. Sponsored by: Netflix
* pcengines: Fix kernel configWarner Losh2021-07-152-65/+65
| | | | | | | Update the old ALIX config to remove devices, add iflib and remove trailing white space. Sponsored by: Netflix
* nanobsd: default to -j $hw.ncpuWarner Losh2021-07-151-1/+3
| | | | | | | For paralllel builds, default to using all the CPUs on the system. The old default of -j 3 was too few. Sponsored by: Netflix
* nanobsd: Use gpart and create code image before full disk imageArrigo Marchiori2021-07-153-50/+103
| | | | | | | | | | | | | | | | | | | | | | The attached patch brings two main changes to the nanobsd script: 1- gpart is used instead of fdisk; 2- the code image is created first, and then used to ``assemble'' the full disk image. The patch was first proposed on the freebsd-embedded list: http://lists.freebsd.org/pipermail/freebsd-embedded/2012-June/001580.html and is currently under discussion: http://lists.freebsd.org/pipermail/freebsd-embedded/2014-January/002216.html Another effect is that the -f option ("suppress code slice extraction") now imples the -i option ("suppress disk image build"). imp@ applied Patch by hand to new legacy.sh, plus tweaked for NANO_LOG vs NANO_OBJ confusion in original. PR: 186030 Reviewed by: imp@ Differential Revision: https://reviews.freebsd.org/D31102
* stress2: Pass program exit code to shell script exit. Do not loop forever in ↵Peter Holm2021-07-141-11/+16
| | | | test program
* nanobsd: enhance fill_pkg.shLev A. Serebryakov2021-07-111-41/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NanoBSD has helper script "fill_pkg.sh" which links all packages and ther dependencies from "package dump" (like /usr/ports/packages/All) to specified director. fill_pkg.sh has some limitations: 1) It needs ports tree, which should have exactly same versions as "package dump". 2) It requires full paths to needed ports, including "/usr/ports" part. 3) It has assumptions about Nano Package Dir (it assumes, that it specified rtelative to current directory). 4) It does not have any diagnostics (almost). This PR enhances "fill_pkg.sh" script in several ways: 1) Nano package dir could be absolute path. 2) Script understands four ways to specify "root" ports/packages: (a) Absolute directory with port (old one) (b) Relative directory with port, relative to ${PORTSDIR} or /usr/ports (c) Absolute path to file with package (with .tbz suffix) (d) Name of package in dump dir, with or without .tbz suffix These ways can be mixed in one call. Dependencies for packages are obtained with 'pkg_info -r' call, and are searched for in same directory as "parent" package. Dependencies for ports are obtained in old way from port's Makefile. 3) Three levels of diagnostic (and -v option, could be repeated) are added. 4) All path variables are enclosed in quotes, to make script work with paths, containing spaces. Note: imp merged in the changes to fill_pkg.sh since this has been a PR. PR: 151695 Reviewed by: imp@ MFC After: 3 days Differential Revision: https://reviews.freebsd.org/D31101
* mk: LZMA_SUPPORT is unusedWarner Losh2021-07-101-2/+0
| | | | | | | | | Retire LZMA_SUPPORT. It's unused since r332995. Reviewed by: delphij PR: 244302 Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D31088
* nanobsd: remove sparc64 embedded exampleWarner Losh2021-07-082-45/+0
| | | | | | | | Remove the qemu sparc64 example. It was only ever compile tested since qemu had issues booting FreeBSD/sparc64. Also remove obsolete info about armv5 configs removed long ago. Sponsored by: Netflix
* stress2: Wait for the "swap" program to terminatePeter Holm2021-07-051-0/+1
|
* stress2: Limit scope of rm(1) wildcard in cleanup.Peter Holm2021-07-051-2/+3
| | | | Reviewed by: rgrimes
* stress2: Added a test scenario from Bug 227041Peter Holm2021-07-021-0/+116
|
* stress2: Update the list of test not to runPeter Holm2021-07-021-4/+2
|
* stress2: Improve cleanup codePeter Holm2021-07-021-2/+3
|
* sysbuild: Also copy /var/db/zoneinfoJose Luis Duran2021-06-301-8/+12
| | | | | | | | Per tzsetup(8), /etc/localtime and /var/db/zoneinfo go hand in hand. Remove extra white spaces as well. Reviewed by: imp@, phk@ (informal no objection email) Pull Request: https://github.com/freebsd/freebsd-src/pull/486
* Change strmode argument type to mode_t for crossbuildAlfonso Gregory2021-06-291-1/+1
| | | | | | | To match the libc changes. Reviewed by: imp@ Pull Request: https://github.com/freebsd/freebsd-src/pull/493
* Clarify notice for profiled libraries in FreeBSD 14Ed Maste2021-06-281-2/+0
| | | | | | Reported by: kevans Fixes: 175841285e28 ("Add deprecation notice for...") Sponsored by: The FreeBSD Foundation
* Add deprecation notice for WITH_PROFILE optionEd Maste2021-06-282-0/+4
| | | | | | | | | | | | | | | | | As discussed on freebsd-current [1] and freebsd-arch [2] and review D30833, FreeBSD 14 will ship without the _p.a libraries built with -pg. Both upstream and base system (in commit b762974cf4b9) Clang have been modified to remove the special case for linking against these libraries. Clang's -pg support and mcount() remain, so building with -pg can still be used on code that the user builds; we just do not provide prebuilt libraries compiled with -pg. A similar change is still needed for GCC. [1] https://lists.freebsd.org/pipermail/freebsd-current/2020-January/075105.html [2] https://lists.freebsd.org/archives/freebsd-arch/2021-June/000016.html MFC after: 1 week Sponsored by: The FreeBSD Foundation
* CI: add arm64 support to ci-qemu-test.shEd Maste2021-06-261-9/+23
| | | | | | | Reviewed by: imp (earlier) MFC after: 3 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30907
* CI: use amd64 EDK II firmware included with QEMUEd Maste2021-06-261-2/+1
| | | | | | | | | | QEMU (now) includes a prebuilt EDK II firmare in edk2-x86_64-code.fd. Use that instead of requring a standalone uefi-edk2-qemu-x86_64 package. Reviewed by: imp MFC after: 3 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D30915
* Merge llvm-project 12.0.1 rc2Dimitry Andric2021-06-191-289/+289
| | | | | | | | This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2. PR: 255570 MFC after: 6 weeks
* stress2: Add snap8.sh back on the exclude listPeter Holm2021-06-192-0/+4
|
* netmap: pkt-gen: fix compilation issueVincenzo Maffione2021-06-151-1/+1
| | | | | | | | | | Remove stray characters preventing the source code from being compiled. Fixes: 20d684ecc9d7 ("pkt-gen: Allow limiting received packets"). Submitted by: ar_semihalf.com Reviewed by: vmaffione Differential Revision: <https://reviews.freebsd.org/D###>
* stress2: Added a new verified syzkaller reproducer, update the exclude list ↵Peter Holm2021-06-153-3/+126
| | | | and remove a few syscalls from the ignore list
* Merge llvm-project 12.0.0 releaseDimitry Andric2021-06-131-0/+11
| | | | | | | | This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-12.0.0-0-gd28af7c654d8, a.k.a. 12.0.0 release. PR: 255570 MFC after: 6 weeks
* Merge llvm-project main llvmorg-12-init-17869-g8e464dd76befDimitry Andric2021-06-131-282/+289
| | | | | | | | | This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-12-init-17869-g8e464dd76bef, the last commit before the upstream release/12.x branch was created. PR: 255570 MFC after: 6 weeks
* Remove svnlite.John Baldwin2021-06-114-41/+0
| | | | | Reviewed by: bcr, imp, emaste Differential Revision: https://reviews.freebsd.org/D30737
* tools: Remove obsolete svn information.Warner Losh2021-06-114-502/+1
| | | | | | Reviewed by: jhb@ Differential Revision: https://reviews.freebsd.org/D30720 Sponsored by: Netflix
* stress2: Exclude new syzkaller testsPeter Holm2021-06-101-0/+3
|
* libspl: fix NO_CLEAN buildWarner Losh2021-06-081-0/+3
| | | | | | | atomic.S moved to atomic.c, update the cleaup script to remove stale dependencies for this. Sponsored by: Netflix
* stress2: Added two test scenarios based on Bug 256205Peter Holm2021-06-073-0/+301
|
* stress2: Added a few syzkaller reproducersPeter Holm2021-06-073-0/+613
|
* Add C++ headers <barrier> <concepts> <execution> <latch> <numbers> <semaphore>Dimitry Andric2021-06-031-16/+27
| | | | | | | | | | | | | I missed adding these to the libc++ Makefile, when importing llvm-project 11.0.0-rc1, even though they were supplied by upstream. While here, update OptionalObsoleteFiles.inc to add these new headers, and cleanup old cruft. Reported by: yuri Submitted by: jkim (Makefile diff) PR: 255374 MFC after: 3 days
* stress2: Remove thr_new() from the ignore list after 6cda62755612Peter Holm2021-06-031-1/+0
|