My interactive version of pkg_add - finished!

Miroslav Lachman 000.fbsd at quip.cz
Wed Oct 1 14:39:59 UTC 2008



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


More information about the freebsd-ports mailing list