diff options
Diffstat (limited to 'roles/host/templates')
| -rw-r--r-- | roles/host/templates/poudriere_build_make.conf.j2 | 1 | ||||
| -rw-r--r-- | roles/host/templates/usr_local_bin_update_ports.sh.j2 | 7 | ||||
| -rw-r--r-- | roles/host/templates/usr_local_etc_poudriere_pkglist.j2 | 12 |
3 files changed, 8 insertions, 12 deletions
diff --git a/roles/host/templates/poudriere_build_make.conf.j2 b/roles/host/templates/poudriere_build_make.conf.j2 index 6bc860f..4205292 100644 --- a/roles/host/templates/poudriere_build_make.conf.j2 +++ b/roles/host/templates/poudriere_build_make.conf.j2 @@ -1,2 +1,3 @@ DEFAULT_VERSIONS+=python=3.12 python3=3.12 +DEFAULT_VERSIONS+=php=8.4 DISABLE_LICENSES=yes diff --git a/roles/host/templates/usr_local_bin_update_ports.sh.j2 b/roles/host/templates/usr_local_bin_update_ports.sh.j2 index ad4102d..7063652 100644 --- a/roles/host/templates/usr_local_bin_update_ports.sh.j2 +++ b/roles/host/templates/usr_local_bin_update_ports.sh.j2 @@ -53,6 +53,13 @@ custom) rm -rf "${BASEDIR}/custom" git clone "$REMOTE_CUSTOM" "${BASEDIR}/custom" fi + + # Regenerate poudriere pkglist from all ports in the overlay + echo "Regenerating poudriere pkglist..." + find "${BASEDIR}/custom" -name Makefile -mindepth 3 -maxdepth 3 | \ + sed "s|${BASEDIR}/custom/||; s|/Makefile||" | \ + sort > /usr/local/etc/poudriere-pkglist + echo "Pkglist updated: $(wc -l < /usr/local/etc/poudriere-pkglist) ports." echo "Done. Custom ports overlay updated." ;; *) diff --git a/roles/host/templates/usr_local_etc_poudriere_pkglist.j2 b/roles/host/templates/usr_local_etc_poudriere_pkglist.j2 deleted file mode 100644 index debb842..0000000 --- a/roles/host/templates/usr_local_etc_poudriere_pkglist.j2 +++ /dev/null @@ -1,12 +0,0 @@ -databases/py-tinydb -www/py-ua-parser -www/py-user-agents -sysutils/pylogsentinel -net-im/taulubot -net-im/hommabot -www/aggro -www/diddle -www/expense-tracker -www/gdrive-photo-gallery -www/pastebin -multimedia/plexmediaserver |
