Bug 154518

Summary: ports-mgmt/portaudit - Add configuration file capabilities
Product: Ports & Packages Reporter: Doug Barton <dougb>
Component: Individual Port(s)Assignee: Security Team <secteam>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Doug Barton freebsd_committer freebsd_triage 2011-02-05 00:50:09 UTC
	This patch changes the order in which the conf file is read vs.
	when the default variable assignments are made in order to provide
	the ability to override them in the conf file. It also adds the
	ability to include a conf file in the same directory as the script.
	
	The patch also changes some of the = assignments to := where
	having a null setting by mistake would be fatal.

	The use case for these changes is the ability to "package" all
	of the elements together in one place for use on multiple systems
	that can all mount the same central location. 

	I haven't documented the local portaudit.conf file since I think
	it will be of limited interest, but I certainly can.

Fix: Apply the following patch:
How-To-Repeat: 	DNA
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-02-05 00:50:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->secteam

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-02-05 08:37:13 UTC
remko       2011-02-05 08:37:06 UTC

  FreeBSD ports repository (src,doc committer)

  Modified files:
    ports-mgmt/portaudit Makefile 
    ports-mgmt/portaudit/files portaudit-cmd.sh 
  Log:
  Add some improvements via Doug:
  
  This patch changes the order in which the conf file is read vs.
  when the default variable assignments are made in order to provide
  the ability to override them in the conf file. It also adds the
  ability to include a conf file in the same directory as the script.
  
  The patch also changes some of the = assignments to := where
  having a null setting by mistake would be fatal.
  
  The use case for these changes is the ability to "package" all
  of the elements together in one place for use on multiple systems
  that can all mount the same central location.
  
  PR:             154518
  Submitted by:   dougb
  Hat:            secteam
  Feature safe:   yes
  
  Revision  Changes    Path
  1.29      +1 -1      ports/ports-mgmt/portaudit/Makefile
  1.19      +13 -9     ports/ports-mgmt/portaudit/files/portaudit-cmd.sh
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Remko Lodder freebsd_committer freebsd_triage 2011-02-05 08:37:46 UTC
State Changed
From-To: open->closed

Committed. Thanks!