From owner-freebsd-ports@FreeBSD.ORG Mon Jan 21 13:23:28 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D1B916A417 for ; Mon, 21 Jan 2008 13:23:28 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7546213C4E1 for ; Mon, 21 Jan 2008 13:23:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m0LDNKxl082689 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jan 2008 13:23:21 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.4.2 smtp.infracaninophile.co.uk m0LDNKxl082689 Authentication-Results: smtp.infracaninophile.co.uk; dkim=hardfail (SSP) header.i=unknown Message-ID: <47949CC8.2080900@infracaninophile.co.uk> Date: Mon, 21 Jan 2008 13:23:20 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.9 (X11/20071223) MIME-Version: 1.0 To: navneet Upadhyay References: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Mon, 21 Jan 2008 13:23:21 +0000 (GMT) X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_FAIL autolearn=no version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd ports Subject: Re: FreeBSD packaging X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 13:23:28 -0000 -----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-----