From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 11 19:38:52 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5A8CDDAF for ; Mon, 11 Feb 2013 19:38:52 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 12F1B9A4 for ; Mon, 11 Feb 2013 19:38:51 +0000 (UTC) Received: from [89.204.154.216] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1U4zDA-0005at-QL; Mon, 11 Feb 2013 20:38:45 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r1BJcgP2002181; Mon, 11 Feb 2013 20:38:42 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r1BJcfOu002180; Mon, 11 Feb 2013 20:38:41 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 11 Feb 2013 20:38:41 +0100 From: Matthias Apitz To: Kurt Lidl Subject: Re: building select ports for packaging on install media Message-ID: <20130211193840.GA1577@tiny.Sisis.de> References: <20130211192432.GA54378@pix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130211192432.GA54378@pix.net> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.154.216 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 19:38:52 -0000 El día Monday, February 11, 2013 a las 02:24:32PM -0500, Kurt Lidl escribió: > What I'd like to do is augement that CD-ROM image with several > binary packages, so I can just install them via 'sysinstall', > rather than having to maintain a /usr/ports tree on every host > and compile the same software again and again... > > I've found: > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/article.html > and > http://www.freebsd.org/doc/en/articles/portbuild/article.html > > But those seem to revolve around building *all* the ports. > I just want to do a couple of dozen of them, but I'd like to > end up with something that will generate binary packages that > 'pkg install' can deal with. Just compile and install the required ports from /usr/ports on your main host and create binary packages of them in some central directory with: for i in /var/db/pkg/*; do pkg=`basename $i` pkg_create -Rnb $pkg done Move the result to the CD/DVD and that's it matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | - No proprietary attachments phone: +49-170-4527211 | - Respect for open standards