FreeBSD packaging

Eygene Ryabinkin rea-fbsd at codelabs.ru
Mon Jan 21 05:12:25 PST 2008


Good day.

Mon, Jan 21, 2008 at 02:26:16PM +0530, navneet Upadhyay wrote:
> 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.

This perfectly fits to the FreeBSD ports philosophy.

>   Can somebody provide me some information on how to achieve it.
> 
> I am not looking at Ports.

Ports still will help you: 'make package' will produce the binary
package that can be installed via pkg_add.  Create the port and
try it.
-- 
Eygene


More information about the freebsd-hackers mailing list