Re: [through-able] poudriere: I don't want to rebuild rust with PORTREVISION bump of curl

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Wed, 27 Sep 2023 10:03:46 UTC
Hello, everyone who doesn't want to rebuild the rust in poudriere many times :)

Although poudriere-devel exists the feature to download officially created packages...
There is also a way to mix packages made elsewhere :)

# First, bring the package from somewhere else.
# package name should be estimated with the right command :) -> make -C /usr/ports/lang/rust -V PKGNAME -V PKGFILE
fetch https: //pkg.freebsd.org /FreeBSD:12:amd64/latest/All/ rust-1.72.0.pkg

# Move package to package directory of poudriere.
# chmod, chown properly as well.
mv rust-1.72.0.pkg /usr/local/poudriere/data/packages/jailname-default/All/

# Recreate pkg repository.
# by striking out rebuilding of pkg, which is always present :)
poudriere bulk -j jailname -p default ports-mgmt/pkg

# Check to see if the package has been successfully inserted.
poudriere bulk -j jailname -p default -n lang/rust

# If there is a reason why it was targeted for deletion, resolve the reason.
# e.g. Deleting rust-1.72.0.pkg: missing dependency: curl-8..
poudriere bulk -j jailname -p default ftp/curl

As I recall, I was once able to successfully fake such a procedure :)

Regards.