FreeBSD/poudriere c7cb971src/libexec/poudriere/write_atomic write_atomic.c mktemp.c

write_atomic: Drop O_CLOFORK to fix older release builds
DeltaFile
+5-5src/libexec/poudriere/write_atomic/write_atomic.c
+1-1src/libexec/poudriere/write_atomic/mktemp.c
+6-62 files

FreeBSD/poudriere c0fc681. configure aclocal.m4

Run autogen
DeltaFile
+1,126-949configure
+2-2aclocal.m4
+1,128-9512 files

FreeBSD/poudriere 0324c53src/share/poudriere common.sh

pkg-2.7.0: Fix more -(null) compat.

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

FreeBSD/poudriere 115be0csrc/share/poudriere common.sh

Merge pull request #1327 from freebsd/fix-pkg-2.7

fix fallout from the name-(null) which is now name-
DeltaFile
+2-1src/share/poudriere/common.sh
+2-11 files

FreeBSD/poudriere f829fc4src/share/poudriere image.sh, test common.bulk.sh

pkg-2.7.0: Fix rquery -e condition.

Issue #1326

(cherry picked from commit 37c71f974380be1c7780487cfd5c2c2e826f4ec6)
DeltaFile
+1-1src/share/poudriere/image.sh
+1-1test/common.bulk.sh
+2-22 files

FreeBSD/poudriere 13e40d0src/share/poudriere common.sh

pkg-2.7.0: Fix rquery -e condition.

Issue #1326

(cherry picked from commit 6294d60b52c54cb1fd0035f9955495aaf237a78b)

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

FreeBSD/poudriere 37c71f9src/share/poudriere image.sh, test common.bulk.sh

pkg-2.7.0: Fix rquery -e condition.

Issue #1326
DeltaFile
+1-1src/share/poudriere/image.sh
+1-1test/common.bulk.sh
+2-22 files

FreeBSD/poudriere 6294d60src/share/poudriere common.sh

pkg-2.7.0: Fix rquery -e condition.

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

FreeBSD/poudriere c51fe16src/share/poudriere common.sh

fix fallout from the name-(null) which is now name-
DeltaFile
+2-1src/share/poudriere/common.sh
+2-11 files

FreeBSD/poudriere 717702dsrc/share/poudriere common.sh

rquery: fix usage to be compatible with all pkg versions

(cherry picked from commit a4691fe33959b31c64ad5a38c1c992050968ff5e)

Conflicts:
        src/share/poudriere/common.sh

Issue #1326
DeltaFile
+3-3src/share/poudriere/common.sh
+3-31 files

FreeBSD/poudriere 953f784src/share/poudriere common.sh

Merge pull request #1326 from freebsd/fix-pkg-2.7

rquery: fix usage to be compatible with all pkg versions
DeltaFile
+3-3src/share/poudriere/common.sh
+3-31 files

FreeBSD/poudriere a4691fesrc/share/poudriere common.sh

rquery: fix usage to be compatible with all pkg versions
DeltaFile
+3-3src/share/poudriere/common.sh
+3-31 files

FreeBSD/poudriere df5611dsrc/etc/poudriere.d/hooks pkgbuild.sh.sample

Merge pull request #1320 from dlangille/hook-examples

Remove example.org messages
DeltaFile
+2-2src/etc/poudriere.d/hooks/pkgbuild.sh.sample
+2-21 files

FreeBSD/poudriere b59a6c5src/etc/poudriere.d/hooks pkgbuild.sh.sample

Use default "root" for email to/fom.
DeltaFile
+2-2src/etc/poudriere.d/hooks/pkgbuild.sh.sample
+2-21 files

FreeBSD/poudriere a206d09src/etc/poudriere.d/hooks pkgbuild.sh.sample

Remove example.org messages

They do results in emails hitting the server
DeltaFile
+2-2src/etc/poudriere.d/hooks/pkgbuild.sh.sample
+2-21 files

FreeBSD/poudriere 9c7ee54. Makefile.in, src/poudriere-sh shm_hash.c builtins-poudriere.def

shm: add new SHASH_USE_SHM, do use a shm instead of files

For 65k ports basically we go from 2.5GB to 160B used saving ~95% of
memory
DeltaFile
+677-0src/poudriere-sh/shm_hash.c
+45-0src/share/poudriere/common.sh
+40-0src/share/poudriere/include/shared_hash.sh
+24-2Makefile.in
+6-6src/share/poudriere/include/pkg.sh
+5-0src/poudriere-sh/builtins-poudriere.def
+797-82 files not shown
+799-98 files

FreeBSD/poudriere 8373958src/share/poudriere jail.sh

jail.sh: Remove extraneous space

(cherry picked from commit 71ac75f61c21d036e24e9e066d89a0779551b075)

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

FreeBSD/poudriere 0068af8src/share/poudriere jail.sh

jail.sh: Re-create clean snapshot after upgrade

Create fresh clean snapshot after upgrading jail using pkgbase

(cherry picked from commit 540a45f765bab62a748f610db524d834ffe70ee7)

Issue #1317
DeltaFile
+1-0src/share/poudriere/jail.sh
+1-01 files

FreeBSD/poudriere dd78c6dsrc/share/poudriere jail.sh

pkgbase: Fix building packages

When updating a jail we first make buildworld/buildkernel and then
we make update-packages.
Since the src.conf/make.conf is now clean after building, if a user have
some custom option in them make update-packages will not know this and will
try to build packages with some non-existant files.

Fixes:  256f4f17a120 ("jail -cu: Don't include build-time make.conf files into jail's clean snapshot")
(cherry picked from commit 50f21876f11ef7703494d3083715653b7df90fbd)

Conflicts:
        src/share/poudriere/jail.sh

Issue #1317
DeltaFile
+9-1src/share/poudriere/jail.sh
+9-11 files

FreeBSD/poudriere 2f78c0bsrc/share/poudriere jail.sh

jail -cu: Don't include build-time make.conf files into jail's clean snapshot

(cherry picked from commit 256f4f17a12097b15cc2c493c15425b1a21131bb)

Conflicts:
        src/share/poudriere/jail.sh

Fixes #1317
DeltaFile
+22-2src/share/poudriere/jail.sh
+22-21 files

FreeBSD/poudriere 50c5397. configure configure.ac

Regenerate autoconf for 3.4.6
DeltaFile
+10-10configure
+1-1configure.ac
+11-112 files

FreeBSD/poudriere bf6230esrc/share/poudriere common.sh

fix: fs_violation with pkg 2.6.0

(cherry picked from commit a49ac64f7313cf4cc29b3f18a7e1558d9b1b1be2)
DeltaFile
+1-0src/share/poudriere/common.sh
+1-01 files

FreeBSD/poudriere 6eefb6c. Makefile.in, src/libexec/poudriere/write_atomic write_atomic.c mktemp.c

write_atomic: Add a C implementation.

This allows SH=/bin/sh to combine several fork+exec into 1, and cuts
down the test suite time to 1/3rd the time.

mktemp(3) implementation is copied from FreeBSD libc commit 9911028f5.
This is to allow a tempfile created respecting umask, without requiring
excess syscalls to fix the mode.

It replaces these exec patterns:
- mktemp
- chmod
- cmp
- ln or rename
- unlink

This utility is only meant for regular files. It does a rename(2) over
the destination file so special files don't make sense.
DeltaFile
+372-0src/libexec/poudriere/write_atomic/write_atomic.c
+198-0src/libexec/poudriere/write_atomic/mktemp.c
+120-5Makefile.in
+32-2test/write_atomic_cmp-piped.sh
+30-2test/write_atomic_cmp.sh
+23-1test/write_atomic.sh
+775-1010 files not shown
+812-1616 files

FreeBSD/poudriere 20dc590src/share/poudriere common.sh

bulk checksum: Don't retry fetch on failure if networking disabled.

Reported by:    nimaje on IRC
DeltaFile
+9-1src/share/poudriere/common.sh
+9-11 files

FreeBSD/poudriere a49ac64src/share/poudriere common.sh

fix: fs_violation with pkg 2.6.0
DeltaFile
+1-0src/share/poudriere/common.sh
+1-01 files

FreeBSD/poudriere 8126e16src/share/poudriere common.sh

bulk checksum: Don't retry fetch on failure if networking disabled.

Reported by:    nimaje on IRC

(cherry picked from master)
DeltaFile
+9-1src/share/poudriere/common.sh
+9-11 files

FreeBSD/poudriere 8c91181src/share/poudriere logclean.sh

Merge pull request #1313 from delphij/logclean-1157

logclean: Fix empty build log directory removal with multiple jails
DeltaFile
+1-1src/share/poudriere/logclean.sh
+1-11 files

FreeBSD/poudriere 21a440dsrc/share/poudriere logclean.sh

logclean: Fix empty build log directory removal with multiple jails

When multiple jails are configured, the "Removing empty build log
directories" step fails because the script incorrectly processes the
space-separated MASTERNAMES_LOCKED list.

The issue is that sed appends "/latest-per-pkg" to the end of the
entire space-separated string rather than to each jail name individually.
This results in a malformed path like:
  "neptune-amd64-default odin-amd64-default saturn-amd64-default/latest-per-pkg"

Fix by converting spaces to newlines before the sed operation, ensuring
each jail name gets the suffix appended correctly.

Fixes #1157
DeltaFile
+1-1src/share/poudriere/logclean.sh
+1-11 files

FreeBSD/poudriere f4a68d8src/share/poudriere common.sh

do_confirm_delete: document return statuses
DeltaFile
+4-0src/share/poudriere/common.sh
+4-01 files

FreeBSD/poudriere c9a6ca3src/share/poudriere jail.sh

jail -d: Make code clearer that 'cache_dir' expands.

This was a leftover from an old change that did not hardcode
the cache_dir.

No functional change.
DeltaFile
+4-4src/share/poudriere/jail.sh
+4-41 files