Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2023 19:03:46 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
Subject:   Re: [through-able] poudriere: I don't want to rebuild rust with PORTREVISION bump of curl
Message-ID:  <SI2PR01MB50363A3A316C3C5883DE31BAFAC2A@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
In-Reply-To: <TYZPR03MB56486D5352CC66A06EBCAAF5FAC59@TYZPR03MB5648.apcprd03.prod.outlook.com>
References:  <TYZPR03MB56486D5352CC66A06EBCAAF5FAC59@TYZPR03MB5648.apcprd03.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR01MB50363A3A316C3C5883DE31BAFAC2A>