From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 13:06:49 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFB3416A41B for ; Mon, 21 Jan 2008 13:06:49 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4BEF113C45B for ; Mon, 21 Jan 2008 13:06:49 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JGwMQ-0003cP-Dv for freebsd-hackers@freebsd.org; Mon, 21 Jan 2008 13:06:46 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jan 2008 13:06:46 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jan 2008 13:06:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Mon, 21 Jan 2008 14:06:39 +0100 Lines: 57 Message-ID: References: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5EFCD6AB515CDCFA0092DFF9" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.9 (X11/20070801) In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> X-Enigmail-Version: 0.95.5 Sender: news Subject: Re: FreeBSD packaging X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 13:06:49 -0000 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--