[r-cran-highr] 01/05: Solve parts of privacy breaches

Andreas Tille tille at debian.org
Tue May 3 19:32:58 UTC 2016


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

tille pushed a commit to branch master
in repository r-cran-highr.

commit 50bddd6144a78dfdc2fb3f1d2218e966e24fb8e2
Author: Andreas Tille <tille at debian.org>
Date:   Tue May 3 21:20:07 2016 +0200

    Solve parts of privacy breaches
---
 debian/control                          |  2 +-
 debian/patches/privacy_breach_fix.patch | 40 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 8f6b860..39e583e 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/r-cran-
 
 Package: r-cran-highr
 Architecture: any
-Depends: ${R:Depends}, ${misc:Depends}
+Depends: ${R:Depends}, ${misc:Depends}, libjs-highlight.js, libjs-jquery
 Description: Syntax Highlighting for R Source Code
  The GNU R package highr provides syntax highlighting for R source code; it
  natively supports generating LaTeX and HTML output from R source code.
diff --git a/debian/patches/privacy_breach_fix.patch b/debian/patches/privacy_breach_fix.patch
new file mode 100644
index 0000000..41c296e
--- /dev/null
+++ b/debian/patches/privacy_breach_fix.patch
@@ -0,0 +1,40 @@
+--- a/inst/doc/highr-custom.html
++++ b/inst/doc/highr-custom.html
+@@ -4,7 +4,7 @@
+     <title>Customization of the <code>highr</code> package</title>
+     <meta charset="utf-8">
+     <meta name="generator" content="knitr" />
+-    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/7.3/styles/github.min.css">
++    <link rel="stylesheet" href="/usr/share/javascript/highlight.js/styles/github.css">
+ 
+ <style type="text/css">
+ /* Derived from the Docco package by Jeremy Ashkenas: https://github.com/jashkenas/docco/ */
+@@ -236,7 +236,7 @@ code. See <a href="https://github.com/yi
+ </td><td class="code"></td></tr>
+       </table><!--table end-->
+     </div>
+-  <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
++  <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
+   <script src="http://yihui.name/knitr/js/docco-resize.js"></script>
+   </body>
+ </html>
+--- a/inst/doc/highr-internals.html
++++ b/inst/doc/highr-internals.html
+@@ -4,7 +4,7 @@
+     <title>Internals of the <code>highr</code> package</title>
+     <meta charset="utf-8">
+     <meta name="generator" content="knitr" />
+-    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/7.3/styles/github.min.css">
++    <link rel="stylesheet" href="/usr/share/javascript/highlight.js/styles/github.css">
+ 
+ <style type="text/css">
+ /* Derived from the Docco package by Jeremy Ashkenas: https://github.com/jashkenas/docco/ */
+@@ -343,7 +343,7 @@ paper is too small to write down the ans
+ </td><td class="code"></td></tr>
+       </table><!--table end-->
+     </div>
+-  <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
++  <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
+   <script src="http://yihui.name/knitr/js/docco-resize.js"></script>
+   </body>
+ </html>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c520659
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+privacy_breach_fix.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-highr.git



More information about the debian-science-commits mailing list