[libsnmp-session-perl] 17/24: 02_remoteimages: Remove external IMG tags from HTML documentation to avoid security breach.
Roland Rosenfeld
roland at moszumanska.debian.org
Tue Aug 22 22:34:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
roland pushed a commit to branch master
in repository libsnmp-session-perl.
commit 7b28747b00dd4c7ab01907b51ba07c1af84e9334
Author: Roland Rosenfeld <roland at debian.org>
Date: Tue Aug 22 23:59:18 2017 +0200
02_remoteimages: Remove external IMG tags from HTML documentation
to avoid security breach.
---
debian/changelog | 4 +++-
debian/patches/02_remoteimages.patch | 42 ++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 23ad4df..c7c6627 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,8 +10,10 @@ libsnmp-session-perl (1.13-2) UNRELEASED; urgency=medium
* Include complete Artistic 2.0 license into debian/copyright.
* Update to debhelper 10 and dh based debian/rules.
* Run wrap-and-sort.
+ * 02_remoteimages: Remove external IMG tags from HTML documentation to
+ avoid security breach.
- -- Roland Rosenfeld <roland at debian.org> Tue, 22 Aug 2017 23:52:33 +0200
+ -- Roland Rosenfeld <roland at debian.org> Tue, 22 Aug 2017 23:58:56 +0200
libsnmp-session-perl (1.13-1.1) unstable; urgency=low
diff --git a/debian/patches/02_remoteimages.patch b/debian/patches/02_remoteimages.patch
new file mode 100644
index 0000000..0de01ec
--- /dev/null
+++ b/debian/patches/02_remoteimages.patch
@@ -0,0 +1,42 @@
+Description: Remove external IMG tags from HTML documentation to avoid
+ security breach.
+Author: Roland Rosenfeld <roland at debian.org>
+
+--- a/index.html
++++ b/index.html
+@@ -28,21 +28,13 @@ agents. </p>
+
+ <p> <b> Download it from <a href="http://www.switch.ch/misc/leinen/snmp/perl/dist/"><tt>http://www.switch.ch/misc/leinen/snmp/perl/dist/</tt></a></b> </p>
+
+-<!-- <iframe marginwidth="0" marginheight="0" width="120" height="240" scrolling="no" frameborder="0" src="http://rcm.amazon.com/e/cm?o=1&l=as1&f=ifr&t=simonleinensbook&p=8&asins=0596000200&IS2=1<1=_blank"><MAP NAME="boxmap-p8"><AREA SHAPE="RECT" COORDS="14, 200, 103, 207" HREF="http://rcm.amazon.com/e/cm/privacy-policy.html?o=1" ><AREA COORDS="0,0,10000,10000" HREF="http://www.amazon.com/exec/obidos/redirect-home/simonleinensbook" ></map><img src="http://rcm-images.ama [...]
+-
+ <p> The library is featured in the book <em><a
+ href="http://www.oreilly.com/catalog/esnmp/">Essential SNMP</a></em>
+ by Douglas R. Mauro and Kevin J. Schmidt, July 2001, O'Reilly &
+ Associates, ISBN: 0-59600020-0. You can buy it on-line at <a
+-href="http://www.amazon.com/exec/obidos/ASIN/0596000200/simonleinensbook/ref=nosim/"><img
+-border=0 width=90 height=29 align="middle"
+-src="http://www.switch.ch/misc/leinen/images/amazon/90X29-w-logo.gif"
+-alt="Amazon.com"></a> <a
+-href="http://www.amazon.de/exec/obidos/ASIN/0596000200/simonleinensbo0d/ref=nosim/"><img
+-align="middle"
+-src="http://www.switch.ch/misc/leinen/images/amazon/w_90x31.gif"
+-width=90 height=31 border="0" alt="In Partnerschaft mit
+-Amazon.de"></a>. </p>
++href="http://www.amazon.com/exec/obidos/ASIN/0596000200/simonleinensbook/ref=nosim/">Amazon.com</a> <a
++href="http://www.amazon.de/exec/obidos/ASIN/0596000200/simonleinensbo0d/ref=nosim/">In Partnerschaft mit
++Amazon.de</a>. </p>
+
+ <H2>Features</H2>
+
+@@ -398,9 +390,7 @@ while ($bindings ne '') {
+ <A HREF="http://www.switch.ch/misc/leinen/">
+ Simon Leinen <simon.leinen at switch.ch></A>
+
+-<A HREF="http://validator.w3.org/"><IMG ALIGN=RIGHT BORDER=0
+- SRC="http://www.switch.ch/misc/leinen/images/vh40.gif"
+- ALT="Valid HTML 4.0!" HEIGHT=31 WIDTH=88></A>
++<A HREF="http://validator.w3.org/">Valid HTML 4.0</A>
+
+ </ADDRESS>
+
diff --git a/debian/patches/series b/debian/patches/series
index 35940b9..ae13f96 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01_Socket6_import.patch
+02_remoteimages.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsnmp-session-perl.git
More information about the Pkg-perl-cvs-commits
mailing list