Date: Mon, 21 Jan 2008 14:06:39 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: FreeBSD packaging Message-ID: <fn25d0$sd8$1@ger.gmane.org> In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> References: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5EFCD6AB515CDCFA0092DFF9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable navneet Upadhyay wrote: > Hi, >=20 > We have our product on RHEL(almost all versions), we are planning to su= pport > 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 : >=20 > 1. I have around 8 executables which should go to various directories a= s > part of installation , and around 15 config file which go to config > directory as part of installation. >=20 > 2. I have around 4 script files which should be executed as part of > installation after the files are transferred to the respective folders.= Have you read the man page for pkg_create? You can read it here: http://www.freebsd.org/cgi/man.cgi?query=3Dpkg_create. If you read it, ca= n you narrow down your questions to be more specific (e.g. why don't the -f and -I arguments to pkg_create meet your requirements)? I'd recommend you create a simple ports directory with the Makefile, distinfo, pkg-descr files, etc. and do a "make package" from there. It's easier than specifying the many command line arguments to pkg_create and it helps portability. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.h= tml for instructions. --------------enig5EFCD6AB515CDCFA0092DFF9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHlJjfldnAQVacBcgRAkdXAJ9kdnK8VFYKaX1rIRtd5lpncBN3vgCg9B1b /ZmX2LvpFAvAlFHOklwSKq8= =ZBvw -----END PGP SIGNATURE----- --------------enig5EFCD6AB515CDCFA0092DFF9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fn25d0$sd8$1>