Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2008 13:23:20 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        navneet Upadhyay <navneet.upadhyay@gmail.com>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: FreeBSD packaging
Message-ID:  <47949CC8.2080900@infracaninophile.co.uk>
In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com>
References:  <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

navneet Upadhyay 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 suggest you reconsider use of the ports system, as that is the canonical
way to create installer packages on FreeBSD.  You can create a port privately 
- -- it doesn't have to be submitted to the FreeBSD ports system.  Just follow
the instructions in the Porter's Handbook for creating the port -- so long
as it has it's own little sub directory to contain the Makefile, pkg-descr 
and so forth, it can be kept virtually anywhere in your filesystem.  It will
pick up dependencies from the standard ports tree quite happily.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHlJzI3jDkPpsZ+VYRA+0FAJ40221UPMFZ6CWJtt7HPCHngMJP9ACaA6jK
fzih9Rif+A6z+3ZRr8KXms4=
=pD1C
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47949CC8.2080900>