- make audit.h c++ friendly
- fix build with libressl
- autoremove now respects -q
- version: reports error if INDEX file does not exists but is expected
- periodic audit:
* Allow user to specify which jail not to audit
* New option to ignore deprecation and expiration warnings
* Reduce verbosity of the report
* Add a script to audit base
- register: implement -N to actually not register in the database
- fetch: do not count cached package in the list to be fetched
- query: -e is not supported as additional condition
- fix pkg not finding its db when run from a directory which does not exists
anymore
- De-prioritize upgrade-removals in the solver
- triggers:
* run them for pkg register and pkg add
* Add pkg.readdir lua function
* Add documentation for the triggers
- document triggers
- add pkg.readdir to lua scripts
- reduce memory usage for hashes
- fix memory corruption which can happen in some corner cases
- run triggers for pkg add and pkg register
Changes from 1.17.99.3 to 1.17.99.4
- pkg version: fix regression from conversion to pkghash
- allow filtering files at install time
- add periodic script to check vulnerabilities in base
- fix pkg failing to find its db if run from a directory which does not
exists anymore
- fix ubsan reported issues
- fix priorization upgrade-removal along with other deletion
- fix plenty of memory leaks
If there is no pkg(8) installed in the jail/host pkg-static will be used
but we don't have pkg-static with SAN so add a link in the WRKSRC.
Also poudriere just extract pkg-static from the pkg archive so cp
instead of symlink
Changes:
- logclean: Don't show dry-run messages when not in dry mode.
- bulk [-a] -f: Delete packages unknown/unqueued like pkgclean would.
- bulk: Link to the build logs at PACKAGES/logs
- bulk missing pkg: Delete packages before fetching from remote
- enter_interactive: Allow non-root to write to /wrkdirs
- Various locking changes
- Package Fetch: Clarify cached packages may be used.
- Fix race with distfile fetch saving
- Show loginfo on error
Changes:
- git dirty check: Check for untracked Makefile.local and patch files
- bulk/testport: Detect *new but disabled* OPTIONS
- buildlog_start: Revert display back to readable local TZ.
- testport -c: Fix to use the right port directory
- Package fetch: Generate logfiles, stats, and show in web
- PACKAGE_FETCH_WHITELIST: Fix only reading the first pkgname.
- PACKAGE_FETCH_WHITELIST: Fix so globs in the list work too.
- Package fetch: Check OSVERSION / ABI
- Package fetch: Save fetch list and url into logdir.
- Package fetch: Don't double count ports-mgmt/pkg
- make pkg/audit.h C++ friendly
- fix build with libressl
- Enable aarch64 support for linux
- plenty of portability fixes for linux with musl libc
- autoremove: respect -q
- version: report an error if the provided INDEX file does not exist
- periodic: allow users so provide an ignore list of jails
- periodic: reduce audit script verbosity
- arch: to not consider .h as potentially arch specific
- query: allow -e to be used with other filter options
- register: implement a -N to disable registration in the database
- rework internal hash tables
- plenty of memory leak fixed
- fetch; do not count cached files as files to be fetched
Changes:
* misc fixes for pkg-1.17's new PKG_SUFX of .pkg
* Some PORTBUILD_UID/GID fixes and display changes
* ports -c: Disallow using - in new trees as it causes parsing issues
* ALLOW_MAKE_JOBS: Explicitly compare to 'yes'
* bulk -b: prefetch package fixes
* bulk -b: prefetch packages are now cached (linked and deleted under normal pkgclean/bulk delete behavior)
* Add in more notes for built packages.
* Don't store timestamp+poudriere version git notes if PKG_REPRODUCIBLE is set
* Change pkg notes naming style From_This to_this
* Allow zstd in WRKDIR_ARCHIVE_FORMAT
* misc manpage improvements
* jail: Automatically set XDEV as needed
* Rename MUTABLE_BASE to clearer IMMUTABLE_BASE
* bulk/testport -i: Many improvements and /etc/motd populated with env hints
* jail -m src: Fix src.conf not being used during install
* Add PACKAGE_FETCH_BLACKLIST
* bulk: Rebuild all packages if the pkg bootstrap is missing
* Disallow /dev/bpf in the jails
* CCACHE_DIR_NON_ROOT_SAFE: Chmod /root to 755 to allow non-root to access
* CCACHE + BUILD_AS_NON_ROOT: Give detailed information on proper setup for this.
See https://github.com/freebsd/poudriere/commit/8c36dfe5cca92
* bulk: Do not process dependencies of IGNORED ports.
* misc error handling fixes
* bulk: Rebuild packages with changed ABI
Changes from 1.17.0 to 1.17.1
- by default only create .txz symlinks for metadata
- only consider the .pkg when creating a repository
add an option REPO_ACCEPT_LEGACY_PKG to keep index old pkg
- Reduce usage of memory stack
Changes from 1.17.99.1 to 1.17.99.2
- by default only create .txz symlinks for metadata
- only consider the .pkg when creating a repository
add an option REPO_ACCEPT_LEGACY_PKG to keep index old pkg
- Reduce usage of memory stack
The new pkg command uses the ".pkg" extension for all files,
independently of the archive format chosen.
This update adapts portmaster to that convention and removes all
support for other extensions. (This might be considered premature,
but supporting multiple extensions would require logic changes and
I expect all users to quickly convert their local repositories to
comply with the new naming.)
The package format can still be selected as before.
If you have package files in /usr/packages/* that you want to be
visible to portmaster, then rename them, e.g. from "*.txz" to "*.pkg".
(The "mmv" command (misc/mmv port) performs this renaming with the
following command in /usr/packages/All:
mmv "*.txz" =1.pkg
TL;DR: new uniq package file extension: '.pkg'
Full changelog for pkg:
- add a new "snap" prefix, to deal with pkg base snapshots
- pkg repo now accepts packages with different compression formats
- pkg now have a single extension: ".pkg" and a backward compatible
symlink is created when the package is created to help transitioning
- Default compression level for zstd is now set to 19
- the default compression level is now a configuration option
- plenty of portability fixes
- fix plenty of typos
- expose the name of the package to lua and shell scripts
- plist:
remove internal support for @*exec (this is now in the ports tree)
remove support for @ignore
remove support for @dirrm/@dirrmtry
remove support for @pkgdep
remove stub support for @stopdaemon
remove stub support for @display
remove stub support for @mtree
remove stub support for @conflict
- VUXML: fetch .xz compressed version of the file by default
- triggers are deferred to later command (firstboot is planned) if run
with pkg -r
- pkg triggers commands has been added and can execute the deferred
triggers for example at firstboot
Changes in the framework:
- Add a backward compatibility layer, so people are not forced to move
to pkg 1.17 yet (new quarter we will enforce the switch for triggers
anyway, but it gives time to people to switch)
- Introduce a new PKG_COMPRESSION_FORMAT for users to specify the
compression format they are willing to use when creating packages:
txz, tar, tgz, tbz, tzst are the valid ones (note that tzst is only
usable on FreeBSD 13 and 14)
- Add a backward compatibility for people who specified the compression
format already via PKG_SUFX and issue a warning to tell them about the
deprecation of PKG_SUFX
Changes:
- PACKAGE_FETCH: Don't fetch packages that are not queued.
- bulk: Store (pkg note) and show top level ports git info as well
- image: various fixes
As requested in Github issue #64 the pager should not be used if
portmaster is executed within a script. In order to not introduce
a new option, --no-conform will now imply that output will not be
halted waiting for user input to proceed when displaying the package
messages.
Reported by: Michael Osipov (michael-o on Github)
Changes
- testport: Show logs info on depend build failures
- MUTABLE_BASE=schg: Support writing to /boot/firmware for cpu microcode
- jail -x: This is not limited to src builds
- bulk: Don't run 'bulk crashed' hook on -f failures
- Add git hash annotation into built packages.
- jail -cu: Fix freebsd-update using wrong arch [1]
- Update log parsing reasons (processonelog.sh)
PR: 256652 [1]
* Account for LEGAL_TEXT and per-ARCH DISTFILES in the Makefile sections
[1]
* Relax USE_LDCONFIG checks now that we don't need a specific lib
pattern [2]
PR: 255764 [1]
255651 [2]
LEGAL is badly maintained, LEGALlint notices quite a number of ports
which mismatch their line in LEGAL. The port itself is always leading.
* math/giacxcas: restrict RESTRICTED_FILES to giac_* only
Differential Revision: https://reviews.freebsd.org/D30061
Reviewed by: portmgr (mat), dch, eadler, marcus
The way it works is that it calls pkg info 3 times, so there is a
possibility of losing consistency.
The -r option added for displaying the "Required by" graph instead of
the "Depends on" graph.
Pass maintainership to submitter
PR: 256214
Changes:
* testport|bulk -b: New feature to fetch remote packages. See PACKAGE_FETCH options in poudriere.conf.sample.
This feature has pitfalls like downloading and deleting packages. That may be improved with
upcoming improved incremental build supoport.
* ports now defaults to using FreeBSD's git repository for checkout when no method is specified.
* jail: Add support for fetching from artifact.ci.freebsd.org
* ports -m git: Remove default --single-branch.
* ports: Support -D to not shallow clone with git
* ports: Properly detect vcs checkout errors
* ports/jail -m git: Properly check for git being installed
* logclean -N <n>: Fix to keep latest <n>.
* bulk -n: Don't remove .building dir unless this ran made it
* bulk -f: Ignore anything after first column.
* Update cpdup to v1.22 68cb3cb4e14d9c
* ports/jail -m git: Support -U /local/path.
* jail: Allow poudriere -v to override -q for git/svn
* jail -cm git: Allow -v to be excluded to default to remote branch
* ports: Fix -B being rejected with git.
* jail -r: Fix this to work again
** Some git handling and the PACKAGE_FETCH support is not yet stable and may change in the future.
* Allow ports without any leading comment section [1]
loader@ submitted a patch on which this was based
* Add a check to make sure the license is actually valid
PR: 255520 [1]