Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2015 05:46:10 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Using pkg updating without /usr/ports
Message-ID:  <20151219134610.GO1173@albert.catwhisker.org>
In-Reply-To: <56755B17.3080904@quip.cz>
References:  <56755B17.3080904@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

--yLCsp91D2sDKcV7m
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 19, 2015 at 02:26:47PM +0100, Miroslav Lachman wrote:
> Hi,
> I am using own poudriere repo to build needed packages for our server. I=
=20
> was used to `pkg_updating` or `pkg updating` in the past (when I was=20
> compiling ports on each server).
> I don't have /usr/ports on server anymore. So the `pkg updating` command=
=20
> doesn't work. (There is no /usr/ports/UPDATING file)
> Is there any standard way to use it without ports tree, just with my own=
=20
> poudriere repo?
> ....

I find that "pkg upgrade" works well for that purpose in my case.

Note that this implies that /usr/local/etc/pkg/repos/custom.conf
has a pointer to my package repository, and that
/usr/local/etc/pkg/repos/FreeBSD.conf indicates that use of the
FreeBSD.org repository has been disabled -- e.g.:

bats(10.2-S)[4] cat /usr/local/etc/pkg/repos/custom.conf=20
custom: {
        # url: file:///net/freebeast/local/amd64/local/poudriere/data/packa=
ges/10amd64-ports-home
        url: file:///mnt
        enabled: yes,
}
bats(10.2-S)[5] cat /usr/local/etc/pkg/repos/FreeBSD.conf=20
FreeBSD: {
        enabled: no
}
bats(10.2-S)[6]=20

("bats" being a machine that does not have a /usr/ports, and
"freebeast" being my build machine.  The comment for custom.conf
is intended to document that I need to explicitly mount the pkg
repo before accessing it, as bats does not run an automounter (while
another machine that is treated otherwise similarly does run an
automounter, and thus does not need the explicit mount first).)

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous coward=
s.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--yLCsp91D2sDKcV7m
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJWdV+iXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XRKkIALjSvXt/m9wN/DU91L9qLM+A
vp5TAGV7rBQ+7J9ti8YRD4301Skb6io+wH254MfPm23CBL8jGcsHZborxwXY4gvU
dL8lH1YqNb7Wlij2tmkqckm7JT7xdUrz8A/+wqbMwyMcs9wAkceMqjIhfy8T50c7
01rlfOfKe7R/Gvg53NppS8Lbk5QdR9FsMgWhf/0JLsjwaWMfXZduTdJaQlZTWATL
zY9WV3pCwQLk0qSnsqAjywr7/K0qLJPt1A7/TYFBBqRbfvpFXm5ZE4mqdOKdz/2W
3R+cSVoUcSBRpTTXvVQKHWZpLeW7ZlL19z1kVJCoJJ9JXzhynwrxYX/w/75gv6I=
=zu5z
-----END PGP SIGNATURE-----

--yLCsp91D2sDKcV7m--



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