View Single Post
Old 6th October 2008
DNAeon DNAeon is offline
Shell Scout
 
Join Date: Sep 2008
Location: Bulgaria
Posts: 138
Default

Quote:
Originally Posted by anomie
If there are any feature requests, do you want them posted on this thread, or a PM, or email to you?
E-mail, PM or posting to this thread would do the job
Quote:
Originally Posted by anomie
1. pkg_add_it has a "dry run" or "list" option where it shows you which packages match a pattern but doesn't actually do anything (i.e. nothing is installed).
Actually it installs the chosen package - screenshot of installed package here

Quote:
Originally Posted by anomie
2. pkg_add_it installs /usr/local/etc/pkg_add_it, which contains OSRELEASE=?? and it will not even run until the user/sysadmin updates OSRELEASE to a different value in that file.
During install only two files are being installed - the pkg_add_it executable in /usr/local/sbin/pkg_add_it and the manual page in /usr/local/man/man1/. There is nothing installed under /usr/local/etc/pkg_add_it

OSRELEASE is an environment variable which value should be set to 6.2-release, 7.0-release, 8-current, etc. depending on what release you are running. This variable also tells pkg_add_it from which directory on the FreeBSD FTP server to fetch the packages - 6.2-release, 7.0-release, etc..

pkg_add_it will run even if this variable is not set by default - then it uses a default value which is 8-current

I've added this variable so if someone running for example FreeBSD-6.2-RELEASE want's to install new version of a given package which is under the 7.0-release would set OSRELEASE=7.0-release and install the package successfuly. That is why this variable is not set by default to the output of uname -r for example.

Cheers,
DNAeon

Last edited by DNAeon; 6th October 2008 at 10:33 PM.
Reply With Quote