From owner-freebsd-questions@FreeBSD.ORG Thu May 29 21:06:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE26210656AA for ; Thu, 29 May 2008 21:06:28 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from raq5.nitrex.net (raq5.nitrex.net [213.165.227.5]) by mx1.freebsd.org (Postfix) with ESMTP id 425B98FC18 for ; Thu, 29 May 2008 21:06:27 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.10.141] (gate.zenatode.org.uk [213.165.225.167]) by raq5.nitrex.net (8.13.1/8.13.1) with ESMTP id m4TL6MIG019084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 29 May 2008 22:06:26 +0100 Message-ID: <483F1ACE.50208@onetel.com> Date: Thu, 29 May 2008 22:06:22 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.14 (X11/20080528) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: pkg_create v make package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 21:06:28 -0000 Hi What's the difference between packages made by these two methods? Eg I have youtube_dl installed. From within the youtube_dl port directory # make package-recursive resulted in -rw-r--r-- 1 root wheel 8389 29 May 21:14 /usr/ports/packages/All/youtube_dl-2008.04.20.tbz whereas from within my home directory % pkg_create -Rb youtube_dl-2008.04.20 resulted in -rw-r--r-- 1 chrisw chrisw 8281 29 May 21:22 youtube_dl-2008.04.20.tbz similarly there is a size difference for the one or two dependency packages I checked that were created at the same time. make package in the ports directory insists on compiling and installing the port and seems to do a lot of other things like registering dependencies and creating symlinks in /usr/ports/packages/ whereas pkg_create just creates the package tarball (and dependencies). I would prefer to use pkg_create to avoid recompiling everything but I would like to know that installing a pkg_create package with pkg_add will properly install all the dependencies as well. Thanks Chris