[35109] trunk/dports/aqua/dnsupdate27

jmr at macports.org jmr at macports.org
Mon Mar 17 09:27:23 PDT 2008


Revision: 35109
          http://trac.macosforge.org/projects/macports/changeset/35109
Author:   jmr at macports.org
Date:     2008-03-17 09:27:20 -0700 (Mon, 17 Mar 2008)

Log Message:
-----------
dnsupdate27: backport log messages patch from 2.8

Modified Paths:
--------------
    trunk/dports/aqua/dnsupdate27/Portfile

Added Paths:
-----------
    trunk/dports/aqua/dnsupdate27/files/patch-logmessages.diff

Modified: trunk/dports/aqua/dnsupdate27/Portfile
===================================================================
--- trunk/dports/aqua/dnsupdate27/Portfile	2008-03-17 16:16:16 UTC (rev 35108)
+++ trunk/dports/aqua/dnsupdate27/Portfile	2008-03-17 16:27:20 UTC (rev 35109)
@@ -29,7 +29,8 @@
     }
 }
 
-patchfiles		patch-DUInterface.h.diff patch-DNSUpdate2.pbproj-project.pbxproj.diff
+patchfiles		patch-DUInterface.h.diff patch-DNSUpdate2.pbproj-project.pbxproj.diff \
+                patch-logmessages.diff
 post-patch {
 	reinplace "s|/usr/bin/tar.*\[*\]|& --owner root --group wheel|" \
 		${worksrcpath}/DNSUpdate2.pbproj/project.pbxproj

Added: trunk/dports/aqua/dnsupdate27/files/patch-logmessages.diff
===================================================================
--- trunk/dports/aqua/dnsupdate27/files/patch-logmessages.diff	                        (rev 0)
+++ trunk/dports/aqua/dnsupdate27/files/patch-logmessages.diff	2008-03-17 16:27:20 UTC (rev 35109)
@@ -0,0 +1,45 @@
+diff -u -r DUDynDNSUpdater.m.orig DUDynDNSUpdater.m
+--- DUDynDNSUpdater.m.orig	2003-09-24 09:50:44.000000000 +1000
++++ DUDynDNSUpdater.m	2007-11-29 11:08:53.000000000 +1100
+@@ -212,7 +212,7 @@
+                     [host setStatus:@"No such host"];
+                     break;
+                 case _good:
+-                    NSLog(@"%@: update suceeded",host);
++                    NSLog(@"%@: update succeeded",host);
+                     [host updateAddressTo:[[host interface] getAddress]]; // XXX must cache all those addresses
+                     [host setStatus:@"Ok"];
+                     break;
+@@ -283,7 +283,7 @@
+                 [theUser setActive:NO];
+                 break;
+             case _dnserr:
+-                NSLog(@"DynDNS.org DNS error. Report the following line to DynDNS.org support departement :\nPacket ID: %@",(argument?argument:@"NoPacketId"));
++                NSLog(@"DynDNS.org DNS error. Report the following line to DynDNS.org support department :\nPacket ID: %@",(argument?argument:@"NoPacketId"));
+                 [theUser setUserStatus:@"DNS Error"];
+                 [theUser setActive:NO];
+                 break;
+diff -u -r DUEasyDNSUpdater.m.orig DUEasyDNSUpdater.m
+--- DUEasyDNSUpdater.m.orig	2003-09-24 09:50:44.000000000 +1000
++++ DUEasyDNSUpdater.m	2007-11-29 11:08:53.000000000 +1100
+@@ -131,7 +131,7 @@
+             NSString *returnCode=[words objectAtIndex:0];
+ 
+             if([returnCode isEqualToString:@"NOACCESS"]) {
+-                NSLog(@"Access denyied for %@ or host is not yours (Deactivating this user)",theUser);
++                NSLog(@"Access denied for %@ or host is not yours (Deactivating this user)",theUser);
+                 [theUser setUserStatus:@"Bad Auth"];
+                 [theUser setActive:NO];
+                 return;
+diff -u -r DUExternalInterface.m.orig DUExternalInterface.m
+--- DUExternalInterface.m.orig	2003-09-24 09:50:44.000000000 +1000
++++ DUExternalInterface.m	2007-11-29 11:13:19.000000000 +1100
+@@ -43,7 +43,7 @@
+ }
+ 
+ - (void)cacheAddress {
+-    NSLog(@"Caching external address");
++    //NSLog(@"Caching external address");
+     if([lastUpdate timeIntervalSinceNow]<=-EXTIPTEST_INTERVAL*60.0) {
+         NSDictionary *serverReturn;
+ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080317/b0280008/attachment.html


More information about the macports-changes mailing list