From owner-freebsd-questions@FreeBSD.ORG Thu Nov 4 15:16:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C89116A4CE for ; Thu, 4 Nov 2004 15:16:55 +0000 (GMT) Received: from smtp809.mail.sc5.yahoo.com (smtp809.mail.sc5.yahoo.com [66.163.168.188]) by mx1.FreeBSD.org (Postfix) with SMTP id 01B0943D54 for ; Thu, 4 Nov 2004 15:16:54 +0000 (GMT) (envelope-from donaldj1066@fastmail.fm) Received: from unknown (HELO pres7000.mylan.net) (donaldj@ameritech.net@68.248.197.65 with plain) by smtp809.mail.sc5.yahoo.com with SMTP; 4 Nov 2004 15:16:53 -0000 From: "Donald J. O'Neill" To: freebsd-questions@freebsd.org Date: Thu, 4 Nov 2004 09:16:53 -0600 User-Agent: KMail/1.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411040916.53878.donaldj1066@fastmail.fm> Subject: Re: pkg_create X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 15:16:55 -0000 On Thursday 04 November 2004 07:17 am, Gert Cuykens wrote: > When you do make install in a ports application /usr/ports/... > Does it create a pkg in /var/db/pkg/... ? > > And do you use pkg_create like this pkg_create pkgname > /var/db/pkg/... or like this pkg_create pkgname /usr/ports/... > > Whats the difference between /var/db/pkg/... and > /usr/ports/pakages/... ? > _______________________________________________ Gert, Are you trying to create a package you can reinstall or move to another system? If this is the case, there are several ways it can be done. Two that I use are: make package or make make install make package or make install make package or make && make install && make package It can also be done from portupgrade. If you want to make a package while upgradeing a port: portupgrade -p "portname" I would also like to add, some ports are marked as not building a package, for licensing reasons and other reasons. If you have /usr/ports/packages, packages will be put there, otherwise they'll get put in the port. Don -- Donald J. O'Neill donaldj1066@fastmail.fm