The following reply was made to PR ports/132097; it has been noted by GNATS.

From: dirk.me...@dinoex.sub.org (Dirk Meyer)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: ports/132097: security/qca-ossl configure not finding
        OpenSSL when WITH_OPENSSL_PORT defined
Date: Thu, 26 Feb 2009 19:33:21 +0100

 Hello,
 
 I looked int this.
 I rebuild with option WITH_OPENSSL_PORTS=yes
        qt4-network-4.4.3
        qca-2.0.0_1
 
 Then patched qca-ossl with the patch below.
 I detects OpenSSL but the build fails as EVP_whirlpool ist not defined.
 
 It seemms that this ports needs updating,
 as the source references only OpenSSL 0.9.6 and OpenSSL 0.9.7, not 0.9.8
 
 The second patch fixed the build problem.
 
 The problem was not exposed before, cause the linker
 did still build with libcrypto from base, instead from ports.
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [dirk.me...@dinoex.sub.org],[dirk.me...@guug.de],[din...@freebsd.org]
 http://people.freebsd.org/~dinoex/errorlogs/
 
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/132097
 
 
 diff -u /usr/ports/security/qca-ossl/Makefile ./Makefile
 --- /usr/ports/security/qca-ossl/Makefile      2008-08-05 02:12:57.000000000 
+0200
 +++ ./Makefile 2009-02-26 06:22:52.000000000 +0100
 @@ -26,7 +26,9 @@
                PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
                PTHREAD_LDFLAGS=${PTHREAD_LIBS}
  CONFIGURE_ARGS=       --plugins-path=${PREFIX}/${QT_PLUGINDIR} 
--qtdir=${LOCALBASE} \
 -              --with-qca=${LOCALBASE}
 +              --with-qca=${LOCALBASE} \
 +              --with-openssl-inc=${PREFIX}/include \
 +              --with-openssl-lib=${PREFIX}/lib
  
  QT_PLUGINDIR= lib/qt4/plugins
 --- qca-ossl.cpp.orig  2007-12-11 07:34:57.000000000 +0100
 +++ qca-ossl.cpp       2009-02-26 06:41:17.000000000 +0100
 @@ -6597,9 +6597,11 @@
  #ifdef SHA512_DIGEST_LENGTH
        list += "sha512";
  #endif
 +#if 0
  #ifdef OBJ_whirlpool
        list += "whirlpool";
  #endif
 +#endif
        return list;
  }
  
 @@ -6810,10 +6812,12 @@
                else if ( type == "sha512" )
                        return new opensslHashContext( EVP_sha512(), this, 
type);
  #endif
 +#if 0
  #ifdef OBJ_whirlpool
                else if ( type == "whirlpool" )
                        return new opensslHashContext( EVP_whirlpool(), this, 
type);
  #endif
 +#endif
                else if ( type == "pbkdf1(sha1)" )
                        return new opensslPbkdf1Context( EVP_sha1(), this, type 
);
                else if ( type == "pbkdf1(md2)" )
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to