Re: Possible error on swat(8) man page on OpenBSD 4.0?

2007-04-06 Thread Marc Balmer

Alvaro Mantilla Gimenez wrote:

After install samba from ports (samba-3.0.21bp4) i can see in the 
swat(8) man page:


In /etc/inetd.conf you should add a line like this:

 swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat

But swat binary is, actually, on /usr/local/libexec/swat and not on 
/usr/local/samba/sbin/swat.


this has been changed on january, 12, 2007.  you have an old version. 
and then this post belongs to [EMAIL PROTECTED]


keep in mind that ports development is done in -current.



Re: UPDATE: graphics/dia 0.96.1

2007-04-06 Thread Marc Balmer

Antoine Jacoutot wrote:

On Thu, 5 Apr 2007, Antoine Jacoutot wrote:

Comments/ok?


Hmm... forgot one patch...
Here's a new diff.


the attached diff does not apply






Index: Makefile
===
RCS file: /cvs/ports/graphics/dia/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile11 Feb 2007 00:56:57 -  1.43
+++ Makefile5 Apr 2007 21:04:25 -
@@ -2,20 +2,19 @@
 
 COMMENT=	technical diagrams drawing tool
 
-DISTNAME=	dia-0.95-1

-PKGNAME=   dia-0.95.1p1
+DISTNAME=  dia-0.96.1
 CATEGORIES=graphics
 
 HOMEPAGE=	http://www.gnome.org/projects/dia/
 
-MASTER_SITES=	${MASTER_SITE_GNOME:=sources/dia/0.95/}

+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/dia/0.96/}
 
 # GPL

 PERMIT_PACKAGE_CDROM=   Yes
 PERMIT_PACKAGE_FTP= Yes
 PERMIT_DISTFILES_CDROM= Yes
 PERMIT_DISTFILES_FTP=   Yes
-WANTLIB=   ICE SM X11 Xext Xrender atk-1.0 c z xml2 pthread gthread-2.0 \
+WANTLIB=   X11 Xau Xdmcp expat Xrender atk-1.0 c z xml2 pthread 
gthread-2.0 \
fontconfig freetype glib-2.0 gmodule-2.0 \
gobject-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 png cairo glitz
Index: distinfo
===
RCS file: /cvs/ports/graphics/dia/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo5 Apr 2007 16:19:55 -   1.7
+++ distinfo5 Apr 2007 21:04:25 -
@@ -1,5 +1,5 @@
-MD5 (dia-0.95-1.tar.gz) = YiSln63GCJ1bDf8wtZMIwA==
-RMD160 (dia-0.95-1.tar.gz) = yQOzT6T38uL/fp7ISXYI2Sx217E=
-SHA1 (dia-0.95-1.tar.gz) = 6wChoqK3s92WbkN1VXt3DPdf+zQ=
-SHA256 (dia-0.95-1.tar.gz) = SOw65SWIDd+HFCxsBW9N8pIzSX8n1r1kqlyWhkF7p6E=
-SIZE (dia-0.95-1.tar.gz) = 6035584
+MD5 (dia-0.96.1.tar.gz) = ++T5E7zoiwXXMb5fcFEmpg==
+RMD160 (dia-0.96.1.tar.gz) = uHap43YL4XdLwOaas12afwKgOuA=
+SHA1 (dia-0.96.1.tar.gz) = Je/dtEz3jpRVXOMemzZkWpqnyLk=
+SHA256 (dia-0.96.1.tar.gz) = ce4yOPT8U+dD7Jogy1XErOwR54KtoT2p4SzGbCZ5q4Y=
+SIZE (dia-0.96.1.tar.gz) = 6463296
Index: patches/patch-doc_Makefile_in
===
RCS file: patches/patch-doc_Makefile_in
diff -N patches/patch-doc_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-doc_Makefile_in   5 Apr 2007 21:04:25 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- doc/Makefile.in.orig   Thu Apr  5 23:04:49 2007
 doc/Makefile.inThu Apr  5 23:05:00 2007
+@@ -590,7 +590,7 @@ uninstall-info: uninstall-info-recursive
+ 
+ # a simple rule to symlink en to C

+ install-data-local:
+-  -(cd $(DESTDIR)$(helpdir)  rm -f C  ln -s en C)
++# -(cd $(DESTDIR)$(helpdir)  rm -f C  ln -s en C)
+ uninstall-local:
+   rm -f $(DESTDIR)$(helpdir)/C
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
Index: patches/patch-doc_en_Makefile_in
===
RCS file: /cvs/ports/graphics/dia/patches/patch-doc_en_Makefile_in,v
retrieving revision 1.2
diff -u -r1.2 patch-doc_en_Makefile_in
--- patches/patch-doc_en_Makefile_in13 Jun 2006 19:27:54 -  1.2
+++ patches/patch-doc_en_Makefile_in5 Apr 2007 21:04:25 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-doc_en_Makefile_in,v 1.2 2006/06/13 19:27:54 steven Exp $
 doc/en/Makefile.in.origThu May 25 22:49:19 2006
-+++ doc/en/Makefile.in Thu Jun  8 12:19:11 2006
-@@ -332,6 +332,7 @@ entities = 
+--- doc/en/Makefile.in.orig	Thu Mar 29 11:15:09 2007

 doc/en/Makefile.in Thu Apr  5 16:43:22 2007
+@@ -338,6 +338,7 @@ entities = 
  # This variable (docdir) specifies where the documents should be installed.

  # This default value should work for most packages.
  @[EMAIL PROTECTED] = $(datadir)/gnome/help/$(docname)/$(lang)
@@ -9,7 +9,7 @@
  
  # **  You should not have to edit below this line  **

  xml_files = $(entities) $(docname).xml authors.xml dia.xml \
-@@ -594,7 +595,7 @@ install-data-hook-omf:
+@@ -600,7 +601,7 @@ install-data-hook-omf:
$(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
  done; \
fi
@@ -18,7 +18,7 @@
  
  uninstall-local-omf:

-for file in $(srcdir)/*.omf; do \
-@@ -611,7 +612,7 @@ clean-local-omf:
+@@ -617,7 +618,7 @@ clean-local-omf:
  done; \
fi
  
@@ -27,7 +27,7 @@
  
  $(docname).xml: $(entities)

-ourdir=`pwd`;  \
-@@ -627,7 +628,7 @@ app-dist-hook:
+@@ -633,7 +634,7 @@ app-dist-hook:
  done \
fi
  
Index: patches/patch-doc_eu_Makefile_in

===
RCS file: /cvs/ports/graphics/dia/patches/patch-doc_eu_Makefile_in,v
retrieving revision 1.1
diff -u -r1.1 patch-doc_eu_Makefile_in
--- patches/patch-doc_eu_Makefile_in13 Jun 2006 19:27:54 -  1.1
+++ patches/patch-doc_eu_Makefile_in5 Apr 2007 21:04:25 -
@@ -1,7 +1,7 

Re: UPDATE: graphics/dia 0.96.1

2007-04-06 Thread Antoine Jacoutot

On Fri, 6 Apr 2007, Marc Balmer wrote:

Hmm... forgot one patch...
Here's a new diff.


the attached diff does not apply


It applies fine here?
Are you sure your ports tree is up-to-date?

--
Antoine



Re: update: sysutils/sec

2007-04-06 Thread Joachim Schipper
On Wed, Mar 28, 2007 at 09:22:16AM -0400, Okan Demirmen wrote:
 changelog since 2.4.0:
 --- version 2.4.1 
 * improved the daemonization code.
 * changed Sys::Syslog::openlog() options from 'cons,pid' to 'pid'.
 * starting from this version, 'logonly' action has an optional parameter.

I've been running with this for a while; it appears to work just fine.

Joachim

-- 
TFMotD: rlphy (4) - Realtek 8139/8201L Ethernet PHY



Re: update: sysutils/sec

2007-04-06 Thread Marc Balmer

Joachim Schipper wrote:

On Wed, Mar 28, 2007 at 09:22:16AM -0400, Okan Demirmen wrote:

changelog since 2.4.0:
--- version 2.4.1 
* improved the daemonization code.

* changed Sys::Syslog::openlog() options from 'cons,pid' to 'pid'.
* starting from this version, 'logonly' action has an optional parameter.


I've been running with this for a while; it appears to work just fine.


... and I was so convinced that it works fine that I committet this on 
march, 28...




snort alert timestamps are close to random [re-post to [EMAIL PROTECTED]

2007-04-06 Thread Soner Tari
(Since I was told that ports@ is the place to post my problem, I am
re-posting here. Btw, I am ready to test any patches/suggestions to
snort on amd64. Also, I've manually checked if the differences in the
following diff file were applied to the 2.6.1.4 source from snort.org,
as far as I can see .h and .c diffs were:
http://secure.lv/~nikns/stuff/ports/snort-2.6.1.2.diff )

I'm running snort on OpenBSD 4.0 amd64. I've tried 2.4.5 among the
packages, and built 2.6.1.4 from the source (are there any special
configure options I should use?). Also I've tried many combinations of
rules: registered user, community and bleeding-edge rules. The same
result.

For example, when I run nmap for the TargetIP, TCP Portscan alert logs
report the datetime as follows (shown only the timestamp lines):

04/05-15:55:09.000174 SrcIP - TargetIP
04/05-20:14:48.000174 SrcIP - TargetIP
04/06-06:11:01.000174 SrcIP - TargetIP
04/05-19:09:59.000169 SrcIP - TargetIP
04/06-00:22:37.000174 SrcIP - TargetIP

The datetime was around 11:48 AM on Apr 06, +/-2mins for each nmap run
(order of runs is as shown).

Granted the date is within 24 hours, but apparently the hour is, well,
random.

If I use tcpdump style logs, I see that the datetimes reported there are
correct.

Also, I've used BASE, it reports Timestamp as all 0's. But I deem that
this may be due to something else, probably the database time format, I
don't know. (To be exact, I've used and built both plain and mysql
versions of snort, with the same result.)

Could somebody tell me what I may be doing wrong? Any links I wasn't
able to find?

Thanks,





Re: Export Control Regulation Friendly Ports

2007-04-06 Thread Martin Schröder

2007/4/6, Siju George [EMAIL PROTECTED]:

I was wondering being in India if there are other regulations that
would affect me.


Not really. _Your_ nuclear bombs have become US sanctioned, IIRC.

Best
  Martin



UPDATE mail/mutt - 1.5.14

2007-04-06 Thread Stuart Henderson
this updates mutt to 1.5.14; mostly imap fixes including:

  fix null-pointer dereferences on partial imap mailbox loads
  more robust with some servers

port changes;

  distribution now using autoconf 2.60;
bumped snapshot AUTOCONF_VERSION
kept stable at 2.59
  build -sidebar package
  specify mandir to avoid using default which is now share/man

so far I have tested mutt-1.5.14-hcache-sidebar with imap mailboxes
on amd64 and sparc64, and built variants with all the different patches
on amd64.

Index: Makefile
===
RCS file: /cvs/ports/mail/mutt/Makefile,v
retrieving revision 1.51
diff -u -p -u -r1.51 Makefile
--- Makefile19 Feb 2005 15:42:58 -  1.51
+++ Makefile6 Apr 2007 10:50:48 -
@@ -5,5 +5,6 @@
  SUBDIR += snapshot
  SUBDIR += snapshot,compressed
  SUBDIR += snapshot,hcache
+ SUBDIR += snapshot,sidebar
 
 .include bsd.port.subdir.mk
Index: Makefile.inc
===
RCS file: /cvs/ports/mail/mutt/Makefile.inc,v
retrieving revision 1.23
diff -u -p -u -r1.23 Makefile.inc
--- Makefile.inc3 Aug 2006 19:56:08 -   1.23
+++ Makefile.inc6 Apr 2007 10:50:48 -
@@ -10,7 +10,7 @@ MASTER_SITES_MUTT= ftp://ftp.fu-berlin.d
   ftp://ftp.gwdg.de/pub/unix/mail/mutt/international/
 
 MASTER_SITES0= http://www.spinnaker.de/mutt/compressed/
-MASTER_SITES1= http://mirrors.protection.cx/~jolan/
+MASTER_SITES1= http://spacehopper.org/
 
 MODULES=   devel/gettext
 
@@ -25,7 +25,6 @@ WANTLIB=  c crypto des ssl
 FLAVORS+=  slang mixmaster compressed
 FLAVOR?=
 
-AUTOCONF_VERSION?= 2.59
 CONFIGURE_STYLE= autoconf old
 CONFIGURE_ARGS=--with-sharedir=${PREFIX}/share/mutt \
--with-docdir=${PREFIX}/share/doc/mutt \
@@ -35,7 +34,8 @@ CONFIGURE_ARGS=   --with-sharedir=${PREFI
--enable-imap \
--enable-pop \
--with-ssl \
-   --sysconfdir=${CONFDIR}
+   --sysconfdir=${CONFDIR} \
+   --mandir=${PREFIX}/man
 
 .if ${KERBEROS5} == yes
 CONFIGURE_ARGS+=--with-gss
@@ -85,10 +85,10 @@ CONFIGURE_ARGS+=--without-idn
 .endif
 
 .if ${FLAVOR:L:Msidebar}
-PATCHFILES+=   patch-1.5.12.sidebar.20060720.txt-fixed:1
+PATCHFILES+=   patch-1.5.14.sidebar.20070223.txt-fixed:1
 PATCH_DIST_STRIP=  -p1
 .else
-SUPDISTFILES+= patch-1.5.12.sidebar.20060720.txt-fixed:1
+SUPDISTFILES+= patch-1.5.14.sidebar.20070223.txt-fixed:1
 .endif
 
 .if defined(HOMESPOOL)
Index: snapshot/Makefile
===
RCS file: /cvs/ports/mail/mutt/snapshot/Makefile,v
retrieving revision 1.40
diff -u -p -u -r1.40 Makefile
--- snapshot/Makefile   2 Aug 2006 14:30:09 -   1.40
+++ snapshot/Makefile   6 Apr 2007 10:50:48 -
@@ -2,9 +2,10 @@
 
 COMMENT=   tty-based e-mail client, development version
 
-VERSION=   1.5.12
+VERSION=   1.5.14
 DISTNAME=  mutt-${VERSION}
 MASTER_SITES=  ${MASTER_SITES_MUTT:=devel/}
+AUTOCONF_VERSION?= 2.60
 
 FLAVORS=   hcache idn sidebar
 
Index: snapshot/distinfo
===
RCS file: /cvs/ports/mail/mutt/snapshot/distinfo,v
retrieving revision 1.24
diff -u -p -u -r1.24 distinfo
--- snapshot/distinfo   5 Apr 2007 16:20:03 -   1.24
+++ snapshot/distinfo   6 Apr 2007 10:50:48 -
@@ -1,15 +1,15 @@
-MD5 (mutt-1.5.12.tar.gz) = VxlsgWIRpykA/cVDQesBMg==
-MD5 (patch-1.5.12.rr.compressed.1.gz) = u35DnXSyLt6RLS0whisTZw==
-MD5 (patch-1.5.12.sidebar.20060720.txt-fixed) = D50gbC1jspWBqTT2rt/7wg==
-RMD160 (mutt-1.5.12.tar.gz) = 5o1MWwmbgUh2nROKNvqFYbJ4lpw=
-RMD160 (patch-1.5.12.rr.compressed.1.gz) = fJujLZRMyELDQFNe5ikTMFLiaA8=
-RMD160 (patch-1.5.12.sidebar.20060720.txt-fixed) = vqh6fLv/g4mRLb2VIxYZ9dLQJ+4=
-SHA1 (mutt-1.5.12.tar.gz) = u4iKNfQqd95+MmwDtghUrRzCZuo=
-SHA1 (patch-1.5.12.rr.compressed.1.gz) = I9Ix9D2D4B55zemGFnkRZUFDZEY=
-SHA1 (patch-1.5.12.sidebar.20060720.txt-fixed) = 3t8eNwwIwiTVYrUkk1mKNKe2HP8=
-SHA256 (mutt-1.5.12.tar.gz) = DQwqts6g2TV5vFSQ+v2uO/ZABw2ZNJDHsAzKxPqAi2c=
-SHA256 (patch-1.5.12.rr.compressed.1.gz) = 
3XJf+4BlEhPJbbTvta8NASJzQMvgr0L0mHdTnVoEjpE=
-SHA256 (patch-1.5.12.sidebar.20060720.txt-fixed) = 
aodlLbf+M3VRvt3CBISTfnbf6Kf3JxChnJXvfBCyX+M=
-SIZE (mutt-1.5.12.tar.gz) = 3440835
-SIZE (patch-1.5.12.rr.compressed.1.gz) = 10430
-SIZE (patch-1.5.12.sidebar.20060720.txt-fixed) = 47421
+MD5 (mutt-1.5.14.tar.gz) = bTO08AdOOXcgIdlHxJswxg==
+MD5 (patch-1.5.14.rr.compressed.1.gz) = p5BFOZc/gAyrXOOIhTQggQ==
+MD5 (patch-1.5.14.sidebar.20070223.txt) = tMuT7HBTyivh9CU9jFRZNw==
+RMD160 (mutt-1.5.14.tar.gz) = 7U7q9103dX7Vs3DpdjtvhSTfXKc=
+RMD160 (patch-1.5.14.rr.compressed.1.gz) = B1aoeMwwljbfFkz+IVB+hVQULE8=
+RMD160 (patch-1.5.14.sidebar.20070223.txt) = 3tv1vqMJzBABbHWP69/r7OHGKgU=
+SHA1 (mutt-1.5.14.tar.gz) = e+CYwTMC+ripVAldF6mmTh4VGcE=

Re: snort alert timestamps are close to random [re-post to [EMAIL PROTECTED]

2007-04-06 Thread Soner Tari
To confirm that the issue is only on amd64 (not that we needed any
confirmation, I guess), I've downloaded and installed both i386 and
amd64 versions of 4.1, and snort 2.6.0.2 packages accordingly.

There is no problem on i386, but on amd64 snort has the same problem as
described in my previous post.

I would appreciate any hints as to where to look for the source of such
a problem (in the source code).

On Fri, 2007-04-06 at 14:30 +0300, Soner Tari wrote:
 (Since I was told that ports@ is the place to post my problem, I am
 re-posting here. Btw, I am ready to test any patches/suggestions to
 snort on amd64. Also, I've manually checked if the differences in the
 following diff file were applied to the 2.6.1.4 source from snort.org,
 as far as I can see .h and .c diffs were:
 http://secure.lv/~nikns/stuff/ports/snort-2.6.1.2.diff )
 
 I'm running snort on OpenBSD 4.0 amd64. I've tried 2.4.5 among the
 packages, and built 2.6.1.4 from the source (are there any special
 configure options I should use?). Also I've tried many combinations of
 rules: registered user, community and bleeding-edge rules. The same
 result.
 
 For example, when I run nmap for the TargetIP, TCP Portscan alert logs
 report the datetime as follows (shown only the timestamp lines):
 
 04/05-15:55:09.000174 SrcIP - TargetIP
 04/05-20:14:48.000174 SrcIP - TargetIP
 04/06-06:11:01.000174 SrcIP - TargetIP
 04/05-19:09:59.000169 SrcIP - TargetIP
 04/06-00:22:37.000174 SrcIP - TargetIP
 
 The datetime was around 11:48 AM on Apr 06, +/-2mins for each nmap run
 (order of runs is as shown).
 
 Granted the date is within 24 hours, but apparently the hour is, well,
 random.
 
 If I use tcpdump style logs, I see that the datetimes reported there are
 correct.
 
 Also, I've used BASE, it reports Timestamp as all 0's. But I deem that
 this may be due to something else, probably the database time format, I
 don't know. (To be exact, I've used and built both plain and mysql
 versions of snort, with the same result.)
 
 Could somebody tell me what I may be doing wrong? Any links I wasn't
 able to find?
 
 Thanks,
 
 
 



simplify updating of config files after pkg_add -r

2007-04-06 Thread Ingo Schwarze
When a file installed by a @sample packing list directive was changed
locally, manually updating it can be tedious after pkg_add -r.
Even worse, after updating many packages using pkg_add -u,
finding out which config files need updating is non-trivial.

The following patch prepares a diff between the old and the new default
versions.  Just read this diff, apply it to your installed version,
manually resolve any conflicts and you are done.

This diff is still proof-of-concept quality.  In particular, i should
probably use p5-Text-Diff instead of system(diff).  In case you like
the general idea, i shall do the necessary polishing.  Any advice
is welcome.

This patch is also available from
  http://www.studis.de/Software/pkg_add-update_sample-v0.patch

Index: usr.sbin/pkg_add/OpenBSD/Add.pm
===
RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/Add.pm,v
retrieving revision 1.50
diff -u -r1.50 Add.pm
--- usr.sbin/pkg_add/OpenBSD/Add.pm 24 Feb 2007 18:45:11 -  1.50
+++ usr.sbin/pkg_add/OpenBSD/Add.pm 6 Apr 2007 15:14:55 -
@@ -471,15 +471,29 @@
if (-e $filename) {
if ($state-{verbose}) {
print The existing file $filename has NOT been changed\n;
+   }
+   if (!$state-{quick}) {
if (defined $orig-{md5}) {
require OpenBSD::md5;
 
my $md5 = OpenBSD::md5::fromfile($filename);
if ($md5 eq $orig-{md5}) {
-   print (but it seems to match the sample file 
$origname)\n;
+   if ($state-{verbose}) {
+   print (but it seems to match the sample file 
$origname)\n;
+   }
} else {
-   print It does NOT match the sample file 
$origname\n;
-   print You may wish to update it manually\n;
+   if ($state-{verbose}) {
+   print It does NOT match the sample file 
$origname\n;
+   }
+   if (defined $self-{oldsample}) {
+   my $no_slash_name = $filename;
+   $no_slash_name =~ s,^/,,;
+   # XXX we should probably use p5-Text-Diff
+   system(diff -u -L $no_slash_name.orig -L 
$no_slash_name $self-{oldsample} $origname  $filename.patch);
+   $state-print(Consider patch -d /  
$filename.patch\n);
+   } elsif ($state-{verbose}) {
+   print You may wish to update it manually\n;
+   }
}
}
}
@@ -495,6 +509,10 @@
print installed $filename from $origname\n;
}
}
+   }
+   if (defined $self-{oldsample}) {
+   unlink($self-{oldsample});
+   delete $self-{oldsample};
}
 }
 
Index: usr.sbin/pkg_add/OpenBSD/Replace.pm
===
RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/Replace.pm,v
retrieving revision 1.3
diff -u -r1.3 Replace.pm
--- usr.sbin/pkg_add/OpenBSD/Replace.pm 17 Nov 2006 15:34:15 -  1.3
+++ usr.sbin/pkg_add/OpenBSD/Replace.pm 6 Apr 2007 15:14:55 -
@@ -101,8 +101,32 @@
 }
 
 package OpenBSD::PackingElement::Sample;
+use File::Temp qw/tempfile/;
+
 sub extract
 {
+   my ($self, $state) = @_;
+   return if $state-{quick};
+
+   my $destdir = $state-{destdir};
+   my $filename = $destdir.$self-fullname();
+   my $orig = $self-{copyfrom};
+   my $origname = $destdir.$orig-fullname();
+   if (-e $filename  -e $origname) {
+   if ($state-{not}) {
+   print saving old sample under $destdir\n
+   if $state-{very_verbose};
+   } else {
+   my ($fh, $tempname) = tempfile('pkg.XX',
+   DIR = $destdir);
+
+   print saving old sample $tempname\n
+   if $state-{very_verbose};
+   if (copy($origname, $tempname)) {
+   $self-{oldsample} = $tempname;
+   }
+   }
+   }
 }
 
 package OpenBSD::PackingElement::Sampledir;



Re: RESUBMIT: x11/xfce4 update to 4.4.0

2007-04-06 Thread Landry Breuil
On Sun, Apr 01, 2007 at 01:15:36PM +0200, Landry Breuil wrote:
 Hi !
 
 I know this has been awaited by some ppl, here is the update for Xfce
 4.4.0, based on bsdmaniak's work
 (http://marc.info/?l=openbsd-portsm=117001449822494w=2). I've cleaned
 various things : mostly changes in WANTLIB/LIB_DEPENDS, removed explicit
 enable-startup-notification (detected by pkg-config, and in WANTLIB),
 enabled D-BUS where needed (important for internal communication between
 Xfce parts, modified some pkg/DESCR, and finally exploded the big patch

...snip...

 - port goodies/panel-plugins (http://goodies.xfce.org) and update existing 
 ones once
   core is in cvs. Maybe create a x11/xfce4/goodies subdir ?

Here's the first one, xfce4-mpc-plugin, a simple panel-plugin to control
audio/mpd.

http://gcu.info/~gaston/patches/xfce4-mpc-plugin.tgz
Comments ? tests ? Works here @i386, i'm thinking about removing the
libmpd dependency (a simple connection library is embedded..)

I'd just like to add that Xfce 4.4.1, a bugfix release, will be released
in a few days, so as soon as i come back from holidays i'll update my
patches to this latest version.

Landry



RESUBMIT: archivers/p7zip

2007-04-06 Thread Josh Grosse
Originally submitted in January.  Now, with:

ONLY_FOR_ARCHS= amd64 i386 armish

as it had been confirmed to run on those platforms, and would not run
on sparc64, nor on vax. 

Thanks to Steven Mestdagh and Stuart Henderson for their help and advice
in January and February.

-Josh Grosse-

tarball attached.


p7zip.tgz
Description: application/tar-gz


graphics/ocrad (was:: repost of updated and new ports)

2007-04-06 Thread Matthias Kilian
On Tue, Apr 03, 2007 at 07:37:58AM -0400, [EMAIL PROTECTED] wrote:
 graphics/ocrad (new)
 http://openbsd.rutgers.edu/ocrad.tar

Some fixes to that port, see attachment.

- MASTER_SITES is ${MASTER_SITE_GNU:=ocrad/}, not just ${MASTER_SITE_GNU}.

- REGRESS_TARGET=check

- Patched Makefile.in to get correct CXX, CXXFLAGS, LDFLAGS etc. and
  to make correct use of install(1)


Ciao,
Kili


-- 
Umweltbeitrag:
Diese Packung besteht aus Rohstoffen, die recycelbar sind.
Die Garantie dafür ist Der grüne Punkt.
-- Aufdruck auf einer Weichspülerpackung


ocrad.tgz
Description: application/tar-gz


update: mail/fdm 1.1

2007-04-06 Thread Nicholas Marriott
Update to 1.1. Tested on i386, sparc64, sparc.

Please test, etc.

-- Nicholas.

Index: Makefile
===
RCS file: /cvs/ports/mail/fdm/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile6 Feb 2007 07:27:24 -   1.2
+++ Makefile6 Apr 2007 14:10:58 -
@@ -2,7 +2,7 @@
 
 COMMENT=   fetch, filter and deliver mail
 
-DISTNAME=  fdm-0.9a
+DISTNAME=  fdm-1.1
 CATEGORIES=mail
 
 HOMEPAGE=   http://fdm.sourceforge.net/
Index: distinfo
===
RCS file: /cvs/ports/mail/fdm/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo5 Apr 2007 16:20:01 -   1.3
+++ distinfo6 Apr 2007 14:10:58 -
@@ -1,5 +1,5 @@
-MD5 (fdm-0.9a.tar.gz) = H8RDsCwf5mVzEt6gquw/eQ==
-RMD160 (fdm-0.9a.tar.gz) = eXEoxH/bPu3svBznm7xqGLfw0hE=
-SHA1 (fdm-0.9a.tar.gz) = BsP6FRpCgaXLYIhwzp9aFgz8J54=
-SHA256 (fdm-0.9a.tar.gz) = 6ItGA5Da/+Jnzdt0wz5mlgj2J3J0dGiwKL01ga+Hamo=
-SIZE (fdm-0.9a.tar.gz) = 102575
+MD5 (fdm-1.1.tar.gz) = e9L2k9pkpmq3DgAx09rJnw==
+RMD160 (fdm-1.1.tar.gz) = eKz6Ml2YIE5buECQ3psSZq775pY=
+SHA1 (fdm-1.1.tar.gz) = REYkKQCqTWYK8ys6mmFbx52nPYw=
+SHA256 (fdm-1.1.tar.gz) = OQjZqrYptukniddwzhGWPfKf+qDMkt1bE7KYN2Ew6Zk=
+SIZE (fdm-1.1.tar.gz) = 141981
Index: pkg/PLIST
===
RCS file: /cvs/ports/mail/fdm/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   6 Feb 2007 07:27:24 -   1.2
+++ pkg/PLIST   6 Apr 2007 14:10:58 -
@@ -6,7 +6,9 @@ share/doc/fdm/
 share/doc/fdm/MANUAL
 share/doc/fdm/README
 share/examples/fdm/
+share/examples/fdm/f-terbeck.conf
 share/examples/fdm/n-marriott.conf
+share/examples/fdm/t-ulmer.conf
 share/examples/fdm/w-maier.conf
 share/fdm/
 share/fdm/fdm-sanitize



Re: MySQL 5.0.37

2007-04-06 Thread Brad
On Sat, 31 Mar 2007 16:19:48 -0400
Brad [EMAIL PROTECTED] wrote:

 On Sat, 31 Mar 2007 19:29:25 +0200
 Frank Denis [EMAIL PROTECTED] wrote:
 
Hello,

Here's a trivial update to MySQL 5.0.37. Mostly bug fixes.

Tested under load on i386 and amd64.
 
 The man pages should be in the -server sub-package.
 
 Tested on amd64 here.

And updated for the change in checksum format.

Index: Makefile
===
RCS file: /cvs/ports/databases/mysql/Makefile,v
retrieving revision 1.129
diff -u -p -r1.129 Makefile
--- Makefile2007/01/25 07:41:48 1.129
+++ Makefile2007/04/06 18:27:44
@@ -9,7 +9,7 @@ COMMENT-main=   multithreaded SQL databas
 COMMENT-server=multithreaded SQL database (server)
 COMMENT-tests= multithreaded SQL database (regression test suite)
 
-VERSION=   5.0.33
+VERSION=   5.0.37
 DISTNAME=  mysql-${VERSION}
 PKGNAME-main=  mysql-client-${VERSION}
 PKGNAME-server=mysql-server-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/databases/mysql/distinfo,v
retrieving revision 1.28
diff -u -p -r1.28 distinfo
--- distinfo2007/04/05 15:37:49 1.28
+++ distinfo2007/04/06 18:27:44
@@ -1,5 +1,5 @@
-MD5 (mysql-5.0.33.tar.gz) = EMuFJ2oUaMeQak/03VZdYQ==
-RMD160 (mysql-5.0.33.tar.gz) = 1OGVu6Xo7uQ74qqTXFngThoWb7U=
-SHA1 (mysql-5.0.33.tar.gz) = eIk6o/L6dlDdATvTV7JtTuNiXAk=
-SHA256 (mysql-5.0.33.tar.gz) = INizh0NvIlXBPqr8HJ4IwVue9k1BHUsE8Fw83AF3LaI=
-SIZE (mysql-5.0.33.tar.gz) = 23045481
+MD5 (mysql-5.0.37.tar.gz) = Ju12+stYverkDIMQ4zfd4g==
+RMD160 (mysql-5.0.37.tar.gz) = Ey04hqgfzsm+UM3I2XyGiSj1Qk8=
+SHA1 (mysql-5.0.37.tar.gz) = fJV9QzcVbH+YsGF/1aY/OoOKm8Q=
+SHA256 (mysql-5.0.37.tar.gz) = mdQF3WiPmbg3nsE3MUOtJZ53vhTSJ3H4WwBY21Ayhcg=
+SIZE (mysql-5.0.37.tar.gz) = 23239518
Index: patches/patch-configure_in
===
RCS file: /cvs/ports/databases/mysql/patches/patch-configure_in,v
retrieving revision 1.20
diff -u -p -r1.20 patch-configure_in
--- patches/patch-configure_in  2007/01/25 07:41:48 1.20
+++ patches/patch-configure_in  2007/04/06 18:27:44
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure_in,v 1.20 2007/01/25 07:41:48 jakob Exp $
 configure.in.orig  Tue Jan  9 07:51:08 2007
-+++ configure.in   Sun Jan 14 21:29:24 2007
-@@ -457,44 +457,7 @@ AC_SUBST(ICHECK)
+--- configure.in.orig  Mon Mar  5 20:21:13 2007
 configure.in   Sat Mar 31 19:00:36 2007
+@@ -465,44 +465,7 @@ AC_SUBST(ICHECK)
  AC_PATH_PROG(PS, ps, ps)
  AC_MSG_CHECKING(how to check if pid exists)
  PS=$ac_cv_path_PS
@@ -47,7 +47,7 @@ $OpenBSD: patch-configure_in,v 1.20 2007
  AC_SUBST(FIND_PROC)
  AC_MSG_RESULT($FIND_PROC)
  
-@@ -795,7 +758,8 @@ AC_ARG_WITH(libwrap,
+@@ -833,7 +796,8 @@ AC_ARG_WITH(libwrap,
  AC_CHECK_HEADER(tcpd.h,
LIBS=-lwrap $LIBS
AC_MSG_CHECKING(for TCP wrappers library -lwrap)
@@ -57,7 +57,7 @@ $OpenBSD: patch-configure_in,v 1.20 2007
  int allow_severity = 0;
  int deny_severity  = 0;
  
-@@ -1563,7 +1527,7 @@ then
+@@ -1601,7 +1565,7 @@ then
AC_CHECK_LIB(c_r,strtok_r)
case $with_osf32_threads---$target_os in
  # Don't keep -lc_r in LIBS; -pthread handles it magically
@@ -66,7 +66,7 @@ $OpenBSD: patch-configure_in,v 1.20 2007
  
esac
AC_CHECK_FUNCS(strtok_r pthread_init)
-@@ -1611,29 +1575,6 @@ case $SYSTEM_TYPE in
+@@ -1649,29 +1613,6 @@ case $SYSTEM_TYPE in
  AC_SYS_RESTARTABLE_SYSCALLS
  ;;
  esac
Index: patches/patch-include_my_global_h
===
RCS file: /cvs/ports/databases/mysql/patches/patch-include_my_global_h,v
retrieving revision 1.5
diff -u -p -r1.5 patch-include_my_global_h
--- patches/patch-include_my_global_h   2006/03/10 23:51:53 1.5
+++ patches/patch-include_my_global_h   2007/04/06 18:27:44
@@ -1,7 +1,7 @@
 $OpenBSD: patch-include_my_global_h,v 1.5 2006/03/10 23:51:53 brad Exp $
 include/my_global.h.orig   Sat Mar  4 15:34:48 2006
-+++ include/my_global.hTue Mar  7 22:18:47 2006
-@@ -57,6 +57,10 @@
+--- include/my_global.h.orig   Mon Mar  5 20:21:41 2007
 include/my_global.hSat Mar 31 19:00:41 2007
+@@ -56,6 +56,10 @@
  #define USE_PRAGMA_INTERFACE
  #endif
  
Index: patches/patch-innobase_Makefile_in
===
RCS file: /cvs/ports/databases/mysql/patches/patch-innobase_Makefile_in,v
retrieving revision 1.9
diff -u -p -r1.9 patch-innobase_Makefile_in
--- patches/patch-innobase_Makefile_in  2006/10/14 05:04:54 1.9
+++ patches/patch-innobase_Makefile_in  2007/04/06 18:27:44
@@ -1,7 +1,7 @@
 $OpenBSD: patch-innobase_Makefile_in,v 1.9 2006/10/14 05:04:54 brad Exp $
 innobase/Makefile.in.orig  Wed Oct  4 07:26:50 2006
-+++ innobase/Makefile.in   Thu Oct 12 05:18:57 2006
-@@ -549,9 +549,9 @@ distcleancheck: distclean
+--- innobase/Makefile.in.orig  Mon Mar  5 

Re: MySQL 5.0.37

2007-04-06 Thread Frank Denis

Le Fri, Apr 06, 2007 at 03:12:17PM -0400, Brad ecrivait :

And updated for the change in checksum format.


 Works for me.



Re: RESUBMIT: x11/xfce4 update to 4.4.0

2007-04-06 Thread Landry Breuil
On Fri, Apr 06, 2007 at 03:20:21PM -0400, Brad wrote:
 On Sun, 1 Apr 2007 13:15:36 +0200
 Landry Breuil [EMAIL PROTECTED] wrote:
 
  Hi !
  
  I know this has been awaited by some ppl, here is the update for Xfce
  4.4.0, based on bsdmaniak's work
  (http://marc.info/?l=openbsd-portsm=117001449822494w=2). I've cleaned
  various things : mostly changes in WANTLIB/LIB_DEPENDS, removed explicit
  enable-startup-notification (detected by pkg-config, and in WANTLIB),
  enabled D-BUS where needed (important for internal communication between
  Xfce parts, modified some pkg/DESCR, and finally exploded the big patch
  into several diff -uN patches against cvs, one by port.
 
 There is no such variable as USE_BZIP2 being used by the ports framework.
 That's a FreeBSD-ism. Set EXTRACT_SUFX to .tar.bz2 for example or just
 use the proper suffix with the distfiles, etc. does the right thing.

I trust you, but USE_BZIP2 is in bsd.port.mk(5)... i'll change this in
my diffs.

Anyway, here's another diff against cvs, this time xfce4-systemload
plugin has been updated to 0.4.2. Works here @i386, but i'm not really
happy with the HW_PHYSMEM64 patch...

http://gcu.info/~gaston/patches/x11-xfce4-xfce4-systemload.diff

Tests, comments welcome..

Landry



Re: RESUBMIT: x11/xfce4 update to 4.4.0

2007-04-06 Thread Brad
On Fri, 6 Apr 2007 23:04:15 +0200
Landry Breuil [EMAIL PROTECTED] wrote:

 On Fri, Apr 06, 2007 at 03:20:21PM -0400, Brad wrote:
  On Sun, 1 Apr 2007 13:15:36 +0200
  Landry Breuil [EMAIL PROTECTED] wrote:
  
   Hi !
   
   I know this has been awaited by some ppl, here is the update for Xfce
   4.4.0, based on bsdmaniak's work
   (http://marc.info/?l=openbsd-portsm=117001449822494w=2). I've cleaned
   various things : mostly changes in WANTLIB/LIB_DEPENDS, removed explicit
   enable-startup-notification (detected by pkg-config, and in WANTLIB),
   enabled D-BUS where needed (important for internal communication between
   Xfce parts, modified some pkg/DESCR, and finally exploded the big patch
   into several diff -uN patches against cvs, one by port.
  
  There is no such variable as USE_BZIP2 being used by the ports framework.
  That's a FreeBSD-ism. Set EXTRACT_SUFX to .tar.bz2 for example or just
  use the proper suffix with the distfiles, etc. does the right thing.
 
 I trust you, but USE_BZIP2 is in bsd.port.mk(5)... i'll change this in
 my diffs.

Yes, in the OBSOLETE VARIABLES section with a description of..

 USE_BZIP2 The framework will automatically detect the presence of
   .tar.bz2 files to extract.

 Anyway, here's another diff against cvs, this time xfce4-systemload
 plugin has been updated to 0.4.2. Works here @i386, but i'm not really
 happy with the HW_PHYSMEM64 patch...
 
 http://gcu.info/~gaston/patches/x11-xfce4-xfce4-systemload.diff
 
 Tests, comments welcome..
 
 Landry



Re: RESUBMIT: x11/xfce4 update to 4.4.0

2007-04-06 Thread Will Maier
On Fri, Apr 06, 2007 at 11:04:15PM +0200, Landry Breuil wrote:
 On Fri, Apr 06, 2007 at 03:20:21PM -0400, Brad wrote:
  There is no such variable as USE_BZIP2 being used by the ports
  framework.  That's a FreeBSD-ism. Set EXTRACT_SUFX to .tar.bz2
  for example or just use the proper suffix with the distfiles,
  etc. does the right thing.
 
 I trust you, but USE_BZIP2 is in bsd.port.mk(5)... i'll change
 this in my diffs.

Yes; it's in bsd.port.mk(5) in the OBSOLETE VARIABLES section.

-- 

o--{ Will Maier }--o
| web:...http://www.lfod.us/ | [EMAIL PROTECTED] |
*--[ BSD Unix: Live Free or Die ]--*



[strange work around] Re: snort alert timestamps are close to random

2007-04-06 Thread Soner Tari
Ok, I think I've found the root cause of the problem, but it's strange.
In ts_print() function in util.c (just for those interested in locating
the line below in snort source code), there is a line like this:

s = (tvp-tv_sec + localzone) % 86400;

On amd64, this produces random output (not so random, but anyway), which
is the value of s. To fix this problem, all I have to do is to expand
that line as follows:

temp = tvp-tv_sec + localzone;
s = temp % 86400;

Since I felt that this is a very dumb thing to do (and just a work
around), I suspected the type of s. So I used different types for s, but
nothing has changed. Also, since I tried -O0 compiler option, I don't
think it's an optimization problem.

Could somebody explain how this is possible? On amd64 what is it that's
different from i386 and can cause a problem like this? And what is the
correct way of fixing it?

Thanks,



Re: New i386 snapshot

2007-04-06 Thread Christian Weisgerber
A new i386-current package snapshot is uploading.  This is now in
sync with the X snapshot libraries.  Also, most of the fallout from
the switch to xenocara has been fixed.

Ports that failed to build:

inputmethods/uim
multimedia/gstreamer-0.10/plugins-bad
multimedia/kaffeine
net/openafs

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Stupisci... seduzione estetica, magnetismo e fascinazione.

2007-04-06 Thread nlp
ISI-CNV.
IL TUO DOMANI.
seminario di pratica immediata
Diretto dal dott Paret
ancora 2 posti per il nostro percorso Hypnosis Essential.
un corso dedicato all'ipnosi con le più approfondite tecniche (con
certificazione).
A Torino in data 13 (dalle 21 alle 23).
Giorno 14 dalle 10 alle 18
a partire da 399 euro.

incredibile bonus!
in omaggio per i partecipanti ancora 2 posti ...
stupisci... Seminario di Seduzione ipno-estetica, Magnetismo e
Fascinazione

[IMAGE]

[IMAGE]

libera le tue emozioni!!! da oggi puoi liberare le tue emozioni e
controllare il tuo stato emozionale. data 15 aprileTorinodalle 10 alle
18.max 12 partecipantiSeminario accessibile anche separatamente a partire
da 99 euro.chiama il 3478894323 o il 3482213449 per prenotazioni ed info.
Oppure clicca qui e ti richiameremo.possibilità di prenotare il dvd
girato in classe sulla seduzione.

[IMAGE]

[IMAGE]

Scopri il Programma del seminario del 15 aprile...

[IMAGE]

- creare Rapport in base all'atteggiamento individuale
- affascina usando lo sguardo in maniera giusta .
- migliora il tuo tono di voce e altri elementi della Comunicazione Non
Verbale
-Tutto quello che desideri  sulle strategie  dell'attrazione .
- apparire irresistibili ed esserlo -
- Creare un'aura magnetica
- basi di fascinazioneINOLTRE migliora il linguaggio con i sottili
elementi della comunicazione seduttiva.
-Capire dal linguaggio verbale e non verbale quando una persona è
realmente interessata.
-Come creare e come applicare il Magnetismo. 
- auto-controllo personalein tutte le situazioni guida le  tue emozioni.-
seduzione estetica:consigli e suggerimenti sulle tecniche dell'ipnosi
estetica:idee pratiche e semplici utili per il ringiovanimento cellulare,
freschezza ed energia vitale.
affascina e lasciati affascinare ...ora puoi!!lo Staff ISI CNVti aspetta!

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]


 ULTERIORI INIZIATIVE DELLA SCUOLA

Corsi di PNL e Comunicazione a tutti i livelli con certificazione
internazionale e possibilità di lavorare in Italia.
Per date ed informazioni nelle varie località clicca qui

Le iniziative della scuola ti permettono di ottenere in un unico percorso
certificazione di PNL, Coach e Counselor!

  * Corsi Coaching

  * Corsi Counseling

  * Formazioni Trainer e Master Trainer di PNL certificate
internazionalmente

Inoltre

  * Formazioni in Ipnosi e Comunicazione Ipnotica per Operatori e per chi
lo vuole divenire

TELEFONACI AL 347-8894323 oppure 348-2213449

modulo web richiesta info: http://www.pnl-nlp.org/courses/contactus.php

e ti richiameremo noi!

Ti invitiamo anche ai nostri corsi gratuiti online (manda semplicemente
un email):

  * autoipnosi: [EMAIL PROTECTED]

  * PNL: [EMAIL PROTECTED]

  * Quantum: [EMAIL PROTECTED]

I migliori Saluti da parte del dr. Marco Paret
Direttore della Scuola
http://www.neurolinguistic.com/
Scopri la differenza! Le formazioni più convenienti, efficaci ed
innovative d'Italia!

Tel. 347-88943323 oppure 348-2213449



Abbiamo piacere di inviare solo a persone realmente interessate. La
nostra Lista fornisce materiale ed informazioni su Comunicazione, PNL,
PN3, Presenza, Comunicazione Ipnotica e molti ebook gratuiti tramite il
sito www.pnl-nlp.org/dn/ o gli altri siti correlati.
Scriviamo anche a chi ci ha inviato una mail e teniamo copia di tutte le
mail ricevute.
Questa lista contiene esclusivamente indirizzi corrispondenti a messaggi
da noi ricevuti o persone che hanno scaricato materiale dai nostri siti.

Se vuoi cancellarti utilizza ESCLUSIVAMENTE il link in fondo alla
lettera. Scrivi a [EMAIL PROTECTED] solo in caso di difficoltà
reinviando la presente lettera

All names in this list come from our sites as www.pnl-nlp.org/dn/  (free
NLP and Hypnosis downloads) and others , or from letters we have
received.
If you want no more use the link below.If

If you want to receive just info in english on NLP and related
disciplines write to [EMAIL PROTECTED]


[IMAGE]IHI
33, Rue de Paris
NICE
06000
France
You may unsubscribe or change your contact details at any time.


Fix for devel/jam

2007-04-06 Thread Josh Elsasser
The patch for jam.h is incorrect, it defined OS_MINOR instead of
OSMINOR. This results in jam setting $(OS) to UNKNOWN instead of
OPENBSD. This can easily be seen in the jam -v output:

$ jam -v
Jam 2.5. OS=UNKNOWN. Copyright 1993-2002 Christopher Seiwald.

$ ./w-jam-2.5/jam-2.5/bin/jam -v   
Jam 2.5. OS=OPENBSD. Copyright 1993-2002 Christopher Seiwald.

 -jre
--- patches/patch-jam_h.~1.2.~	Sat Apr 29 08:35:47 2006
+++ patches/patch-jam_h	Fri Apr  6 19:22:52 2007
@@ -7,7 +7,7 @@
  # endif
 +# ifdef __OpenBSD__
 +# define unix
-+# define OS_MINOR OS=OPENBSD
++# define OSMINOR OS=OPENBSD
 +# define OS_OPENBSD
 +# endif
  # ifdef __QNX__


pgp6XA7ZRllXk.pgp
Description: PGP signature