FreeBSD packaging

Zane C.B. v.velox at vvelox.net
Mon Jan 21 09:04:10 PST 2008


On Mon, 21 Jan 2008 14:26:16 +0530
"navneet Upadhyay" <navneet.upadhyay at gmail.com> wrote:

> Hi,
> 
> We have our product on RHEL(almost all versions), we are planning
> to support it on *FreeBSD*.
> We were successfull in building the binaries. Now we have to make a
> setup(RPM sort of thing).
> By visiting sites i cam to know that pkg_create will do it for me.
> But i am unable to create a package as per my needs. I have gone
> through many documents on freeBSD.org, my needs are :
> 
> 1. I have around 8 executables which should go to various
> directories as part of installation , and around 15 config file
> which go to config directory as part of installation.
> 
> 2. I have around 4 script files which should be executed as part of
> installation after the files are transferred to the respective
> folders.
> 
> 
>   Can somebody provide me some information on how to achieve it.
> 
> I am not looking at Ports.

I would suggest looking at using the ports tree. Just because you not
interested in contributing it to the ports tree does not mean you
can't leverage it to your advantage. To do this, please a dir where
ever you please in the ports dir, set it all up, type `make package`
and then publish the resulting package.


More information about the freebsd-hackers mailing list