summaryrefslogtreecommitdiffstats
path: root/macosx/Sparkle.disable.security.patch
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-18 20:48:07 +0000
committerkonablend <[email protected]>2009-06-18 20:48:07 +0000
commit9bc7f6cea55af4796aaac35057ca7058456c3e03 (patch)
tree38a753a2bbdc366270841ae1d1fe9e2315d81b5b /macosx/Sparkle.disable.security.patch
parentdf54e47eb709cb97075d18e1101e1ce2c464ef75 (diff)
BuildSystem: appcast updates
- changed appcast URL to add architecture for OSX platform - added autogen'd appcast.xml during 'make pkg.create' - added new build of Sparkle 1.5b6 for 4 { i386, x86_64, ppc, ppc64 } which disables security. - added patch which was used against Sparkle sources. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2569 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Sparkle.disable.security.patch')
-rw-r--r--macosx/Sparkle.disable.security.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/macosx/Sparkle.disable.security.patch b/macosx/Sparkle.disable.security.patch
new file mode 100644
index 000000000..7d3d2d038
--- /dev/null
+++ b/macosx/Sparkle.disable.security.patch
@@ -0,0 +1,18 @@
+--- SUBasicUpdateDriver.m.orig 2009-06-18 16:23:17.000000000 -0400
++++ SUBasicUpdateDriver.m 2009-06-18 16:23:53.000000000 -0400
+@@ -158,6 +158,7 @@
+
+ - (void)downloadDidFinish:(NSURLDownload *)d
+ {
++#if 0
+ // New in Sparkle 1.5: we're now checking signatures on all non-secure downloads, where "secure" is defined as both the appcast and the download being transmitted over SSL.
+ NSURL *downloadURL = [[d request] URL];
+ if (![[downloadURL scheme] isEqualToString:@"https"] || ![[appcastURL scheme] isEqualToString:@"https"] || [host publicDSAKey])
+@@ -168,6 +169,7 @@
+ return;
+ }
+ }
++#endif
+
+ [self extractUpdate];
+ }