[geographiclib] 01/01: Add patch to prevent remote access to CSS for html manuals

Ross Gammon ross-guest at moszumanska.debian.org
Sat Dec 13 22:54:41 UTC 2014


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

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

commit 82fbe9bc140e0ab82e2bb15332baa0ea5a707e56
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Sat Dec 13 23:42:43 2014 +0100

    Add patch to prevent remote access to CSS for html manuals
---
 debian/patches/css.patch | 130 +++++++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series    |   1 +
 2 files changed, 131 insertions(+)

diff --git a/debian/patches/css.patch b/debian/patches/css.patch
new file mode 100644
index 0000000..a3449e2
--- /dev/null
+++ b/debian/patches/css.patch
@@ -0,0 +1,130 @@
+Description: Remote CSS privacy breach
+ The HTML versions of the geographiclib manuals pull a CSS
+ from the CPAN search website.
+ .
+ As that style sheet is a fairly plain CSS anyway, the
+ link has been disable so that the manual is plain HTML
+ instead.
+Author: Ross Gammon <rossgammon at mail.dk>
+
+--- geographiclib.orig/man/CartConvert.1.html
++++ geographiclib/man/CartConvert.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>CartConvert(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/ConicProj.1.html
++++ geographiclib/man/ConicProj.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>ConicProj(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/GeoConvert.1.html
++++ geographiclib/man/GeoConvert.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>GeoConvert(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/GeodSolve.1.html
++++ geographiclib/man/GeodSolve.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>GeodSolve(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/GeodesicProj.1.html
++++ geographiclib/man/GeodesicProj.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>GeodesicProj(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/GeoidEval.1.html
++++ geographiclib/man/GeoidEval.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>GeoidEval(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/Gravity.1.html
++++ geographiclib/man/Gravity.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>Gravity(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/MagneticField.1.html
++++ geographiclib/man/MagneticField.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>MagneticField(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/Planimeter.1.html
++++ geographiclib/man/Planimeter.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>Planimeter(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/RhumbSolve.1.html
++++ geographiclib/man/RhumbSolve.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>RhumbSolve(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
+--- geographiclib.orig/man/TransverseMercatorProj.1.html
++++ geographiclib/man/TransverseMercatorProj.1.html
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" ?>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+-<head><link href="http://search.cpan.org/s/style.css" rel="stylesheet" type="text/css">
++<head>
+ <title>TransverseMercatorProj(1)</title>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+ <link rev="made" href="mailto:root at localhost" />
diff --git a/debian/patches/series b/debian/patches/series
index a542621..eba8c4b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+css.patch
 privacy.patch
 manpage_lintian.patch

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



More information about the Pkg-grass-devel mailing list