Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade FreeBSD p5-IO-Tty 1.18->1.17. #92

Merged
merged 1 commit into from
Jan 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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