[70028] trunk/dports/net/kerberos5

ryandesign at macports.org ryandesign at macports.org
Mon Jul 26 17:28:40 PDT 2010


Revision: 70028
          http://trac.macports.org/changeset/70028
Author:   ryandesign at macports.org
Date:     2010-07-26 17:28:39 -0700 (Mon, 26 Jul 2010)
Log Message:
-----------
kerberos5: add openssl dependency, revbump for openssl 1.0.0a, fix build problem with openssl 1.0.0a; see #25816

Modified Paths:
--------------
    trunk/dports/net/kerberos5/Portfile

Added Paths:
-----------
    trunk/dports/net/kerberos5/files/
    trunk/dports/net/kerberos5/files/patch-pkinit_crypto_openssl.c.diff

Modified: trunk/dports/net/kerberos5/Portfile
===================================================================
--- trunk/dports/net/kerberos5/Portfile	2010-07-27 00:27:31 UTC (rev 70027)
+++ trunk/dports/net/kerberos5/Portfile	2010-07-27 00:28:39 UTC (rev 70028)
@@ -5,6 +5,7 @@
 name                        kerberos5
 conflicts                   e2fsprogs fbopenssl
 version                     1.7.1
+revision                    1
 set branch                  [join [lrange [split ${version} .] 0 1] .]
 categories                  net security
 maintainers                 nomaintainer
@@ -31,9 +32,13 @@
 
 depends_build               bin:gpg:gnupg
 
+depends_lib                 port:openssl
+
 extract.cmd                 cat
 extract.pre_args
 
+patchfiles                  patch-pkinit_crypto_openssl.c.diff
+
 configure.args              --mandir=${prefix}/share/man
 
 post-configure {

Added: trunk/dports/net/kerberos5/files/patch-pkinit_crypto_openssl.c.diff
===================================================================
--- trunk/dports/net/kerberos5/files/patch-pkinit_crypto_openssl.c.diff	                        (rev 0)
+++ trunk/dports/net/kerberos5/files/patch-pkinit_crypto_openssl.c.diff	2010-07-27 00:28:39 UTC (rev 70028)
@@ -0,0 +1,11 @@
+--- plugins/preauth/pkinit/pkinit_crypto_openssl.c.orig	2009-09-29 02:38:48.000000000 +0100
++++ plugins/preauth/pkinit/pkinit_crypto_openssl.c	2010-07-26 03:05:52.000000000 +0100
+@@ -3659,7 +3659,7 @@
+     if (buf == NULL)
+ 	goto cleanup;
+ 
+-    retval = EVP_PKEY_decrypt(buf, data, (int)data_len, pkey);
++    retval = EVP_PKEY_decrypt(buf, data, (int)data_len, pkey, buf_len);
+     if (retval <= 0) {
+ 	pkiDebug("unable to decrypt received data (len=%d)\n", data_len);
+ 	goto cleanup;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100726/546a5db2/attachment.html>


More information about the macports-changes mailing list