From owner-freebsd-pkg@FreeBSD.ORG Wed Mar 12 07:27:43 2014 Return-Path: Delivered-To: freebsd-pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B0D4233 for ; Wed, 12 Mar 2014 07:27:43 +0000 (UTC) Received: from mail.ru.ac.za (mail.ru.ac.za [IPv6:2001:4200:1010:0:250:56ff:fe8d:5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D97481C6 for ; Wed, 12 Mar 2014 07:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ru.ac.za; s=ru-msa; h=X-Authenticated-User:Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=EHgXUX9u/Sxye5QL/mzPNyrKQQEWNs/GBG7hs4ArlQE=; b=N4eWCdXe97WQSKdZ1dt0IbyForkzpo6INS0oVxTIdyO0TYkKUfT0U0crbC14iyy50kwy3zk8B3X4X0VVD/HKKc6MqLV3jG649rrv8TE+Mpregt8NpxqicgT+/RQk8hc9; Received: from walrus.ru.ac.za ([146.231.89.2]:40935 helo=ru.ac.za) by mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1WNdZg-000Prh-6s for freebsd-pkg@FreeBSD.org; Wed, 12 Mar 2014 09:27:36 +0200 Date: Wed, 12 Mar 2014 09:27:35 +0200 From: Guy Antony Halse To: freebsd-pkg@FreeBSD.org Subject: patch to add portshaker support to poudriere ports Message-ID: <20140312072735.GA11823@ru.ac.za> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: mail.ru.ac.za (146.231.128.20) X-Authenticated-User: mapu026 from walrus.ru.ac.za (146.231.89.2) using auth_plaintext Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2014 07:27:43 -0000 Hi We use poudriere to maintain a local package repository, and use portshaker to merge some local ports into the standard portsnap ports tree. At the moment, using poudriere ports -u produces an error, and we have to remember to use portshaker first. The attached patch to ports.sh introduces a "portshaker" method, and calls portshaker to update poudriere's ports tree(s) when relevant. When a user tries to create the tree, it produces a message reminding them to configure portshaker(8) as well. Unless there's a good reason not to, please consider including this in the default distribution of poudriere. Thanks, - Guy -- Manager: Systems, IT Division, Rhodes University, Grahamstown, South Africa Email: G.Halse@ru.ac.za Web: http://mombe.org/ IRC: rm-rf@irc.atrum.org *** ANSI Standard Disclaimer *** J.A.P.H