From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 09:31:18 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 730131065673 for ; Mon, 10 Nov 2008 09:31:18 +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 DDC448FC27 for ; Mon, 10 Nov 2008 09:31:17 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl202-73.kln.forthnet.gr [79.103.15.73]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mAA9V9Mp005305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Nov 2008 11:31:15 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mAA9V9GF002806; Mon, 10 Nov 2008 11:31:09 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mAA9V8K9002805; Mon, 10 Nov 2008 11:31:08 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: w_anup References: <20416687.post@talk.nabble.com> Date: Mon, 10 Nov 2008 11:31:08 +0200 In-Reply-To: <20416687.post@talk.nabble.com> (w. anup's message of "Mon, 10 Nov 2008 01:19:32 -0800 (PST)") Message-ID: <874p2gapwj.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: mAA9V9Mp005305 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.951, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.45, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: how to create tbz package in freebsd 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: Mon, 10 Nov 2008 09:31:18 -0000 On Mon, 10 Nov 2008 01:19:32 -0800 (PST), w_anup wrote: > hello All, > > i am newbie to freebsd , i want to create customize tbz package for > free bsd , can anybody provide the procedure to create packages in > free bsd, or any tutor will be helpful. The ``FreeBSD Ports'' framework provides a lot of helpful parts that you can re-use to build custom packages. There is a lot of useful material in the ``FreeBSD Porter's Handbook''. You can read its latest version online at http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ Parts of the Porter's Handbook explain how you can create a new port of your own. After you have the new port and its dependencies integrated into the Ports system, you can create standard ``.tbz'' packages with a single command from the port's base directory: % cd /usr/ports/local/yourport % make package That's all. If all the parts for fetching the sources, configuring them, and building them are already there, the Ports will do the rest. HTH, Giorgos