FreeBSD/poudriere 835f702 — src/share/poudriere common.sh

Do not import symlinks from non-pkg package builds

The package phase lets the jail build user write to a host-backed
/.npkg directory. build_port() imported every file and symlink from
that directory into the host package repository. An absolute symlink
changes meaning at this boundary: it points inside the jail while
mounted but at the host after import.

Only the pkg bootstrap variants need package-manager compatibility
links. Process those links before their targets and reject any that
resolve outside staging. Import only regular files for other ports,
preventing their build output from introducing host-resolved symlinks
into the repository.

(cherry picked from commit d558fca255b11e6350b62337bdd80bef36f673bf)

Conflicts:
        src/share/poudriere/common.sh

Issue #1366
DeltaFile
+33-5src/share/poudriere/common.sh
+33-51 files

FreeBSD/poudriere a72667f — src/man poudriere.8

poudriere.8: Document repo and audit
DeltaFile
+6-1src/man/poudriere.8
+6-11 files

FreeBSD/poudriere 250a890 — test common.sh common.bulk.sh

tests: Support concurrent runs in multiple out-of-tree build dirs
DeltaFile
+2-2test/common.bulk.sh
+1-1test/common.sh
+3-32 files

FreeBSD/poudriere 67db104 — src/share/poudriere common.sh

run_hook: Replace stdin with /dev/null

It otherwise may consume stdin in unexpected places.
DeltaFile
+1-1src/share/poudriere/common.sh
+1-11 files

FreeBSD/poudriere 80d55f1 — src/share/poudriere/include pkgqueue.sh

pkgqueue_graph_dot: No need to replace '-' with '_' as names are quoted already.
DeltaFile
+1-1src/share/poudriere/include/pkgqueue.sh
+1-11 files

FreeBSD/poudriere b2cfb0b — test runtest.sh

tests: Add a timeout multiplier without ccache
DeltaFile
+8-0test/runtest.sh
+8-01 files

FreeBSD/poudriere 71138be — src/share/poudriere common.sh

check_leftovers: Tee the mtree data to stderr.

Some modifications are not obvious without seeing the mtree output,
such as changed mode/perm on a file or dir.
DeltaFile
+1-1src/share/poudriere/common.sh
+1-11 files

FreeBSD/poudriere bbe3a54 — src/share/poudriere common.sh

jail_runs: Fix concurrent tests by anchoring to EOL

Issue #1398
DeltaFile
+1-1src/share/poudriere/common.sh
+1-11 files

FreeBSD/poudriere 2bab31c — test runtest.sh

tests: Add a timeout multiplier without ccache

Conflicts:
        test/runtest.sh
DeltaFile
+7-0test/runtest.sh
+7-01 files

FreeBSD/poudriere 40c84c7 — src/share/poudriere common.sh, test Makefile.in bulk-circular-deps.sh

Merge pull request #1412 from freebsd/revert-1401-flavordepitself

Revert "common: allow ports to depend on other flavors of themselves"
DeltaFile
+0-36test/bulk-circular-deps.sh
+0-22test-ports/omnibus/misc/foo-CIRCULAR/Makefile
+0-8test/Makefile.in
+2-2src/share/poudriere/common.sh
+0-1test-ports/omnibus/misc/foo-CIRCULAR/pkg-descr
+0-1test-ports/omnibus/misc/Makefile
+2-702 files not shown
+2-728 files

FreeBSD/poudriere 15d9342 — src/share/poudriere common.sh, test Makefile.in bulk-circular-deps.sh

Revert "common: allow ports to depend on other flavors of themselves"
DeltaFile
+0-36test/bulk-circular-deps.sh
+0-22test-ports/omnibus/misc/foo-CIRCULAR/Makefile
+0-8test/Makefile.in
+2-2src/share/poudriere/common.sh
+0-1test-ports/omnibus/misc/foo-CIRCULAR/pkg-descr
+0-1test-ports/omnibus/misc/Makefile
+2-702 files not shown
+2-728 files

FreeBSD/poudriere 5dfcdcc — test Makefile.am Makefile.in

tests: Add some missing log files to MOSTLYCLEANFILES

Conflicts:
        test/Makefile.in
DeltaFile
+3-2test/Makefile.in
+2-1test/Makefile.am
+5-32 files

FreeBSD/poudriere e41cca0 — test Makefile.am Makefile.in

distcheck: Somehow prep.sh* was not getting cleaned up
DeltaFile
+1-1test/Makefile.in
+1-0test/Makefile.am
+2-12 files

FreeBSD/poudriere 5ff1bb8 — test Makefile.am Makefile.in

tests: Add missing MOSTLYCLEANFILES for logs

Partial backport of d1ea7cf
DeltaFile
+2-1test/Makefile.in
+1-0test/Makefile.am
+3-12 files

FreeBSD/poudriere 5bf397e — test runtest.sh

runtest: Write logs to the build dir

Direct runs of runtest.sh still log in the local dir.
DeltaFile
+8-3test/runtest.sh
+8-31 files

FreeBSD/poudriere 037fdec — test Makefile.am Makefile.in

tests: Add some missing log files to MOSTLYCLEANFILES
DeltaFile
+3-2test/Makefile.in
+2-1test/Makefile.am
+5-32 files

FreeBSD/poudriere d16e62d — . Makefile.am Makefile.in

autotools: Fix out-of-tree builds
DeltaFile
+2-2Makefile.in
+1-0Makefile.am
+3-22 files

FreeBSD/poudriere 33635fd — . Makefile.in configure, build-aux ltmain.sh config.guess

autotools 1.19
DeltaFile
+1,490-927build-aux/config.sub
+947-604build-aux/config.guess
+601-159m4/libtool.m4
+302-118configure
+245-80build-aux/ltmain.sh
+127-70Makefile.in
+3,712-1,95811 files not shown
+3,848-2,03117 files

FreeBSD/poudriere 82ded03 — . Makefile.am Makefile.in

autotools: Fix out-of-tree distcheck
DeltaFile
+2-1Makefile.in
+1-0Makefile.am
+3-12 files

FreeBSD/poudriere d9bea29 — . Makefile.am Makefile.in

autotools: Fix out-of-tree distcheck

Conflicts:
        Makefile.am
        Makefile.in
DeltaFile
+2-1Makefile.in
+1-0Makefile.am
+3-12 files

FreeBSD/poudriere 06e8546 — src/share/poudriere common.sh, test Makefile.in bulk-circular-deps.sh

Merge pull request #1401 from svmhdvn/flavordepitself

common: allow ports to depend on other flavors of themselves
DeltaFile
+36-0test/bulk-circular-deps.sh
+22-0test-ports/omnibus/misc/foo-CIRCULAR/Makefile
+8-0test/Makefile.in
+2-2src/share/poudriere/common.sh
+1-0test-ports/omnibus/misc/Makefile
+1-0test-ports/omnibus/misc/foo-CIRCULAR/pkg-descr
+70-22 files not shown
+72-28 files

FreeBSD/poudriere 3134849 — . Makefile.in Makefile.am

autotools: Fix out-of-tree builds
DeltaFile
+2-1Makefile.in
+2-1Makefile.am
+4-22 files

FreeBSD/poudriere edee3ad — . Makefile.in configure, build-aux ltmain.sh config.guess

autotools 1.19
DeltaFile
+1,490-927build-aux/config.sub
+947-604build-aux/config.guess
+601-159m4/libtool.m4
+302-118configure
+245-80build-aux/ltmain.sh
+128-71Makefile.in
+3,713-1,95911 files not shown
+3,849-2,03217 files

FreeBSD/poudriere 248eebf — src/share/poudriere common.sh, test Makefile.in bulk-circular-deps.sh

common: allow ports to depend on other flavors of themselves

pkgqueue_sanity_check already handles the strict dependency
loop checks.
DeltaFile
+36-0test/bulk-circular-deps.sh
+22-0test-ports/omnibus/misc/foo-CIRCULAR/Makefile
+8-0test/Makefile.in
+2-2src/share/poudriere/common.sh
+1-0test-ports/omnibus/misc/Makefile
+1-0test-ports/omnibus/misc/foo-CIRCULAR/pkg-descr
+70-22 files not shown
+72-28 files

FreeBSD/poudriere 14c90f4 — src/share/poudriere common.sh

Merge pull request #1398 from svmhdvn/push-mxytqvwlmrvu

common: jail_runs: check for running jails with any ports/set
DeltaFile
+1-1src/share/poudriere/common.sh
+1-11 files

FreeBSD/poudriere 2ac7984 — src/share/poudriere common.sh

common: jail_runs: check for running jails with any ports/set
DeltaFile
+1-1src/share/poudriere/common.sh
+1-11 files

FreeBSD/poudriere df4d911 — src/share/poudriere/include shared_hash.sh

shash_get: Drop leftovers from globbing removal

No functional change.
DeltaFile
+8-21src/share/poudriere/include/shared_hash.sh
+8-211 files

FreeBSD/poudriere 161a48c — src/share/poudriere/include shared_hash.sh, test shash-basic.sh

shash: Remove globbing support.

This support is not needed to function and adds complexity for
alternative backends for shash.

Still allow _shash_unset() to use globbing as an implementation detail
of shash_remove_var().
DeltaFile
+51-66src/share/poudriere/include/shared_hash.sh
+13-8test/shash-basic.sh
+64-742 files

FreeBSD/poudriere 2634d29 — src/share/poudriere image_zsnapshot.sh

image -t zsnapshot: Remove stale files from the previous image

With -i, files removed from the world were left behind in the new image.

Fixes: dd61d5134c ("do_clone: Stop overwriting - move that to do_clone_del")
(cherry picked from commit c10dc9a7fc71d6049254c39a5ad71b91886cb1c0)

Conflicts:
        src/share/poudriere/image_zsnapshot.sh
DeltaFile
+1-1src/share/poudriere/image_zsnapshot.sh
+1-11 files

FreeBSD/poudriere 6af2445 — src/share/poudriere jail.sh

jail -u -m src=: Remove stale files from the /usr/src copy

Files removed from the src tree were left behind in the jail's /usr/src.

Issue #1299
Fixes: dd61d5134c ("do_clone: Stop overwriting - move that to do_clone_del")

(cherry picked from commit 0ceb8092c18377bd45e69baa581e2a214b9cae2b)

Conflicts:
        src/share/poudriere/jail.sh
DeltaFile
+4-2src/share/poudriere/jail.sh
+4-21 files