Bug 156341 - security/barnyard2: sguil-sensor port relies on barnyard2, however barnyard2 is missing option "--with-tcl"
Summary: security/barnyard2: sguil-sensor port relies on barnyard2, however barnyard2 ...
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: Olli Hauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 04:30 UTC by Brandon
Modified: 2011-05-14 20:20 UTC (History)
0 users

See Also:


Attachments
file.diff (782 bytes, patch)
2011-04-12 04:30 UTC, Brandon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon 2011-04-12 04:30:15 UTC
The port sguil-sensor-0.7.0_3 depends on barnyard2-1.9_2. However the
barnyard2 port does not seem to include the compiler option --with-tcl=DIR
which is required for the sguil output plugin. 

When the "output sguil" plugin is enabled barnyard2 fails to start with
this message:

"Apr 11 19:16:54 freebsdx86 barnyard2[6647]:         --== Initializing Barnyard2 ==--
Apr 11 19:16:54 freebsdx86 barnyard2[6647]: Initializing Input Plugins!
Apr 11 19:16:54 freebsdx86 barnyard2[6647]: Initializing Output Plugins!
Apr 11 19:16:54 freebsdx86 barnyard2[6647]: Parsing config file "/usr/local/etc/barnyard2.conf"
Apr 11 19:16:54 freebsdx86 barnyard2[6647]: Log directory = /var/log/barnyard2
Apr 11 19:16:54 freebsdx86 barnyard2[6647]: sguil: Tcl support is not compiled into this build of barnyard2 
Apr 11 19:16:54 freebsdx86 barnyard2[6647]: FATAL ERROR: If this build of barnyard was obtained as a binary distribution (e.g., rpm, or Windows), then check for alternate builds that contains the necessary Tcl support.  If this build of barnyard was compiled by you, then re-run the ./configure script using the '--with-tcl' switch to specify the location of the tclConfig.sh for your system. 
Apr 11 19:16:54 freebsdx86 joe: /usr/local/etc/rc.d/barnyard2: WARNING: failed to start barnyard2
"

Fix: Add "--with-tcl=DIR" option to barnyard2 port

Patch attached with submission follows:
How-To-Repeat: Add the line "output: sguil" to /usr/local/etc/barnyard2.conf, and start barnyard2.
Comment 1 Olli Hauer freebsd_committer freebsd_triage 2011-05-14 16:53:40 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ohauer

I'll take it
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-05-14 20:10:19 UTC
ohauer      2011-05-14 19:09:58 UTC

  FreeBSD ports repository

  Modified files:
    security/barnyard2   Makefile 
  Log:
  - add OPTION tcl (default off) to allow sguil* ports build against barnyard2
  
  PR:             ports/156341
  Submitted by:   Brandon <m37a11 _at_ gmail.com>
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.8       +8 -1      ports/security/barnyard2/Makefile
_______________________________________________
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 Olli Hauer freebsd_committer freebsd_triage 2011-05-14 20:10:36 UTC
State Changed
From-To: open->closed

Committed, 
Thanks!