Bug 154518 - ports-mgmt/portaudit - Add configuration file capabilities
Summary: ports-mgmt/portaudit - Add configuration file capabilities
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Security Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-05 00:50 UTC by Doug Barton
Modified: 2011-02-05 08:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.46 KB, patch)
2011-02-05 00:50 UTC, Doug Barton
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Barton freebsd_committer 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 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 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 2011-02-05 08:37:46 UTC
State Changed
From-To: open->closed

Committed. Thanks!