Re: NEW: bunny the fuzzer

2007-11-07 Thread Nicholas Marriott
Hi,

> > Bunny uses automatically generated C-level instrumentation to focus on
> > runtime inputs observed to trigger new control flow paths or interesting
> > parameter variations - and to bail out early on dead-end fuzzing routes.

> With these, it builds fine and bunny-gcc/bunny-trace both work fine for me on
> amd64 and i386. I haven't had time to try it as a fuzzer yet though.

Attached is an updated port of version 0.92 which has fixed several bugs
that prevented it working on OpenBSD.

The program uses some inline asm to do locking so the port is ONLY_FOR_ARCHS
amd64, i386.

Now works for me without problems on i386, amd64.

Please test, etc.

-- Nicholas.


bunny092.tar.gz
Description: application/tar-gz


Re: [new] p5-Net-DBus

2007-11-07 Thread Okan Demirmen
On Tue 2007.11.06 at 13:53 +0100, Landry Breuil wrote:
> On Tue, Nov 06, 2007 at 01:31:13PM +0100, Landry Breuil wrote:
> > On Mon, Nov 05, 2007 at 08:43:57PM +0100, Landry Breuil wrote:
> > > Hi,
> > > 
> > > a little port for the D-Bus perl binding, it surely needs more eyes and
> > > testing as i'm not a perl-port expert, but it basically works for me
> > > @i386 in a sample appl.
> > > 
> > > http://gcu.info/ports/p5-net-DBus.tar.gz (untar in ports/)
> > > Comments and feedback welcome.
> > 
> > This time with help and feedback from simon, espie and steven :
> > http://gcu.info/ports/p5-net-DBus_3.tar.gz
> Err, sorry again, this should be 
> http://gcu.info/~gaston/ports/p5-Net-DBus_3.tar.gz

works for me.



Re: OpenBSD 4.2 AMD64 x86_64 TightVNC

2007-11-07 Thread Karle, Christopher P
At least someone searching the ports mailing list archives can find something, 
since it's not a priority for anyone with commit access.
 
Are you patching against OPENBSD_4_2 tagged ports?  It might not patch cleanly 
against current.
 



From: Nikns Siankin [mailto:[EMAIL PROTECTED]
Sent: Wed 11/7/2007 9:37 AM
To: Karle, Christopher P
Cc: ports@openbsd.org
Subject: Re: OpenBSD 4.2 AMD64 x86_64 TightVNC



Yes, vnc on amd64 is broken for years,
however noone of commiters seems interested in vnc.

btw, patch desn't apply cleanly.

On Wed, Nov 07, 2007 at 08:09:58AM -0600, Karle, Christopher P wrote:
>I created a patch for the OPENBSD_4_2 tagged version of TightVNC found in 
>ports.  This patch allows TightVNC to work for AMD64 (or x86_64 if you prefer) 
>platforms.
>
>I am not subscribed to the list, so you'll have to respond to me directly if 
>you have any comments.
>
>
>--- Makefile Tue Nov 21 04:23:47 2006
>+++ Makefile Tue Nov  6 20:03:14 2007
>@@ -3,8 +3,8 @@
> COMMENT-main= "cross-platform remote desktop access"
> COMMENT-viewer= "client for cross-platform remote desktop access"
>
>-VERSION= 1.2.9
>-PKGNAME-main= tightvnc-${VERSION}p0
>+VERSION= 1.3.9
>+PKGNAME-main= tightvnc-${VERSION}
> PKGNAME-viewer= tightvnc-viewer-${VERSION}
> DISTNAME= tightvnc-${VERSION}_unixsrc
> CATEGORIES= net
>--- distinfo Thu Apr  5 11:20:16 2007
>+++ distinfo Tue Nov  6 11:28:44 2007
>@@ -1,5 +1,5 @@
>-MD5 (tightvnc-1.2.9_unixsrc.tar.gz) = uid9xWoM/tLk+6d48hnNCA==
>-RMD160 (tightvnc-1.2.9_unixsrc.tar.gz) = 6IlBVQHtWeWBsbzbaZKaUxWl9rY=
>-SHA1 (tightvnc-1.2.9_unixsrc.tar.gz) = THEZji0/OuiUroAWGeKdtO6mHak=
>-SHA256 (tightvnc-1.2.9_unixsrc.tar.gz) = 
>w+b7o1P2rdaBtdSpz8vZRbT+wURoS7+vGS44lmQg0nI=
>-SIZE (tightvnc-1.2.9_unixsrc.tar.gz) = 2154893
>+MD5 (tightvnc-1.3.9_unixsrc.tar.gz) = gLkE1KEPzO6QRdD+6qZd+A==
>+RMD160 (tightvnc-1.3.9_unixsrc.tar.gz) = nGPsmZGv8cINCw/QfbNt2nNAYo8=
>+SHA1 (tightvnc-1.3.9_unixsrc.tar.gz) = CyGmDgYGAuIlsXZpXB3deH8AftI=
>+SHA256 (tightvnc-1.3.9_unixsrc.tar.gz) = 
>VgYnCLtUdCX46PD5xXHU+gb8yJoRFGpbFcYI/Y3r24A=
>+SIZE (tightvnc-1.3.9_unixsrc.tar.gz) = 2246697
>--- patches/patch-Xvnc_config_cf_Image_cf Wed Dec 31 18:00:00 1969
>+++ patches/patch-Xvnc_config_cf_Image_cf Tue Nov  6 19:47:05 2007
>@@ -0,0 +1,16 @@
>+--- Xvnc/config/cf/Imake.cf Sat Dec 23 06:07:55 2006
> Xvnc/config/cf/Imake.cf Tue Nov  6 19:36:15 2007
>+@@ -106,6 +106,13 @@
>+ #  define i386Architecture
>+ #  undef i386
>+ # endif
>++# ifdef __amd64__
>++#  define x86_64BsdArchitecture
>++#  define x86_64Architecture
>++#  define i386BsdArchitecture
>++#  define i386Architecture
>++#  undef amd64
>++# endif
>+ # if defined(__sparc__) || defined(sparc)
>+ #  define SparcArchitecture
>+ #  undef sparc
>--- patches/patch-Xvnc_config_cf_OpenBSD_cf Fri May 27 18:17:06 2005
>+++ patches/patch-Xvnc_config_cf_OpenBSD_cf Tue Nov  6 19:50:03 2007
>@@ -1,7 +1,6 @@
>-$OpenBSD: patch-Xvnc_config_cf_OpenBSD_cf,v 1.3 2005/05/27 23:17:06 millert 
>Exp $
> Xvnc/config/cf/OpenBSD.cf.orig Sun Jun 11 06:00:51 2000
>-+++ Xvnc/config/cf/OpenBSD.cf Fri May 27 15:48:16 2005
>-@@ -67,7 +67,7 @@ XCOMM operating system:  OSName (OSMajor
>+--- Xvnc/config/cf/OpenBSD.cf Sun Jun 11 07:00:51 2000
> Xvnc/config/cf/OpenBSD.cf Tue Nov  6 19:36:15 2007
>+@@ -67,7 +67,7 @@
>  #if defined(UseInstalled) && (!defined(XF86LinkKit) || !XF86LinkKit)
>  #define DefaultCCOptions  /**/
>  #else
>@@ -10,9 +9,38 @@
>  #endif
> 
>  #define GccGasOption   -DGCCUSESGAS
>-@@ -105,6 +105,25 @@ XCOMM operating system:  OSName (OSMajor
>+@@ -75,9 +75,14 @@
>+
>+
>+ #ifdef i386Architecture
>++# ifdef x86_64Architecture
>++#  undef DefaultCCOptions
>++#  define DefaultCCOptions -Dasm=__asm -D__x86_64__
>++# else
>++#  define ServerExtraSysLibs -li386
>++# endif
>+ # define OptimizedCDebugFlags  DefaultGcc2i386Opt
>+ # define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
>+-# define ServerExtraSysLibs -li386
>+ #else
>+ # define OptimizedCDebugFlags  -O2
>+ # if defined(SparcArchitecture) || defined(AlphaArchitecture) || 
>defined(AmigaArchitecture) || defined(Sun3Architecture)
>+@@ -87,7 +92,11 @@
>  # endif
>  #endif
>+ #if defined(i386Architecture) || defined(ArcArchitecture)
>+-# define ServerExtraDefines GccGasOption XFree86ServerDefines
>++# ifdef x86_64Architecture
>++#  define ServerExtraDefines GccGasOption XFree86ServerDefines -D_XSERVER64
>++# else
>++#  define ServerExtraDefines GccGasOption XFree86ServerDefines
>++# endif
>+ # ifndef XFree86ConsoleDefines
>+ #  if defined(ArcArchitecture)
>+ #   define XFree86ConsoleDefines -DPCCONS_SUPPORT
>+@@ -105,6 +114,25 @@
>+ # endif
>+ #endif
> 
> +#if defined(SparcArchitecture)
> +# define ServerOSDefines   -DDDXOSINIT
>@@ -36,7 +64,7 @@
>  #define StandardDefines -DCSRG_BASED
>  #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
> 
>-@@ -227,7 +246,7 @@ install.man:: @@\
>+@@ -227,7 +255,7 @@
> 
>  # define XF86Contrib
>  # include 
>--- patches/patch-Xvnc_config_cf_vncli

SECURITY: www/wordpress-mu

2007-11-07 Thread Marc Winiger
This is a sync of WordPress 2.3.1 which includes native tagging support
as well as many bug and security fixes.


Index: wordpress-mu/Makefile
===
RCS file: /cvs/ports/www/wordpress-mu/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- wordpress-mu/Makefile   29 Oct 2007 07:46:33 -  1.1.1.1
+++ wordpress-mu/Makefile   7 Nov 2007 16:20:55 -
@@ -2,7 +2,7 @@
 
 COMMENT=   multi user weblog
 
-DISTNAME=  wordpress-mu-1.2.5a
+DISTNAME=  wordpress-mu-1.3
 CATEGORIES=www
 
 HOMEPAGE=  http://mu.wordpress.org/
Index: wordpress-mu/distinfo
===
RCS file: /cvs/ports/www/wordpress-mu/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- wordpress-mu/distinfo   29 Oct 2007 07:46:33 -  1.1.1.1
+++ wordpress-mu/distinfo   7 Nov 2007 16:20:55 -
@@ -1,5 +1,5 @@
-MD5 (wordpress-mu-1.2.5a.tar.gz) = 8wki2nPej8QxU+wKwgHfBQ==
-RMD160 (wordpress-mu-1.2.5a.tar.gz) = sAO5ZUhQTvCoPYRYJkJEyjC8LIk=
-SHA1 (wordpress-mu-1.2.5a.tar.gz) = Q6ZuV0LD+FbG410B8H5Yry4P0+U=
-SHA256 (wordpress-mu-1.2.5a.tar.gz) = 
FVdH1ph78BKiskOdmwzDgnjazO2SYVqLRXeasO4XS7g=
-SIZE (wordpress-mu-1.2.5a.tar.gz) = 910985
+MD5 (wordpress-mu-1.3.tar.gz) = qcBHluGZVDXL52czlecpAA==
+RMD160 (wordpress-mu-1.3.tar.gz) = gqvGzwIthRBT1RdKnnFZf/w3G6c=
+SHA1 (wordpress-mu-1.3.tar.gz) = ttzAUhOlI46jqiFbf42KxwXMdYk=
+SHA256 (wordpress-mu-1.3.tar.gz) = uDRrBNx4K0hhCfNNkSslTZ0ldgrq8S/qMuJmVPJNDJw=
+SIZE (wordpress-mu-1.3.tar.gz) = 971909
Index: wordpress-mu/pkg/PLIST
===
RCS file: /cvs/ports/www/wordpress-mu/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- wordpress-mu/pkg/PLIST  29 Oct 2007 07:46:33 -  1.1.1.1
+++ wordpress-mu/pkg/PLIST  7 Nov 2007 16:20:56 -
@@ -15,28 +15,32 @@
 wordpress-mu/wp-activate.php
 wordpress-mu/wp-admin/
 wordpress-mu/wp-admin/admin-ajax.php
-wordpress-mu/wp-admin/admin-db.php
 wordpress-mu/wp-admin/admin-footer.php
 wordpress-mu/wp-admin/admin-functions.php
 wordpress-mu/wp-admin/admin-header.php
 wordpress-mu/wp-admin/admin.php
 wordpress-mu/wp-admin/bookmarklet.php
-wordpress-mu/wp-admin/cat.js
-wordpress-mu/wp-admin/categories.js
 wordpress-mu/wp-admin/categories.php
 wordpress-mu/wp-admin/comment.php
-wordpress-mu/wp-admin/custom-fields.js
+wordpress-mu/wp-admin/css/
+wordpress-mu/wp-admin/css/install-rtl.css
+wordpress-mu/wp-admin/css/install.css
+wordpress-mu/wp-admin/css/upload-rtl.css
+wordpress-mu/wp-admin/css/upload.css
+wordpress-mu/wp-admin/css/widgets-rtl.css
+wordpress-mu/wp-admin/css/widgets.css
 wordpress-mu/wp-admin/custom-header.php
-wordpress-mu/wp-admin/dbx-admin-key.js
 wordpress-mu/wp-admin/edit-category-form.php
-wordpress-mu/wp-admin/edit-comments.js
 wordpress-mu/wp-admin/edit-comments.php
 wordpress-mu/wp-admin/edit-form-advanced.php
 wordpress-mu/wp-admin/edit-form-comment.php
 wordpress-mu/wp-admin/edit-form.php
+wordpress-mu/wp-admin/edit-link-categories.php
+wordpress-mu/wp-admin/edit-link-category-form.php
 wordpress-mu/wp-admin/edit-link-form.php
 wordpress-mu/wp-admin/edit-page-form.php
 wordpress-mu/wp-admin/edit-pages.php
+wordpress-mu/wp-admin/edit-post-rows.php
 wordpress-mu/wp-admin/edit.php
 wordpress-mu/wp-admin/export.php
 wordpress-mu/wp-admin/images/
@@ -54,6 +58,7 @@
 wordpress-mu/wp-admin/images/heading-bg.gif
 wordpress-mu/wp-admin/images/login-bkg-bottom.gif
 wordpress-mu/wp-admin/images/login-bkg-tile.gif
+wordpress-mu/wp-admin/images/logo-ghost.png
 wordpress-mu/wp-admin/images/notice.gif
 wordpress-mu/wp-admin/images/toggle.gif
 wordpress-mu/wp-admin/images/wordpress-logo.png
@@ -61,19 +66,52 @@
 wordpress-mu/wp-admin/import.php
 wordpress-mu/wp-admin/import/blogger.php
 wordpress-mu/wp-admin/import/blogware.php
+wordpress-mu/wp-admin/import/btt.php
 wordpress-mu/wp-admin/import/dotclear.php
 wordpress-mu/wp-admin/import/greymatter.php
+wordpress-mu/wp-admin/import/jkw.php
 wordpress-mu/wp-admin/import/livejournal.php
 wordpress-mu/wp-admin/import/mt.php
 wordpress-mu/wp-admin/import/rss.php
+wordpress-mu/wp-admin/import/stp.php
 wordpress-mu/wp-admin/import/textpattern.php
+wordpress-mu/wp-admin/import/utw.php
 wordpress-mu/wp-admin/import/wordpress.php
+wordpress-mu/wp-admin/import/wp-cat2tag.php
+wordpress-mu/wp-admin/includes/
+wordpress-mu/wp-admin/includes/admin.php
+wordpress-mu/wp-admin/includes/bookmark.php
+wordpress-mu/wp-admin/includes/comment.php
+wordpress-mu/wp-admin/includes/file.php
+wordpress-mu/wp-admin/includes/image.php
+wordpress-mu/wp-admin/includes/import.php
+wordpress-mu/wp-admin/includes/misc.php
+wordpress-mu/wp-admin/includes/mu.php
+wordpress-mu/wp-admin/includes/plugin.php
+wordpress-mu/wp-admin/includes/post.php
+wordpress-mu/wp-admin/includes/schema.php
+wordpress-mu/wp-admin/includes/taxonomy.php
+wordpress-mu/wp-admin/includes/template.php
+wordpr

Re: update: mail/sylpheed

2007-11-07 Thread Damien Couderc
On Mon, 5 Nov 2007 23:40:09 +
Rui Reis <[EMAIL PROTECTED]> wrote:

> here's an update to mail/sylpheed.
> 
> fixes remote execution of arbitrary code:
> http://secunia.com/advisories/27379/
> 
> ok?

Yes

Damien



Re: net-snmp-5.4p1.tgz core dumps on OpenBSD 4.2 GENERIC alphaservers

2007-11-07 Thread Christian Weisgerber
Kevin <[EMAIL PROTECTED]> wrote:

> Have been fussing the net-snmp to get snmpd working on my 600 Alpha
> running 4.2 GENERIC.
> 
> pid 26890 (snmpd): unaligned access: va=0x16f091091 pc=0x16d47aa14
> ra=0x16d47aaac op=ldl
> 
> Anyone seeing anything different and/or got any other ideas?

Probably it's an actual bug in net-snmp and you're the first person
to try the package on an architecture that requires strict alignment.
I might have a look later this week.

-- 
Christian "naddy" Weisgerber  [EMAIL PROTECTED]



OpenBSD 4.2 AMD64 x86_64 TightVNC

2007-11-07 Thread Karle, Christopher P
I created a patch for the OPENBSD_4_2 tagged version of TightVNC found in 
ports.  This patch allows TightVNC to work for AMD64 (or x86_64 if you prefer) 
platforms.
 
I am not subscribed to the list, so you'll have to respond to me directly if 
you have any comments.
 
 
--- Makefile Tue Nov 21 04:23:47 2006
+++ Makefile Tue Nov  6 20:03:14 2007
@@ -3,8 +3,8 @@
 COMMENT-main= "cross-platform remote desktop access"
 COMMENT-viewer= "client for cross-platform remote desktop access"
 
-VERSION= 1.2.9
-PKGNAME-main= tightvnc-${VERSION}p0
+VERSION= 1.3.9
+PKGNAME-main= tightvnc-${VERSION}
 PKGNAME-viewer= tightvnc-viewer-${VERSION}
 DISTNAME= tightvnc-${VERSION}_unixsrc
 CATEGORIES= net
--- distinfo Thu Apr  5 11:20:16 2007
+++ distinfo Tue Nov  6 11:28:44 2007
@@ -1,5 +1,5 @@
-MD5 (tightvnc-1.2.9_unixsrc.tar.gz) = uid9xWoM/tLk+6d48hnNCA==
-RMD160 (tightvnc-1.2.9_unixsrc.tar.gz) = 6IlBVQHtWeWBsbzbaZKaUxWl9rY=
-SHA1 (tightvnc-1.2.9_unixsrc.tar.gz) = THEZji0/OuiUroAWGeKdtO6mHak=
-SHA256 (tightvnc-1.2.9_unixsrc.tar.gz) = 
w+b7o1P2rdaBtdSpz8vZRbT+wURoS7+vGS44lmQg0nI=
-SIZE (tightvnc-1.2.9_unixsrc.tar.gz) = 2154893
+MD5 (tightvnc-1.3.9_unixsrc.tar.gz) = gLkE1KEPzO6QRdD+6qZd+A==
+RMD160 (tightvnc-1.3.9_unixsrc.tar.gz) = nGPsmZGv8cINCw/QfbNt2nNAYo8=
+SHA1 (tightvnc-1.3.9_unixsrc.tar.gz) = CyGmDgYGAuIlsXZpXB3deH8AftI=
+SHA256 (tightvnc-1.3.9_unixsrc.tar.gz) = 
VgYnCLtUdCX46PD5xXHU+gb8yJoRFGpbFcYI/Y3r24A=
+SIZE (tightvnc-1.3.9_unixsrc.tar.gz) = 2246697
--- patches/patch-Xvnc_config_cf_Image_cf Wed Dec 31 18:00:00 1969
+++ patches/patch-Xvnc_config_cf_Image_cf Tue Nov  6 19:47:05 2007
@@ -0,0 +1,16 @@
+--- Xvnc/config/cf/Imake.cf Sat Dec 23 06:07:55 2006
 Xvnc/config/cf/Imake.cf Tue Nov  6 19:36:15 2007
+@@ -106,6 +106,13 @@
+ #  define i386Architecture
+ #  undef i386
+ # endif
++# ifdef __amd64__
++#  define x86_64BsdArchitecture
++#  define x86_64Architecture
++#  define i386BsdArchitecture
++#  define i386Architecture
++#  undef amd64
++# endif
+ # if defined(__sparc__) || defined(sparc)
+ #  define SparcArchitecture
+ #  undef sparc
--- patches/patch-Xvnc_config_cf_OpenBSD_cf Fri May 27 18:17:06 2005
+++ patches/patch-Xvnc_config_cf_OpenBSD_cf Tue Nov  6 19:50:03 2007
@@ -1,7 +1,6 @@
-$OpenBSD: patch-Xvnc_config_cf_OpenBSD_cf,v 1.3 2005/05/27 23:17:06 millert 
Exp $
 Xvnc/config/cf/OpenBSD.cf.orig Sun Jun 11 06:00:51 2000
-+++ Xvnc/config/cf/OpenBSD.cf Fri May 27 15:48:16 2005
-@@ -67,7 +67,7 @@ XCOMM operating system:  OSName (OSMajor
+--- Xvnc/config/cf/OpenBSD.cf Sun Jun 11 07:00:51 2000
 Xvnc/config/cf/OpenBSD.cf Tue Nov  6 19:36:15 2007
+@@ -67,7 +67,7 @@
  #if defined(UseInstalled) && (!defined(XF86LinkKit) || !XF86LinkKit)
  #define DefaultCCOptions  /**/
  #else
@@ -10,9 +9,38 @@
  #endif
  
  #define GccGasOption   -DGCCUSESGAS
-@@ -105,6 +105,25 @@ XCOMM operating system:  OSName (OSMajor
+@@ -75,9 +75,14 @@
+ 
+ 
+ #ifdef i386Architecture
++# ifdef x86_64Architecture
++#  undef DefaultCCOptions
++#  define DefaultCCOptions -Dasm=__asm -D__x86_64__
++# else
++#  define ServerExtraSysLibs -li386
++# endif
+ # define OptimizedCDebugFlags  DefaultGcc2i386Opt
+ # define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
+-# define ServerExtraSysLibs -li386
+ #else
+ # define OptimizedCDebugFlags  -O2
+ # if defined(SparcArchitecture) || defined(AlphaArchitecture) || 
defined(AmigaArchitecture) || defined(Sun3Architecture)
+@@ -87,7 +92,11 @@
  # endif
  #endif
+ #if defined(i386Architecture) || defined(ArcArchitecture)
+-# define ServerExtraDefines GccGasOption XFree86ServerDefines
++# ifdef x86_64Architecture
++#  define ServerExtraDefines GccGasOption XFree86ServerDefines -D_XSERVER64
++# else
++#  define ServerExtraDefines GccGasOption XFree86ServerDefines
++# endif
+ # ifndef XFree86ConsoleDefines
+ #  if defined(ArcArchitecture)
+ #   define XFree86ConsoleDefines -DPCCONS_SUPPORT
+@@ -105,6 +114,25 @@
+ # endif
+ #endif
  
 +#if defined(SparcArchitecture)
 +# define ServerOSDefines   -DDDXOSINIT
@@ -36,7 +64,7 @@
  #define StandardDefines -DCSRG_BASED
  #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
  
-@@ -227,7 +246,7 @@ install.man:: @@\
+@@ -227,7 +255,7 @@
  
  # define XF86Contrib
  # include 
--- patches/patch-Xvnc_config_cf_vnclibs_def Sun Jan 12 15:37:49 2003
+++ patches/patch-Xvnc_config_cf_vnclibs_def Tue Nov  6 19:54:45 2007
@@ -1,5 +1,5 @@
 Xvnc/config/cf/vnclibs.def.orig Thu Jun 27 23:53:19 2002
-+++ Xvnc/config/cf/vnclibs.def Sat Jan  4 13:13:24 2003
+--- Xvnc/config/cf/vnclibs.def Sat May  3 04:31:55 2003
 Xvnc/config/cf/vnclibs.def Tue Nov  6 19:36:15 2007
 @@ -5,13 +5,5 @@
   * and programs/Xserver/hw/vnc whenever you change this file.
   */
@@ -8,9 +8,9 @@
 -
 -#ifdef OSF1Architecture
 -/* Avoid linking with different libjpeg in /usr/shlib under Tru64. */
--VNCSYSLIBS = /usr/local/lib/libjpeg.a /usr/local/lib/libz.a
+-VNCSYSLIBS = /usr/local/lib/libjpeg.a /usr/local/lib/libz.a -lcrypt
 -#else
--VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz
+-VNCSYSLIB

Re: OpenBSD 4.2 AMD64 x86_64 TightVNC

2007-11-07 Thread Nikns Siankin
Yes, vnc on amd64 is broken for years,
however noone of commiters seems interested in vnc.

btw, patch desn't apply cleanly.

On Wed, Nov 07, 2007 at 08:09:58AM -0600, Karle, Christopher P wrote:
>I created a patch for the OPENBSD_4_2 tagged version of TightVNC found in 
>ports.  This patch allows TightVNC to work for AMD64 (or x86_64 if you prefer) 
>platforms.
> 
>I am not subscribed to the list, so you'll have to respond to me directly if 
>you have any comments.
> 
> 
>--- Makefile Tue Nov 21 04:23:47 2006
>+++ Makefile Tue Nov  6 20:03:14 2007
>@@ -3,8 +3,8 @@
> COMMENT-main= "cross-platform remote desktop access"
> COMMENT-viewer= "client for cross-platform remote desktop access"
> 
>-VERSION= 1.2.9
>-PKGNAME-main= tightvnc-${VERSION}p0
>+VERSION= 1.3.9
>+PKGNAME-main= tightvnc-${VERSION}
> PKGNAME-viewer= tightvnc-viewer-${VERSION}
> DISTNAME= tightvnc-${VERSION}_unixsrc
> CATEGORIES= net
>--- distinfo Thu Apr  5 11:20:16 2007
>+++ distinfo Tue Nov  6 11:28:44 2007
>@@ -1,5 +1,5 @@
>-MD5 (tightvnc-1.2.9_unixsrc.tar.gz) = uid9xWoM/tLk+6d48hnNCA==
>-RMD160 (tightvnc-1.2.9_unixsrc.tar.gz) = 6IlBVQHtWeWBsbzbaZKaUxWl9rY=
>-SHA1 (tightvnc-1.2.9_unixsrc.tar.gz) = THEZji0/OuiUroAWGeKdtO6mHak=
>-SHA256 (tightvnc-1.2.9_unixsrc.tar.gz) = 
>w+b7o1P2rdaBtdSpz8vZRbT+wURoS7+vGS44lmQg0nI=
>-SIZE (tightvnc-1.2.9_unixsrc.tar.gz) = 2154893
>+MD5 (tightvnc-1.3.9_unixsrc.tar.gz) = gLkE1KEPzO6QRdD+6qZd+A==
>+RMD160 (tightvnc-1.3.9_unixsrc.tar.gz) = nGPsmZGv8cINCw/QfbNt2nNAYo8=
>+SHA1 (tightvnc-1.3.9_unixsrc.tar.gz) = CyGmDgYGAuIlsXZpXB3deH8AftI=
>+SHA256 (tightvnc-1.3.9_unixsrc.tar.gz) = 
>VgYnCLtUdCX46PD5xXHU+gb8yJoRFGpbFcYI/Y3r24A=
>+SIZE (tightvnc-1.3.9_unixsrc.tar.gz) = 2246697
>--- patches/patch-Xvnc_config_cf_Image_cf Wed Dec 31 18:00:00 1969
>+++ patches/patch-Xvnc_config_cf_Image_cf Tue Nov  6 19:47:05 2007
>@@ -0,0 +1,16 @@
>+--- Xvnc/config/cf/Imake.cf Sat Dec 23 06:07:55 2006
> Xvnc/config/cf/Imake.cf Tue Nov  6 19:36:15 2007
>+@@ -106,6 +106,13 @@
>+ #  define i386Architecture
>+ #  undef i386
>+ # endif
>++# ifdef __amd64__
>++#  define x86_64BsdArchitecture
>++#  define x86_64Architecture
>++#  define i386BsdArchitecture
>++#  define i386Architecture
>++#  undef amd64
>++# endif
>+ # if defined(__sparc__) || defined(sparc)
>+ #  define SparcArchitecture
>+ #  undef sparc
>--- patches/patch-Xvnc_config_cf_OpenBSD_cf Fri May 27 18:17:06 2005
>+++ patches/patch-Xvnc_config_cf_OpenBSD_cf Tue Nov  6 19:50:03 2007
>@@ -1,7 +1,6 @@
>-$OpenBSD: patch-Xvnc_config_cf_OpenBSD_cf,v 1.3 2005/05/27 23:17:06 millert 
>Exp $
> Xvnc/config/cf/OpenBSD.cf.orig Sun Jun 11 06:00:51 2000
>-+++ Xvnc/config/cf/OpenBSD.cf Fri May 27 15:48:16 2005
>-@@ -67,7 +67,7 @@ XCOMM operating system:  OSName (OSMajor
>+--- Xvnc/config/cf/OpenBSD.cf Sun Jun 11 07:00:51 2000
> Xvnc/config/cf/OpenBSD.cf Tue Nov  6 19:36:15 2007
>+@@ -67,7 +67,7 @@
>  #if defined(UseInstalled) && (!defined(XF86LinkKit) || !XF86LinkKit)
>  #define DefaultCCOptions  /**/
>  #else
>@@ -10,9 +9,38 @@
>  #endif
>  
>  #define GccGasOption   -DGCCUSESGAS
>-@@ -105,6 +105,25 @@ XCOMM operating system:  OSName (OSMajor
>+@@ -75,9 +75,14 @@
>+ 
>+ 
>+ #ifdef i386Architecture
>++# ifdef x86_64Architecture
>++#  undef DefaultCCOptions
>++#  define DefaultCCOptions -Dasm=__asm -D__x86_64__
>++# else
>++#  define ServerExtraSysLibs -li386
>++# endif
>+ # define OptimizedCDebugFlags  DefaultGcc2i386Opt
>+ # define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
>+-# define ServerExtraSysLibs -li386
>+ #else
>+ # define OptimizedCDebugFlags  -O2
>+ # if defined(SparcArchitecture) || defined(AlphaArchitecture) || 
>defined(AmigaArchitecture) || defined(Sun3Architecture)
>+@@ -87,7 +92,11 @@
>  # endif
>  #endif
>+ #if defined(i386Architecture) || defined(ArcArchitecture)
>+-# define ServerExtraDefines GccGasOption XFree86ServerDefines
>++# ifdef x86_64Architecture
>++#  define ServerExtraDefines GccGasOption XFree86ServerDefines -D_XSERVER64
>++# else
>++#  define ServerExtraDefines GccGasOption XFree86ServerDefines
>++# endif
>+ # ifndef XFree86ConsoleDefines
>+ #  if defined(ArcArchitecture)
>+ #   define XFree86ConsoleDefines -DPCCONS_SUPPORT
>+@@ -105,6 +114,25 @@
>+ # endif
>+ #endif
>  
> +#if defined(SparcArchitecture)
> +# define ServerOSDefines   -DDDXOSINIT
>@@ -36,7 +64,7 @@
>  #define StandardDefines -DCSRG_BASED
>  #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
>  
>-@@ -227,7 +246,7 @@ install.man:: @@\
>+@@ -227,7 +255,7 @@
>  
>  # define XF86Contrib
>  # include 
>--- patches/patch-Xvnc_config_cf_vnclibs_def Sun Jan 12 15:37:49 2003
>+++ patches/patch-Xvnc_config_cf_vnclibs_def Tue Nov  6 19:54:45 2007
>@@ -1,5 +1,5 @@
> Xvnc/config/cf/vnclibs.def.orig Thu Jun 27 23:53:19 2002
>-+++ Xvnc/config/cf/vnclibs.def Sat Jan  4 13:13:24 2003
>+--- Xvnc/config/cf/vnclibs.def Sat May  3 04:31:55 2003
> Xvnc/config/cf/vnclibs.def Tue Nov  6 19:36:15 2007
> @@ -5,13 +5,5 @@
>   * and programs/Xserver/hw/vnc whenever you change this

Re: OpenBSD 4.2 AMD64 x86_64 TightVNC

2007-11-07 Thread Stuart Henderson
On 2007/11/07 13:04, Karle, Christopher P wrote:
> At least someone searching the ports mailing list archives can
> find something,

They've been able to do that for a while ..

> Are you patching against OPENBSD_4_2 tagged ports?  It might
> not patch cleanly against current.

it certainly won't, the " in COMMENT-* are a giveaway. but it's
not too tricky to apply.

does anyone know a way to mark just *one* subpackage as broken
on a certain arch, btw? (-server is broken on sparc64 too; this
whole port is very outdated as it is, so I don't think it's
worth me spending any more time tracking that particular one
down; I got it to run there but glyphs are very messed up).

beyond little fixes where the work is already done like this,
the effort is better spent looking at Xf4vnc (server) and
ssvnc (vncviewer-plus-patches).



Re: OpenBSD 4.2 AMD64 x86_64 TightVNC

2007-11-07 Thread Peter Hessler
I use tightvnc from amd64 to connect to remote machines, and have done 
so for years.  What problem does this solve?


On 2007 Nov 07 (Wed) at 17:37:48 +0200 (+0200), Nikns Siankin wrote:
:Yes, vnc on amd64 is broken for years,
:however noone of commiters seems interested in vnc.
:
:btw, patch desn't apply cleanly.
:
:On Wed, Nov 07, 2007 at 08:09:58AM -0600, Karle, Christopher P wrote:
:>I created a patch for the OPENBSD_4_2 tagged version of TightVNC found in 
ports.  This patch allows TightVNC to work for AMD64 (or x86_64 if you prefer) 
platforms.
:> 
:>I am not subscribed to the list, so you'll have to respond to me directly if 
you have any comments.
:> 
:> 

-- 
Absurdity, n.:
A statement or belief manifestly inconsistent with one's own
opinion.
-- Ambrose Bierce, "The Devil's Dictionary"



Re: OpenBSD 4.2 AMD64 x86_64 TightVNC

2007-11-07 Thread Stuart Henderson
On 2007/11/07 14:09, Peter Hessler wrote:
> I use tightvnc from amd64 to connect to remote machines, and have done 
> so for years.  What problem does this solve?

-server is broken.



new: multimedia/pspvc

2007-11-07 Thread Chris Kuethe
PSPVC is a gui front end to ffmpeg to compress videos to
playstation-portable (psp) format. The high resolution 480x272 H.264
format is unplayable on my psp, but the regular 368x208 size works
with both MPEG4 and H.264 codecs.

CK

-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?


pspvc.tgz
Description: GNU Zip compressed data


Re: SECURITY: www/py-django

2007-11-07 Thread Mike Erdely
On Wed, Nov 07, 2007 at 09:26:10PM -0700, Darrin Chandler wrote:
> On Wed, Nov 07, 2007 at 05:57:39PM -0700, Darrin Chandler wrote:
> > There was an i18n vuln leading to possible DoS, described at
> > http://www.djangoproject.com/weblog/2007/oct/26/security-fix/
> > 
> > This updates the package to the new point release and bumps package from
> > py-django-0.96 -> py-django-0.96.1. Diff attached.
> > 
> > Tested briefly on i386 with a project under development.
> > 
> > Thanks to John Danks for the heads up.
> 
> I freshened up my ports tree a bit and had another go. Here's a better
> diff, thanks to a cluestick and help from [EMAIL PROTECTED]

Works for me with basic tests on i386, macppc and sparc64.
ok?

-ME



DBUS: Issues with Users created

2007-11-07 Thread Aaron Hsu
Hey all,

While working on a port of NN, I ran into a strange thing in me
/etc/passwd file.

   _hoststated:*:89:89:HostState Daemon:/var/empty:/sbin/nologin
   _dbus:*:572:572:dbus user:/nonexistent:/sbin/nologin

If you'll notice, the _dbus user has a non-existent directory listed as
the home directory. Shouldn't this instead read '/var/empty' just like
every other daemon? It seems to be bad style for a package to create an
user that has 'invalid' data inside. 


-- 
((name "Aaron Hsu")
 (email/xmpp "[EMAIL PROTECTED]")
 (site "http://www.aaronhsu.com";))




SECURITY: www/py-django

2007-11-07 Thread Darrin Chandler
There was an i18n vuln leading to possible DoS, described at
http://www.djangoproject.com/weblog/2007/oct/26/security-fix/

This updates the package to the new point release and bumps package from
py-django-0.96 -> py-django-0.96.1. Diff attached.

Tested briefly on i386 with a project under development.

Thanks to John Danks for the heads up.

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
[EMAIL PROTECTED]   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation
Index: Makefile
===
RCS file: /cvs/ports/www/py-django/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile19 Sep 2007 13:45:00 -  1.1.1.1
+++ Makefile8 Nov 2007 00:48:42 -
@@ -2,10 +2,11 @@
 
 COMMENT=   high-level Python web framework
 
+VP=0.96.1
 V= 0.96
 LNAME= django
-DISTNAME=  Django-${V}
-PKGNAME=   py-${LNAME}-${V}
+DISTNAME=  Django-${VP}
+PKGNAME=   py-${LNAME}-${VP}
 CATEGORIES=www lang/python
 
 HOMEPAGE=  http://www.djangoproject.com/
Index: distinfo
===
RCS file: /cvs/ports/www/py-django/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo19 Sep 2007 13:45:00 -  1.1.1.1
+++ distinfo8 Nov 2007 00:48:42 -
@@ -1,5 +1,5 @@
-MD5 (Django-0.96.tar.gz) = b4aedad1e90dd38d58ff9fc756180c7d
-RMD160 (Django-0.96.tar.gz) = 2ca030a75c7b11fcc3507ad929d8a9884c0fad3e
-SHA1 (Django-0.96.tar.gz) = 8870e0946ffe33a78293616d89b640fa58c6fe33
-SHA256 (Django-0.96.tar.gz) = 
d8e9cd5ad36901bc18cd13d939b0cffd23a028d0ae1a56e2ac753573ede10eba
-SIZE (Django-0.96.tar.gz) = 1748745
+MD5 (Django-0.96.1.tar.gz) = EKoy5YlpxO/rAO9CuhkrFw==
+RMD160 (Django-0.96.1.tar.gz) = G9j8zqsQH4BWC7SqikhRwgTzkYs=
+SHA1 (Django-0.96.1.tar.gz) = hScPhX/0BZg8rpoe9237MwPKbuw=
+SHA256 (Django-0.96.1.tar.gz) = SHQTTp/GvQjrfkUeQgODlGaIlcJrfMhn1MP9r51xEIU=
+SIZE (Django-0.96.1.tar.gz) = 1746455


new: www/ap2-mod_python

2007-11-07 Thread Matt Jibson
Here is a port of mod_python for apache2. This has been discussed
previously, and there were some suggestions on getting apache2 to
start with libpthread using LD_PRELOAD. In the pkg/MESSAGE is a
direction on adding this to the apachectl2 script. It is quite
hackish, but it works (tested with a django project). Comments?

-Matt


ap2-mod_python.tgz
Description: GNU Zip compressed data


Re: UPDATE: graphics/gimp

2007-11-07 Thread Antoine Jacoutot

On Wed, 7 Nov 2007, Matthias Kilian wrote:

Here's the updated diff. It doesn't however include the changes
Brad sent some weeks ago (remove --disable-sse, remove the altivec
flavor), since there were no test reports and since i don't have
"old" enought hardware to test it myself. I suggest to add those
changes later.


Sure.
If brad's changes are confirmed to work, I'd really like them to be 
included as I'm always too lazy to build the altivec flavor on my mac.


The diff looks fine to me.

--
Antoine



Re: SECURITY: www/py-django

2007-11-07 Thread Darrin Chandler
On Wed, Nov 07, 2007 at 05:57:39PM -0700, Darrin Chandler wrote:
> There was an i18n vuln leading to possible DoS, described at
> http://www.djangoproject.com/weblog/2007/oct/26/security-fix/
> 
> This updates the package to the new point release and bumps package from
> py-django-0.96 -> py-django-0.96.1. Diff attached.
> 
> Tested briefly on i386 with a project under development.
> 
> Thanks to John Danks for the heads up.

I freshened up my ports tree a bit and had another go. Here's a better
diff, thanks to a cluestick and help from [EMAIL PROTECTED]


Index: Makefile
===
RCS file: /cvs/ports/www/py-django/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile8 Oct 2007 08:22:43 -   1.2
+++ Makefile8 Nov 2007 01:25:04 -
@@ -2,10 +2,11 @@
 
 COMMENT=   high-level Python web framework
 
+VP=0.96.1
 V= 0.96
 LNAME= django
-DISTNAME=  Django-${V}
-PKGNAME=   py-${LNAME}-${V}p0
+DISTNAME=  Django-${VP}
+PKGNAME=   py-${LNAME}-${VP}
 CATEGORIES=www lang/python
 
 HOMEPAGE=  http://www.djangoproject.com/
Index: distinfo
===
RCS file: /cvs/ports/www/py-django/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo19 Sep 2007 13:45:00 -  1.1.1.1
+++ distinfo8 Nov 2007 01:25:04 -
@@ -1,5 +1,5 @@
-MD5 (Django-0.96.tar.gz) = b4aedad1e90dd38d58ff9fc756180c7d
-RMD160 (Django-0.96.tar.gz) = 2ca030a75c7b11fcc3507ad929d8a9884c0fad3e
-SHA1 (Django-0.96.tar.gz) = 8870e0946ffe33a78293616d89b640fa58c6fe33
-SHA256 (Django-0.96.tar.gz) = 
d8e9cd5ad36901bc18cd13d939b0cffd23a028d0ae1a56e2ac753573ede10eba
-SIZE (Django-0.96.tar.gz) = 1748745
+MD5 (Django-0.96.1.tar.gz) = EKoy5YlpxO/rAO9CuhkrFw==
+RMD160 (Django-0.96.1.tar.gz) = G9j8zqsQH4BWC7SqikhRwgTzkYs=
+SHA1 (Django-0.96.1.tar.gz) = hScPhX/0BZg8rpoe9237MwPKbuw=
+SHA256 (Django-0.96.1.tar.gz) = SHQTTp/GvQjrfkUeQgODlGaIlcJrfMhn1MP9r51xEIU=
+SIZE (Django-0.96.1.tar.gz) = 1746455
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/py-django/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   19 Sep 2007 13:45:00 -  1.1.1.1
+++ pkg/PLIST   8 Nov 2007 01:25:04 -
@@ -1,5 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/19 13:45:00 merdely Exp $
 bin/${LNAME}-admin.py
+lib/python${MODPY_VERSION}/site-packages/Django-${V}.1-py${MODPY_VERSION}.egg-info
 lib/python${MODPY_VERSION}/site-packages/${LNAME}/
 lib/python${MODPY_VERSION}/site-packages/${LNAME}/__init__.py
 lib/python${MODPY_VERSION}/site-packages/${LNAME}/__init__.pyc