aboutsummaryrefslogtreecommitdiff
path: root/tools/pkgbase
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line lua tagWarner Losh2023-08-161-1/+0
| | | | Remove /^--\s*\$FreeBSD\$.*$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* pkgbase: report error if files are installed multiple timesEd Maste2023-05-101-2/+1
| | | | | | | Files installed by `make installworld` should be installed only once. PR: 244596 Sponsored by: The FreeBSD Foundation
* pkgbase: hide duplicate METALOG directory warnings under verboseEd Maste2023-05-011-6/+12
| | | | | | | | | | | | | | | Creating directories multiple times is an inherent side effect of the way installation is done. Hide warnings from duplicate directory entries (with identical metadata) under metalog_reader's verbose mode. Duplicate file entries are always reported. They currently generate warnings but will be switched to errors once the few instances currently in the tree are fixed. PR: 244596, 271178 Reviewed by: kevans Sponsored By: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39898
* pkgbase: report errors via metalog reader exit statusEd Maste2022-11-251-3/+9
| | | | | | Reviewed by: kevans Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37482
* Update pkgbase metalog tool README to match installed filenameEd Maste2022-11-181-1/+1
| | | | | | | | The pkgbase metalog tool is named metalog_reader.lua. (One may argue that a better name could be chosen, but the README should match in any case.) Sponsored by: The FreeBSD Foundation
* pkgbase: report type for duplicated METALOG entriesEd Maste2022-11-171-0/+1
| | | | | | | | Duplicate METALOG file entries are more of a concern than duplicate directories. The metalog check tool previously did not include the entry type in the warnings, making it hard to find the ones of concern. Sponsored by: The FreeBSD Foundation
* pkgbase: examine METALOG files relative to stage root directoryEd Maste2022-11-171-5/+6
| | | | | | | | | | | | | Previously we stripped the '.' from the beginning of each METALOG entry to determine the path to stat. This meant that we examined files on the build host, not the staged files. Instead, strip off the last part of the specified METALOG pathname to find the stage root directory, and stat files relative to that. Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37412
* pkgbase: Fix a typo in a source code commentGordon Bergling2022-03-281-1/+1
| | | | | | - s/begining/beginning/ MFC after: 3 days
* Add pkgbase METALOG parse/check toolEd Maste2020-05-102-0/+582
`metalog.lua` is a script that reads METALOG file created by pkgbase (make packages) and generates reports about the installed system and issues. This was developed as part of Yang's W2020 University of Waterloo co- operative education term with the FreeBSD Foundation. kevans provided some initial review; we will iterate on it in the tree. Submitted by: Yang Wang <2333@outlook.jp> Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24563 Notes: svn path=/head/; revision=360877