From owner-freebsd-questions@FreeBSD.ORG  Thu May 29 22:51:47 2008
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 242D3106566C
	for <freebsd-questions@freebsd.org>;
	Thu, 29 May 2008 22:51:47 +0000 (UTC)
	(envelope-from keramida@ceid.upatras.gr)
Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36])
	by mx1.freebsd.org (Postfix) with ESMTP id 7018B8FC13
	for <freebsd-questions@freebsd.org>;
	Thu, 29 May 2008 22:51:45 +0000 (UTC)
	(envelope-from keramida@ceid.upatras.gr)
Received: from kobe.laptop (adsl38-53.kln.forthnet.gr [77.49.165.53])
	(authenticated bits=128)
	by igloo.linux.gr (8.14.3/8.14.3/Debian-1) with ESMTP id m4TMjggD025221
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Fri, 30 May 2008 01:45:49 +0300
Received: from kobe.laptop (kobe.laptop [127.0.0.1])
	by kobe.laptop (8.14.2/8.14.2) with ESMTP id m4TMjfkN006936;
	Fri, 30 May 2008 01:45:41 +0300 (EEST)
	(envelope-from keramida@ceid.upatras.gr)
Received: (from keramida@localhost)
	by kobe.laptop (8.14.2/8.14.2/Submit) id m4TMjdaV006935;
	Fri, 30 May 2008 01:45:39 +0300 (EEST)
	(envelope-from keramida@ceid.upatras.gr)
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: Chris Whitehouse <cwhiteh@onetel.com>
References: <483F1ACE.50208@onetel.com>
Date: Fri, 30 May 2008 01:45:39 +0300
In-Reply-To: <483F1ACE.50208@onetel.com> (Chris Whitehouse's message of "Thu, 
	29 May 2008 22:06:22 +0100")
Message-ID: <87skw0wwz0.fsf@kobe.laptop>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-MailScanner-ID: m4TMjggD025221
X-Hellug-MailScanner: Found to be clean
X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
	score=-3.788, required 5, autolearn=not spam, ALL_TRUSTED -1.80,
	AWL 0.61, BAYES_00 -2.60)
X-Hellug-MailScanner-From: keramida@ceid.upatras.gr
X-Spam-Status: No
Cc: User Questions <freebsd-questions@freebsd.org>
Subject: Re: pkg_create v make package
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 29 May 2008 22:51:47 -0000

On Thu, 29 May 2008 22:06:22 +0100, Chris Whitehouse <cwhiteh@onetel.com> wrote:
> 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

Packages are just 'tarballs with extra stuff'.  You can extract the
two tarballs and use `diff -r' to see where they differ :)