- 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
Improvements:
* better ABI name on linux
* lots of changes in internal API to use fd when possible
* 410.pkg-audit now uses anticongestion on freebsd 12+
* completion improvements
* add an extra line when printing pkg-messages to improve readability
* add %q to pkg_printf(3) and pkg-query(8) to print altabi
* make pkg version -r imply -R
* New build system based on autosetup
* pkg is now a semi static binary
* Add 3 new aliases:
- rall-depends: showing depenencies of a non installed package
- rcomment: showing only the comment of a non installed package
- rdesc: showing only the description of a non installed package
* close stdin when running scripts
* Tons of bug fixes
Removal:
* removed option: pkg repo -L
* removed script: pkg2ng
- fix libpkg.so when linked with binutils
- instead of closing stdin for script just use /dev/null
- force installation of symlinks to avoid make install to fail is some
symlinks are already there
The reason is that modules2tuple is a tool useful to port maintainer to
generate contents for GH_TUPLE for ports written in Go.
PR: 237907
Approved by: Dmitri Goutnik <dg@syrec.org> (maintainer)
- Extend data model to allow for target command formatting if turned
on with the new -t flag
- General parser improvements
- Sort USE_PYQT like USE_QT
- Add preliminary support for WIP USES=cabal options helpers/variables
- Add a portedit command which instead of formatting the entire
file only formats edited portions of it. As a proof of concept
this for now only has a 'bump-revision' command to bump PORTREVISION
of a port, and a 'get' command to return unevaluated variable
values as parsed by portfmt.
Changes: ff04b7c3f4...5f6ab52521
Changes from pkg 1.10.99.12 to 1.10.99.13
- fix segfault when running pkg version <an_invalid_index_file>
- fix segfault that can occurs sometime when forcing the installation of a
localpackage: pkg install -f ./mypkg-X.txz
- fix abi detection when multiple elf notes are used in the binary like on
fedora
Reported by: tobik, sunpoet
From the ChangeLog: https://github.com/ppekala/ports-tools/releases/tag/1.8
* pfind:
* add -d option for searching deleted ports
* support searching for slaves in other categories then master port
* add information about already installed packages in search results
* upgrade-ports:
* don't use full dependencies list while sorting, this prevents out of
memory problems
* while sorting large list of ports
* fix uprade of security/sudo package when using sudo for upgrade
process (non-root user)
* inform user about lenghty backups
* don't attempt to big version upgrade of perl5, needs manual intervention
* make required by list more compact in need to be installed summary
and many small fixes.
Reported by: portscout
* Add check for sensible CMAKE settings to ports-mgmt/portlint [1]
* Do not warn about absolute paths in *_OLD_CMD (when USES=shebangfix is set) [2]
* If an option only has QMAKE_ON or QMAKE_OFF settings, it is flagged as no effect [3]
* Check for options defined per ARCH to make sure we don't have a lot
of false positives. [4]
(Note: [1] was already in PORTREVISION 2).
PR: 232948 [2]
237045 [3]
234888 [4]
Submitted by: adridg [3]
If a port sets CMAKE variables (CMAKE_ARGS, or the option helpers
like foo_CMAKE_BOOL) then it should have USES=cmake; otherwise
those variables don't make any sense.
This is the slightly simplified version of the patch: there
really shouldn't be options that switch (meta-)build systems.
PORTREVISION bumped because I'm not sure what the versioning
scheme is for portlint.
PR: 235650
Reported by: yuri
Approved by: marcus (maintainer timeout 2 weeks)
Differential Revision: https://reviews.freebsd.org/D19525
2019-03-25 chinese/reciteword: depends on audio/esound
2019-03-31 comms/conserver: Superseeded by comms/conserver-com
2019-03-24 databases/flamerobin: Abandonware since 2009, does not work with newer version of wxGTK
2019-04-01 databases/mariadb100-client: Upstream End-of-Life March 2019 (https://mariadb.org/about/maintenance-policy/)
2019-04-01 databases/mariadb100-server: Upstream End-of-Life March 2019 (https://mariadb.org/about/maintenance-policy/)
2019-03-12 devel/physfs-devel: is the same as devel/physfs, serving no purpose
2019-03-20 devel/py-construct28: Latest upstream version is in ports tree devel/py-construct
2019-03-31 devel/xtoolchain-llvm40: No supported release uses this version
2019-03-31 devel/xtoolchain-llvm50: No supported release uses this version
2019-03-31 finance/aqmoney: no longer maintained upstream
2019-03-31 finance/openhbci: no longer maintained upstream
2019-03-31 graphics/py-exiv2: py-exiv2 has been deprecated in favour of GExiv2
2019-04-04 mail/dbmail22: Please use mail/dbmail which uses latest version of 3.X
2019-03-31 net/rubygem-fog-google17: Use net/rubygem-fog-google instead
2019-03-31 ports-mgmt/bsdadminscripts: Upstream stale nearly 10 years, no longer works properly, use ports-mgmt/bsdadminscripts2 instead
2019-03-24 www/mod_md-devel: Use the module that is shipped with Apache 2.4
2019-03-25 x11/xbelld: Depends on audio/esound
Changes from pkg 1.10.99.11 to 1.10.99.12
- use /usr/bin/uname to determine of the ABI
- Add 3 new aliases:
* rall-depends: showing depenencies of a non installed package
* rcomment: showing only the comment of a non installed package
* rdesc: showing only the description of a non installed package
- switch to cirrus-ci
- improve portability on linux
- simplify code to create the repository
- close stdin when running scripts
- update bundled libucl to latest version
- remove backward compat (pkg_*) in periodic scripts
- always use anticongersion on periodic scripts
- Prevent SIGSEGV with 'pkg version' with packaged base
- Fix issue with recent lld
Portfmt is a tool for formatting FreeBSD Ports Collection Makefiles.
For the time being portfmt concentrates on formatting individual
variables as such it does not move variables to preferred positions.
WWW: https://github.com/t6/portfmt
- poudriere: Only pass MAKEOBJDIRPREFIX to 'jail'
- Document environment fully for poudriere/-jail/-ports.
- Revert progress indicator
- poudriere: Fix all environment to be space/quote safe.
- jail/ports -l: Avoid printing empty columns/trailing whitespace.
- jail -c -m null/tar/src: Again require -v if newvers.sh is not readable.
- Show proper errors for missing jail metadata.
- poudriere-jail.8: jail -m null does NOT null-mount during build.
- jail -c: Defer pwd_mkdb until bulk's jail_start() call.
- jail -cu: Stop modifying /etc/login.conf in the jail.
- Slightly speedup MOVED parsing