This is an automated email from the git hooks/post-receive script.

ross-guest pushed a commit to branch master
in repository geographiclib.

commit 8fb570c58f42ac0bc72802d65517e0f8bb65386a
Author: Ross Gammon <rossgam...@mail.dk>
Date:   Wed Sep 17 23:47:31 2014 +0200

    Resolved privacy breaches
---
 debian/control               |  3 +-
 debian/patches/privacy.patch | 80 ++++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series        |  1 +
 3 files changed, 83 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 28522bc..d770d4d 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,8 @@ X-Python-Version: >= 2.6
 
 Package: geographiclib-tools
 Architecture: any
-Depends: ${shlibs:Depends},
+Depends: libjs-mathjax,
+         ${shlibs:Depends},
          ${misc:Depends}
 Recommends: bzip2
 Suggests: proj-bin
diff --git a/debian/patches/privacy.patch b/debian/patches/privacy.patch
new file mode 100644
index 0000000..8c0c9b8
--- /dev/null
+++ b/debian/patches/privacy.patch
@@ -0,0 +1,80 @@
+Description: Fix privacy breaches detected by lintian
+ Altered doxyfile*.in files to use the packaged version of MathJax,
+ and to disable the search function and avoid copies of jquery.js
+ being installed. The manual is available online if full search
+ functionality is required:
+ http://geographiclib.sourceforge.net/html/index.html
+ .
+ Two html pages were downloading the SourceForge logo. This was
+ replaced with text.
+Author: Ross Gammon <rossgam...@mail.dk>
+--- geographiclib.orig/doc/doxyfile.in
++++ geographiclib/doc/doxyfile.in
+@@ -1188,7 +1188,7 @@
+ # However, it is strongly recommended to install a local
+ # copy of MathJax from http://www.mathjax.org before deployment.
+ 
+-MATHJAX_RELPATH        = http://cdn.mathjax.org/mathjax/latest
++MATHJAX_RELPATH        = /usr/share/javascript/mathjax/MathJax.js
+ 
+ # The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension
+ # names that should be enabled during MathJax rendering.
+@@ -1203,7 +1203,7 @@
+ # typically be disabled. For large projects the javascript based search engine
+ # can be slow, then enabling SERVER_BASED_SEARCH may provide a better 
solution.
+ 
+-SEARCHENGINE           = YES
++SEARCHENGINE           = NO
+ 
+ # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
+ # implemented using a PHP enabled web server instead of at the web client
+--- geographiclib.orig/doc/doxyfile-c.in
++++ geographiclib/doc/doxyfile-c.in
+@@ -1201,7 +1201,7 @@
+ # typically be disabled. For large projects the javascript based search engine
+ # can be slow, then enabling SERVER_BASED_SEARCH may provide a better 
solution.
+ 
+-SEARCHENGINE           = YES
++SEARCHENGINE           = NO
+ 
+ # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
+ # implemented using a PHP enabled web server instead of at the web client
+--- geographiclib.orig/doc/doxyfile-for.in
++++ geographiclib/doc/doxyfile-for.in
+@@ -1201,7 +1201,7 @@
+ # typically be disabled. For large projects the javascript based search engine
+ # can be slow, then enabling SERVER_BASED_SEARCH may provide a better 
solution.
+ 
+-SEARCHENGINE           = YES
++SEARCHENGINE           = NO
+ 
+ # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
+ # implemented using a PHP enabled web server instead of at the web client
+--- geographiclib.orig/doc/scripts/geod-calc.html
++++ geographiclib/doc/scripts/geod-calc.html
+@@ -462,10 +462,6 @@
+       <a href="mailto:char...@karney.com";>&lt;char...@karney.com&gt;</a>
+       (2011-08-04)</address>
+     <br>
+-    <a href="http://geographiclib.sourceforge.net";>
+-      <img
+-       src="http://sourceforge.net/sflogo.php?group_id=283628&amp;type=9";
+-       border="0" height="15" width="80" alt="SourceForge.net" />
+-    </a>
++    <a href="http://geographiclib.sourceforge.net";>Geographiclib 
Sourceforge</a>
+   </body>
+ </html>
+--- geographiclib.orig/doc/scripts/geod-google-instructions.html
++++ geographiclib/doc/scripts/geod-google-instructions.html
+@@ -109,10 +109,6 @@
+       <a href="mailto:char...@karney.com";>&lt;char...@karney.com&gt;</a>
+       (2011-08-02)</address>
+     <br>
+-    <a href="http://geographiclib.sourceforge.net";>
+-      <img
+-       src="http://sourceforge.net/sflogo.php?group_id=283628&amp;type=9";
+-       border="0" height="15" width="80" alt="SourceForge.net" />
+-    </a>
++    <a href="http://geographiclib.sourceforge.net";>Geographiclib 
Sourceforge</a>
+   </body>
+ </html>
diff --git a/debian/patches/series b/debian/patches/series
index e69de29..ea6f9b2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+privacy.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/geographiclib.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to