From owner-freebsd-ports@FreeBSD.ORG Mon Mar 9 10:08:04 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5AA6CD4 for ; Mon, 9 Mar 2015 10:08:04 +0000 (UTC) Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by mx1.freebsd.org (Postfix) with ESMTP id 9D97CF1C for ; Mon, 9 Mar 2015 10:08:04 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 28C6E57C38; Mon, 9 Mar 2015 09:43:24 +0000 (UTC) Date: Mon, 9 Mar 2015 09:43:24 +0000 From: heasley To: freebsd-ports@freebsd.org Subject: Overriding binary package with local build Message-ID: <20150309094324.GA23245@shrubbery.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. X-Claimation: an engineer needs a manager like a fish needs a bicycle X-reality: only YOU can put an end to the embarrassment that is Tom Cruise User-Agent: Mutt/1.5.23 (2014-03-12) Cc: heasley X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2015 10:08:04 -0000 If one builds a package from ports in order to use different options, for example building with postgres support instead of mysql, or builds a specific version, but otherwise utilizes binary packages, how is this indicated to 'pkg upgrade'? For example. On this system I've built gld with postgres instead of mysql and postfix with another option. The mysql dependency is coming from the binary gld with the default options. And, in theory postfix has different options, but also needs an update. So, is it possible to tell pkg(8) about the different options/local built, but still complain when a version update is necessary? # pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. ... New packages to be INSTALLED: mysql56-client: 5.6.23 Installed packages to be UPGRADED: postgresql94-server: 9.4.0 -> 9.4.1 postgresql94-client: 9.4.0 -> 9.4.1_1 postfix: 2.11.3_4,1 -> 2.11.4,1 Installed packages to be REINSTALLED: gld-1.8_2 (options changed) ...