Commit graph

4170 commits

Author SHA1 Message Date
Tobias Kortkamp
c860a84c37
ports-mgmt/parfetch-overlay: Update to 0.1.0
Changes:	https://github.com/t6/parfetch/releases/tag/v0.1.0
2021-12-03 05:48:25 +01:00
Tobias Kortkamp
bae1bd39b1
ports-mgmt/sccache-overlay: Drop bogus ONLY_FOR_ARCHS
It was inherited from devel/sccache which enables additional
features that need the ring crate. The sccache version here comes
with only local storage enabled and should build fine on other
archs too. This is untested but the ring crate is never compiled
according to the logs.
2021-12-01 19:02:41 +01:00
Bryan Drewery
d541dfc457 ports-mgmt/poudriere-devel: Update to 3.3.0-1068-g8d0342ef6
Changes:
  - image: Add support for zfs image types, including send streams
  - image: Run the post-build script before the build target
  - Fix cleanup waiting on bad pids
  - Fix logs summary showing in some wrong error contexts
  - Assert we have a bootstrap pkg before acting on packages.
  - Package fetch: Fix pkg bootstrap with fresh repo + version mismatch
  - Package fetch: Never fetch packages if remote pkg is newer than ports
  - Package fetch: always blacklist pkg
  - Package fetch: Fetch before deleting packages for missing bootstrap
  - Package fetch: Give an indication which packages are taken from cache
  - sh: Update from FreeBSD 971677d5fd4cc6e776468
  - bulk: Opportunistically start builders as needed. This also
          makes startup of each more verbose.
  - SIGINFO now goes to stderr
  - SIGINFO: New output format, showing tmpfs usage, and cpu%/mem%(rss) from ps.
  - Add a mechanishm to avoid building rust in tmpfs.
    See poudriere.conf.sample for TMPFS_BLACKLIST and TMPFS_BLACKLIST_TMPDIR
  - colors: Remove the need to evaluate \033 escape.
  - bulk: Trim IGNORED packages in parallel.
2021-11-30 12:10:27 -08:00
Tobias Kortkamp
b6633a0113
ports-mgmt/parfetch-overlay: Add overlay to fetch distfiles in parallel and with pipelining
Ports that fetch multiple distfiles from the same host can
especially benefit from this.

This is a glue application between libcurl and the ports
framework. It comes with a ports overlay that replaces the
default do-fetch and checksum targets.

This is an experiment. Use at your own risk.

WWW: https://github.com/t6/parfetch
Demo: https://asciinema.org/a/ogjs0MiCNZxqwYy2xliHfYEaM

Some unscientific but repeatable numbers: tokei (152 distfiles)
fetch is down from ~44s to ~3s. wlroots (34 distfiles) fetch is
down from ~12s to ~3s. rust makesum (28 distfiles) is down from
~90s to ~50s.
2021-11-26 11:33:16 +01:00
Stefan Eßer
04b9da4140 */*: Remove redundant '-*' from CONFLICTS definitions
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-25 22:40:11 +01:00
Tobias Kortkamp
957b560af2
ports-mgmt/sccache-overlay: Avoid build issues when building with the overlay on 2021-11-25 21:09:31 +01:00
Tobias Kortkamp
101ba9b46e
ports-mgmt/sccache-overlay: Add ports overlay for sccache
Sccache is a compiler cache but unlike ccache it comes with Rust
support. This package provides a standalone version of sccache
that can work in Poudriere jails with glue for hooking it up to
the ports framework by simply activating an overlay.

Based on tcberner's https://reviews.freebsd.org/D31243
2021-11-25 21:01:04 +01:00
Baptiste Daroussin
3a266a84b6 ports-mgmt/portconfig: bump portrevision after update of bsddialog 2021-11-24 09:35:13 +01:00
Fernando Apesteguía
be9bcf7772 ports-mgmt/octopkg: update description and WWW
Use new WWW and remove references to pkg-ng

PR:	259962
Reported by:	grahamperrin@gmail.com
2021-11-24 09:23:16 +01:00
Stefan Eßer
5933ac0b09 */*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-23 23:11:40 +01:00
Baptiste Daroussin
6adfb04c10 ports-mgmt/portconfig: update to 0.1
Changes: provide a hint to the users a pkg-help file is available to
provide hints on the configuration options
2021-11-23 14:58:37 +01:00
Baptiste Daroussin
5f891a829d ports-mgmt/portconfig: new port
portconfig is a dialog4ports replacement based on libbsddialog.
Note this version is build as semi static: libbsddialog and libncurses
has been linked statically and the binary remaind dynamic
2021-11-23 14:58:37 +01:00
Bernhard Froehlich
72186f50bb
ports-mgmt/caronade: Update to 0.5.0 2021-11-23 07:30:02 +00:00
Joe Marcus Clarke
c8fa510269 ports-mgmt/portlint: Update to 2.19.9
* Update CONFLICTS check to cover all variables and checks performed by
  bsd.port.mk [1]
* Add some other allowed fully-qualified paths [2]
* Don't consider variable substitution when checking DEPENDS [3]

PR:		259813 [2]
		259244 [3]
Sybmitted by:	se [1]
		gerald [2]
Differential Revision:	https://reviews.freebsd.org/D32733 [1]
2021-11-13 13:19:34 -05:00
Tobias Kortkamp
e3b72f2b33
ports-mgmt/portfmt: Update to 1.1.0
Changes:	https://github.com/t6/portfmt/releases/tag/v1.1.0
2021-11-13 10:33:58 +01:00
Baptiste Daroussin
18793d1058 ports-mgmt/pkg: update to 1.17.5
Changes from 1.17.4 to 1.17.5
- pkg add: only runs triggers at the end of the equivalent of a transaction
- pkg search: fix the combinaison of -q and -o
- pkg fetch: correctly exit with error on fetch failures
- Improve error message when failing to drop privileges
2021-11-12 11:12:43 +01:00
Baptiste Daroussin
5069e58b2e ports-mgmt/pkg-devel: Update to 1.17.99.9
Changes
- pkg add: only runs triggers at the end of the equivalent of a transaction
- pkg search: fix the combinaison of -q and -o
- pkg fetch: correctly exit with error on fetch failures
- Improve error message when failing to drop privileges
- Ensure no temporary files are left overs when ignoring some files in package
2021-11-12 11:10:39 +01:00
Baptiste Daroussin
7f73a93ef2 ports-mgmt/pkg: update to 1.17.4
Changes
- ensure pkg waits for the programs executed by the triggers
2021-11-04 17:38:32 +01:00
Baptiste Daroussin
8763663f3e ports-mgmt/pkg-devel: update to 1.17.99.8
Changes:
- ensure pkg waits for the programs executed by the triggers
- bring back the fallback on the pkg add with mismatched version (with
  regression fixed)
2021-11-04 17:38:32 +01:00
Gleb Popov
8f43c1a270 ports-mgmt/hs-panopticum: Update to 1.0.1.0
Changed: Correctly shutdown a jail when catching Ctrl+C.
2021-11-04 18:38:08 +03:00
Gleb Popov
a674728a61 ports-mgmt/hs-panopticum: Add the new port.
Panopticum is a tool to query port information with every combination of OPTIONS.
2021-11-01 22:29:59 +03:00
Po-Chuan Hsieh
999e28ad76
ports-mgmt/bsdadminscripts2: Update to 0.4.2
Changes:	https://github.com/lonkamikaze/bsda2/releases
2021-11-01 21:41:26 +08:00
Koichiro Iwao
2ab4c64e83 ports-mgmt/pkg_tree: cleanup
- Switch to DISTVERSION
- Switch to https MASTER_SITES
- Pet portclippy
PR:		259207
2021-10-28 16:48:05 +09:00
Baptiste Daroussin
876edecba9 ports-mgmt/pkg-devel: update to 1.17.99.7
Changes:
- speed up pkg repo on SMP machines
- error on duplicated @config entry
- revert the fallback on pkg add with mismatched version
- document pkg upgrade --vulnerable
- revert jail audit perdiodic script verbosity reduction
2021-10-19 08:25:18 +02:00
Baptiste Daroussin
e9e85de23c ports-mgmt/pkg: update to 1.17.3
Changes:
- revert 2 regressions,
  * periodic script for audit which reduced verbosity
  * the fallback on version mismatch on pkg add
- prevent an endless recursion on the solver
- make fingerprint signature validation respect rootdir

MFH after:	1 week
2021-10-19 08:25:18 +02:00
Bryan Drewery
f3b8c09533 ports-mgmt/poudriere-devel: Really fix non-amd64 build 2021-10-18 15:26:31 -07:00
Bryan Drewery
4116dc2f1f ports-mgmt/poudriere-devel: Update to 3.3.0-1022-g964cf327f
Changes:
 - Fix interactive mode failing on 'pkg update'
 - Fix non-root CCACHE usage to be able to read /root/.ccache
2021-10-17 14:52:37 -07:00
Bryan Drewery
14e5e1370d ports-mgmt/poudriere-devel: Update to 3.3.0-1020-g59a87677c
Changes:
 - Fixes va_args build error on non-amd64
2021-10-17 12:25:19 -07:00
Bryan Drewery
7791106ed5 ports-mgmt/poudriere-devel: Update to 3.3.0-1019-gef4526594
Changes:
  - Store pool dir in logs/.poudriere.pkg_pool%
  - bulk: Add -NN to avoid committing packages.
  - distclean: Don't delete DISTFILES_CACHE if it is empty
  - distclean: Fix deleting from a corrupted list
  - distclean is known to not properly recurse deps.
  - crashed_build/skipping: Show flavor of packages
  - Package Fetch: Fix handling for remote pkg version check
  - Package Fetch: Handle lost packages failure better for PKG_SUFX transition.
  - bulk: Auto rename *.txz to *.pkg if needed
  - Default DELETE_UNQUEUED_PACKAGES to no and document.
  - image: Fix firmware images
  - zsh: Add bulk -b option description for zsh completion file and remove trailing spaces
  - clock: Fix formatting to be more portable
2021-10-15 20:58:23 -07:00
Baptiste Daroussin
b248947986 ports-mgmt/pkg-devel: 1.17.99.6
- fix segfault when packaging packages providing shared libraries
- fix fingerprint signature handling with rootdir
2021-10-04 11:20:57 +02:00
Baptiste Daroussin
5094187e53 ports-mgmt/pkg: update to 1.17.2
- 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
2021-09-21 10:23:31 +02:00
Baptiste Daroussin
176f4afb4c ports-mgmt/pkg-devel: update to 1.17.99.5
- 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
2021-09-21 10:17:39 +02:00
Joe Marcus Clarke
772ba6c8db ports-mgmt/portlint: Update to 2.19.8
* Warn about deprecated USE_AUTOTOOLS [1]
* Add support for BROKEN_*

PR:		248487 [1]
		257951 [2]
2021-09-19 13:12:39 -04:00
Sergey A. Osokin
06a8050112 devel/mercurial: update to 5.9.1.
Bump PORTREVISIONs for dependant ports.
While I'm here update devel/tortoisehg to 5.9.1. (*)

Approved by:	arrowd (*)
PR:		ports/258352
2021-09-15 22:16:07 -04:00
Baptiste Daroussin
d7dd5ef767 ports-mgmt/pkg-devel: update to 1.17.99.4
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
2021-09-14 15:21:08 +02:00
Emmanuel Vadot
72629b6891 ports-mgmt/pkg-devel: Fix packaging from poudriere
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
2021-09-14 13:51:58 +02:00
Emmanuel Vadot
6198006bca ports-mgmt/pkg-devel: Fix package when SAN is on
There is no pkg-static when SAN is on but the framework needs it.
So just ln pkg-static to pkg.
2021-09-14 12:53:18 +02:00
Emmanuel Vadot
4f3befc2a3 ports-mgmt/pkg-devel: Add an option for building with sanitizer
Sanitizers helps finding problems, add an option to pkg-devel to be
able to compile with them.
2021-09-14 12:08:58 +02:00
Emanuel Haupt
efc2290ca0 ports-mgmt/distilator: Update to 1.4
This version has improved url validation.

PR:		258389 (based on)
Reported by:	yuri
2021-09-10 18:08:49 +02:00
Dmitry Marakasov
9e7bd94765 ports-mgmt/dialog4ports: fix segfault
Fix segfault when moving selection in some dialog configurations

Reported by:	gad, kumba@gentoo.org
Submitted by:	rum1cro@yandex.ru (maintainer)
PR:		244204
2021-09-09 23:02:40 +03:00
Bryan Drewery
ea4bd5e088 ports-mgmt/poudriere-devel: Update to 3.3.0-967-g764941e90
Changes:
- bulk: Don't delete unqueueud packages unless -a or -f is given
- options: Support multiple -f
2021-09-07 13:53:16 -07:00
Bryan Drewery
3dd6478b92 ports-mgmt/poudriere-devel: Update to 3.3.0-961-g039b378dc
Changes:
- Fix random bulk crashes due to sh read bug [1]
- bulk: Don't mention stale txz symlinks for -C-deleted packages

PR:	258347 [1]
2021-09-07 12:10:59 -07:00
Bryan Drewery
0d887476a4 ports-mgmt/poudriere-devel: Mark BROKEN
The last update is producing random crashes during bulk.
See https://github.com/freebsd/poudriere/issues/917 for
details.
2021-09-07 10:16:53 -07:00
Rene Ladan
3f85df4925 *: Return culot@'s ports to the pool (and perl@) after safekeeping his bit. 2021-09-06 23:13:27 +02:00
Bryan Drewery
1357179a0c ports-mgmt/poudriere-devel: Update to 3.3.0-958-g3d248385b
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
2021-09-04 12:41:20 -07:00
Tobias Kortkamp
4a99c65e9c
ports-mgmt/portfmt: Update to 1.0.0
Changes:	https://github.com/t6/portfmt/releases/tag/v1.0.0
2021-09-01 19:01:38 +00:00
Bryan Drewery
c555f0f92a ports-mgmt/poudriere: Bring in fix for distclean make.conf error
Fixes https://github.com/freebsd/poudriere/issues/910
2021-08-30 10:21:44 -07:00
Bryan Drewery
c47ee773c4 ports-mgmt/poudriere-devel: Update to 3.3.0-927-gb63d7c829
Changes:
- distclean: Fix reading make.conf
- pkgclean: Fix POUDRIERE_BUILD_TYPE error
2021-08-28 12:09:56 -07:00
Bryan Drewery
84a57f6bb7 ports-mgmt/poudriere-devel: Update to 3.3.0-924-g8de014b5e
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
2021-08-27 13:48:05 -07:00
Baptiste Daroussin
35c7ef4d57 ports-mgmt/pkg-devel: update to 1.17.99.3
- 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
2021-08-23 16:42:45 +02:00