From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 13:12:25 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 BDD5116A46B for ; Mon, 21 Jan 2008 13:12:25 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 736CF13C45A for ; Mon, 21 Jan 2008 13:12:25 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Resent-From:Resent-Date:Resent-Message-ID:Resent-To:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Resent-Sender:Resent-Date:X-Spam-Status:Subject; b=ajHIAskDTE9FO7zbjZrcULGcC+CHsRgs6/Yc5z4DseyoMmF+qH2rBP+QK5AmHZSOg5Gec7XqtPdUGQU5iX34K6+mI/TIPazr7sUK4QITl8rA959jYvgCi8/DMxefAKzlZ5cyrprkC984ytQrCIkueUjDJXrypU7sj7BdWov2Axs=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1JGwRs-0000JG-E9 for freebsd-hackers@freebsd.org; Mon, 21 Jan 2008 16:12:24 +0300 Resent-From: rea-fbsd@codelabs.ru Resent-Date: Mon, 21 Jan 2008 16:12:23 +0300 Resent-Message-ID: Resent-To: freebsd-hackers@freebsd.org Date: Mon, 21 Jan 2008 16:11:32 +0300 From: Eygene Ryabinkin To: navneet Upadhyay Message-ID: References: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <1563a4fd0801210056q317105f8y3a8b094f9611d07e@mail.gmail.com> Resent-Sender: rea-fbsd@codelabs.ru Resent-Date: Mon, 21 Jan 2008 16:12:24 +0300 X-Spam-Status: No, score=-1.9 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_50 Cc: 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 13:12:25 -0000 Good day. Mon, Jan 21, 2008 at 02:26:16PM +0530, navneet Upadhyay wrote: > 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. This perfectly fits to the FreeBSD ports philosophy. > Can somebody provide me some information on how to achieve it. > > I am not looking at Ports. Ports still will help you: 'make package' will produce the binary package that can be installed via pkg_add. Create the port and try it. -- Eygene