- Document lua scripts
- Document shell scripts
- Document keywords ucl files
- Add a variable to both lua scripts and shell script to allow
the scripts to know they are actually being upgrading things
to non-world-writable directory.
Save this file in the user's home directory instead of in /tmp to prevent
a possible sym-link attack against the user.
PR: 233378
Submitted by: Robert Schulze
Approved by: antoine (implicit)
This option makes portmaster try to build ports that are marked as
BROKEN or IGNORE.
Passing this option implies the "-m -DTRYBROKEN" option.
The change is inspired by (but not based on) the patch suggested by
Walter Schwarzenfeld.
PR: 235793
Reported by: Yasuhiro KIMURA
Approved by: antoine (implicit)
- Add more regression test
- Improve consistency of the default ouput
- Give a hint about running pkg update -f in case of "size mismatch"
- Fix pkg backup since the sqlite syscall are overridden
The previous patch has not completely fixed the issue, according to some
reports (it did on my system and for my set of installed ports).
This version contains a further change suggested by Walter Schwarzenfeld.
Submitted by: Walter Schwarzenfeld
Approved by: antoine (implicit)
- lua scripts are now running in a capsicum sandbox
- lua scripts io.open function is now always opening relative to ROOTDIR
- expat vulnxml parser has been replaced by a yxml based one
- libucl has been update to the latest git version
- error reporting has been improved when parsing vuxml file
- shell script can now push message at the pkg-message level by writing
to the ${PKG_MSGFD} file descriptor:
echo "message for the user" >&${PKG_MSGFD}
There are build dependencies, that were compiled again and again even
though the latest version was already installed.
This fix is based on a patch suggested by Tatsuki Makino, with a small
change to better comply with the existing style used in this program.
An extended patch has been provided by Walter Schwarzenfeld, but in my
tests it did not make a difference. If further testing shows a need for
the additional commands suggested by Walter, I'll add them (or a variation)
in a follow-up commit.
PR: 241227, 242086, 243432
Submitted by: Tatsuki Makino
Approved by: antoine (implicit)
- When installing a file over a file that is not tracked by any
package, save the previous one as .pkgsave
- Fix a chicken/egg problem with the meta being compressed and defining
the compression format. Now pkg repo will create a meta.conf file
uncompressed (it is small enough) and fallback on the old meta.txz.
Note that meta.txz is still created for backward compatibility
- pkg repo now creates meta files in version 2 by default meaning the digests.txz
is not created anymore, it was only used up to pkg 1.2. anyone upgrading
from pkg 1.2 should first run pkg bootstrap -f to be on a recent version.
- pkg -r now first lookup under the rootdir for its ABI_FILE.
- suppress version checking when -j is specified
- Alphabetically sort packages printed in the output of pkg commands to ease readability
- pkg lock/unlock now allows multiple packages in arguments
Only add -L${NCURSESLIB} when ${NCURSESLIB} isn't /usr/lib to prevent linking with base libstdc++ on GCC architectures.
PR: 240707
Approved by: culot (maintainer)
portgrep is a fast parallel ports tree search utility, supporting both
predefined queries (by MAINTAINER, USES, etc.) and custom regex searches.
WWW: https://github.com/dmgk/portgrep
Changes: https://github.com/freebsd/poudriere/wiki/release_notes_333
- qemu: Add /usr/bin/wc and /usr/bin/head to HLINK_FILES.
- Show flavor in more messages.
- ports -l: Fix error when no ports trees exist yet.
- distclean: Remove empty directories when done.
- Allow overriding default nullfs paths with NULLFS_PATHS.
- Fix WRKDIR saving with FLAVOR'd origins
- Expand securelevel check to handle MUTABLE_BASE=schg and TMPFS_WRKDIR/TMPFS_LOCALBASE.
- testport -c: Fix make.conf not being respected for `make config`.
- image: warn if MFSROOT may be too large
- jail: Pass MAKEWORLDARGS during installworld too
- jail -c: Fix NO_LIB32 support
- jail -d: Don't confirm if the jail doesn't exist
- jail -i: Don't show ports tree info if not requested
* Pass MAKEWORLDARGS during installworld too
* bulk/testport: Initial support for ports OVERLAYS
* testport: Show log info on failure exit
* jail -d: Don't confirm if the jail doesn't exist
* jail -c: Fix NO_LIB32 support
* jail -i: Don't show ports tree info if not requested
* bulk: Compute queued stats after trimming ignored AND trimming queue.
* Various fixes and expansion of sh mapfile support
* Always export `LC_COLLATE=C`
- take maintainer, because status of old maintainer undefined
PR: 241899
Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Reported by: p5B2E9A8F@t-online.de
Changelog v0.3.0 - Return of Slimer:
* Detect affected ports from list of changed/added files and not from CI message
* Use Status API URL from webhook to simplify configuration
* Support Ping Webhooks
* Removed Gitea support
* Updated bulma CSS to 0.8.0
* Updated yaml dependency to 2.2.4
* Git pushes with multiple commits were fixed
* Fix ssh warning about stdin and silence ssh call for ssh recipe
* Improve documentation for remote builder setup
* Documentation fixes
Since recently, libarchive is linked to libzstd, which itself uses threads
somehow, this make the build of pkg in mips unhappy.
Given libpkg is not threadsafe anyway just drop the __thread
PR: 240822
Reported by: tech-lists@zyxst.net and mandree
Discussed with: jhb
- updating: allow to use regular expession in AFFECTS: value
- updating: improve the exact matching for AFFECTS: values
- recommand using pkg bootstrap -f instead of pkg-static install -f to reinstall
pkg itself
- Add support for lua in package scripts (not documented yet)
- Add support for lua in keywords definition (not documented yet)
- Properly detect when base libarchive is linked to zstd and handle it. (needed
an upcoming change in base)
- Add a function tu lua script to append message at the run of the pkg process
along with other messages
- Add the missing warning about @unexec being deprecated for a while now in
pkg-plist
- Fix build with gmake
- Ensure pkg_shutdown properly reinitialize all the closed fd to -1.
- Do not crash when being passed an unsupported ABI
lang/gcc5 will expire in ~1 month. If someone still uses lang/gcc48
they should backport C++11 fix instead. QA on GCC architecuters is
currently limited to powerpc64 which uses GCC_DEFAULT.
PR: 193528
* Relax wording around restrictive licensing [1]
* Remove the check for extra items in the USE/USES section [2]
One is allowed to put any _related_ variables here, and this will always change.
It's easier not to check than to provide wrong recommendations.
* Fix the check for unspecified license files [3]
PR: 240233 [1]
239045 [2]
231303 [3]
- Fix cross installation with new build system
- Add a function to lua_script allowing to send a message which will be
printed along with the other messages at the end of the message process.
- Fix detection of libarchive with zstd support
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
- Add DISALLOW_NETWORKING, fixes#689
- qemu: Add /usr/bin/wc and /usr/bin/head to HLINK_FILES.
- image: Add zsnapshot imagetype.
- Fix pkg 1.11 issue with devfs mount.
- bulk -a: Don't print ports in summary unless -v is used.
- Show FLAVOR in more places.
- ports -l: Fix error when no ports trees exist yet.
- testport -c: Fix make.conf not being respected for `make config`.
- image: Add sleep, ls, and ping to miniroot.
Add more portedit commands:
- bump-epoch: bumps PORTEPOCH or inserts it at the right place
- get: lookup unevaluated variable values
- merge: Generic command to set/update variables while also
formatting the updated variables properly and inserting them
in the right places if necessary. Useful for merging output
of tools like make cargo-crates, make stage-qa, or
modules2tuple.
- set-version: resets PORTREVISION, sets DISTVERSION or PORTVERSION
- Add support for lua scripting:
for now it allows to use scripts in lua instead of shell scripts
everywhere possible, including keywords.
- Fix detection of libarchive built with zstd support
- add support for packages compress in zstandard format
- improve messages output adding marks to separate messages from each packages
and messages within a given packages
- messages can now contain variables: ${PREFIX} ${PKGNAME} for now
- Update to 0.2.0
- Use go:modules instead of manual GOFLAGS=-mod=vendor
Changes in 0.2.0:
=================
Features:
* New Web UI with Bulma
* Implement EMail notifications
* Allow Environment variables to be written in Go template syntax
* Add PathMatch parameter to separate repository into different environments
* Implement better overlay Portstree
* Add SSH recipe for remote building
* Support GNU make
Bugs:
* Use the correct poudriere portstree when building
* Fix clean targets in portlint and poudriere recipe
* Render Job Template as soon as the job starts
* Fix issue when StatusAPI is not used/configured