openldap,bdb

2008-01-02 Thread Stuart Henderson
the recent thread on misc@ reminded me about the problem with
db 4.6 and openldap 2.3, it's going to cause some people pain
when they upgrade.

from reading the openldap list archives, it seems unlikely
that 2.3 will gain support for the newer db version.

i have been considering the relative merits of adding multiple
versions to openldap (i.e. databases/openldap/2.3 and 2.4), or
changing db to be .../v4.2 and v4.6 (or similar).

neither is really clean, the latter is messier but since
oracle changed db's API without bumping the major version :(
i think it might be preferable (especially in case we find
any problems with other software).

what does anyone else think?



Re: libtool library search path

2008-01-02 Thread Alexander Bluhm
On Mon, Dec 31, 2007 at 01:10:51PM +, Jacob Meuser wrote:
 let GNU libtool rot and work on ports/infrastructure/build/libtool

GNU libtool sucks, OpenBSD libtool just works.
It seems to build glib2 without problems.

bluhm


Index: devel/glib2/Makefile
===
RCS file: /data/mirror/openbsd/cvs/ports/devel/glib2/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- devel/glib2/Makefile5 Dec 2007 14:31:24 -   1.42
+++ devel/glib2/Makefile31 Dec 2007 15:21:28 -
@@ -51,6 +51,7 @@ PATCH_LIST=   patch-* PPC-patch-glib_Make
 
 USE_GMAKE= Yes
 USE_LIBTOOL=   Yes
+LIBTOOL=   /usr/ports/infrastructure/build/libtool
 CONFIGURE_STYLE=   gnu
 CONFIGURE_ARGS+=   ${CONFIGURE_SHARED} \
--enable-static \



Re: NEW: mcabber-0.9.5

2008-01-02 Thread Simon Kuhnle
On Sun, Dec 30, 2007 at 10:10:59PM +0100, Markus Hennecke wrote:
 Description: Console Jabber client.
 Homepage: http://www.lilotux.net/~mikael/mcabber/

 Comments and tests appreciated. Working on i386 and amd64. I had a report 
 about segfaults on a snapshot from 6th december (i386), but could not 
 reproduce that. 4.2-stable definetly won't work.

Works for me on i386 now. Chatted and tested PPG encryption,
both worked without problems.

On amd64 it coredumps when there's a ~/.mcabberrc file.

Without it, it starts up fine, but gives me the following message:
[14:00:27]*Error: cannot convert string to locale.

Here's the backtrace when started with .mcabberrc file:

#0  0x4fb01f1f in _nc_printf_string (fmt=0x53d160 \n%s*Error: cannot 
convert string to locale., ap=0x7f7f72f0)
at /usr/src/lib/libcurses/base/safe_sprintf.c:225
225 if (screen_lines  rows || screen_columns  cols) {
(gdb) bt
#0  0x4fb01f1f in _nc_printf_string (fmt=0x53d160 \n%s*Error: cannot 
convert string to locale., ap=0x7f7f72f0)
at /usr/src/lib/libcurses/base/safe_sprintf.c:225
#1  0x4fb01ecf in vwprintw (win=0x0, fmt=0x0, argp=0x7f7f72f0) at 
/usr/src/lib/libcurses/base/lib_printw.c:109
#2  0x4fb01d28 in wprintw (win=0x0, fmt=0x7f7f72f0 \020) at 
/usr/src/lib/libcurses/base/lib_printw.c:70
#3  0x00418fac in ?? ()
#4  0x0041e79a in ?? ()
#5  0x00406115 in ?? ()
#6  0x0040569b in ?? ()
#7  0x in ?? ()

-- 
simon



Re: NEW: mcabber-0.9.5

2008-01-02 Thread Jasper Lievisse Adriaanse
On Wed, Jan 02, 2008 at 02:02:23PM +0100, Simon Kuhnle wrote:
 On Sun, Dec 30, 2007 at 10:10:59PM +0100, Markus Hennecke wrote:
  Description: Console Jabber client.
  Homepage: http://www.lilotux.net/~mikael/mcabber/
 
  Comments and tests appreciated. Working on i386 and amd64. I had a report 
  about segfaults on a snapshot from 6th december (i386), but could not 
  reproduce that. 4.2-stable definetly won't work.
 
 Works for me on i386 now. Chatted and tested PPG encryption,
 both worked without problems.
 
 On amd64 it coredumps when there's a ~/.mcabberrc file.
 
 Without it, it starts up fine, but gives me the following message:
 [14:00:27]*Error: cannot convert string to locale.
 
 Here's the backtrace when started with .mcabberrc file:
can you move the mcabber file to ~/.mcabber/mcabberrc and try again?
i can use mcabber fine here on amd64 with the file in that location.

 
 #0  0x4fb01f1f in _nc_printf_string (fmt=0x53d160 \n%s*Error: cannot 
 convert string to locale., ap=0x7f7f72f0)
 at /usr/src/lib/libcurses/base/safe_sprintf.c:225
 225 if (screen_lines  rows || screen_columns  cols) {
 (gdb) bt
 #0  0x4fb01f1f in _nc_printf_string (fmt=0x53d160 \n%s*Error: cannot 
 convert string to locale., ap=0x7f7f72f0)
 at /usr/src/lib/libcurses/base/safe_sprintf.c:225
 #1  0x4fb01ecf in vwprintw (win=0x0, fmt=0x0, argp=0x7f7f72f0) at 
 /usr/src/lib/libcurses/base/lib_printw.c:109
 #2  0x4fb01d28 in wprintw (win=0x0, fmt=0x7f7f72f0 \020) at 
 /usr/src/lib/libcurses/base/lib_printw.c:70
 #3  0x00418fac in ?? ()
 #4  0x0041e79a in ?? ()
 #5  0x00406115 in ?? ()
 #6  0x0040569b in ?? ()
 #7  0x in ?? ()
 
 -- 
 simon
 

-- 
The good life is one inspired by love and guided by knowledge.
 -- Bertrand Russel



Re: NEW: mcabber-0.9.5

2008-01-02 Thread viq
On Wed, Jan 02, 2008 at 02:02:23PM +0100, Simon Kuhnle wrote:
 On Sun, Dec 30, 2007 at 10:10:59PM +0100, Markus Hennecke wrote:
  Description: Console Jabber client.
  Homepage: http://www.lilotux.net/~mikael/mcabber/
 
  Comments and tests appreciated. Working on i386 and amd64. I had a report 
  about segfaults on a snapshot from 6th december (i386), but could not 
  reproduce that. 4.2-stable definetly won't work.
 
 Works for me on i386 now. Chatted and tested PPG encryption,
 both worked without problems.

Same here, except I tested PGP encryption ;)
 
 On amd64 it coredumps when there's a ~/.mcabberrc file.
 
 Without it, it starts up fine, but gives me the following message:
 [14:00:27]*Error: cannot convert string to locale.
 
 Here's the backtrace when started with .mcabberrc file:
 
 #0  0x4fb01f1f in _nc_printf_string (fmt=0x53d160 \n%s*Error: cannot 
 convert string to locale., ap=0x7f7f72f0)
 at /usr/src/lib/libcurses/base/safe_sprintf.c:225
 225 if (screen_lines  rows || screen_columns  cols) {
 (gdb) bt
 #0  0x4fb01f1f in _nc_printf_string (fmt=0x53d160 \n%s*Error: cannot 
 convert string to locale., ap=0x7f7f72f0)
 at /usr/src/lib/libcurses/base/safe_sprintf.c:225
 #1  0x4fb01ecf in vwprintw (win=0x0, fmt=0x0, argp=0x7f7f72f0) at 
 /usr/src/lib/libcurses/base/lib_printw.c:109
 #2  0x4fb01d28 in wprintw (win=0x0, fmt=0x7f7f72f0 \020) at 
 /usr/src/lib/libcurses/base/lib_printw.c:70
 #3  0x00418fac in ?? ()
 #4  0x0041e79a in ?? ()
 #5  0x00406115 in ?? ()
 #6  0x0040569b in ?? ()
 #7  0x in ?? ()
 
 -- 
 simon

-- 
viq



Re: NEW: mcabber-0.9.5

2008-01-02 Thread Simon Kuhnle
On Wed, Jan 02, 2008 at 02:08:02PM +0100, Jasper Lievisse Adriaanse wrote:
 On Wed, Jan 02, 2008 at 02:02:23PM +0100, Simon Kuhnle wrote:
  On Sun, Dec 30, 2007 at 10:10:59PM +0100, Markus Hennecke wrote:
   Description: Console Jabber client.
   Homepage: http://www.lilotux.net/~mikael/mcabber/
  
   Comments and tests appreciated. Working on i386 and amd64. I had a report 
   about segfaults on a snapshot from 6th december (i386), but could not 
   reproduce that. 4.2-stable definetly won't work.
  
  Works for me on i386 now. Chatted and tested PPG encryption,
  both worked without problems.
  
  On amd64 it coredumps when there's a ~/.mcabberrc file.
  
  Without it, it starts up fine, but gives me the following message:
  [14:00:27]*Error: cannot convert string to locale.
  
  Here's the backtrace when started with .mcabberrc file:
 can you move the mcabber file to ~/.mcabber/mcabberrc and try again?
 i can use mcabber fine here on amd64 with the file in that location.

Still doesn't work here.

There are is no locales stuff in my environment and it can't be
GNU/screen, as it doesn't work on normal shell either.
-- 
simon



Re: NEW: mcabber-0.9.5

2008-01-02 Thread Markus Hennecke

On Wed, 2 Jan 2008, Simon Kuhnle wrote:


On Wed, Jan 02, 2008 at 02:08:02PM +0100, Jasper Lievisse Adriaanse wrote:

On Wed, Jan 02, 2008 at 02:02:23PM +0100, Simon Kuhnle wrote:

On Sun, Dec 30, 2007 at 10:10:59PM +0100, Markus Hennecke wrote:

Description: Console Jabber client.
Homepage: http://www.lilotux.net/~mikael/mcabber/

Comments and tests appreciated. Working on i386 and amd64. I had a report
about segfaults on a snapshot from 6th december (i386), but could not
reproduce that. 4.2-stable definetly won't work.


Works for me on i386 now. Chatted and tested PPG encryption,
both worked without problems.

On amd64 it coredumps when there's a ~/.mcabberrc file.

Without it, it starts up fine, but gives me the following message:
[14:00:27]*Error: cannot convert string to locale.

Here's the backtrace when started with .mcabberrc file:

can you move the mcabber file to ~/.mcabber/mcabberrc and try again?
i can use mcabber fine here on amd64 with the file in that location.


Still doesn't work here.

There are is no locales stuff in my environment and it can't be
GNU/screen, as it doesn't work on normal shell either.


There is some problem with the from_utf8 macro which calls 
g_convert_with_fallback(). The error you are seeing is exactly the one I 
see on a 4.2-stable installation with this port, so perhaps I can track 
this down. I wonder why some installations trigger this and some don't.


Best regards,
  Markus



Re: NEW: mcabber-0.9.5

2008-01-02 Thread viq
On Wed, Jan 02, 2008 at 02:18:34PM +0100, viq wrote:
 On Wed, Jan 02, 2008 at 02:02:23PM +0100, Simon Kuhnle wrote:
  On Sun, Dec 30, 2007 at 10:10:59PM +0100, Markus Hennecke wrote:
   Description: Console Jabber client.
   Homepage: http://www.lilotux.net/~mikael/mcabber/
  
   Comments and tests appreciated. Working on i386 and amd64. I had a report 
   about segfaults on a snapshot from 6th december (i386), but could not 
   reproduce that. 4.2-stable definetly won't work.
  
  Works for me on i386 now. Chatted and tested PPG encryption,
  both worked without problems.
 
 Same here, except I tested PGP encryption ;)

One thing I found annoying is that when you start a conversation with
someone, and that person connects with a second resource with higher
priority, your messages are being sent to that resource instead of the
one you started conversation with. But it seems that's even described 
in man page, so I don't really get the right to complain here ;)
  
 -- 
 viq

-- 
viq



Re: openldap,bdb

2008-01-02 Thread Vijay Sankar
On January 2, 2008 04:30:12 am Stuart Henderson wrote:
 the recent thread on misc@ reminded me about the problem with
 db 4.6 and openldap 2.3, it's going to cause some people pain
 when they upgrade.

 from reading the openldap list archives, it seems unlikely
 that 2.3 will gain support for the newer db version.

 i have been considering the relative merits of adding multiple
 versions to openldap (i.e. databases/openldap/2.3 and 2.4), or
 changing db to be .../v4.2 and v4.6 (or similar).

 neither is really clean, the latter is messier but since
 oracle changed db's API without bumping the major version :(
 i think it might be preferable (especially in case we find
 any problems with other software).

 what does anyone else think?

It will be good to have multiple versions of OpenLDAP, if possible. 

Thanks very much,

Vijay

-- 
Vijay Sankar, M.Eng., P.Eng.
President  CEO
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB Canada R3J 0X6
Phone: +1 204 885 9535, E-Mail: [EMAIL PROTECTED]



Re: openldap,bdb

2008-01-02 Thread Marc Balmer

Vijay Sankar wrote:

On January 2, 2008 04:30:12 am Stuart Henderson wrote:

the recent thread on misc@ reminded me about the problem with
db 4.6 and openldap 2.3, it's going to cause some people pain
when they upgrade.

from reading the openldap list archives, it seems unlikely
that 2.3 will gain support for the newer db version.

i have been considering the relative merits of adding multiple
versions to openldap (i.e. databases/openldap/2.3 and 2.4), or
changing db to be .../v4.2 and v4.6 (or similar).

neither is really clean, the latter is messier but since
oracle changed db's API without bumping the major version :(
i think it might be preferable (especially in case we find
any problems with other software).

what does anyone else think?


It will be good to have multiple versions of OpenLDAP, if possible. 


We try to avoid having multiple version of the same port, if it is not
technically mandated.




Re: openldap with dbv4 crash

2008-01-02 Thread Marc Balmer

Vijay Sankar wrote:

[...]

I hate to waste developer and port maintainer time, so apologize in advance 
for this long message. Anyways, if there is anything useful I can do to help, 
please let me know.


I think we will soon see an OpenLDAP update proposed on ports@, and you
can definitely help with testing.

[...]



Re: openldap with dbv4 crash

2008-01-02 Thread Stuart Henderson
On 2008/01/02 11:13, Vijay Sankar wrote:
 I am puzzled about why I don't seem to have any problems with OpenLDAP 
 2.3.33p2 on

Do you have db 4.2.52 libs still installed? (.libs-db-4.2.5something
package showing in pkg_info)?



Re: openldap with dbv4 crash

2008-01-02 Thread Vijay Sankar
On January 2, 2008 11:27:17 am Stuart Henderson wrote:
 On 2008/01/02 11:13, Vijay Sankar wrote:
  I am puzzled about why I don't seem to have any problems with OpenLDAP
  2.3.33p2 on

 Do you have db 4.2.52 libs still installed? (.libs-db-4.2.5something
 package showing in pkg_info)?

Thanks very much for this suggestion.

I did a find / -name *4.2* -print and noticed the following:

web1# find /usr/local/lib -name *4.2* -print 
/usr/local/lib/libdb.so.4.2
/usr/local/lib/db4/libdb.so.4.2

So I must have made a mistake, I guess. But there was nothing about 4.2 when I 
did a pkg_info.

Here is a list of all the packages on this server, just in case it is useful.

web1# pkg_info -a
OpenEXR-1.2.2p3 high dynamic range image format
arts-1.5.8  K Desktop Environment, aRTs
aspell-0.50.5p4 spell checker designed to eventually replace Ispell
atk-1.20.0p0accessibility toolkit used by gtk+
autoconf-2.13p0 automatically configure source code on many Un*x platforms
autoconf-2.52p1 automatically configure source code on many Un*x platforms
autoconf-2.59p1 automatically configure source code on many Un*x platforms
autoconf-2.60p1 automatically configure source code on many Un*x platforms
automake-1.4.6  GNU Standards-compliant Makefile generator
bzip2-1.0.4 block-sorting file compressor, unencumbered
c-client-2006k  University of Washington's c-client mail access routines
cairo-1.4.12vector graphics library
cups-1.2.7p4Common Unix Printing System
curl-7.17.1 get files from FTP, Gopher, HTTP or HTTPS servers
cyrus-sasl-2.1.22p2 RFC  SASL (Simple Authentication and Security Layer)
db-4.6.21   Berkeley DB package, revision 4
dovecot-1.0.8-ldap  compact IMAP/POP3 server
enscript-1.6.3p1convert ASCII files to PostScript
esound-0.2.34p1v0   sound library for Enlightenment
fam-2.7.0p3 File Alteration Monitor
freetds-0.63p1  project to document and implement the TDS protocol
gdbm-1.8.3p0GNU dbm
gettext-0.16.1  GNU gettext
ghostscript-fonts-8.11p0 35 standard PostScript fonts with Adobe name aliases
glib-1.2.10p2   useful routines for C programming
glib2-2.14.4general-purpose utility library
glitz-0.5.6p0   OpenGL image compositing library
gmake-3.80p1GNU make
gmp-4.2.2   library for arbitrary precision arithmetic
gnutls-2.0.4GNU Transport Layer Security library
gtk+-1.2.10p6   General Toolkit for X11 GUI
gtk+2-2.12.2multi-platform graphical toolkit
help2man-1.29p0 GNU help2man
hicolor-icon-theme-0.10p1 high-color icon theme shell for GNOME and KDE
horde-3.1.5-mysql   modular framework for web-based applications
ijs-0.35raster image transmission library
imp-h3-4.1.5p1  highly configurable pop3/imap4 webmail client
ingo-h3-1.1.4   mail filter rules for imp
iodbc-3.52.4p2  ODBC 3.x driver manager
jasper-1.900.1  reference implementation of JPEG-2000
jpeg-6bp3   IJG's JPEG compression utilities
kdebase-3.5.8   K Desktop Environment, basic applications
kdelibs-3.5.8   K Desktop Environment, libraries
kronolith-h3-2.1.6  web based calendar application using the horde framework
lcms-1.15   color management library
libart-2.3.19p1 high-performance 2D graphics library
libaudiofile-0.2.6p0 SGI audiofile library clone
libgcrypt-1.2.4 crypto library based on code used in GnuPG
libgpg-error-1.5error codes for GnuPG related software
libiconv-1.9.2p5character set conversion library
libidn-1.1  internationalized string handling
libltdl-1.5.22p3GNU libtool system independent dlopen wrapper
libmad-0.15.1bp1high-quality MPEG audio decoder
libmagic-4.21   library to determine file type
libmcrypt-2.5.7p1   interface to access block/stream encryption algorithms
libmng-1.0.9p1  Multiple-image Network Graphics (MNG) reference library
libogg-1.1.3Ogg bitstream library
libtool-1.5.22p14   generic shared library support script
libusb-0.1.12   USB access library
libvorbis-1.2.0 audio compression codec library
libxml-2.6.30   XML parsing library
libxslt-1.1.22  XSLT C Library for GNOME
metaauto-0.7wrapper for gnu auto*
mhash-0.9.1p1   strong hash library
mnemo-h3-2.1.1p0memo application
mysql-client-5.0.45p0 multithreaded SQL database (client)
mysql-server-5.0.45p0 multithreaded SQL database (server)
nag-h3-2.1.3multiuser task list manager
net-snmp-5.4.1  extendable SNMP implementation
opencdk-0.6.6   Open Crypto Development Kit
openldap-client-2.3.33p0 Open source LDAP software (client)
openldap-server-2.3.33p2-bdb Open source LDAP software (server)
p5-DBD-mysql-4.005  MySQL drivers for the Perl DBI
p5-DBI-1.59 unified perl interface for database access
p5-Net-Daemon-0.43  extension for portable daemons
p5-PlRPC-0.2018p0   module for writing rpc servers and clients
pango-1.18.3p0  library for layout and rendering of text

Re: openldap with dbv4 crash

2008-01-02 Thread Vijay Sankar
On January 2, 2008 11:27:17 am Stuart Henderson wrote:
 On 2008/01/02 11:13, Vijay Sankar wrote:
  I am puzzled about why I don't seem to have any problems with OpenLDAP
  2.3.33p2 on

 Do you have db 4.2.52 libs still installed? (.libs-db-4.2.5something
 package showing in pkg_info)?

As usual, you are right. I did a pkg_info -A instead of -a as Marc kindly 
suggested and for the following output. 

web1# pkg_info -A
.libs-db-4.2.52p11  Stub libraries for db-4.2.52p11
.libs-gettext-0.14.6p0 Stub libraries for gettext-0.14.6p0
.libs-glib2-2.12.12p1 Stub libraries for glib2-2.12.12p1
.libs-gnutls-1.0.25p1 Stub libraries for gnutls-1.0.25p1
.libs-libgcrypt-1.2.0p1 Stub libraries for libgcrypt-1.2.0p1
.libs-libgpg-error-1.1p0 Stub libraries for libgpg-error-1.1p0
.libs-libvorbis-1.1.2p0 Stub libraries for libvorbis-1.1.2p0
.libs-opencdk-0.5.5p1 Stub libraries for opencdk-0.5.5p1
.libs-pcre-7.1  Stub libraries for pcre-7.1
.libs-png-1.2.18Stub libraries for png-1.2.18
.libs1-glib2-2.10.3p0 Stub libraries for .libs-glib2-2.10.3p0
.libs1-jasper-1.701.0p1 Stub libraries for .libs-jasper-1.701.0p1
.libs1-kdelibs-3.5.6p0 Stub libraries for .libs-kdelibs-3.5.6p0
.libs1-qt3-mt-3.7p1 Stub libraries for .libs-qt3-mt-3.7p1
.libs1-samba-3.0.24-main-cups-ldap Stub libraries 
for .libs-samba-3.0.24-main-cups-ldap

I don't have much of an excuse other than the holidays. 

Thanks again and wish you all the best for the New Year.

Vijay

-- 
Vijay Sankar, M.Eng., P.Eng.
President  CEO
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB Canada R3J 0X6
Phone: +1 204 885 9535, E-Mail: [EMAIL PROTECTED]



Re: libtool library search path

2008-01-02 Thread Steven Mestdagh
Alexander Bluhm [2008-01-02, 13:29:39]:
 On Mon, Dec 31, 2007 at 01:10:51PM +, Jacob Meuser wrote:
  let GNU libtool rot and work on ports/infrastructure/build/libtool
 
 GNU libtool sucks, OpenBSD libtool just works.
 It seems to build glib2 without problems.
 
 bluhm
 
 
 Index: devel/glib2/Makefile
 ===
 RCS file: /data/mirror/openbsd/cvs/ports/devel/glib2/Makefile,v
 retrieving revision 1.42
 diff -u -p -r1.42 Makefile
 --- devel/glib2/Makefile  5 Dec 2007 14:31:24 -   1.42
 +++ devel/glib2/Makefile  31 Dec 2007 15:21:28 -
 @@ -51,6 +51,7 @@ PATCH_LIST= patch-* PPC-patch-glib_Make
  
  USE_GMAKE=   Yes
  USE_LIBTOOL= Yes
 +LIBTOOL= /usr/ports/infrastructure/build/libtool
  CONFIGURE_STYLE= gnu
  CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
   --enable-static \

This new libtool is experimental. It will happily build 90% of stuff in our
ports tree that needs it, but work is needed to make it more compatible with
GNU libtool and handle all the weird corner cases. So no, we will not enable
this just yet. Feel free to continue to test/improve it, though.



Re: UPDATE+FIX: devel/doxygen

2008-01-02 Thread Simon Bertrang
On Tue, Jan 01, 2008 at 03:11:13PM +0100, Eric Faurot wrote:
 Hi and happy new year.
 
 While working on another port, simon and I noticed that the current doxygen
 is broken. Generated HTML filenames for directory listing are constructed by
 md5 summing the original path, but the md5 algorithm used is broken on 64bit
 archs, so the PLIST differed. This is fixed in recent versions. Now another
 problem is that the original path itself (the one where the sources to be
 documented are located) may vary when building a port needing doxygen: one
 could use WRKOBJDIR=/usr/obj/ports, or the port could be built from
 /usr/ports/mystuff. This is very inconvenient for PLISTs.
 
 So, I thought the simplest/nicest way to fix this would be to use an env var
 set to the prefix to strip from the paths used to generate the md5 sum. Ports
 using doxygen would just have something like:
 
 MAKE_ENV=   ENCODE_DIRNAME_PREFIX_STRIP=${WRKSRC}
 
 (the variable name is not too bright maybe)
 

As the chcksums should IMO be built relative to WRKSRC anyway i think
the prefix strip does exactly what it should.

 Diff with update and hack attached. 
 
 Comments?
 

Checked with your gdal port on amd64 - no plist changes anymore.

Ok from my side.

Regards,
Simon



update: misc/gpsd 2.34 - 2.36

2008-01-02 Thread Chris Kuethe
bug fixes (including a leap year problem), better numerical stability,
new drivers... worth the upgrade.

CK

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


gpsd.diff
Description: Binary data


SECURITY UPDATE: asterisk 1.4.17

2008-01-02 Thread Stuart Henderson
first asterisk remote DoS fix for 2008, affecting all previous 1.4
versions.  http://downloads.digium.com/pub/security/AST-2008-001.pdf

7   * channels/chan_sip.c: Allocate a SIP refer structure when
8 performing a transfer using BYE with Also so that the transfer
9 information is properly stored. (AST-2008-028) (closes issue
   10 #11637) Reported by: greyvoip

also includes a few other fixes (locking, call queues, etc),
I've tested on sparc64. ok?

Index: Makefile
===
RCS file: /cvs/ports/telephony/asterisk/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile21 Dec 2007 10:22:19 -  1.30
+++ Makefile2 Jan 2008 23:04:58 -
@@ -3,7 +3,7 @@
 SHARED_ONLY=   Yes
 COMMENT-main=  open source multi-protocol PBX and telephony toolkit
 
-V= 1.4.16.2
+V= 1.4.17
 DISTNAME=  asterisk-$V
 FULLPKGNAME-main=  ${DISTNAME}
 
Index: distinfo
===
RCS file: /cvs/ports/telephony/asterisk/distinfo,v
retrieving revision 1.24
diff -u -p -r1.24 distinfo
--- distinfo21 Dec 2007 10:22:19 -  1.24
+++ distinfo2 Jan 2008 23:04:58 -
@@ -1,5 +1,5 @@
-MD5 (asterisk-1.4.16.2.tar.gz) = EBChHazjeujotVhk23PQ7w==
-RMD160 (asterisk-1.4.16.2.tar.gz) = aX7pequ3VkjAI9vqIvKFl7IG8gE=
-SHA1 (asterisk-1.4.16.2.tar.gz) = N7YJni7FDcuBWPvRXRWtkwcfHW8=
-SHA256 (asterisk-1.4.16.2.tar.gz) = 
+JkqrebOxeaqJjBHT56xFWKD0YohJWJllXIW4fn07rg=
-SIZE (asterisk-1.4.16.2.tar.gz) = 11458626
+MD5 (asterisk-1.4.17.tar.gz) = /yX1bXdYWMTeYZ8vWaVQmQ==
+RMD160 (asterisk-1.4.17.tar.gz) = UMBE7gr1OhEBimHvwAi5t0ZTkZ4=
+SHA1 (asterisk-1.4.17.tar.gz) = vJCeNKXTx5AJuQ2sRb6MPAUeVzw=
+SHA256 (asterisk-1.4.17.tar.gz) = hTMeY8kDcMMFEh8TQ1jnbLsGhGoSwEp4JdWGnzMe4A0=
+SIZE (asterisk-1.4.17.tar.gz) = 11463021



Re: UPDATE+FIX: devel/doxygen

2008-01-02 Thread Landry Breuil
On Wed, Jan 02, 2008 at 09:47:32PM +0100, Simon Bertrang wrote:
 On Tue, Jan 01, 2008 at 03:11:13PM +0100, Eric Faurot wrote:
  Hi and happy new year.
  
  While working on another port, simon and I noticed that the current doxygen
  is broken. Generated HTML filenames for directory listing are constructed by
  md5 summing the original path, but the md5 algorithm used is broken on 64bit
  archs, so the PLIST differed. This is fixed in recent versions. Now another
  problem is that the original path itself (the one where the sources to be
  documented are located) may vary when building a port needing doxygen: one
  could use WRKOBJDIR=/usr/obj/ports, or the port could be built from
  /usr/ports/mystuff. This is very inconvenient for PLISTs.
  
  So, I thought the simplest/nicest way to fix this would be to use an env var
  set to the prefix to strip from the paths used to generate the md5 sum. 
  Ports
  using doxygen would just have something like:
  
  MAKE_ENV=   ENCODE_DIRNAME_PREFIX_STRIP=${WRKSRC}
  
  (the variable name is not too bright maybe)
  
 
 As the chcksums should IMO be built relative to WRKSRC anyway i think
 the prefix strip does exactly what it should.
 
  Diff with update and hack attached. 
  
  Comments?
  
 
 Checked with your gdal port on amd64 - no plist changes anymore.
 
 Ok from my side.

Builds and installs fine. I didn't test ports using it, but on a small app
here @i386 with an old doxyfile, works fine. Diff ok for me too, and hack
seems nice.
Maybe mentionning it in DESCR would be useful for future ports using it
?

Landry



[sysutils/procstated] new port, need help comments

2008-01-02 Thread Gilles Chehade
Hi ports@,

procstated is a utility that monitors a (set of) process(es) for exits and/or 
signals delivery,
and which calls handlers upon these events. It will for example allow the 
restart of a process
that exited, or mail someone if a monitored process receives a segmentation 
fault. New handlers
will be added depending on (my ?) needs.

I wanted to submit it for base initially but it looks a lot like a sysutils/ 
thingy so I made
it into a port.

= 
http://www.evilkittens.org/~gilles/OpenBSD/ports/sysutils/procstated.tgz


- comments ?

- can anyone please help me understand why procstated.conf doesn't get 
installed to
${PREFIX}/share/examples/ ? (I got the do-install part from other ports 
that
install sample configurations, I don't understand why it won't work 
here)

- if you test it (please ?) I would like to hear from you as I've been the only 
user of
it so far, it worked for my uses but I don't code bug-free ;)

Gilles

-- 
Gilles Chehade



update to sdl-1.2.13

2008-01-02 Thread Peter Valchev
Fixes a fullscreen crash with ffmpeg, etc. due to expecting memory to
be executable by default - use mprotect() - Reported by deanna@

Notes from the release:
Unix Notes
* Fixed crash in SDL_SoftStretch() on secure operating systems.
* Fixed undefined symbol on X11 implementations without UTF-8 support.
* Worked around BadAlloc error when using XVideo on the XFree86 Intel
* Integrated Graphics driver.
* Scan for all joysticks on Linux instead of stopping at one that was removed.
* Fixed use of sdl-config arguments in sdl.m4

Should be safe, but if you can test that something else didn't change,
please do.
? w-sdl-1.2.13
Index: Makefile
===
RCS file: /cvs/ports/devel/sdl/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile9 Dec 2007 13:40:16 -   1.59
+++ Makefile3 Jan 2008 04:06:19 -
@@ -2,9 +2,9 @@
 
 COMMENT=   cross-platform multimedia library
 
-VERSION=   1.2.12
+VERSION=   1.2.13
 DISTNAME=  SDL-${VERSION}
-PKGNAME=   ${DISTNAME:L}p2
+PKGNAME=   ${DISTNAME:L}
 CATEGORIES=devel
 
 HOMEPAGE=  http://www.libsdl.org/
Index: distinfo
===
RCS file: /cvs/ports/devel/sdl/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo22 Sep 2007 01:12:38 -  1.16
+++ distinfo3 Jan 2008 04:06:19 -
@@ -1,10 +1,10 @@
-MD5 (SDL-1.2.12.tar.gz) = VEtFVJhuUe7W00Q1z5xfPw==
+MD5 (SDL-1.2.13.tar.gz) = xmYP7qKmg03hC8cbL45NiA==
 MD5 (patch-libsd1.2.7-libcaca0.9.diff) = 3/bPX8l0lNvgWICGbhUWYA==
-RMD160 (SDL-1.2.12.tar.gz) = OHECPGPqBW66Q85PVe6NOnP/MCI=
+RMD160 (SDL-1.2.13.tar.gz) = 7Ygl/Jj0s3Wc+eXPg1fXHFDfmSU=
 RMD160 (patch-libsd1.2.7-libcaca0.9.diff) = 50oezoZFd7b9r4UWqeS0AJWOV1s=
-SHA1 (SDL-1.2.12.tar.gz) = LDf/FoM2g2nA9VXUp0LwVEFTYQ0=
+SHA1 (SDL-1.2.13.tar.gz) = UfyqPh1cAf2BPqCGiHgPhrGc9Tk=
 SHA1 (patch-libsd1.2.7-libcaca0.9.diff) = Tk0/XwKG5pYODlza0vkMVJl6bAQ=
-SHA256 (SDL-1.2.12.tar.gz) = 33friD79zGEiDq963jgyRinCc8J4zo1wClUwNp6bbfk=
+SHA256 (SDL-1.2.13.tar.gz) = lPmd8dYPKWtX9HQGUKcbZCXaZUBEyjD48M40k0Qp4TI=
 SHA256 (patch-libsd1.2.7-libcaca0.9.diff) = 
fnf1KYlqBfccSHTtjR9npVtt976i2zFrClxN/ejoAS8=
-SIZE (SDL-1.2.12.tar.gz) = 2829456
+SIZE (SDL-1.2.13.tar.gz) = 3373673
 SIZE (patch-libsd1.2.7-libcaca0.9.diff) = 28259
Index: patches/patch-configure
===
RCS file: /cvs/ports/devel/sdl/patches/patch-configure,v
retrieving revision 1.15
diff -u -p -r1.15 patch-configure
--- patches/patch-configure 22 Sep 2007 01:12:38 -  1.15
+++ patches/patch-configure 3 Jan 2008 04:06:19 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.15 2007/09/22 01:12:38 pvalchev Exp $
 configure.orig Sat Sep  8 22:38:20 2007
-+++ configure  Sat Sep  8 22:39:50 2007
-@@ -25672,9 +25672,6 @@ echo ${ECHO_T}$CompileNASM_ret 6
+--- configure.orig Sun Dec 30 21:09:39 2007
 configure  Wed Jan  2 18:41:16 2008
+@@ -26333,9 +26333,6 @@ echo ${ECHO_T}$CompileNASM_ret 6; }
win32)
NASMFLAGS=-f win32
;;
@@ -11,7 +11,7 @@ $OpenBSD: patch-configure,v 1.15 2007/09
macosx)
NASMFLAGS=-f macho
;;
-@@ -33307,10 +33304,10 @@ _ACEOF
+@@ -33612,10 +33609,10 @@ _ACEOF
  ;;
  netbsd|openbsd)
  cat confdefs.h \_ACEOF