From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 00:32:48 2003 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 1B5D116A4B3 for ; Thu, 2 Oct 2003 00:32:48 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA4EA43FBF for ; Thu, 2 Oct 2003 00:32:45 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h927WaBB011088 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2003 08:32:39 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h927WZR7011087; Thu, 2 Oct 2003 08:32:35 +0100 (BST) (envelope-from matthew) Date: Thu, 2 Oct 2003 08:32:35 +0100 From: Matthew Seaman To: "akanwar@digitarchy.com" Message-ID: <20031002073235.GA10711@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "akanwar@digitarchy.com" , freebsd-questions@freebsd.org References: <29950-220031031211153866@M2W045.mail2web.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: <29950-220031031211153866@M2W045.mail2web.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00, TO_ADDRESS_EQ_REAL autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: creating a package 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, 02 Oct 2003 07:32:48 -0000 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 01, 2003 at 05:11:53PM -0400, akanwar@digitarchy.com wrote: > I want to distribute my software as a FreeBSD package. I have been throu= gh > the porters handbook, but it soes not give comprehensive info about how to > build packages.=20 Create a port for your package, as described in the porter's handbook. You can keep the port directory anywhere in your filesystem -- doesn't have to be in with all of the other ports. One of the standard targets provided by the ports system is 'make package' which does exactly what you want. Even better, if you're prepared to release source code for your software, submit the port to the FreeBSD project and have it included in the standard collection. =20 > Is there a good doc on how to do that. Also what is the difference between > .tbz and .tgz packages. Are they compatible ?=20 The only difference is the compression algorithm used. 'tbz' is the latest thing, and uses the more effective bzip2 compression. pkg_add(1) on older 4.x where x < 7 (I think) won't be able to understand .tbz packages. It's pretty trivial to decompress and recompress with an alternate compression though: # bzcat pkgname.tbz | gzip -c > pkgname.tgz Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/e9STdtESqEQa7a0RAvYDAJ9+F8hlO9aCDVOzTuKXDecJiriNWgCfYQGl TN5ciOLL6r/N7ngSXX0xgHU= =pTTb -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb--