Using an external ports repo in poudriere
C. L. Martinez
carlopmart at gmail.com
Thu May 5 13:08:07 UTC 2016
On Thu 5.May'16 at 12:29:28 +0100, Matthew Seaman wrote:
> On 05/05/16 12:04, C. L. Martinez wrote:
>
> > How can I configure poudriere to use an external ports repo instead of FreeBSD's official repo?
>
> Create a 'repo.conf' file in /usr/local/etc/pkg/repos/ The file name can
> be anything ending in .conf -- all such are used, which makes it handy
> if you want to have multiple repos. See the REPOSITORY CONFIGURATION
> section in pkg.conf(5) for details.
>
> To turn off all use of the official FreeBSD repos, add a file
> /usr/local/etc/pkg/repos/FreeBSD.conf with this contents:
>
> FreeBSD: { enabled: no }
>
> Use 'pkg -vv' to see what the resulting repository config comes out as.
>
> Cheers,
>
> Matthew
>
>
Thanks Matthew, but I think I haven't explained very well. I am referring to use a different ports repo when I need to build several packages with poudriere, not when I want to install them using pkg.
To be more clear: when I launch the command "poudriere ports -c", is it possible to specify what, or more concise, from where ports will be downloaded??
Thanks.
--
Greetings,
C. L. Martinez
More information about the freebsd-questions
mailing list