View Single Post
Old 1st October 2008
DNAeon DNAeon is offline
Shell Scout
 
Join Date: Sep 2008
Location: Bulgaria
Posts: 138
Default New version of the program with FTP search support..

Hi, again!

I've finished the new version of the program. I decided to name it pkg_add_it - pkg_add Interactive Tool

pkg_add_it 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:

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 here:
http://unix-heaven.org/doc/pkg_add_it/gfx/

And the code is here:
http://unix-heaven.org/ports-mgmt/pkg_add_it-1.0.tar.gz

Well, I hope someone finds it useful

P.S: If someone have any suggestions on how to improve more - let me know

Cheers!

--DNAeon

Last edited by DNAeon; 5th October 2008 at 05:45 PM. Reason: Program name has changed!
Reply With Quote