how to create tbz package in freebsd

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Nov 10 01:31:18 PST 2008


On Mon, 10 Nov 2008 01:19:32 -0800 (PST), w_anup <anupwattamwar at gmail.com> 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



More information about the freebsd-questions mailing list