Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2008 16:25:28 +0300
From:      Marin Atanasov <dnaeon@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   My interactive version of pkg_add - finished!
Message-ID:  <48E37A48.8030103@gmail.com>

next in thread | raw e-mail | index | archive | help
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 :)

Cheers!

-- 
Marin Atanasov
dnaeon AT gmail DOT com
daemon AT unix-heaven DOT org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48E37A48.8030103>