Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Dec 2017 19:30:34 +0000
From:      Ben Woods <woodsb02@gmail.com>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        Carmel NY <carmel_ny@outlook.com>,  "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Create list of ports to update
Message-ID:  <CAOc73CDnLGZ903=9j-0ZnMb8OXy%2Bni670ZdZzpZjwz=Pcp2evw@mail.gmail.com>
In-Reply-To: <20171203180354.t5i7m4bo5h7fry7m@ozzmosis.com>
References:  <BN6PR2001MB17305559DF55EB2CF39C2959803F0@BN6PR2001MB1730.namprd20.prod.outlook.com> <8d5d17b8-a206-810a-b92e-a29d053dd8e3@hayers.org> <BN6PR2001MB17308EADD4DFC564D402D994803F0@BN6PR2001MB1730.namprd20.prod.outlook.com> <584c71d9-c97c-eb4b-66a2-b89e5cbc4daf@hayers.org> <BN6PR2001MB17304C6203D3B8DBF227E476803F0@BN6PR2001MB1730.namprd20.prod.outlook.com> <20171203180354.t5i7m4bo5h7fry7m@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Dec 2017 at 7:04 am, andrew clarke <mail@ozzmosis.com> wrote:

> On Sun 2017-12-03 17:35:15 UTC+0000, Carmel NY (carmel_ny@outlook.com)
> wrote:
>
> > It would seem to me that poudriere would provide some native method of
> > resolving that question. Other port management utilities like synth do
> it.
>
> The philosophy behind Poudriere is that it sandboxes everything within
> jails
> and so is not at all interested in what's installed on the jail host, so =
I
> can understand why that feature isn't built in.


This is exactly on point.

Poudriere is a package building system, and the packages may be used on
this host, or as a repository for other hosts... so what is installed on
the current host is irrelevant.

That said, if you are only using one host, then the following will work
great.
pkg query %o > /usr/local/etc/poudriere-list
poudriere -v bulk -j 11amd64 -f /usr/local/etc/poudriere-list

Note that I don=E2=80=99t store it in /tmp/ as you will want to keep the fi=
le
around for next build. Each time you want a new package, add it to the file
first, and rebuild.

Note the first time poudriere will build all packages, regardless of
whether they are up to date on the host already. In poudriere=E2=80=99s pac=
kage
repo, they don=E2=80=99t exist yet. The second time and after, poudriere wi=
ll only
build the ports which are out-dated or who=E2=80=99s dependencies were upda=
ted.

Regards,
Ben

--=20

--
From: Benjamin Woods
woodsb02@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CDnLGZ903=9j-0ZnMb8OXy%2Bni670ZdZzpZjwz=Pcp2evw>