[111188] trunk/dports/security/certsync

landonf at macports.org landonf at macports.org
Mon Sep 16 13:33:29 PDT 2013


Revision: 111188
          https://trac.macports.org/changeset/111188
Author:   landonf at macports.org
Date:     2013-09-16 13:33:28 -0700 (Mon, 16 Sep 2013)
Log Message:
-----------
Add additional debugging to try to narrow down the buildbot failure.

Issue: #40088

Modified Paths:
--------------
    trunk/dports/security/certsync/Portfile
    trunk/dports/security/certsync/files/certsync.m

Modified: trunk/dports/security/certsync/Portfile
===================================================================
--- trunk/dports/security/certsync/Portfile	2013-09-16 20:17:38 UTC (rev 111187)
+++ trunk/dports/security/certsync/Portfile	2013-09-16 20:33:28 UTC (rev 111188)
@@ -4,6 +4,7 @@
 
 name			certsync
 version			1.0.5
+revision		1
 categories		security
 conflicts		curl-ca-bundle
 maintainers		landonf openmaintainer

Modified: trunk/dports/security/certsync/files/certsync.m
===================================================================
--- trunk/dports/security/certsync/files/certsync.m	2013-09-16 20:17:38 UTC (rev 111187)
+++ trunk/dports/security/certsync/files/certsync.m	2013-09-16 20:33:28 UTC (rev 111188)
@@ -260,7 +260,7 @@
         if (subject == NULL) {
             nsfprintf(stderr, @"Failed to extract certificate description: %@\n", cferror);
         } else {
-            nsfprintf(stderr, @"Extracting %@\n", subject);
+            nsfprintf(stderr, @"Found %@\n", subject);
         }
     }
     
@@ -270,6 +270,7 @@
     CFDataRef pemData;
     
     /* Prefer the non-deprecated SecItemExport on Mac OS X >= 10.7. We use an ifdef to keep the code buildable with earlier SDKs, too. */
+    nsfprintf(stderr, @"Exporting certificates from the keychain\n");
 #if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_6
     if (SecItemExport != NULL) {
         err = SecItemExport((CFArrayRef) anchors, kSecFormatPEMSequence, kSecItemPemArmour, NULL, &pemData);
@@ -287,6 +288,7 @@
         return EXIT_FAILURE;
     }
 
+    nsfprintf(stderr, @"Writing exported certificates\n");
     if (outputFile == nil) {
         NSString *str = [[[NSString alloc] initWithData: (NSData *) pemData encoding:NSUTF8StringEncoding] autorelease];
         nsfprintf(stdout, @"%@", str);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130916/5e1cb798/attachment.html>


More information about the macports-changes mailing list