[57459] trunk/dports/aqua/dnsupdate
jmr at macports.org
jmr at macports.org
Fri Sep 11 03:08:04 PDT 2009
Revision: 57459
http://trac.macports.org/changeset/57459
Author: jmr at macports.org
Date: 2009-09-11 03:08:00 -0700 (Fri, 11 Sep 2009)
Log Message:
-----------
dnsupdate: buildfix, remove references to dnsupdate27, add license
Modified Paths:
--------------
trunk/dports/aqua/dnsupdate/Portfile
trunk/dports/aqua/dnsupdate/files/patch-logmessages.diff
trunk/dports/aqua/dnsupdate/files/patch-project.pbxproj.diff
Added Paths:
-----------
trunk/dports/aqua/dnsupdate/files/patch-HTTPLoader.m.diff
Modified: trunk/dports/aqua/dnsupdate/Portfile
===================================================================
--- trunk/dports/aqua/dnsupdate/Portfile 2009-09-11 09:52:18 UTC (rev 57458)
+++ trunk/dports/aqua/dnsupdate/Portfile 2009-09-11 10:08:00 UTC (rev 57459)
@@ -7,15 +7,14 @@
name dnsupdate
version 2.8
categories aqua net
+license Restrictive/Distributable
maintainers jmr openmaintainer
-description DNSUpdate 2 is an Mac OS X client for dynamic DNS services
+description a Mac OS X client for dynamic DNS services
long_description DNSUpdate 2 is a client for dynamic DNS services \
like DynDNS.org and ZoneEdit.com, specific to Mac OS \
X. It uses the Cocoa framework and is launched at \
boot time. It comes with a graphic application to \
- configure and monitor the client. NOTE: this version is \
- for Mac OS X 10.4 and later. For 10.3 and earlier, use \
- dnsupdate27.
+ configure and monitor the client.
homepage http://www.dnsupdate.org/
master_sites http://ju.jalon.free.fr/DNSUpdateProject/
distname DNSUpdate${version}s
@@ -25,18 +24,11 @@
extract.suffix .tgz
-pre-fetch {
- if {${os.major} < 8} {
- return -code error "This version of DNSUpdate is for Mac OS X 10.4 or later. \
- For 10.3 and earlier, use dnsupdate27."
- }
-}
-
-patch.pre_args -p1
# stop spamming the log every minute, and fix spelling errors in log messages
# submitted upstream but no new version released yet
patchfiles patch-logmessages.diff \
- patch-project.pbxproj.diff
+ patch-project.pbxproj.diff \
+ patch-HTTPLoader.m.diff
post-patch {
reinplace "s|/usr/local|${prefix}|" \
Added: trunk/dports/aqua/dnsupdate/files/patch-HTTPLoader.m.diff
===================================================================
--- trunk/dports/aqua/dnsupdate/files/patch-HTTPLoader.m.diff (rev 0)
+++ trunk/dports/aqua/dnsupdate/files/patch-HTTPLoader.m.diff 2009-09-11 10:08:00 UTC (rev 57459)
@@ -0,0 +1,15 @@
+--- HTTPLoader.m.orig 2006-04-16 22:24:32.000000000 +1000
++++ HTTPLoader.m 2009-09-11 19:54:58.000000000 +1000
+@@ -137,10 +137,8 @@
+
+ if(user&&password) {
+ // get URL with authentification
+- char auth[512],theUser[256];
+-
+- strcpy(theUser,[[NSString stringWithFormat:@"%@:%@", user, password] lossyCString]);
+- base64Encode(theUser,auth);
++ char auth[512];
++ base64Encode([[NSString stringWithFormat:@"%@:%@", user, password] lossyCString],auth);
+
+ CFHTTPMessageSetHeaderFieldValue(requestMessage, CFSTR("Authorization"), (CFStringRef)[NSString stringWithFormat:@"Basic %s", auth]);
+ }
Modified: trunk/dports/aqua/dnsupdate/files/patch-logmessages.diff
===================================================================
--- trunk/dports/aqua/dnsupdate/files/patch-logmessages.diff 2009-09-11 09:52:18 UTC (rev 57458)
+++ trunk/dports/aqua/dnsupdate/files/patch-logmessages.diff 2009-09-11 10:08:00 UTC (rev 57459)
@@ -1,6 +1,6 @@
-diff -u -r DNSUpdate2.8s.orig/DUDynDNSUpdater.m DNSUpdate2.8s/DUDynDNSUpdater.m
---- DNSUpdate2.8s.orig/DUDynDNSUpdater.m 2003-09-24 09:50:44.000000000 +1000
-+++ DNSUpdate2.8s/DUDynDNSUpdater.m 2007-11-29 11:08:53.000000000 +1100
+diff -u 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;
@@ -19,9 +19,9 @@
[theUser setUserStatus:@"DNS Error"];
[theUser setActive:NO];
break;
-diff -u -r DNSUpdate2.8s.orig/DUEasyDNSUpdater.m DNSUpdate2.8s/DUEasyDNSUpdater.m
---- DNSUpdate2.8s.orig/DUEasyDNSUpdater.m 2003-09-24 09:50:44.000000000 +1000
-+++ DNSUpdate2.8s/DUEasyDNSUpdater.m 2007-11-29 11:08:53.000000000 +1100
+diff -u 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];
@@ -31,9 +31,9 @@
[theUser setUserStatus:@"Bad Auth"];
[theUser setActive:NO];
return;
-diff -u -r DNSUpdate2.8s.orig/DUExternalInterface.m DNSUpdate2.8s/DUExternalInterface.m
---- DNSUpdate2.8s.orig/DUExternalInterface.m 2003-09-24 09:50:44.000000000 +1000
-+++ DNSUpdate2.8s/DUExternalInterface.m 2007-11-29 11:13:19.000000000 +1100
+diff -u 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 @@
}
@@ -43,9 +43,9 @@
if([lastUpdate timeIntervalSinceNow]<=-EXTIPTEST_INTERVAL*60.0) {
NSDictionary *serverReturn;
-diff -u -r DNSUpdate2.8s.orig/DUMachBootstrapServer.m DNSUpdate2.8s/DUMachBootstrapServer.m
---- DNSUpdate2.8s.orig/DUMachBootstrapServer.m 2006-04-22 01:08:54.000000000 +1000
-+++ DNSUpdate2.8s/DUMachBootstrapServer.m 2007-11-29 11:08:53.000000000 +1100
+diff -u DUMachBootstrapServer.m.orig DUMachBootstrapServer.m
+--- DUMachBootstrapServer.m.orig 2006-04-22 01:08:54.000000000 +1000
++++ DUMachBootstrapServer.m 2007-11-29 11:08:53.000000000 +1100
@@ -45,9 +45,9 @@
NSLog(@"Can't get bootstrap port");
} else {
Modified: trunk/dports/aqua/dnsupdate/files/patch-project.pbxproj.diff
===================================================================
--- trunk/dports/aqua/dnsupdate/files/patch-project.pbxproj.diff 2009-09-11 09:52:18 UTC (rev 57458)
+++ trunk/dports/aqua/dnsupdate/files/patch-project.pbxproj.diff 2009-09-11 10:08:00 UTC (rev 57459)
@@ -1,5 +1,5 @@
---- DNSUpdate2.8s/DNSUpdate2.xcodeproj/project.pbxproj.orig 2006-04-22 08:03:55.000000000 +1000
-+++ DNSUpdate2.8s/DNSUpdate2.xcodeproj/project.pbxproj 2009-06-08 01:09:23.000000000 +1000
+--- DNSUpdate2.xcodeproj/project.pbxproj.orig 2006-04-22 08:03:55.000000000 +1000
++++ DNSUpdate2.xcodeproj/project.pbxproj 2009-06-08 01:09:23.000000000 +1000
@@ -1092,27 +1092,20 @@
F208FF2209F23E3400C8C3C4 /* Development */ = {
isa = XCBuildConfiguration;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090911/22afc774/attachment-0001.html>
More information about the macports-changes
mailing list