Bug 123883 - security/sguil-server, improve pkg-install script
Summary: security/sguil-server, improve pkg-install script
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 01:20 UTC by pauls
Modified: 2008-06-01 12:50 UTC (History)
0 users

See Also:


Attachments
patch-Makefile (265 bytes, text/plain)
2008-05-22 01:20 UTC, pauls
no flags Details
file.diff (1.05 KB, patch)
2008-05-22 01:20 UTC, pauls
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pauls 2008-05-22 01:20:08 UTC
	If a user opts out of the first part of the pkg-install script, but
	elects to interact with the second part of the script and decides to
	create new certs, the creation of the certs will fail silently if the
	certs directory does not exist.  This is because the certs directory
	is created (if necessary) in the pre-install portion of the pkg-install
	 script, but the certs are created in the post-install part of the script.

	This PR corrects this problem by moving the creation of the certs directory
	to the same subroutine that the certs are created in.

	It also increments the PORTREVISION value, as required.
Comment 1 dfilter service freebsd_committer 2008-06-01 12:49:02 UTC
rafan       2008-06-01 11:48:57 UTC

  FreeBSD ports repository

  Modified files:
    security/sguil-server Makefile 
    security/sguil-server/files pkg-install.in 
  Log:
  - From PR
  
   If a user opts out of the first part of the pkg-install script, but
   elects to interact with the second part of the script and decides to
   create new certs, the creation of the certs will fail silently if the
   certs directory does not exist. This is because the certs directory
   is created (if necessary) in the pre-install portion of the pkg-install
   script, but the certs are created in the post-install part of the script.
  
   This PR corrects this problem by moving the creation of the certs directory
   to the same subroutine that the certs are created in.
  
  PR:             ports/123883
  Submitted by:   Paul Schmehl <pauls at utdallas.edu> (maintainer)
  
  Revision  Changes    Path
  1.7       +1 -1      ports/security/sguil-server/Makefile
  1.2       +8 -8      ports/security/sguil-server/files/pkg-install.in
_______________________________________________
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 2 Rong-En Fan freebsd_committer 2008-06-01 12:49:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!