From owner-freebsd-ports@freebsd.org Sat Dec 19 13:51:07 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3946FA4C09F for ; Sat, 19 Dec 2015 13:51:07 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DEEC114E7 for ; Sat, 19 Dec 2015 13:51:05 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id tBJDkApl088155; Sat, 19 Dec 2015 05:46:10 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id tBJDkApG088154; Sat, 19 Dec 2015 05:46:10 -0800 (PST) (envelope-from david) Date: Sat, 19 Dec 2015 05:46:10 -0800 From: David Wolfskill 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> Reply-To: freebsd-ports@freebsd.org References: <56755B17.3080904@quip.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yLCsp91D2sDKcV7m" Content-Disposition: inline In-Reply-To: <56755B17.3080904@quip.cz> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2015 13:51:07 -0000 --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--