Subject: pkg_add & action profiles
To: None <tech-pkg@NetBSD.org>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 07/11/2006 15:03:16
Maybe that's of interest for some future incarnation of pkg_add (etc.) - 
on Solaris, you can specify what actions to take for various actions when 
running pkgadd(1M) by giving an 'admin profile':

 	rfhpc8317% cat /var/sadm/install/admin/default
 	#ident  "@(#)default    1.4     92/12/23 SMI"   /* SVr4.0  1.5.2.1      */
 	mail=
 	instance=unique
 	partial=ask
 	runlevel=ask
 	idepend=ask
 	rdepend=ask
 	space=ask
 	setuid=ask
 	conflict=ask
 	action=ask
 	basedir=default

Maybe it would be good to identify some common cases for 
pkg_add/pkg_delete at some point, and have some files define actions (with 
some way to specify an alternative profile).

Just some thoughts...


  - Hubert