[Python-apps-commits] r10978 - in packages/cython/trunk/debian (3 files)

yoh at users.alioth.debian.org yoh at users.alioth.debian.org
Wed Jun 18 15:27:50 UTC 2014


    Date: Wednesday, June 18, 2014 @ 15:27:50
  Author: yoh
Revision: 10978

debian/patches - deb_disable_googleanalytics - new

Added:
  packages/cython/trunk/debian/patches/deb_disable_googleanalytics
Modified:
  packages/cython/trunk/debian/changelog
  packages/cython/trunk/debian/patches/series

Modified: packages/cython/trunk/debian/changelog
===================================================================
--- packages/cython/trunk/debian/changelog	2014-06-18 15:27:42 UTC (rev 10977)
+++ packages/cython/trunk/debian/changelog	2014-06-18 15:27:50 UTC (rev 10978)
@@ -2,6 +2,8 @@
 
   * Post-release snapshot (from 0.20.x branch).  As of now should resolve
     outstanding FTBFS against Python 3.4 (Closes: #739073, #734291)
+  * debian/patches
+    - deb_disable_googleanalytics - new
 
  -- Yaroslav Halchenko <debian at onerussian.com>  Tue, 25 Mar 2014 13:04:01 -0400
 

Added: packages/cython/trunk/debian/patches/deb_disable_googleanalytics
===================================================================
--- packages/cython/trunk/debian/patches/deb_disable_googleanalytics	                        (rev 0)
+++ packages/cython/trunk/debian/patches/deb_disable_googleanalytics	2014-06-18 15:27:50 UTC (rev 10978)
@@ -0,0 +1,27 @@
+From: Yaroslav Halchenko <debian at onerussian.com>
+Subject: Disable google analytics calls
+
+  See http://lintian.debian.org/tags/privacy-breach-google-adsense.html for reasoning
+
+Origin: Debian
+Last-Update: 2014-03-25
+
+--- a/docs/_templates/layout.html
++++ b/docs/_templates/layout.html
+@@ -2,13 +2,7 @@
+ 
+ {% block footer %}
+ {{ super() }}
+-<script type="text/javascript">
+-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+-</script>
+-<script type="text/javascript">
+-try {
+-var pageTracker = _gat._getTracker("UA-6139100-3");
+-pageTracker._trackPageview();
+-} catch(err) {}</script>
++<!-- google analytics snippet as removed by Debian maintainers.
++     See http://lintian.debian.org/tags/privacy-breach-google-adsense.html
++     for more information -->
+ {% endblock %}

Modified: packages/cython/trunk/debian/patches/series
===================================================================
--- packages/cython/trunk/debian/patches/series	2014-06-18 15:27:42 UTC (rev 10977)
+++ packages/cython/trunk/debian/patches/series	2014-06-18 15:27:50 UTC (rev 10978)
@@ -0,0 +1 @@
+deb_disable_googleanalytics




More information about the Python-apps-commits mailing list