diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-10-03 22:38:06 -0400 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-10-03 22:38:06 -0400 |
commit | a1bddcb1de1053994fb445267ca5d1ffaecb0fb5 (patch) | |
tree | ba2f614ac93dabc6b148037fc604966c7907b384 /files/usr/local/libexec/poudriere-cron.pkg_repository | |
parent | 47f90d0916ac34ef132e3bb6da92a4a67dffbba8 (diff) | |
download | infrastructure-a1bddcb1de1053994fb445267ca5d1ffaecb0fb5.tar.gz |
more postfix/rspamd stuff
Diffstat (limited to 'files/usr/local/libexec/poudriere-cron.pkg_repository')
-rw-r--r-- | files/usr/local/libexec/poudriere-cron.pkg_repository | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/files/usr/local/libexec/poudriere-cron.pkg_repository b/files/usr/local/libexec/poudriere-cron.pkg_repository index 0d713a9..b79535b 100644 --- a/files/usr/local/libexec/poudriere-cron.pkg_repository +++ b/files/usr/local/libexec/poudriere-cron.pkg_repository @@ -5,8 +5,15 @@ set -eu -o pipefail ports_tree=latest # update ports tree +git -C /usr/local/poudriere/ports/latest restore :/ +git -C /usr/local/poudriere/ports/latest clean -f poudriere ports -u -p "$ports_tree" > /dev/null +for patch in /usr/local/etc/poudriere.d/patches/*.patch; do + [ -f "$patch" ] || continue + patch -s -d /usr/local/poudriere/ports/latest -u < "$patch" +done + for jail in "$@"; do poudriere jail -u -j "$jail" > /dev/null poudriere bulk -j "$jail" -f /usr/local/etc/poudriere.d/pkglist-idm -p "$ports_tree" -z idm > /dev/null |