Skip to content

Commit

Permalink
Downgrade FreeBSD p5-IO-Tty 1.18->1.17.
Browse files Browse the repository at this point in the history
  • Loading branch information
macdice committed Jan 13, 2024
1 parent 90cb5d1 commit 49d6b26
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packer/freebsd.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ build {
openldap25-client \
openldap25-server
# === begin temporary workaround for broken p5-IO-Tty 1.18 ===
# https://github.com/cpan-authors/IO-Tty/issues/38
# https://www.postgresql.org/message-id/flat/757523.1705091568%40sss.pgh.pa.us
if pkg info p5-IO-Tty | grep -E '^Version *: *1.18$' ; then
GOOD_PKG="p5-IO-Tty-1.17.pkg"
pkg remove -y p5-IO-Tty
curl -O "https://pkg.freebsd.org/freebsd:13:x86:64/release_2/All/$GOOD_PKG"
pkg install -y $GOOD_PKG
rm $GOOD_PKG
pkg install -y p5-IPC-Run
fi
# === end temporary workaround for broken p5-IO-Tty ===
# remove temporary files
pkg clean -ay
rm -fr /usr/ports /usr/src /usr/tests /usr/lib/debug
Expand Down

0 comments on commit 49d6b26

Please sign in to comment.