From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 17:04:10 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 460BA16A421 for ; Mon, 21 Jan 2008 17:04:10 +0000 (UTC) (envelope-from SRS0=yOe3NK=SL=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout11.yourhostingaccount.com (mailout11.yourhostingaccount.com [65.254.253.90]) by mx1.freebsd.org (Postfix) with ESMTP id 0512413C45D for ; Mon, 21 Jan 2008 17:04:09 +0000 (UTC) (envelope-from SRS0=yOe3NK=SL=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan10.yourhostingaccount.com ([10.1.15.10] helo=mailscan10.yourhostingaccount.com) by mailout11.yourhostingaccount.com with esmtp (Exim) id 1JGzWP-0006gd-CT for freebsd-hackers@freebsd.org; Mon, 21 Jan 2008 11:29:17 -0500 Received: from impout02.yourhostingaccount.com ([10.1.55.2] helo=impout02.yourhostingaccount.com) by mailscan10.yourhostingaccount.com with esmtp (Exim) id 1JGzWP-0000Vn-57; Mon, 21 Jan 2008 11:29:17 -0500 Received: from authsmtp11.yourhostingaccount.com ([10.1.18.11]) by impout02.yourhostingaccount.com with NO UCE id fsVH1Y0030EKrUA0000000; Mon, 21 Jan 2008 11:29:17 -0500 X-EN-OrigOutIP: 10.1.18.11 X-EN-IMPSID: fsVH1Y0030EKrUA0000000 Received: from c-98-206-161-17.hsd1.il.comcast.net ([98.206.161.17] helo=vixen42) by authsmtp11.yourhostingaccount.com with esmtpa (Exim) id 1JGzWO-0001Xl-QJ; Mon, 21 Jan 2008 11:29:17 -0500 Date: Mon, 21 Jan 2008 10:30:25 -0600 From: "Zane C.B." To: "navneet Upadhyay" Message-ID: <20080121103025.71b50f9d@vixen42> In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> References: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.5; i386-portbld-freebsd6.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Zane C.B." X-EN-OrigIP: 98.206.161.17 X-EN-OrigHost: c-98-206-161-17.hsd1.il.comcast.net Cc: navneet Upadhyay , freebsd-hackers@freebsd.org 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 17:04:10 -0000 On Mon, 21 Jan 2008 14:26:16 +0530 "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 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.