From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 06:37:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EFF6F307 for ; Thu, 2 Oct 2014 06:37:46 +0000 (UTC) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA532CE3 for ; Thu, 2 Oct 2014 06:37:46 +0000 (UTC) Received: by mail-oi0-f49.google.com with SMTP id e131so1421037oig.36 for ; Wed, 01 Oct 2014 23:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Z1iUt+YnTKOGG1Ne/DthzKREvTmJr1IMZbF1s+ZJNaw=; b=xD5l5iYellNFcRV2biWTSx9DnrpHuL8cNZOxu6QVk6enzJPVKGMmySh79DtH3brqNC JfGvdXaljiGt2ZZMdtJhs/B0v+6YBlPMmjx2gu+OQeyHFCH56wLT9pbSnIi7lmSII+6q kPS31LZOONkkGbfQJYVJKw8q/cjt4Hx79/nWQyhUdT9OnIdCDRtYk9YZDRyNfeh5G8Kq hQUG+jUDgVVXj+YGUO1tkbgnnyW0hNvNexhxvZ1M1e8VLeyKpfiY3ShbPH4ON1DCBxOw l20ozE55FUoMmkLz1t3B6+IROqGHzh/DvgmCWTWQRYu3aPnDR3vUk4bswhU3BYFEVXOf S2uA== X-Received: by 10.60.145.143 with SMTP id su15mr62620004oeb.58.1412231866071; Wed, 01 Oct 2014 23:37:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.178.39 with HTTP; Wed, 1 Oct 2014 23:37:26 -0700 (PDT) In-Reply-To: <542CF0D2.9090209@infracaninophile.co.uk> References: <542CF0D2.9090209@infracaninophile.co.uk> From: Amitabh Kant Date: Thu, 2 Oct 2014 12:07:26 +0530 Message-ID: Subject: Re: make package-recursive not installing port To: Matthew Seaman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2014 06:37:47 -0000 Thanks Mathew for clearing that up. The last time I created package was still under the pkg_* tools mode, so was carrying old baggages. On a related note, if I use "pkg repo" command, I should be able to create a complete repo for local use right? (I know I have poudriere, but I am just clearing up the basics here) . Amitabh On Thu, Oct 2, 2014 at 11:59 AM, Matthew Seaman < m.seaman@infracaninophile.co.uk> wrote: > On 02/10/2014 07:16, Amitabh Kant wrote: > > But postgresql92-server has not been installed on the system > > root@test_pkg:/usr/ports/databases/postgresql92-server # pkg info > > dialog4ports-0.1.5_2 Console Interface to configure ports > > gettext-0.18.3.1_1 GNU gettext package > > gmake-3.82_2 GNU version of 'make' utility > > indexinfo-0.2 Utility to regenerate the GNU info page > index > > libiconv-1.14_4 Character set conversion library > > libxml2-2.9.1_1 XML parser library for GNOME > > pkg-1.3.8_2 Package manager > > pkgconf-0.9.7 Utility to help to configure compiler and > > linker flags > > postgresql92-client-9.2.9 PostgreSQL database (client) > > > > > > I have now tested this with multiple ports (postgresql server, pgbouncer, > > nginx) with the same results. It seems even 10-RELEASE has the same > > behaviour. Is this how it is meant to behave, because earlier creating > > packages from ports used to install all the ports? > > It's expected that postgresql92-server will not be installed as a > dependency of anything using postgresql92-client -- after all, the > postgresql database instance you're using could easily be situated on a > completely different machine. > > It's also the case that 'make package' nowadays does not install the > package being built. This is a result of the switch to staging and is > generally a very good thing. Basically, if you want to use that > package, then explicitly install it rather than relying on side-effects > of the now outmoded and distinctly sub-optimal behaviour the ports used > to have. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. > > PGP: http://www.infracaninophile.co.uk/pgpkey > JID: matthew@infracaninophile.co.uk > >