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