Date: Fri, 31 Aug 2012 15:40:34 +0100 From: Chris Rees <crees@FreeBSD.org> To: Alexander Pyhalov <alp@rsu.ru> Cc: ports@freebsd.org, Baptiste Daroussin <bapt@freebsd.org> Subject: Re: pkg (aka pkgng) 1.0 released Message-ID: <CADLo83_6bk76v%2BB-iAY-iWH7cr3vRVvqFMPFQ51R7LvP2Th9ig@mail.gmail.com> In-Reply-To: <5040C98F.8030708@rsu.ru> References: <20120830141939.GJ64447@ithaqua.etoilebsd.net> <5040C98F.8030708@rsu.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 31 August 2012 15:26, Alexander Pyhalov <alp@rsu.ru> wrote: > Hello. > Could I ask one stupid question? > So, I've installed pkg from ports. Added WITH_PKGNG=yes to make.conf. > Built some packages with "make package-recursive" to use as common > repository for several systems. > > Now if I wish to update pkg, what should I do? > So, for example, I'll make portsnap fetch && portsnap update... > But could I "make install" pkg port after deinstalling it? > As I remember, portmaster do it in the same way: backup && deinstall && > install... Yes, have a look at ports-mgmt/pkg; .if !exists(${LOCALBASE}/sbin/pkg) PKG_BIN= ${WRKSRC}/pkg-static/pkg-static .endif pkgng uses the pkg-static binary that is built to do the installation etc. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_6bk76v%2BB-iAY-iWH7cr3vRVvqFMPFQ51R7LvP2Th9ig>