- Add BASH option for completion installation
- ports_env: set UID=0 to avoid id -u lookups.
- Remove USE_PTSORT=no support and only use ptsort.
- Remove POOL_BUCKETS option
- Only set POOL_BUCKET_DIRS from load_priorities()
- SIGINFO: Reverse phase and total times to: phase / total
The original change order was confusing but so is the change. It may
ultimately be reverted.
- USE_CACHED=yes: Block using this as it does not work.
- Fix '3: Bad file descriptor' on crashed build
- Format crashed build with JOB_ID if possible
- MUTABLE_BASE=schg: Exclude immutable paths from mtree comparisons
- markfs: No need to rewrite the mtree file every time, just share it from
MASTERMNT
- Always null-mount ro /usr/lib32
- Remove references to INDEX - support removed in 0bef52955606412ac64aceddde6
- MUTABLE_BASE=schg: Need to track flags for mtree
- MUTABLE_BASE=schg mtree: Don't ignore changes to schg files with testport
or bulk -t
- Remove some shash buckets once no longer needed.
- Fix some error spam in bulk.
- Exclude /root from build_fs_violation.
- MUTABLE_BASE=schg: Allow writing new files to /boot.
- Move ALLOW_MAKE_JOBS_PACKAGES handle to remove misleading DISABLE_MAKE_JOBS
in buildlog make.conf
- bulk: Spawn builds in their own process group.
Block SIGTTOU/SIGTTIN to avoid stopping on tty access.
- kill_job: Don't show jobid warning.
- Close stdin at exit in case an interrupted redirection is referencing the
jail which results in umount warnings.
- processonelog: Detect pkg's conflict line
- processonelog: Try to detect immutable base failures
- Create /home and /usr/home paths in port build startup
- MUTABLE_BASE=schg: Allow writing to /usr/home
- poudriere: Default -e to /usr/local/etc for non-install executions
- options: Don't pass FLAVOR as a make arg - which may break downstream ports
- testport -c: Don't pass FLAVOR as a make argument
- testport: Show log summary at the end
- Support PKG_NOCOMPRESS in make.conf
- CCACHE_STATIC_PREFIX: Add CCACHE_JAIL_PREFIX for overriding /ccache in jail
- MUTABLE_BASE=schg + CCACHE_STATIC_PREFIX: Allow ccache-update-links to work
properly
- Add bash completion script
- Don't consider /var/crash/*.core as build_fs_violations
- distclean: Suck in ports_env which brings a big performance improvement.
- bulk: Add validation to check for dependencies with empty FLAVOR 'foo/bar@'
- Split poudriere.8 into subpages.
- jail -x: Fix error installing /nxb-bin with HEAD host 11 jail
- Fix double error when a dependency error is found.
- testport: Trim away excess '/' as done for bulk and dependencies.
- Fix finding aarch64 binutils for <head after ports r461058.
- jail -s: Always start with MUTABLE_BASE=yes
- Avoid copying or comparing /var/db/etcupdate into the jails.
- Add a MUTABLE_BASE=schg (rename 'no' to 'nullfs' and default to 'schg')
for testing. This will significantly reduce files copied during jail
rollback between package builds. It is supported on USE_TMPFS=all and
NO_ZFS=yes. It restricts writes to only /boot /etc /root /var and
/usr/local. Custom PREFIX/LOCALBASE likely won't work yet.
- Sort some usage output.
- Manpage cleanup.
- bulk: use buffered reads for various operations.
- timestamp: rewritten.
- Add more tests.
- Various performance improvements.
- TMPFS_ALL: reduce tmpfs lock contention for builder rollbacks.
- Reduce proctree lock contention.
- Fix null-mounting of /rescue.
- Null-mount /usr/share and /usr/tests.
- Add a foreachport sub-command for running arbitrary commands against ports.
This is quite new and still under development.
- Fix shared locks not properly handling stale locks.
- image: Fix default permissions to cfg and data partitions
* Check for USE_PYQT when USES=pyqt:5 is defined [1]
* Avoid more bogus direct command use warnings. Also try and fix some line numbers [2]
* Check for over-verbose use of magic MASTER_SITES_SUBDIRS [3]
* Do not complain about missing Created by: [4]
* Avoid checking direct command usage in embedded comments [5]
PR: 225615 [1]
225612 [2]
225503 [3]
225781 [5]
Reported by: Jason Bacon <bacon4000@gmail.com> [4]
result. The solution is different from the patch suggested in the PR, since
the debug message was only meant to be used during early development of
flavors support. In my local development version of portmaster, all output
from pm_v is redirected to STDERR, but that change seemed to disruptive to
apply to the "published" version.
Unrelated changes: make pm_isdir_pd more robust and fix variable name of
BACKUP_FORMAT option in sample file.
PR: 225843
Reported by: John Hein
Approved by: antoine (implicit)
This removes build dependency on gcc and runtime dependency on gcc's runtime libraries.
Big thanks to Gleb for working on this.
PR: 225185
Submitted by: Gleb Popov <6yearold@gmail.com>
Exp-run by: antoine
Reviewed by: pgj
Differential Revision: https://reviews.freebsd.org/D12043
Major changes :
- optimize the regex search
- chage the files URL path, who uses now the OS name
- add code to handle pluggin API changes for pkg vesions from 1.10.4
The behavior of the ask-license target should be to silently succeed instead
of returning an error, IMHO, but I can test for this condition and skip the
ask-license phase in portmaster, too.
While here, I'm slightly simplifying the fix implemented in r460294.
PR: 225699
Submitted by: dewayne@heuristicsystems.com.au
Approved by: antoine (implicit)
Changelog:
Much of code cleanup and factorization overall.
pcheck:
- Add flavors support
- Print port's flavors after portlint check
pclean, pcommit:
- Update ports cleanup code to remove flavored workdirs also
pfind:
- Optimize exact search
plist-sort:
- Fix variable names clashes in awk snippets leading to incorrect plists
reinplace-check:
- Add support for flavors and multiple pathfix patterns
upgrade-ports:
- Detect package origin change, set new origin and rebuild all
reverse dependencies
- Improved pkg to port conversion, fixes old pre-flavors packages upgrades
- Don't offer to rebuild or install ports that already failed
- Fix install phase error detection
- Split rebuild into new phases: stage, deinstall and install
This fixes some ports building something during stage operation,
mainly Qt 4/5 ports
- Configure all ports while using preinstall -c
- Add dialog4ports as a dependency since 'options' requires it. [1]
- image: Allow hostname to be empty for machines that get their hostname
from DHCP
- Force unmount if the non-busy unmount fails
- bulk: Rework queue handling to avoid hitting 32k link limit on tmpfs on
older releases.
- Remove the need for a separate clean.sh to be called for queue cleanup.
- Update poudriere.conf example to use ZPOOL=zroot as installer has
- SIGINFO: Show phase time as well
- Use PKG_EXT in more needed places (working on PKG_NOCOMPRESS still)
- Avoid two builds stomping on the shared HTML assets directory
- Fix MOVED handling for new flavor.
- HTML: Serialize access to jail and top .data.json files
PR: 22547 [1]
Submitted by: Yasuhiro KIMURA <yasu@utahime.org> [1]
- timestamp: Don't exit on [EINTR] to kevent(2)
- timestamp: Support EOF for command usage
- timestamp: Support buffered modes
- Add MAX_EXECUTION_TIME_{EXTRACT,INSTALL,PACKAGE,DEINSTALL} overrides
- Export PACKAGE_BUILDING to environment as well as some ports check there
(like postfix pkg-install)
- Fix not showing MOVED entries at start
- MOVED: Show more information.
- MOVED: Fix not being recursive.
- disclean: Handle MOVED.
- Add some missing COLOR_PORT
- Fix a dependency lookup bug with FLAVORS by adding a metadata queue.
- Add an 'rm' builtin for sh.
- Delay deps_sanity checks until all deps are checked
- Show user where a bad dependency may have MOVED to
- ports -B: Disallow branch if not SVN/git
a prefix of the package name with a new port to be installed. The cause of
this bug was that a pattern was applied without anchor at the end.
Testing revealed that "pkg info -x" ignores an anchor at the end of the
pattern (which might be a bug in pkg), therefore the output of the query
is now additionally filtered with egrep to obtain the desired result.
PR: 225496
Reported by: Martin Birgmeier
Approved by: antoine (implicit)
installed (e.g. for make targets "extract", "patch" or "stage" in build
dependencies).
Limit depth of search for empty directories to reduce the scan time if
there are non-empty work directory sub-trees.
Add package format parameters to rc.sample file.
Approved by: antoine (implicit)