From owner-freebsd-ports@FreeBSD.ORG Fri Aug 31 14:41:06 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40D7D1065676; Fri, 31 Aug 2012 14:41:06 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 97A818FC14; Fri, 31 Aug 2012 14:41:05 +0000 (UTC) Received: by bkcje9 with SMTP id je9so1611322bkc.13 for ; Fri, 31 Aug 2012 07:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=fQ55gu2yxThfcu62AOHM4F2JtpWW9759g9m6G+N9c2U=; b=xXV+Qe5fQAArIoqKsAJehGMAl0qPL8r/NKQb+iZENaz+HgCxKeWwsLr1BNSXICyiSs GwYdtXc/ywSQ2fe/cNLnwEUaTugXBaDh4abXZOMhLxiZmJeOYrzHEAVxuUiyuQ+IcYNl gNVfa7D6qh9+yt1RKkgNGjIAm0Y02nw/jsP+NJEfl65h+0dYy+eqEPqDtKLFnV5Wymf/ jAe9MWDLHbvOF8OpTsgxOU7SmvLTANX+ZWmuXBPT+d5ybRYRGOShh8SkaZPXGSeMrDkB FdmNqQcaWgNXO8/pHW3qF8Yk/Nrxn5DhQYCFlEDGxokJOqvN2+60sHIFLM17p0XyE6Yy ryjg== Received: by 10.204.8.84 with SMTP id g20mr4332945bkg.126.1346424064668; Fri, 31 Aug 2012 07:41:04 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.10.141 with HTTP; Fri, 31 Aug 2012 07:40:34 -0700 (PDT) In-Reply-To: <5040C98F.8030708@rsu.ru> References: <20120830141939.GJ64447@ithaqua.etoilebsd.net> <5040C98F.8030708@rsu.ru> From: Chris Rees Date: Fri, 31 Aug 2012 15:40:34 +0100 X-Google-Sender-Auth: -nU6ISHMI1tJd6Z7nnrpAspt2Nc Message-ID: To: Alexander Pyhalov Content-Type: text/plain; charset=KOI8-R Cc: ports@freebsd.org, Baptiste Daroussin Subject: Re: pkg (aka pkgng) 1.0 released X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2012 14:41:06 -0000 On 31 August 2012 15:26, Alexander Pyhalov 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