Bug 118873 - security/barnyard, update port for 64 bit systems
Summary: security/barnyard, update port for 64 bit systems
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: 2007-12-19 21:50 UTC by pauls
Modified: 2008-01-04 12:50 UTC (History)
0 users

See Also:


Attachments
patch-Makefile (927 bytes, text/plain)
2007-12-19 21:50 UTC, pauls
no flags Details
64-bit-event.h (880 bytes, text/plain)
2007-12-19 21:50 UTC, pauls
no flags Details
64-bit-util.c (399 bytes, text/plain)
2007-12-19 21:50 UTC, pauls
no flags Details
file.diff (604 bytes, patch)
2007-12-19 21:50 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 2007-12-19 21:50:02 UTC
	increments PORTREVISION and adds section to patch for 64 bit OSes,
	including five patches added to ${FILESDIR}, also sets flag for mysql
	knob to "on", since that is always the default anyway

Fix: --- src/barnyard.h	2004-05-01 12:43:29.000000000 -0400
+++ src/barnyard.h	2007-08-11 23:22:53.000000000 -0400
@@ -34,7 +34,8 @@
 
 typedef struct _SnortPktHeader
 {
-    struct timeval ts;     /* packet timestamp */
+    // struct timeval ts;     /* packet timestamp */
+    struct pcap_timeval ts;     /* packet timestamp */
     u_int32_t caplen;      /* packet capture length */
     u_int32_t pktlen;      /* packet "real" length */
 } SnortPktHeader;
--- 64-bit-barnyard.h ends here ---

--- src/input-plugins/dp_alert.h	2004-02-19 20:59:48.000000000 -0500
+++ src/input-plugins/dp_alert.h	2007-08-11 23:24:25.000000000 -0400
@@ -34,7 +34,8 @@
 typedef struct _UnifiedAlertRecord
 {
     Event event;
-    struct timeval ts;         /* event timestamp */
+    // struct timeval ts;         /* event timestamp */
+    struct pcap_timeval ts;         /* event timestamp */
     u_int32_t sip;             /* src ip */
     u_int32_t dip;             /* dest ip */
     u_int16_t sp;              /* src port */
--- 64-bit-input-plugins-dp-alert.h ends here ---
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2008-01-04 12:43:06 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-01-04 12:48:41 UTC
pav         2008-01-04 12:48:37 UTC

  FreeBSD ports repository

  Modified files:
    security/barnyard    Makefile 
  Added files:
    security/barnyard/files 64-bit-barnyard.h 64-bit-event.h 
                            64-bit-input-plugins-dp-alert.h 
                            64-bit-util.c 64-bit-util.h 
  Log:
  - Patches for 64-bit systems
  - Toggle MySQL option to default to 'on'
  
  PR:             ports/118873
  Submitted by:   Paul Schmehl <pauls@utdallas.edu> (maintainer)
  
  Revision  Changes    Path
  1.9       +10 -2     ports/security/barnyard/Makefile
  1.1       +12 -0     ports/security/barnyard/files/64-bit-barnyard.h (new)
  1.1       +23 -0     ports/security/barnyard/files/64-bit-event.h (new)
  1.1       +12 -0     ports/security/barnyard/files/64-bit-input-plugins-dp-alert.h (new)
  1.1       +12 -0     ports/security/barnyard/files/64-bit-util.c (new)
  1.1       +12 -0     ports/security/barnyard/files/64-bit-util.h (new)
_______________________________________________
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"