File: no-privacy-breach.patch

package info (click to toggle)
python-xstatic-jquery 3.5.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,372 kB
  • sloc: javascript: 19,082; python: 41; makefile: 15
file content (42 lines) | stat: -rw-r--r-- 2,459 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: Do not query 3rd party sites
 Original system from upstream allows the use of a 3rd party repository for the
 javascript library. This clearly goes against the spirit of Debian, and
 therefore, I'm cleaning the package from entries in the CDN dict.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2014-08-01

--- python-xstatic-jquery-1.7.2.0+dfsg1.orig/xstatic/pkg/jquery/__init__.py
+++ python-xstatic-jquery-1.7.2.0+dfsg1/xstatic/pkg/jquery/__init__.py
@@ -46,31 +46,5 @@
     # your relative path/filenames should usually be without version
     # information, because either the base dir/url is exactly for this
     # version or the mapping will care for accessing this version.
-    ('google', 'http'): 'http://ajax.googleapis.com/ajax/libs/jquery/%s' % VERSION,
-    ('google', 'https'): 'https://ajax.googleapis.com/ajax/libs/jquery/%s' % VERSION,
-    ('jquery', 'http'): {
-        'jquery.js': 'http://code.jquery.com/jquery-%s.js' % VERSION,
-        'jquery.min.js': 'http://code.jquery.com/jquery-%s.min.js' % VERSION,
-        'jquery.slim.js': 'http://code.jquery.com/jquery-%s.slim.js' % VERSION,
-        'jquery.slim.min.js': 'http://code.jquery.com/jquery-%s.slim.min.js' % VERSION,
-    },
-    ('jquery', 'https'): {
-        'jquery.js': 'https://code.jquery.com/jquery-%s.js' % VERSION,
-        'jquery.min.js': 'https://code.jquery.com/jquery-%s.min.js' % VERSION,
-        'jquery.slim.js': 'https://code.jquery.com/jquery-%s.slim.js' % VERSION,
-        'jquery.slim.min.js': 'https://code.jquery.com/jquery-%s.slim.min.js' % VERSION,
-    },
-    ('microsoft', 'http'): {
-        'jquery.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.js' % VERSION,
-        'jquery.min.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.min.js' % VERSION,
-        'jquery.slim.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.js' % VERSION,
-        'jquery.slim.min.js': 'http://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.min.js' % VERSION,
-    },
-    ('microsoft', 'https'): {
-        'jquery.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.js' % VERSION,
-        'jquery.min.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.min.js' % VERSION,
-        'jquery.slim.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.js' % VERSION,
-        'jquery.slim.min.js': 'https://ajax.aspnetcdn.com/ajax/jquery/jquery-%s.slim.min.js' % VERSION,
-    },
 }