From owner-freebsd-ports@FreeBSD.ORG Wed Oct 1 14:39:58 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 E654F106568A for ; Wed, 1 Oct 2008 14:39:58 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id A41DF8FC08 for ; Wed, 1 Oct 2008 14:39:58 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9F5A419E023; Wed, 1 Oct 2008 16:39:56 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id E4B2819E019; Wed, 1 Oct 2008 16:39:53 +0200 (CEST) Message-ID: <48E38BDB.1060609@quip.cz> Date: Wed, 01 Oct 2008 16:40:27 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Marin Atanasov References: <48E37A48.8030103@gmail.com> In-Reply-To: <48E37A48.8030103@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: My interactive version of pkg_add - finished! 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: Wed, 01 Oct 2008 14:39:59 -0000 Marin Atanasov wrote: > Hi, again! :) > > I've finished the new version of the program. I decided to name it `sit' > - Simple Interactive Tool > > `sit' now supports the following: > -- improved code for dynamic memory allocation > -- local package pattern search > -- remote (ftp) package pattern search > -- command line arguments to specify a local or remote installation > -- uses some env variables like PACKAGEROOT, OSRELEASE and MACHTYPE to > determite which package and from where to be installed > > The remote/ftp package pattern search is done by searching the INDEX > file for a pattern and extracting the needed information from it. The > program uses a default values for these environment variables if they > have not been set: > > -- PACKAGEROOT = ftp://ftp.freebsd.org/ > -- MACHTYPE = i386 > -- OSRELEASE = 8-current > > It doesn't have any requirements, so it should build and run on any > system that has fetch and pkg_add support. > > Screenshots of various usage of the program can be found in here: > http://unix-heaven.org/doc/sit/screenshots/ > > And the code is here: > http://unix-heaven.org/doc/sit/sit-0.2.5.tar.gz > > Well, I hope someone finds it useful :) > > P.S: If someone have any suggestions on how to improve it more - let me > know :) It seems useful. I have one suggestion - make it as port and submit PR for adding it in to ports tree, so it will get wider audience :) Miroslav Lachman