New i386 packages snapshot

2006-11-19 Thread Christian Weisgerber
There's a new i386-current packages snapshot up on ftp.  I usually don't
bother announcing this anymore, but this snap includes OpenOffice.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: firefox 2, gtk+2 and gnash works together on i386

2006-11-19 Thread marius

On 11/18/06, Mikolaj Kucharski [EMAIL PROTECTED] wrote:

$ pkg_info -I gnash firefox nss atk cairo glib2 glitz gtk+2 pango jdk | cut 
-b1-70
gnash-0.7.2 flash player with firefox browser plugin
firefox-2.0p2   next generation release of the award-winning Firef
nss-3.11.3p0Libraries designed to support cross-platform devel
atk-1.12.3  accessibility toolkit used by gtk+
cairo-1.2.4 vector graphics library
glib2-2.12.4general-purpose utility library
glitz-0.5.6 OpenGL image compositing library
gtk+2-2.10.6multi-platform graphical toolkit
pango-1.14.7library for layout and rendering of text
jdk-1.5.0p21Java2(TM) Standard Edition Dev Kit v1.5.0

From ports send by deanna alek martynas, thanks.


Ditto on macppc (except for the Java).

Thanks guys.

Marius



Re: FIX: net/snort

2006-11-19 Thread Peter Valchev
 This diff fixes unified logging/alerting on 64-bit platforms.
 
 http://secure.lv/~nikns/stuff/ports/snort-2.6.0.2p1.diff
...

 +--- src/snort_packet_header.h.orig   Thu Jan 19 19:09:12 2006
  src/snort_packet_header.hTue Nov  7 20:28:12 2006
 +@@ -16,12 +16,20 @@
 + #include sys/types.h
 + 
 + 
 ++/* we must use fixed size of 32 bits, because on-disk
 ++ * format of savefiles uses 32-bit tv_sec (and tv_usec)
 ++ */
 ++struct pcap_timeval {
 ++u_int32_t tv_sec;  /* seconds */
 ++u_int32_t tv_usec; /* microseconds */
 ++};
 ++

Use bpf_timeval (see net/bpf.h) which is defined the same way,
don't define your own struct...



Re: FIX: net/snort

2006-11-19 Thread nikns
On Sun, Nov 19, 2006 at 12:05:48PM -0700, Peter Valchev wrote:
 This diff fixes unified logging/alerting on 64-bit platforms.
 
 http://secure.lv/~nikns/stuff/ports/snort-2.6.0.2p1.diff
...

 +--- src/snort_packet_header.h.orig  Thu Jan 19 19:09:12 2006
  src/snort_packet_header.h   Tue Nov  7 20:28:12 2006
 +@@ -16,12 +16,20 @@
 + #include sys/types.h
 + 
 + 
 ++/* we must use fixed size of 32 bits, because on-disk
 ++ * format of savefiles uses 32-bit tv_sec (and tv_usec)
 ++ */
 ++struct pcap_timeval {
 ++u_int32_t tv_sec;  /* seconds */
 ++u_int32_t tv_usec; /* microseconds */
 ++};
 ++

Use bpf_timeval (see net/bpf.h) which is defined the same way,
don't define your own struct...


This is universal fix, not just for OpenBSD.



Re: FIX: net/snort

2006-11-19 Thread Theo de Raadt
And be super careful about this in anything else which interfaces
to bpf or pcap.  The pcap people were super uncareful using a
machine-dependent structure.

  This diff fixes unified logging/alerting on 64-bit platforms.
  
  http://secure.lv/~nikns/stuff/ports/snort-2.6.0.2p1.diff
 ...
 
  +--- src/snort_packet_header.h.orig Thu Jan 19 19:09:12 2006
   src/snort_packet_header.h  Tue Nov  7 20:28:12 2006
  +@@ -16,12 +16,20 @@
  + #include sys/types.h
  + 
  + 
  ++/* we must use fixed size of 32 bits, because on-disk
  ++ * format of savefiles uses 32-bit tv_sec (and tv_usec)
  ++ */
  ++struct pcap_timeval {
  ++u_int32_t tv_sec;  /* seconds */
  ++u_int32_t tv_usec; /* microseconds */
  ++};
  ++
 
 Use bpf_timeval (see net/bpf.h) which is defined the same way,
 don't define your own struct...