Bug 123916 - security/sancp, improve startup script
Summary: security/sancp, improve startup 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: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 04:00 UTC by pauls
Modified: 2008-05-24 06:40 UTC (History)
0 users

See Also:


Attachments
patch-Makefile (257 bytes, text/plain)
2008-05-23 04:00 UTC, pauls
no flags Details
patch-files-sancp.sh.in (3.22 KB, text/plain)
2008-05-23 04:00 UTC, pauls
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description pauls 2008-05-23 04:00:08 UTC
	security/sancp, this PR improves the startup script by bringing it
	more in alignment with the rc.subr way of doing things.  It increments
	PORTREVISION and makes some minor changes to pkg-message as well

Fix: --- files/pkg-message.in.orig	2008-05-22 21:40:40.000000000 -0500
+++ files/pkg-message.in	2008-05-22 21:30:46.000000000 -0500
@@ -20,18 +20,9 @@
 new conf file, named sguil-sancp.conf-sample will be installed in the
 %%PREFIX%%/etc directory.  You should use that one for sguil.
 
-Some of the configuration options for sancp are:
+All of the configuration options for sancp are documented in the 
+startup script in %%PREFIX%%/etc/rc.d (don't forget to specify interface
+in /etc/rc.conf)
 
--? or -h  this help screen
--c <filename>  specify the configuration/rules filename
--d <directory>  specify the directory for output files
--i <device>  set the network device to listen on (default: 'any')
--g <gid>   set a group identity
--u <uid>   set a user identity
--D (daemon) forks, prints msgs to syslog only and overrides -C option
--F <bpf filename>  file containing a bpf filter expression, overrides (alternative to -B)
--V  display version
-
-If you're running sguil, you probably want to use the following flags:
+If you're running sguil, you probably want to use at least the following flags:
 sancp_flags="-D -P -R -u sancp -g sancp -d /var/log/sancp"
-(don't forget to specify the conf file and interface as well)
--- patch-files-pkg-mesage.in ends here ---
Comment 1 Rong-En Fan freebsd_committer freebsd_triage 2008-05-23 06:51:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

I like rc script PR.
Comment 2 Rong-En Fan freebsd_committer freebsd_triage 2008-05-24 06:33:20 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-05-24 06:33:21 UTC
rafan       2008-05-24 05:33:14 UTC

  FreeBSD ports repository

  Modified files:
    security/sancp       Makefile 
    security/sancp/files pkg-message.in sancp.sh.in 
  Log:
  - Use the preferred way of setting default rc parameters
  - Move startup options to rc script
  - Bump PORTREVISION
  
  PR:             ports/123916 (based on)
  Submitted by:   Paul Schmehl <pauls at utdallas.edu> (maintainer)
  
  Revision  Changes    Path
  1.5       +1 -1      ports/security/sancp/Makefile
  1.2       +4 -13     ports/security/sancp/files/pkg-message.in
  1.3       +51 -7     ports/security/sancp/files/sancp.sh.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"