Thank's.

I download last version from www.vergenet.net
and make the modif on perdition/str.c and perdition/str.h

but, I have the same error :(

on the copil, I see this error. Can it be the problem?

/usr/local/lib//libpopt.so.0.3: warning: strcpy() is almost always misused,
please use strlcpy()
/usr/local/lib//libpopt.so.0.3: warning: sprintf() is often misused, please
use snprintf()
/usr/local/lib//libpopt.so.0.3: warning: strcat() is almost always misused,
please use strlcat()

regard's

On Sat, 13 Nov 2010 11:07:58 +0000, Stuart Henderson wrote
> On 2010/11/12 23:55, mailing BSD wrote:
> > Hello,
> > 
> > I try use perdition on OpenBSD 4.8 SPARC64, and with a BDB database,
> > and all the time I have this error when perdition try to find username
> > in the bdb file:
> > user_server_port_strn_assign: strdup: Cannot allocate memory
> > 
> > I try the same config on a i386, and it work :(
> > Do you have the same problem? an idea?
> 
> you could try this update, they appear to have fixed some problems
> with portability to 64-bit systems in the 1.19 release candidates.
> I don't use perdition myself (I prefer to use dovecot for proxying
> mail connections), so note that this builds and packages ok but
> I have not otherwise tested it.
> 
> The diff should be applied with "patch -E -p0 -d /usr/ports",
> it is for -current, if you want to try it with 4.8 there will
> most likely be some conflicts to resolve (we have done some
> major work across the ports tree since then).
> 
> Index: devel/vanessa/Makefile.inc
> ===================================================================
> RCS file: /cvs/ports/devel/vanessa/Makefile.inc,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Makefile.inc
> --- devel/vanessa/Makefile.inc        6 Nov 2006 10:57:38 -0000       1.1.1.1
> +++ devel/vanessa/Makefile.inc        13 Nov 2010 11:05:50 -0000
> @@ -1,22 +1,21 @@
>  # $OpenBSD: Makefile.inc,v 1.1.1.1 2006/11/06 10:57:38 msf Exp $
> 
> -CATEGORIES?= devel
> +CATEGORIES ?=        devel
> 
> -HOMEPAGE?=   http://www.vergenet.net/linux/vanessa/
> +HOMEPAGE ?=  http://www.vergenet.net/linux/vanessa/
> 
> -# GPL
> -PERMIT_PACKAGE_CDROM=        Yes
> -PERMIT_PACKAGE_FTP=  Yes
> -PERMIT_DISTFILES_CDROM=      Yes
> -PERMIT_DISTFILES_FTP=        Yes
> +# LGPLv2+
> +PERMIT_PACKAGE_CDROM =        Yes
> +PERMIT_PACKAGE_FTP =  Yes
> +PERMIT_DISTFILES_CDROM = Yes
> +PERMIT_DISTFILES_FTP =        Yes
> 
> -MASTER_SITE_VANESSA?=        ${HOMEPAGE}download/
> +MASTER_SITE_VANESSA ?=       ${HOMEPAGE}download/
> 
> -USE_LIBTOOL?=                Yes
> +USE_LIBTOOL ?=               Yes
> 
> -CONFIGURE_STYLE?=    gnu
> +CONFIGURE_STYLE ?=   gnu
> 
> -NO_REGRESS?=         Yes
> -
> -CONFIGURE_ENV?=              CPPFLAGS="-I${LOCALBASE}/include" \
> +CONFIGURE_ARGS ?=    --disable-silent-rules
> +CONFIGURE_ENV ?=     CPPFLAGS="-I${LOCALBASE}/include" \
>                       LDFLAGS="-L${LOCALBASE}/lib"
> Index: devel/vanessa/adt/Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/vanessa/adt/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- devel/vanessa/adt/Makefile        8 Nov 2010 12:29:24 -0000       1.3
> +++ devel/vanessa/adt/Makefile        13 Nov 2010 11:05:50 -0000
> @@ -2,14 +2,14 @@
> 
>  COMMENT=     provides abstract data types (ADTs)
> 
> -VERSION=     0.0.6
> +VERSION=     0.0.9
>  DISTNAME=    vanessa_adt-${VERSION}
> 
> -SHARED_LIBS= vanessa_adt                     0.3     # 0.3
> +SHARED_LIBS= vanessa_adt                     1.0     # 1.0
> 
>  MASTER_SITES=        ${MASTER_SITE_VANESSA:=vanessa_adt/${VERSION}/}
> 
> -LIB_DEPENDS= ::devel/vanessa/logger
> -WANTLIB =    vanessa_logger.>=0.3
> +LIB_DEPENDS= :vanessa_logger->=0.0.10:devel/vanessa/logger
> +WANTLIB=     vanessa_logger.>=1.0
> 
>  .include <bsd.port.mk>
> Index: devel/vanessa/adt/distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/vanessa/adt/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- devel/vanessa/adt/distinfo        5 Apr 2007 15:38:07 -0000       1.2
> +++ devel/vanessa/adt/distinfo        13 Nov 2010 11:05:50 -0000
> @@ -1,5 +1,5 @@
> -MD5 (vanessa_adt-0.0.6.tar.gz) = BpEFdVwcVFDR+nqMMZ4I7Q==
> -RMD160 (vanessa_adt-0.0.6.tar.gz) = LJmZQxBdwFp+j6L0zd68lCen8dk=
> -SHA1 (vanessa_adt-0.0.6.tar.gz) = SCMjKqG2MAA8pLE1BSnlHN7kmsE=
> -SHA256 (vanessa_adt-0.0.6.tar.gz) =
Z6WuGRoGftRqSSLRVTGf08mHLnqDVEwqKMDV+2kgYCQ=
> -SIZE (vanessa_adt-0.0.6.tar.gz) = 315242
> +MD5 (vanessa_adt-0.0.9.tar.gz) = uhoz7HubBLIIZZEtwYjp/Q==
> +RMD160 (vanessa_adt-0.0.9.tar.gz) = AJwjbdvbiS8T3Ki9BSodh8d0r2E=
> +SHA1 (vanessa_adt-0.0.9.tar.gz) = oX7uZ+GpgkZ8RGi5bSkW/ZXNPhk=
> +SHA256 (vanessa_adt-0.0.9.tar.gz) =
i8u2n2RwIjkBBUHsfX/YZzdXS2ri+kd8qlss2GoSw/E=
> +SIZE (vanessa_adt-0.0.9.tar.gz) = 342309
> Index: devel/vanessa/logger/Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/vanessa/logger/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- devel/vanessa/logger/Makefile     18 Oct 2010 17:48:13 -0000      1.3
> +++ devel/vanessa/logger/Makefile     13 Nov 2010 11:05:50 -0000
> @@ -2,10 +2,10 @@
> 
>  COMMENT=     provides a generic logging layer
> 
> -VERSION=     0.0.7
> +VERSION=     0.0.10
>  DISTNAME=    vanessa_logger-${VERSION}
> 
> -SHARED_LIBS= vanessa_logger                  0.3     # 0.3
> +SHARED_LIBS= vanessa_logger                  1.0     # 0.5
> 
>  MASTER_SITES=        ${MASTER_SITE_VANESSA:=vanessa_logger/${VERSION}/}
> 
> Index: devel/vanessa/logger/distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/vanessa/logger/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- devel/vanessa/logger/distinfo     5 Apr 2007 15:38:07 -0000       1.2
> +++ devel/vanessa/logger/distinfo     13 Nov 2010 11:05:50 -0000
> @@ -1,5 +1,5 @@
> -MD5 (vanessa_logger-0.0.7.tar.gz) = oyRdsaGBaUBK/+zCQixkpg==
> -RMD160 (vanessa_logger-0.0.7.tar.gz) = kdUogXVrAxLqWZOVbJeIliqc3Iw=
> -SHA1 (vanessa_logger-0.0.7.tar.gz) = XPDQ/hAxFdwl9ZGQIWocswK3xic=
> -SHA256 (vanessa_logger-0.0.7.tar.gz) =
ZTI79nPL6Uxwd/e8R1+V7yWhjVH5alnPpGOhiw5ogdA=
> -SIZE (vanessa_logger-0.0.7.tar.gz) = 303977
> +MD5 (vanessa_logger-0.0.10.tar.gz) = 4ZoTxbMFVvuuLYQCyrf6Rg==
> +RMD160 (vanessa_logger-0.0.10.tar.gz) = vzwj5LAtCsXwMxJAhPm2htQshiE=
> +SHA1 (vanessa_logger-0.0.10.tar.gz) = dt7v6SAXm06o2rZZ63qqn3XGwwY=
> +SHA256 (vanessa_logger-0.0.10.tar.gz) =
mw4SzdnigYGMKNrsW8RFSnaT3zzJNdwr15NEMWGpBz0=
> +SIZE (vanessa_logger-0.0.10.tar.gz) = 328814
> Index: devel/vanessa/logger/pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/vanessa/logger/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- devel/vanessa/logger/pkg/PLIST    6 Nov 2006 10:57:38 -0000       1.1.1.1
> +++ devel/vanessa/logger/pkg/PLIST    13 Nov 2010 11:05:50 -0000
> @@ -1,7 +1,9 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/06 10:57:38 msf Exp $
>  %%SHARED%%
> -bin/vanessa_logger_sample
> +...@bin bin/vanessa_logger_sample
>  include/vanessa_logger.h
>  lib/libvanessa_logger.a
>  lib/libvanessa_logger.la
> +lib/pkgconfig/
> +lib/pkgconfig/vanessa-logger.pc
>  @man man/man1/vanessa_logger_sample.1
> Index: devel/vanessa/socket/Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/vanessa/socket/Makefile,v
> retrieving revision 1.4
> diff -u -p -r1.4 Makefile
> --- devel/vanessa/socket/Makefile     8 Nov 2010 12:29:24 -0000       1.4
> +++ devel/vanessa/socket/Makefile     13 Nov 2010 11:05:50 -0000
> @@ -2,17 +2,17 @@
> 
>  COMMENT=     provides abstract data types (ADTs)
> 
> -VERSION=     0.0.7
> +VERSION=     0.0.12
>  DISTNAME=    vanessa_socket-${VERSION}
> 
> -SHARED_LIBS= vanessa_socket                  0.4     # 0.4
> +SHARED_LIBS= vanessa_socket                  1.0     # 3.0
> 
>  MASTER_SITES=        ${MASTER_SITE_VANESSA:=vanessa_socket/${VERSION}/}
> 
> -WANTLIB=     c vanessa_logger.>=0.3 popt.>=0
> +WANTLIB=     c vanessa_logger.>=1.0 popt.>=0
> 
>  USE_GROFF =  Yes
> -LIB_DEPENDS= ::devel/vanessa/logger \
> +LIB_DEPENDS= :vanessa_logger->=0.0.10:devel/vanessa/logger \
>               ::devel/popt
> 
>  .include <bsd.port.mk>
> Index: devel/vanessa/socket/distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/vanessa/socket/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- devel/vanessa/socket/distinfo     5 Apr 2007 15:38:07 -0000       1.2
> +++ devel/vanessa/socket/distinfo     13 Nov 2010 11:05:50 -0000
> @@ -1,5 +1,5 @@
> -MD5 (vanessa_socket-0.0.7.tar.gz) = kowxisdGAUEv8jEjTh2nyQ==
> -RMD160 (vanessa_socket-0.0.7.tar.gz) = OLjCShiVGy8WEYTlXxVssvHxby8=
> -SHA1 (vanessa_socket-0.0.7.tar.gz) = zTKYj/1fhGN7t/RyXVqlacw/P+I=
> -SHA256 (vanessa_socket-0.0.7.tar.gz) =
2P3FM5EVkRWBx2PSzJv05xwM1MB/YJPwJLt65uO4mQc=
> -SIZE (vanessa_socket-0.0.7.tar.gz) = 321042
> +MD5 (vanessa_socket-0.0.12.tar.gz) = BfGK7UTBNVGtH5RDd6IZBw==
> +RMD160 (vanessa_socket-0.0.12.tar.gz) = GM+H23Ykpva6i0bYtQu20uChkyY=
> +SHA1 (vanessa_socket-0.0.12.tar.gz) = HG8A4sQozdRot0QYhWyrWpe3h84=
> +SHA256 (vanessa_socket-0.0.12.tar.gz) =
gJ8R2pUHxp1yg55nIUnTkcA2vlfNScyaNaxkve+/Ubw=
> +SIZE (vanessa_socket-0.0.12.tar.gz) = 346375
> Index: devel/vanessa/socket/pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/vanessa/socket/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- devel/vanessa/socket/pkg/PLIST    6 Nov 2006 10:57:38 -0000       1.1.1.1
> +++ devel/vanessa/socket/pkg/PLIST    13 Nov 2010 11:05:50 -0000
> @@ -1,7 +1,9 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/06 10:57:38 msf Exp $
>  %%SHARED%%
> -bin/vanessa_socket_pipe
> +...@bin bin/vanessa_socket_pipe
>  include/vanessa_socket.h
>  lib/libvanessa_socket.a
>  lib/libvanessa_socket.la
> +lib/pkgconfig/
> +lib/pkgconfig/vanessa-socket.pc
>  @man man/man1/vanessa_socket_pipe.1
> Index: mail/perdition/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/perdition/Makefile,v
> retrieving revision 1.8
> diff -u -p -r1.8 Makefile
> --- mail/perdition/Makefile   11 Nov 2010 10:54:02 -0000      1.8
> +++ mail/perdition/Makefile   13 Nov 2010 11:05:50 -0000
> @@ -5,13 +5,12 @@ COMMENT-ldap=       LDAP backend for perdition
>  COMMENT-mysql=  MySQL backend for perdition mail proxy
>  COMMENT-pgsql=       PostgreSQL backend for perdition mail proxy
> 
> -DISTVER=     1.17.1
> +DISTVER=     1.19-rc4
>  DISTNAME=    perdition-${DISTVER}
> -PKGNAME-main=        ${DISTNAME}
> -PKGNAME-ldap=        perdition-ldap-${DISTVER}
> -REVISION-ldap =      0
> -PKGNAME-mysql=  perdition-mysql-${DISTVER}
> -PKGNAME-pgsql=  perdition-pgsql-${DISTVER}
> +PKGNAME-main=        ${DISTNAME:S/-//}
> +PKGNAME-ldap=        perdition-ldap-${DISTVER:S/-//}
> +PKGNAME-mysql=  perdition-mysql-${DISTVER:S/-//}
> +PKGNAME-pgsql=  perdition-pgsql-${DISTVER:S/-//}
> 
>  CATEGORIES=  mail
> 
> @@ -24,7 +23,8 @@ SHARED_LIBS +=  perditiondb_daemon_base
> 
>  HOMEPAGE=    http://www.vergenet.net/linux/perdition/
> 
> -# GPL
> +# GPLv2+ (included COPYING is v3, but all files with a
> +# copyright claim specify version 2 or above).
>  PERMIT_PACKAGE_CDROM=        Yes
>  PERMIT_PACKAGE_FTP=  Yes
>  PERMIT_DISTFILES_CDROM=      Yes
> @@ -40,7 +40,8 @@ CONFIGURE_STYLE=gnu
>  CFLAGS+=-I${LOCALBASE}/include -I${LOCALBASE}/include/db4
>  CONFIGURE_ENV+="LDFLAGS=-L${LOCALBASE}/lib"
> 
> -CONFIGURE_ARGS+=     --enable-ssl \
> +CONFIGURE_ARGS+=     --disable-silent-rules \
> +                     --enable-ssl \
>                       --with-ssl-includes=/usr/include \
>                       --with-ssl-libraries=/usr/lib \
>                       --disable-gdbm \
> @@ -49,19 +50,17 @@ CONFIGURE_ARGS+=  --enable-ssl \
>                       --with-group=_perdition \
>                       --localstatedir=/var
> 
> -NO_REGRESS=Yes
> -
>  PSEUDO_FLAVORS=              no_bdb no_ldap no_mysql no_pgsql
>  FLAVOR?=
> 
>  MULTI_PACKAGES=      -main
> 
> -WANTLIB-main=        c crypto ssl util db.>=4.2 vanessa_adt.>=0.3 \
> -                     vanessa_logger.>=0.3 vanessa_socket.>=0.3 popt.>=0
> +WANTLIB-main=        c crypto ssl util db.>=4.2 vanessa_adt.>=1.0 \
> +                     vanessa_logger.>=1.0 vanessa_socket.>=1.0 popt.>=0
>  LIB_DEPENDS-main=    ::databases/db/v4 \
> -                     ::devel/vanessa/adt \
> -                     ::devel/vanessa/logger \
> -                     ::devel/vanessa/socket \
> +                     :vanessa_adt->=0.0.9:devel/vanessa/adt \
> +                     :vanessa_logger->=0.0.10:devel/vanessa/logger \
> +                     :vanessa_socket->=0.0.12:devel/vanessa/socket \
>                       ::devel/popt
> 
>  .if ${FLAVOR:L:Mno_ldap}
> Index: mail/perdition/distinfo
> ===================================================================
> RCS file: /cvs/ports/mail/perdition/distinfo,v
> retrieving revision 1.3
> diff -u -p -r1.3 distinfo
> --- mail/perdition/distinfo   8 Jun 2008 10:55:25 -0000       1.3
> +++ mail/perdition/distinfo   13 Nov 2010 11:05:50 -0000
> @@ -1,5 +1,5 @@
> -MD5 (perdition-1.17.1.tar.gz) = VGTFF/i+gQUZthh7aUydmA==
> -RMD160 (perdition-1.17.1.tar.gz) = LqNRwYmzMDCKAi6XydzIyb04E3c=
> -SHA1 (perdition-1.17.1.tar.gz) = 3f3pA/anf4A1XXie7dVLRjEQZzU=
> -SHA256 (perdition-1.17.1.tar.gz) = 
> 4qvVeqdrEGWRBW74NeJoFsccOzncVbw666bf7vrHryY=
> -SIZE (perdition-1.17.1.tar.gz) = 638162
> +MD5 (perdition-1.19-rc4.tar.gz) = 4uWnZw9EhgBQVaTHiMKV0g==
> +RMD160 (perdition-1.19-rc4.tar.gz) = bR69TxagmaegHXaextXk1wQam9w=
> +SHA1 (perdition-1.19-rc4.tar.gz) = zuyIXH0n6pI9w0gRvlUymYehjgI=
> +SHA256 (perdition-1.19-rc4.tar.gz) =
LFUhnTnMU4Zkm7P1HhRg0+WNNu8hxhvndf+9bbeengA=
> +SIZE (perdition-1.19-rc4.tar.gz) = 655667
> Index: mail/perdition/patches/patch-etc_perdition_perdition_conf
> ===================================================================
> RCS file: /cvs/ports/mail/perdition/patches/patch-
> etc_perdition_perdition_conf,v retrieving revision 1.1.1.1 diff -u 
> -p -r1.1.1.1 patch-etc_perdition_perdition_conf
> --- mail/perdition/patches/patch-etc_perdition_perdition_conf 16 Nov 2006
23:26:00 -0000  1.1.1.1
> 
> +++ mail/perdition/patches/patch-etc_perdition_perdition_conf 13 Nov 
> 2010 11:05:50 -0000 @@ -1,6 +1,6 @@
>  $OpenBSD: patch-etc_perdition_perdition_conf,v 1.1.1.1 2006/11/16 
> 23:26:00 msf Exp $
> ---- etc/perdition/perdition.conf.orig        Tue Nov  7 11:44:00 2006
> -+++ etc/perdition/perdition.conf     Tue Nov  7 11:47:50 2006
> +--- etc/perdition/perdition.conf.orig        Wed Sep  1 08:13:30 2010
> ++++ etc/perdition/perdition.conf     Sat Nov 13 10:09:26 2010
>  @@ -132,9 +132,9 @@
> 
>   # g|group GROUP:
> @@ -12,9 +12,9 @@ $OpenBSD: patch-etc_perdition_perdition_
>  +#g _perdition
>  +#group _perdition
> 
> - # I|capability|pop_capability|imap_capability STRING:
> - # Capabilities for the protocol.
> -@@ -258,9 +258,9 @@
> + # imap_capability STRING:
> + # Capabilities for IMAP4 and IMAP4S
> +@@ -296,9 +296,9 @@
> 
>   # u|username USERNAME:
>   # User to run as.
> Index: mail/perdition/patches/patch-perdition_db_daemon_perditiondb_daemon_c
> ===================================================================
> RCS file: /cvs/ports/mail/perdition/patches/patch-
> perdition_db_daemon_perditiondb_daemon_c,v retrieving revision 
> 1.1.1.1 diff -u -p -r1.1.1.1 patch-perdition_db_daemon_perditiondb_daemon_c
> --- mail/perdition/patches/patch-perdition_db_daemon_perditiondb_daemon_c     
> 16
Nov 2006 23:26:00 -0000 1.1.1.1
> 
> +++ mail/perdition/patches/patch-
> perdition_db_daemon_perditiondb_daemon_c      13 Nov 2010 11:05:50 -0000 
> @@ -1,7 +1,7 @@
>  $OpenBSD: patch-perdition_db_daemon_perditiondb_daemon_c,v 1.1.1.1 
> 2006/11/16 23:26:00 msf Exp $
> ---- perdition/db/daemon/perditiondb_daemon.c.orig    Mon Nov 13 13:28:08 2006
> 
> -+++ perdition/db/daemon/perditiondb_daemon.c Mon Nov 13 13:29:53 
> 2006 -@@ -176,7 +176,7 @@ dbserver_get2(const char *key_str, const
> +--- perdition/db/daemon/perditiondb_daemon.c.orig    Wed Sep  1 
> 08:13:30 2010
> ++++ perdition/db/daemon/perditiondb_daemon.c Sat Nov 13 10:09:27 
> 2010 +@@ -237,7 +237,7 @@ dbserver_get2(const char *key_str, const 
> char *UNUSED(
> 
>       perdition_un_init(&sock);
> 
> Index: mail/perdition/patches/patch-perdition_pam_c
> ===================================================================
> RCS file: mail/perdition/patches/patch-perdition_pam_c
> diff -N mail/perdition/patches/patch-perdition_pam_c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> 
> +++ mail/perdition/patches/patch-perdition_pam_c      13 Nov 2010 
> 11:05:50 -0000 @@ -0,0 +1,11 @@ +$OpenBSD$
> +--- perdition/pam.c.orig     Sat Nov 13 10:45:35 2010
> ++++ perdition/pam.c  Sat Nov 13 10:45:38 2010 +@@ -25,6 +25,7 @@ + 
>  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +  
> * +  **********************************************************************/
> ++#include <sys/types.h>
> + #include <netinet/in.h>
> + #include <arpa/inet.h>
> + 
> Index: mail/perdition/patches/patch-perdition_str_c
> ===================================================================
> RCS file: mail/perdition/patches/patch-perdition_str_c
> diff -N mail/perdition/patches/patch-perdition_str_c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> 
> +++ mail/perdition/patches/patch-perdition_str_c      13 Nov 2010 
> 11:05:50 -0000 @@ -0,0 +1,24 @@ +$OpenBSD$ + +avoid conflict with string.h
> +
> +--- perdition/str.c.orig     Sat Nov 13 10:41:45 2010
> ++++ perdition/str.c  Sat Nov 13 10:42:12 2010
> +@@ -721,7 +721,7 @@ char *str_replace(char *str, size_t n, ...) 
> +  *       the time.
> +  **********************************************************************/
> + 
> +-const char *strcasestr(const char *haystack, const char *needle)
> ++const char *perdition_strcasestr(const char *haystack, const char 
> *needle) + { +        size_t i, haystack_len, needle_len; + +@@ -758,7 
> +758,7 @@ const char *strcasedelimword(const char *haystack, con + { 
> +     const char *found; + +- found = strcasestr(haystack, needle); ++        
> found = perdition_strcasestr(haystack, needle); +     if (!found) +           
> return NULL; + Index: mail/perdition/patches/patch-perdition_str_h
> ===================================================================
> RCS file: mail/perdition/patches/patch-perdition_str_h
> diff -N mail/perdition/patches/patch-perdition_str_h
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> 
> +++ mail/perdition/patches/patch-perdition_str_h      13 Nov 2010 
> 11:05:50 -0000 @@ -0,0 +1,15 @@ +$OpenBSD$ + +avoid conflict with string.h
> +
> +--- perdition/str.h.orig     Sat Nov 13 10:42:15 2010
> ++++ perdition/str.h  Sat Nov 13 10:42:24 2010
> +@@ -351,7 +351,7 @@ char *str_replace(char *str, size_t n, ...);
> +  *       the time.
> +  **********************************************************************/
> + 
> +-const char *strcasestr(const char *haystack, const char *needle);
> ++const char *perdition_strcasestr(const char *haystack, const char 
> *needle); + +
/**********************************************************************
> +  * strcasedelimword
> Index: mail/perdition/pkg/PFRAG.shared-main
> ===================================================================
> RCS file: /cvs/ports/mail/perdition/pkg/PFRAG.shared-main,v
> retrieving revision 1.2
> diff -u -p -r1.2 PFRAG.shared-main
> --- mail/perdition/pkg/PFRAG.shared-main      8 Jun 2008 10:55:25 -0000       
> 1.2
> +++ mail/perdition/pkg/PFRAG.shared-main      13 Nov 2010 11:05:50 -0000
> @@ -1,5 +1,4 @@
> 
>  @comment $OpenBSD: PFRAG.shared-main,v 1.2 2008/06/08 10:55:25 
> simon Exp $ -...@lib lib/libjain.so.${LIBjain_VERSION} @lib
lib/libperditiondb_bdb.so.${LIBperditiondb_bdb_VERSION}
>  @lib lib/libperditiondb_daemon.so.${LIBperditiondb_daemon_VERSION}
>  @lib lib/libperditiondb_daemon_base.so.${LIBperditiondb_daemon_base_VERSION}
> Index: mail/perdition/pkg/PLIST-main
> ===================================================================
> RCS file: /cvs/ports/mail/perdition/pkg/PLIST-main,v
> retrieving revision 1.3
> diff -u -p -r1.3 PLIST-main
> --- mail/perdition/pkg/PLIST-main     8 Jun 2008 10:55:25 -0000       1.3
> +++ mail/perdition/pkg/PLIST-main     13 Nov 2010 11:05:50 -0000
> @@ -3,10 +3,7 @@
>  @newgroup _perdition:573
>  @newuser _perdition:573:573:daemon:Perdition proxy:/var/empty:/sbin/nologin
>  %%SHARED%%
> -bin/makebdb
> -include/jain.h
> -lib/libjain.a
> -lib/libjain.la
> +...@bin bin/makebdb
>  lib/libperditiondb_bdb.a
>  lib/libperditiondb_bdb.la
>  lib/libperditiondb_daemon.a
> @@ -23,14 +20,16 @@ lib/libperditiondb_posix_regex.la
>  @man man/man8/perdition.imap4.8
>  @man man/man8/perdition.imap4s.8
>  @man man/man8/perdition.imaps.8
> +...@man man/man8/perdition.managesieve.8
>  @man man/man8/perdition.pop3.8
>  @man man/man8/perdition.pop3s.8
> -sbin/perdition
> -sbin/perdition.imap4
> -sbin/perdition.imap4s
> -sbin/perdition.imaps
> -sbin/perdition.pop3
> -sbin/perdition.pop3s
> +...@bin sbin/perdition
> +...@bin sbin/perdition.imap4
> +...@bin sbin/perdition.imap4s
> +...@bin sbin/perdition.imaps
> +...@bin sbin/perdition.managesieve
> +...@bin sbin/perdition.pop3
> +...@bin sbin/perdition.pop3s
>  share/examples/perdition/
>  @sample ${SYSCONFDIR}/perdition/
>  share/examples/perdition/Makefile


--
Eric JANTZEN - http://cv.jantzen.fr
Lyon
FRANCE

Reply via email to