UPDATE: py-wxWidgets

2007-10-03 Thread steven mestdagh
following the update to wxWidgets. please test/comment.

Index: Makefile
===
RCS file: /cvs/ports/x11/py-wxPython/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile15 Sep 2007 20:04:23 -  1.3
+++ Makefile3 Oct 2007 09:42:27 -
@@ -4,8 +4,9 @@
 
 COMMENT=   Python bindings for wxWidgets C++ class library
 
-DISTNAME=  wxPython-src-2.6.3.2
-PKGNAME=   ${DISTNAME:S/^/py-/:S/-src//}p0
+V= 2.8.6.0
+DISTNAME=  wxPython-src-$V
+PKGNAME=   py-wxPython-$V
 CATEGORIES=x11 devel
 
 HOMEPAGE=  http://www.wxpython.org/
@@ -19,9 +20,10 @@
 PERMIT_DISTFILES_CDROM=Yes
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=wxpython/}
+EXTRACT_SUFX=  .tar.bz2
 
 MODULES=   lang/python
-LIB_DEPENDS=
wx_gtk2_gizmos,wx_gtk2_stc,wx_base_xml,wx_gtk2_qa,wx_base_odbc,wx_gtk2_html,wx_gtk2_gl,wx_base,wx_gtk2_adv,wx_gtk2_xrc,wx_gtk2_core,wx_base_net,wx_gtk2_dbgrid,wx_gtk2_animate:wxWidgets-gtk2-=2.6.3:x11/wxWidgets
+LIB_DEPENDS=
wx_gtk2_aui,wx_gtk2_richtext,wx_gtk2_gizmos,wx_gtk2_stc,wx_base_xml,wx_gtk2_qa,wx_base_odbc,wx_gtk2_html,wx_gtk2_gl,wx_base,wx_gtk2_adv,wx_gtk2_xrc,wx_gtk2_core,wx_base_net,wx_gtk2_dbgrid:wxWidgets-gtk2-=2.8.6:x11/wxWidgets
 
 WRKSRC=${WRKDIST}/wxPython
 NO_REGRESS=Yes
Index: distinfo
===
RCS file: /cvs/ports/x11/py-wxPython/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo5 Apr 2007 17:36:24 -   1.2
+++ distinfo3 Oct 2007 09:42:27 -
@@ -1,5 +1,5 @@
-MD5 (wxPython-src-2.6.3.2.tar.gz) = onVG+rio1362tnlU5jYiaQ==
-RMD160 (wxPython-src-2.6.3.2.tar.gz) = T6uu+kwGbRzMxTAb3THNoWpVZHs=
-SHA1 (wxPython-src-2.6.3.2.tar.gz) = L4RUWeCJxhXhWsFltRNbaIudYs8=
-SHA256 (wxPython-src-2.6.3.2.tar.gz) = 
IVWL8/MGu5NbU+DKQmZMoyXsPMTZRSt5u12f9LaKrbY=
-SIZE (wxPython-src-2.6.3.2.tar.gz) = 18946956
+MD5 (wxPython-src-2.8.6.0.tar.bz2) = llnW3QQ4NH2e5L3bie+rvw==
+RMD160 (wxPython-src-2.8.6.0.tar.bz2) = yTVzBAtav+Pma0BBq3lUJNp5h5s=
+SHA1 (wxPython-src-2.8.6.0.tar.bz2) = 2iulsQ1wivmkc13yq5iK8y42fmQ=
+SHA256 (wxPython-src-2.8.6.0.tar.bz2) = 
uEsMDA2aZbaA6b1VT8li9b/NxzEWjNp8yfMHhNEEbRc=
+SIZE (wxPython-src-2.8.6.0.tar.bz2) = 25192541
Index: patches/patch-wxPython_config_py
===
RCS file: /cvs/ports/x11/py-wxPython/patches/patch-wxPython_config_py,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 patch-wxPython_config_py
--- patches/patch-wxPython_config_py17 Oct 2006 10:04:17 -  1.1.1.1
+++ patches/patch-wxPython_config_py3 Oct 2007 09:42:27 -
@@ -1,16 +1,7 @@
-$OpenBSD: patch-wxPython_config_py,v 1.1.1.1 2006/10/17 10:04:17 alek Exp $
 wxPython/config.py.origTue Apr  4 06:00:19 2006
-+++ wxPython/config.py Fri Oct 13 12:46:25 2006
-@@ -107,7 +107,7 @@ FULL_DOCS = 0  # Some docstrings are
-# cause the two strings to be combined and output
-# as the full docstring.
- 
--UNICODE = 0# This will pass the 'wxUSE_UNICODE' flag to SWIG and
-+UNICODE = 1# This will pass the 'wxUSE_UNICODE' flag to SWIG and
-# will ensure that the right headers are found and the
-# right libs are linked.
- 
-@@ -123,7 +123,7 @@ UNDEF_NDEBUG = 1   # Python 2.2 on Unix/
+$OpenBSD$
+--- wxPython/config.py.origWed Oct  3 11:20:46 2007
 wxPython/config.py Wed Oct  3 11:21:52 2007
+@@ -121,7 +121,7 @@ UNDEF_NDEBUG = 1   # Python 2.2 on Unix/Linux by defau
  NO_SCRIPTS = 0 # Don't install the tool scripts
  NO_HEADERS = 0 # Don't install the wxPython *.h and *.i files
  
@@ -19,7 +10,7 @@
 # can co-exist.  When turned on the wx and wxPython
 # pacakges will be installed in a versioned subdir
 # of site-packages, and a *.pth file will be
-@@ -136,7 +136,7 @@ INSTALL_MULTIVERSION = 1 # Install the p
+@@ -134,7 +134,7 @@ INSTALL_MULTIVERSION = 1 # Install the packages such t
  FLAVOUR =# Optional flavour string to be appended to VERSION
 # in MULTIVERSION installs
  
@@ -28,23 +19,16 @@
 # ansi/unicode settings can optionally be added to the
 # subdir path used in site-packages
  
-@@ -179,7 +179,7 @@ CONTRIBS_INC =   # A dir to add as an 
- 
- # Some MSW build settings
- 
--MONOLITHIC = 1 # The core wxWidgets lib can be built as either a
-+MONOLITHIC = 0 # The core wxWidgets lib can be built as either a
-# single monolithic DLL or as a collection of DLLs.
-# This flag controls which set of libs will be used
-# on Windows.  (For other platforms it is automatic
-@@ -512,13 +512,13 @@ class wx_install_headers(distutils.comma
+@@ -486,7 +486,7 @@ class wx_install_headers(distutils.command.install_hea
  

security fix: kdm

2007-10-03 Thread Jasper Lievisse Adriaanse
hi,

Security fix for KDM, which would allow a normal user to login
as another user or even root without properly supplying
login credentials.

http://www.kde.org/info/security/advisory-20070919-1.txt

please test and comment.

cheers,
jasper

Index: Makefile
===
RCS file: /cvs/ports/x11/kde/base3/Makefile,v
retrieving revision 1.77
diff -u -r1.77 Makefile
--- Makefile15 Sep 2007 20:04:21 -  1.77
+++ Makefile25 Sep 2007 18:33:37 -
@@ -6,7 +6,7 @@
 CATEGORIES=x11 x11/kde
 VERSION=   3.5.7
 DISTNAME=  kdebase-${VERSION}
-PKGNAME-main=  ${DISTNAME}p1
+PKGNAME-main=  ${DISTNAME}p2
 PKGNAME-samba= kdesamba-${VERSION}
 MODKDE_VERSION?=   3.5.7
 SHARED_LIBS += konq 7.0  # .6.0
Index: patches/patch-kdm_backend_session_c
===
RCS file: patches/patch-kdm_backend_session_c
diff -N patches/patch-kdm_backend_session_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-kdm_backend_session_c 25 Sep 2007 18:33:37 -
@@ -0,0 +1,64 @@
+$OpenBSD$
+--- kdm/backend/session.c.orig Thu Jan 19 18:03:14 2006
 kdm/backend/session.c  Tue Sep 25 20:28:25 2007
+@@ -121,8 +121,9 @@ conv_auto( int what, const char *prompt ATTR_UNUSED )
+ static void
+ DoAutoLogon( void )
+ {
+-  StrDup( curuser, td-autoUser );
+-  StrDup( curpass, td-autoPass );
++  ReStr( curuser, td-autoUser );
++  ReStr( curpass, td-autoPass );
++  ReStr( curtype, classic );
+   cursource = PWSRC_AUTOLOGIN;
+ }
+ 
+@@ -141,7 +142,9 @@ AutoLogon( Time_t tdiff )
+   td-hstent-npass = 0;
+   newdmrc = td-hstent-nargs;
+   td-hstent-nargs = 0;
++  ReStr( curtype, classic );
+   cursource = (td-hstent-rLogin == 1) ? PWSRC_RELOGIN : 
PWSRC_MANUAL;
++  return 1;
+   } else if (*td-autoUser  !td-autoDelay  (tdiff  0 || 
td-autoAgain))
+   {
+   unsigned int lmask;
+@@ -153,11 +156,9 @@ AutoLogon( Time_t tdiff )
+   if (lmask  ShiftMask)
+   return 0;
+   DoAutoLogon();
+-  } else {
+-  cursource = PWSRC_MANUAL;
+-  return 0;
++  return 1;
+   }
+-  return 1;
++  return 0;
+ }
+ 
+ 
+@@ -369,6 +370,7 @@ CtrlGreeterWait( int wreply )
+   if (curtype) free( curtype );
+   curtype = GRecvStr();
+   Debug(  type %\s\n, curtype );
++  cursource = PWSRC_MANUAL;
+   if (Verify( conv_interact, rootok )) {
+   Debug(  - return success\n );
+   GSendInt( V_OK );
+@@ -378,7 +380,6 @@ CtrlGreeterWait( int wreply )
+   case G_AutoLogin:
+   Debug( G_AutoLogin\n );
+   DoAutoLogon();
+-  StrDup( curtype, classic );
+   if (Verify( conv_auto, FALSE )) {
+   Debug(  - return success\n );
+   GSendInt( V_OK );
+@@ -565,7 +566,7 @@ ManageSession( struct display *d )
+   tdiff = td-autoAgain ? 
+  1 : time( 0 ) - td-hstent-lastExit - td-openDelay;
+   if (AutoLogon( tdiff )) {
+-  if (!StrDup( curtype, classic ) || !Verify( conv_auto, FALSE 
))
++  if (!Verify( conv_auto, FALSE ))
+   goto gcont;
+   if (greeter)
+   GSendInt( V_OK );
-- 
``Sapere aude!''



Re: PATCH: Explicit version of autoconf

2007-10-03 Thread Matthias Kilian
On Tue, Oct 02, 2007 at 09:22:02PM +0100, Carlos Valiente wrote:
 Hi! The following patch (also available at
 http://virutass.net/openbsd/erlang/erlang-autoconf-version.diff) fixes
 compilation of lang/erlang when several versions of autoconf are
 installed. Tested under i386, amd64 and sparc64.

I think it also needs no-autoheader:


Index: Makefile
===
RCS file: /var/cvs/OpenBSD/ports/lang/erlang/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile16 Sep 2007 00:27:05 -  1.28
+++ Makefile3 Oct 2007 12:17:21 -
@@ -32,7 +32,8 @@ CONFIGURE_ARGS=   --disable-jinterface\
--enable-kernel-poll
 
 USE_GMAKE= Yes
-CONFIGURE_STYLE=autoconf
+CONFIGURE_STYLE=autoconf no-autoheader
+AUTOCONF_VERSION=2.59
 MODGNU_CONFIG_GUESS_DIRS=  ${WRKSRC}/erts/autoconf \
${WRKSRC}/lib/erl_interface/src/auxdir
 



UPDATE: graphics/py-matplotlib

2007-10-03 Thread Steven Mestdagh
please test/comment/ok.  tested fine with python 2.5 (the in tree
version does not build with python 2.5).

Index: Makefile
===
RCS file: /cvs/ports/graphics/py-matplotlib/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile15 Sep 2007 20:09:43 -  1.22
+++ Makefile3 Oct 2007 13:53:58 -
@@ -4,8 +4,8 @@
 
 COMMENT=   Python charting and plotting API
 
-DISTNAME=  matplotlib-0.83.2
-PKGNAME=   py-${DISTNAME}p5
+DISTNAME=  matplotlib-0.90.1
+PKGNAME=   py-${DISTNAME}
 CATEGORIES=graphics devel
 
 HOMEPAGE=  http://matplotlib.sourceforge.net/
@@ -20,7 +20,8 @@
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM= Yes
 PERMIT_DISTFILES_FTP=  Yes
-WANTLIB=   X11 Xext Xrender fontconfig freetype m z stdc++ \
+WANTLIB=   Xau Xcursor Xdmcp Xfixes Xi Xinerama Xrandr expat \
+   X11 Xext Xrender fontconfig freetype m z stdc++ \
atk-1.0 gdk-x11-2.0 cairo glitz \
gdk_pixbuf-2.0 glib-2.0 gmodule-2.0 \
gobject-2.0 gtk-x11-2.0 \
@@ -48,14 +49,16 @@
 post-install:
# examples
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-matplotlib
-   ${INSTALL_DATA} ${WRKSRC}/examples/README ${WRKSRC}/examples/*.glade \
-   ${PREFIX}/share/examples/py-matplotlib
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py \
${PREFIX}/share/examples/py-matplotlib
# examples/data
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-matplotlib/data
${INSTALL_DATA} ${WRKSRC}/examples/data/* \
${PREFIX}/share/examples/py-matplotlib/data
+   # examples/units
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-matplotlib/units
+   ${INSTALL_SCRIPT} ${WRKSRC}/examples/units/*.py \
+   ${PREFIX}/share/examples/py-matplotlib/units
# examples/widgets
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-matplotlib/widgets
${INSTALL_DATA} ${WRKSRC}/examples/widgets/README \
Index: distinfo
===
RCS file: /cvs/ports/graphics/py-matplotlib/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo5 Apr 2007 16:19:58 -   1.8
+++ distinfo3 Oct 2007 13:53:58 -
@@ -1,5 +1,5 @@
-MD5 (matplotlib-0.83.2.tar.gz) = xdfDnu7q/YikGRlPupOmyw==
-RMD160 (matplotlib-0.83.2.tar.gz) = JCWUH2mCLcKp2swMXtuFOaYgWTc=
-SHA1 (matplotlib-0.83.2.tar.gz) = KzlP8F2a8s8AmQCNdM4IU2Ln37I=
-SHA256 (matplotlib-0.83.2.tar.gz) = 
oI7IuXwC54SBpDAn6svQ3OWTVuy2L33vh4NVNM6HPEA=
-SIZE (matplotlib-0.83.2.tar.gz) = 2703495
+MD5 (matplotlib-0.90.1.tar.gz) = 4TRL1yZg58nAt1QKcsxFuA==
+RMD160 (matplotlib-0.90.1.tar.gz) = XMKo152JBB24BFInOMWYnbMNHlY=
+SHA1 (matplotlib-0.90.1.tar.gz) = LD4BCky2Pvr7KG67L9nSCjmPrAk=
+SHA256 (matplotlib-0.90.1.tar.gz) = 
CjVKvmrizdDkNmdEbNtAEyKGcc5kjW21TM4Yrr/115s=
+SIZE (matplotlib-0.90.1.tar.gz) = 3001159
Index: patches/patch-examples_contour_demo_py
===
RCS file: patches/patch-examples_contour_demo_py
diff -N patches/patch-examples_contour_demo_py
--- patches/patch-examples_contour_demo_py  9 Jul 2005 06:14:04 -   
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,10 +0,0 @@
-$OpenBSD: patch-examples_contour_demo_py,v 1.1 2005/07/09 06:14:04 djm Exp $
 examples/contour_demo.py.orig  Sat Jul  9 13:00:48 2005
-+++ examples/contour_demo.py   Sat Jul  9 13:01:26 2005
-@@ -67,5 +67,5 @@ title('Lines with colorbar')
- hot()  # Now change the colormap for the contour lines and colorbar
- 
- 
--savefig('contour_demo')
-+#savefig('contour_demo')
- show()
Index: patches/patch-examples_contourf_demo_py
===
RCS file: patches/patch-examples_contourf_demo_py
diff -N patches/patch-examples_contourf_demo_py
--- patches/patch-examples_contourf_demo_py 9 Jul 2005 06:14:04 -   
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,10 +0,0 @@
-$OpenBSD: patch-examples_contourf_demo_py,v 1.1 2005/07/09 06:14:04 djm Exp $
 examples/contourf_demo.py.orig Sat Jul  9 13:00:48 2005
-+++ examples/contourf_demo.py  Sat Jul  9 13:01:32 2005
-@@ -40,5 +40,5 @@ levs2, colls2 = contour(X, Y, Z, levels,
- colors = 'r',
- origin=origin,
- hold='on')
--savefig('contourf_demo')
-+#savefig('contourf_demo')
- show()
Index: patches/patch-examples_dash_control_py
===
RCS file: patches/patch-examples_dash_control_py
diff -N patches/patch-examples_dash_control_py
--- patches/patch-examples_dash_control_py  9 Jul 2005 06:14:04 -   
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,10 +0,0 @@
-$OpenBSD: patch-examples_dash_control_py,v 1.1 2005/07/09 06:14:04 djm 

[NEW] databases/postgresql-odbc

2007-10-03 Thread Paul Irofti
This is the postgresql odbc driver for iodbc.  Works fine for amd64 and
i386. 

pkg/DESCR:
The official PostgreSQL ODBC Driver



I've attempted to make this a multipackage for unicode but failed 
miserably. 

If anyone is willing to help me make it into a multipackage please 
send a patch or guide me through emails, here is what I've put extra
inside the Makefile for the MULTI_PACKAGES:

MULTI_PACKAGES=-main   -unicode
COMMENT-main=  The official PostgreSQL ODBC Driver
COMMENT-unicode=   The official PostgreSQL ODBC Driver with unicode
support
PKGNAME-main=  postgresql-odbc-${VERSION}
PKGNAME-unicode=   postgresql-odbc-unicode-${VERSION}
CONFIGURE_ARGS+=   --with-iodbc --without-unixodbc
--enable-pthreads
.if !defined(SUBPACKAGE)
CONFIGURE_ARGS+=   --disable-unicode
.endif

I can build both packages separately, but when I do a `make package' 
there is no second configure+compile stage and the -unicode package 
errors out.



Re: [NEW] databases/postgresql-odbc

2007-10-03 Thread Paul Irofti
And the actual port (-:


postgresql-odbc.tgz
Description: application/tar-gz


Re: RESUBMIT: lang/plt-scheme

2007-10-03 Thread Simon Kuhnle
Nobody interested in this one?

I see quite some Scheme related ports in the tree and especially
Dr. Scheme  is just great for getting into the language,
at least it helped me through my course at university.
-- 
simon



Re: Notes on vpnc

2007-10-03 Thread Aaron W. Hsu
I've been working with the vpnc port, and I noticed something strange. I have 
to run a dhcp client first to connect to my network, and then I start vpnc. 
This all works fine until dhcp repools for a new IP. Somehow, it overwrites 
the resolv.conf file so that my routes do not work. Tunnels already 
established continue to work for some time, but eventually they go out too.

Does anyone know what is wrong here? It does not appear that my vpnc client is 
disconnecting me, or that the server is disconnecting me, so I can't see any 
other reason than dhclient for the whole thing to mess up.

Has anyone experienced a similar problem? Is there a way to make sure that 
dhclient does not overwrite my vpnc defined resolv.conf file? :-/

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




pgpm7IC2Jf9YQ.pgp
Description: PGP signature


Re: Notes on vpnc

2007-10-03 Thread Joachim Schipper
On Wed, Oct 03, 2007 at 02:21:33PM -0500, Aaron W. Hsu wrote:
 I've been working with the vpnc port, and I noticed something strange. I have 
 to run a dhcp client first to connect to my network, and then I start vpnc. 
 This all works fine until dhcp repools for a new IP. Somehow, it overwrites 
 the resolv.conf file so that my routes do not work. Tunnels already 
 established continue to work for some time, but eventually they go out too.
 
 Does anyone know what is wrong here? It does not appear that my vpnc client 
 is 
 disconnecting me, or that the server is disconnecting me, so I can't see any 
 other reason than dhclient for the whole thing to mess up.
 
 Has anyone experienced a similar problem? Is there a way to make sure that 
 dhclient does not overwrite my vpnc defined resolv.conf file? :-/

Wouldn't playing tricks [1] with /etc/resolv.conf.tail work?

Joachim

[1] Copying the 'nameserver' lines from /etc/resolv.conf to
/etc/resolv.conf.tail after vpnc has started, or somesuch.

-- 
PotD: multimedia/gstreamer-0.10/plugins-base,-vorbis - multimedia
framework - vorbis plugin



Re: [NEW] databases/postgresql-odbc

2007-10-03 Thread Marc Balmer

Paul Irofti wrote:

This is the postgresql odbc driver for iodbc.  Works fine for amd64 and
i386. 



is this dependent on a specific postgresl version?


pkg/DESCR:
The official PostgreSQL ODBC Driver



I've attempted to make this a multipackage for unicode but failed 
miserably. 

If anyone is willing to help me make it into a multipackage please 
send a patch or guide me through emails, here is what I've put extra

inside the Makefile for the MULTI_PACKAGES:

MULTI_PACKAGES=-main   -unicode
COMMENT-main=  The official PostgreSQL ODBC Driver
COMMENT-unicode=   The official PostgreSQL ODBC Driver with unicode
support
PKGNAME-main=  postgresql-odbc-${VERSION}
PKGNAME-unicode=   postgresql-odbc-unicode-${VERSION}
CONFIGURE_ARGS+=   --with-iodbc --without-unixodbc
--enable-pthreads
.if !defined(SUBPACKAGE)
CONFIGURE_ARGS+=   --disable-unicode
.endif

I can build both packages separately, but when I do a `make package' 
there is no second configure+compile stage and the -unicode package 
errors out.






threadsafe sqlite3

2007-10-03 Thread Okan Demirmen
has anyone any comments on enabling THREADSAFE in the sqlite3 port?
i've unfortunately got access to one arch at this time; but i'm curious
if others have had success on at least the 2 included tests, if not
more, on other architectures.

Index: Makefile
===
RCS file: /cvs/ports/databases/sqlite3/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile15 Sep 2007 18:51:35 -  1.32
+++ Makefile3 Oct 2007 20:45:28 -
@@ -4,8 +4,8 @@
 COMMENT-tcl=   TCL bindings for Sqlite3
 V= 3.4.2
 DISTNAME=  sqlite-${V}
-PKGNAME-main=  sqlite3-${V}
-PKGNAME-tcl=   sqlite3-tcl-${V}
+PKGNAME-main=  sqlite3-${V}p0
+PKGNAME-tcl=   sqlite3-tcl-${V}p0
 CATEGORIES=databases
 SHARED_LIBS += sqlite3  9.0  # .8.6
 SHARED_LIBS += tclsqlite3   9.0  # .8.6
@@ -25,7 +25,8 @@
 USE_LIBTOOL=   Yes
 
 CONFIGURE_STYLE=gnu
-CONFIGURE_ARGS+=${CONFIGURE_SHARED}
+CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
+   --enable-threadsafe
 
 # XXX gcc bug? some regress tests crash w/-O2 but not -Os
 .if ${MACHINE_ARCH} == amd64



Re: [NEW] databases/postgresql-odbc

2007-10-03 Thread Marc Balmer

Paul Irofti wrote:

On Wed, Oct 03, 2007 at 10:32:31PM +0200, Marc Balmer wrote:

Paul Irofti wrote:

This is the postgresql odbc driver for iodbc.  Works fine for amd64 and
i386. 

is this dependent on a specific postgresl version?



Yes, the 8.2 series. There are other versions for the postgresql
equivalents.


I will most probably soon change the Postgresql port to support more than
one version (8.1.x, 8.2.x., 8.3.x), one of these versions would then be of
course the default version.

we should dicuss and talk about how we can handle this is dependent ports.



Re: UPDATE: wxWidgets 2.8.6

2007-10-03 Thread Jacob Meuser
On Tue, Oct 02, 2007 at 10:50:48PM +0200, steven mestdagh wrote:
 here is a major update to wxWidgets 2.8.6. please test/comment.

tested a bit with audacity and vlc on amd64.

no issues with audacity.  the volume slider in vlc is a bit out of
place, but works.

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Notes on vpnc

2007-10-03 Thread Stefan Sperling
On Wed, Oct 03, 2007 at 09:53:29PM +0200, Joachim Schipper wrote:
  Has anyone experienced a similar problem? Is there a way to make sure that 
  dhclient does not overwrite my vpnc defined resolv.conf file? :-/
 
 Wouldn't playing tricks [1] with /etc/resolv.conf.tail work?
 
   Joachim
 
 [1] Copying the 'nameserver' lines from /etc/resolv.conf to
 /etc/resolv.conf.tail after vpnc has started, or somesuch.

Putting a public nameserver into resolv.conḟ.tail helped me
with PPTP-based VPN. I also used to lose DNS in some cases
whenever resolv.conf was overwritten by dhclient, e.g. if the
nameserver configured via DHCP had a non-public IP which was not
reachable due to my VPN config messing with the routing table.

-- 
stefan
http://stsp.name PGP Key: 0xF59D25F0


signature.asc
Description: Digital signature


Re: [NEW] databases/postgresql-odbc

2007-10-03 Thread Paul Irofti
On Wed, Oct 03, 2007 at 10:55:58PM +0200, Marc Balmer wrote:
 Paul Irofti wrote:
 On Wed, Oct 03, 2007 at 10:32:31PM +0200, Marc Balmer wrote:
 Paul Irofti wrote:
 This is the postgresql odbc driver for iodbc.  Works fine for amd64 and
 i386. 
 is this dependent on a specific postgresl version?

 Yes, the 8.2 series. There are other versions for the postgresql
 equivalents.

 I will most probably soon change the Postgresql port to support more than
 one version (8.1.x, 8.2.x., 8.3.x), one of these versions would then be of
 course the default version.

 we should dicuss and talk about how we can handle this is dependent ports.

There is an equivalent driver for each postgres version, so there should
be no problem. I'll watch the changes and mails sent over to ports@ to
see when you submit the patch and I'll try to adapt mine accordingly.



Re: build xine-lib with artsd support

2007-10-03 Thread Jacob Meuser
On Wed, Oct 03, 2007 at 09:20:49PM +, Jacob Meuser wrote:
 
 this lets ports that use xine-lib for audio output use artsd.

oops, patch got lost somewhere.  hold on.

 
 this would let xine, kaffeine and amarok (and possible others?)
 use artsd.
 
 comments?
 
 -- 
 [EMAIL PROTECTED]
 SDF Public Access UNIX System - http://sdf.lonestar.org
 
 Index: Makefile
 ===
 RCS file: /cvs/ports/multimedia/xine-lib/Makefile,v
 retrieving revision 1.19
 diff -u -r1.19 Makefile
 --- Makefile  3 Oct 2007 06:36:43 -   1.19
 +++ Makefile  3 Oct 2007 19:19:03 -
 @@ -4,7 +4,7 @@
  
  V=   1.1.7
  DISTNAME=xine-lib-${V}
 -PKGNAME= ${DISTNAME}p2
 +PKGNAME= ${DISTNAME}p3
  EXTRACT_SUFX=.tar.bz2
  CATEGORIES=  multimedia
  SHARED_LIBS= xine18.1
 @@ -19,8 +19,9 @@
  
  MASTER_SITES=${MASTER_SITE_SOURCEFORGE:=xine/}
  
 -WANTLIB= X11 Xau Xdmcp Xext Xinerama Xv expat \
 - freetype fontconfig jpeg lcms m usbhid z
 +WANTLIB= X11 Xau Xdmcp Xext Xinerama Xrandr Xrender Xv \
 + expat freetype fontconfig glib-2.0 gmodule-2.0 \
 + gthread-2.0 jpeg lcms m pthread usbhid z
  
  .if ${MACHINE_ARCH} == i386
  PKG_ARGS+=   -Di386=1
 @@ -32,6 +33,7 @@
  LIB_DEPENDS= FLAC.=5::audio/flac \
   SDL.=3::devel/sdl \
   a52::audio/liba52 \
 + artsc.=1::x11/kde/arts3 \
   avcodec.=7,postproc.=7::graphics/ffmpeg \
   dvdnav.=5::multimedia/libdvdnav \
   faad.=1::audio/faad \
 @@ -67,8 +69,8 @@
   --without-pulseaudio \
   --disable-oss \
   --without-alsa \
 - --without-arts \
   --without-esound \
 + --with-arts \
   --without-jack \
   --without-imagemagick \
   --disable-samba \
 Index: pkg/PLIST
 ===
 RCS file: /cvs/ports/multimedia/xine-lib/pkg/PLIST,v
 retrieving revision 1.3
 diff -u -r1.3 PLIST
 --- pkg/PLIST 13 Jun 2007 10:58:29 -  1.3
 +++ pkg/PLIST 3 Oct 2007 19:19:03 -
 @@ -56,6 +56,7 @@
  lib/xine/plugins/${V}/post/xineplug_post_tvtime.so
  lib/xine/plugins/${V}/post/xineplug_post_visualizations.so
  @comment lib/xine/plugins/${V}/vidix/
 +lib/xine/plugins/${V}/xineplug_ao_out_arts.so
  lib/xine/plugins/${V}/xineplug_ao_out_file.so
  lib/xine/plugins/${V}/xineplug_ao_out_none.so
  lib/xine/plugins/${V}/xineplug_ao_out_sun.so
 

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org



x11/sisctrl

2007-10-03 Thread Marc Winiger

Hi

This is a gtk+2 gui to change screens, resolution, brightness, contrast, 
overlay, etc. of a running X-Server with a SiS graphics card.


comments? OKs?

Marc


sisctrl.tgz
Description: Binary data


Re: build xine-lib with artsd support

2007-10-03 Thread Jacob Meuser
On Wed, Oct 03, 2007 at 09:20:49PM +, Jacob Meuser wrote:
 
 this lets ports that use xine-lib for audio output use artsd.
 
 this would let xine, kaffeine and amarok (and possible others?)
 use artsd.
 
 comments?

full diff this time

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: Makefile
===
RCS file: /cvs/ports/multimedia/xine-lib/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile3 Oct 2007 06:36:43 -   1.19
+++ Makefile3 Oct 2007 21:38:35 -
@@ -4,7 +4,7 @@
 
 V= 1.1.7
 DISTNAME=  xine-lib-${V}
-PKGNAME=   ${DISTNAME}p2
+PKGNAME=   ${DISTNAME}p3
 EXTRACT_SUFX=  .tar.bz2
 CATEGORIES=multimedia
 SHARED_LIBS=   xine18.1
@@ -19,8 +19,9 @@
 
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xine/}
 
-WANTLIB=   X11 Xau Xdmcp Xext Xinerama Xv expat \
-   freetype fontconfig jpeg lcms m usbhid z
+WANTLIB=   X11 Xau Xdmcp Xext Xinerama Xrandr Xrender Xv \
+   expat freetype fontconfig glib-2.0 gmodule-2.0 \
+   gthread-2.0 jpeg lcms m pthread usbhid z
 
 .if ${MACHINE_ARCH} == i386
 PKG_ARGS+= -Di386=1
@@ -32,6 +33,7 @@
 LIB_DEPENDS=   FLAC.=5::audio/flac \
SDL.=3::devel/sdl \
a52::audio/liba52 \
+   artsc.=1::x11/kde/arts3 \
avcodec.=7,postproc.=7::graphics/ffmpeg \
dvdnav.=5::multimedia/libdvdnav \
faad.=1::audio/faad \
@@ -67,8 +69,8 @@
--without-pulseaudio \
--disable-oss \
--without-alsa \
-   --without-arts \
--without-esound \
+   --with-arts \
--without-jack \
--without-imagemagick \
--disable-samba \
Index: patches/patch-src_audio_out_Makefile_in
===
RCS file: patches/patch-src_audio_out_Makefile_in
diff -N patches/patch-src_audio_out_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_audio_out_Makefile_in 3 Oct 2007 21:38:35 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- src/audio_out/Makefile.in.orig Wed Jun  6 06:40:33 2007
 src/audio_out/Makefile.in  Wed Oct  3 14:27:00 2007
+@@ -716,7 +716,7 @@ xineplug_ao_out_sun_la_LDFLAGS = -avoid-version -modul
+ #xineplug_ao_out_irixal_la_CFLAGS = $(VISIBILITY_FLAG) $(IRIXAL_CFLAGS)
+ #xineplug_ao_out_irixal_la_LDFLAGS = -avoid-version -module
+ xineplug_ao_out_arts_la_SOURCES = audio_arts_out.c
+-xineplug_ao_out_arts_la_LIBADD = $(ARTS_LIBS) $(XINE_LIB)
++xineplug_ao_out_arts_la_LIBADD = $(ARTS_LIBS) $(XINE_LIB) -lstdc++
+ xineplug_ao_out_arts_la_CFLAGS = $(VISIBILITY_FLAG) $(ARTS_CFLAGS)
+ xineplug_ao_out_arts_la_LDFLAGS = -avoid-version -module
+ xineplug_ao_out_directx_la_SOURCES = audio_directx_out.c
Index: pkg/PLIST
===
RCS file: /cvs/ports/multimedia/xine-lib/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- pkg/PLIST   13 Jun 2007 10:58:29 -  1.3
+++ pkg/PLIST   3 Oct 2007 21:38:35 -
@@ -56,6 +56,7 @@
 lib/xine/plugins/${V}/post/xineplug_post_tvtime.so
 lib/xine/plugins/${V}/post/xineplug_post_visualizations.so
 @comment lib/xine/plugins/${V}/vidix/
+lib/xine/plugins/${V}/xineplug_ao_out_arts.so
 lib/xine/plugins/${V}/xineplug_ao_out_file.so
 lib/xine/plugins/${V}/xineplug_ao_out_none.so
 lib/xine/plugins/${V}/xineplug_ao_out_sun.so



[new] cad/qcad

2007-10-03 Thread Mike Erdely
From DESCR:
QCad is an application for computer aided drafting in
two dimensions (2d). With QCad you can create technical
drawings such as plans for buildings, interiors, mechanical
parts or schemas and diagrams.

Works for me on i386.

-ME


qcad.tgz
Description: application/tar-gz


Re: [new] cad/qcad

2007-10-03 Thread Mike Erdely
As Brad pointed out.  cad/qcad already exists.

I'm going to go bury my head now.

-ME

On Wed, Oct 03, 2007 at 07:08:21PM -0400, Mike Erdely wrote:
 From DESCR:
 QCad is an application for computer aided drafting in
 two dimensions (2d). With QCad you can create technical
 drawings such as plans for buildings, interiors, mechanical
 parts or schemas and diagrams.
 
 Works for me on i386.
 
 -ME




UPDATE: telephony/asterisk - 1.4.12

2007-10-03 Thread Stuart Henderson
seems alright on amd64, sparc64.

There are many areas that have been significantly improved by various
fixes.  Those include the IAX2 channel driver, Queues, timezone
handling, AEL, the Manager Interface, MeetMe, AGI, the SIP channel
driver, Music on Hold, Jabber, the Gtalk channel driver, and more.

changelog is here:
http://svn.digium.com/view/asterisk/tags/1.4.12/ChangeLog?view=markup

comments/ok?

cvs server: Diffing .
Index: Makefile
===
RCS file: /cvs/ports/telephony/asterisk/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile5 Sep 2007 22:42:52 -   1.23
+++ Makefile3 Oct 2007 23:22:06 -
@@ -3,7 +3,7 @@
 SHARED_ONLY=   Yes
 COMMENT-main=  open source multi-protocol PBX and telephony toolkit
 
-V= 1.4.11
+V= 1.4.12
 DISTNAME=  asterisk-${V}
 FULLPKGNAME-main=  ${DISTNAME}
 
Index: distinfo
===
RCS file: /cvs/ports/telephony/asterisk/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo5 Sep 2007 22:42:52 -   1.17
+++ distinfo3 Oct 2007 23:22:06 -
@@ -1,5 +1,5 @@
-MD5 (asterisk-1.4.11.tar.gz) = O6mzmf7caN5IRbHFYD0WfA==
-RMD160 (asterisk-1.4.11.tar.gz) = MAKC9QbLIvkSfoWMfXjYzuimIqc=
-SHA1 (asterisk-1.4.11.tar.gz) = KicVXdcWv4vT+S/p7uf+guMRFww=
-SHA256 (asterisk-1.4.11.tar.gz) = mZKPiqti5TLnH97L0Y1a8tIR8bvOJ8+c8u/DTleiAQE=
-SIZE (asterisk-1.4.11.tar.gz) = 11218944
+MD5 (asterisk-1.4.12.tar.gz) = 8qyYuTILl6dAmoBTFeffGQ==
+RMD160 (asterisk-1.4.12.tar.gz) = 6XWkdRodgSuVN/5o5CrBUFlyilE=
+SHA1 (asterisk-1.4.12.tar.gz) = vOZNgFfnUBxtNbSGnvdivYvDBtM=
+SHA256 (asterisk-1.4.12.tar.gz) = ge8nGAMWAQIc5rqzwf5pj7AH5jjOe1oY5RBxJFFnEY8=
+SIZE (asterisk-1.4.12.tar.gz) = 11255703
cvs server: Diffing files
cvs server: Diffing patches
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/telephony/asterisk/patches/patch-Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 patch-Makefile
--- patches/patch-Makefile  5 Sep 2007 22:42:52 -   1.11
+++ patches/patch-Makefile  3 Oct 2007 23:22:06 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-Makefile,v 1.11 2007/09/05 22:42:52 sthen Exp $
 Makefile.orig  Fri Aug 10 00:10:46 2007
-+++ Makefile   Wed Aug 15 22:17:33 2007
+--- Makefile.orig  Tue Oct  2 21:06:07 2007
 Makefile   Wed Oct  3 12:50:21 2007
 @@ -35,6 +35,7 @@ export ASTVARRUNDIR
  export MODULES_DIR
  export ASTSPOOLDIR
@@ -9,8 +9,8 @@ $OpenBSD: patch-Makefile,v 1.11 2007/09/
  export ASTDATADIR
  export ASTLOGDIR
  export ASTLIBDIR
-@@ -74,7 +75,7 @@ ifneq ($(wildcard makeopts),)
- endif
+@@ -81,7 +82,7 @@ ASTCFLAGS+=$(COPTS)
+ ASTLDFLAGS+=$(LDOPTS)
  
  #Uncomment this to see all build commands instead of 'quiet' output
 -#NOISY_BUILD=yes
@@ -18,7 +18,7 @@ $OpenBSD: patch-Makefile,v 1.11 2007/09/
  
  # Create OPTIONS variable
  OPTIONS=
-@@ -85,7 +86,7 @@ ASTTOPDIR:=$(shell pwd)
+@@ -92,7 +93,7 @@ ASTTOPDIR:=$(shell pwd)
  OVERWRITE=y
  
  # Include debug and macro symbols in the executables (-g) and profiling info 
(-pg)
@@ -27,7 +27,7 @@ $OpenBSD: patch-Makefile,v 1.11 2007/09/
  
  # Staging directory
  # Files are copied here temporarily during the install process
-@@ -120,6 +121,7 @@ else
+@@ -127,6 +128,7 @@ else
  ifneq ($(findstring BSD,$(OSARCH)),)
ASTVARLIBDIR=$(prefix)/share/asterisk
ASTVARRUNDIR=$(localstatedir)/run/asterisk
@@ -35,7 +35,7 @@ $OpenBSD: patch-Makefile,v 1.11 2007/09/
  else
ASTVARLIBDIR=$(localstatedir)/lib/asterisk
  endif
-@@ -148,8 +150,10 @@ HTTP_CGIDIR=/var/www/cgi-bin
+@@ -155,8 +157,10 @@ HTTP_CGIDIR=/var/www/cgi-bin
  # The file /etc/asterisk.makeopts will also be included but can be overridden
  # by the file in your home directory.
  
@@ -46,7 +46,7 @@ $OpenBSD: patch-Makefile,v 1.11 2007/09/
  
  MOD_SUBDIR_CFLAGS=-I$(ASTTOPDIR)/include
  OTHER_SUBDIR_CFLAGS=-I$(ASTTOPDIR)/include
-@@ -187,7 +191,7 @@ ifeq ($(OSARCH),linux-gnu)
+@@ -194,7 +198,7 @@ ifeq ($(OSARCH),linux-gnu)
endif
  endif
  
@@ -55,7 +55,7 @@ $OpenBSD: patch-Makefile,v 1.11 2007/09/
  
  ASTCFLAGS+=-include $(ASTTOPDIR)/include/asterisk/autoconfig.h
  
-@@ -200,9 +204,11 @@ ifneq ($(findstring BSD,$(OSARCH)),)
+@@ -207,9 +211,11 @@ ifneq ($(findstring BSD,$(OSARCH)),)
ASTLDFLAGS+=-L/usr/local/lib
  endif
  
@@ -67,7 +67,7 @@ $OpenBSD: patch-Makefile,v 1.11 2007/09/
  
  ifeq ($(PROC),ppc)
ASTCFLAGS+=-fsigned-char
-@@ -541,21 +547,25 @@ samples: adsi
+@@ -552,21 +558,25 @@ samples: adsi
echo astetcdir = $(ASTETCDIR) ; \
echo astmoddir = $(MODULES_DIR) ; \
echo astvarlibdir = $(ASTVARLIBDIR) ; \
Index: patches/patch-build_tools_make_defaults_h
===
RCS file: 

Re: UPDATE: wxWidgets 2.8.6

2007-10-03 Thread Nikns Siankin
On Wed, Oct 03, 2007 at 09:13:13PM +, Jacob Meuser wrote:
On Tue, Oct 02, 2007 at 10:50:48PM +0200, steven mestdagh wrote:
 here is a major update to wxWidgets 2.8.6. please test/comment.

tested a bit with audacity and vlc on amd64.

no issues with audacity.  the volume slider in vlc is a bit out of
place, but works.
The same here.



-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org