[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: Add new donation website



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

rouca pushed a commit to branch master
in repository lintian.

commit 067aa412a3a228ff111cc61e57ce989e66fb9295
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Fri Aug 11 19:10:22 2017 +0200

    Add new donation website
---
 data/files/privacy-breaker-websites                                  | 2 +-
 debian/changelog                                                     | 2 ++
 .../debian/src/privacy-breach-donation/apache.html                   | 5 +++++
 t/tests/files-privacybreach/tags                                     | 1 +
 4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/data/files/privacy-breaker-websites b/data/files/privacy-breaker-websites
index 58e1f7f..4398dd8 100644
--- a/data/files/privacy-breaker-websites
+++ b/data/files/privacy-breaker-websites
@@ -10,7 +10,7 @@
 privacy-breach-google-adsense	                 ~~^(?:[^\./]+\.)?(?:googlesyndication\.com/pagead/(?:show_ads\.js|js/)|google-analytics\.com/(?:ga|urchin)\.js)
 privacy-breach-google-cse                        ~~^(?:[^\./]+\.)?google\.[^\./]+\.?/(:?afsonline/show_afs_search\.js|cse/api/branding\.css|coop/cse/brand\?[^/]+)$
 privacy-breach-google-plus                       ~~(?:^(?:[^\./]+\.)?google\.[^\./]+\.?/js/plusone\.[^\./]+\Z|^plus\.google\.com/)
-privacy-breach-donation                          ~~(?:(?:donate|paypal|support)\.(gif|jpe?g|png|svg)$|^(?:[^\./]+\.)?(?:flattr\.(?:com|net)|paypal(?:objects)?\.com|pledgie\.com|xoom\.com)/)
+privacy-breach-donation                          ~~(?:(?:donate|paypal|support)(?:[^/_.]*)?(?:_?small)?\.(gif|jpe?g|png|svg)$|^(?:[^\./]+\.)?(?:flattr\.(?:com|net)|paypal(?:objects)?\.com|pledgie\.com|xoom\.com)/)
 privacy-breach-facebook                          ~~^(?:[^\./]+\.)?(?:facebook\.com|static\.ak\.fbcdn\.net)(?:/|\Z)
 privacy-breach-logo                              ~~(?:^(?:sflogo\.)?(?:sourceforge|sf)\.[^\./]+/sflogo\.php\?|/logos?/|(?:acrobat|clanlib|(?:fav|github-)?icons?|logos?_?(?:\d+|small)|mascot[^\./]*|youtube-icon[^\./]*|twitter_logo[^\./]*|doxygen|forkme_[^/\.]*|logos?_[^/\.]*|logos?)\.(gif|ico|jpe?g|png|svg)$)
 privacy-breach-piwik                             ~~/piwik\.php\?
diff --git a/debian/changelog b/debian/changelog
index 28e972b..72aa031 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -70,6 +70,8 @@ lintian (2.5.53) UNRELEASED; urgency=medium
       libsass, libytnef, and taglib.
     + [RG] Use an additional string to detect embedded copies of
       openjpeg2.  (Closes: #762956)
+  * data/files/privacy-breaker-websites:
+    + [BR] Detect custom donation logos like apache.
 
   * commands/lintian.pm:
     + [CL] Apply patch from Maia Everett to avoid British spelling when
diff --git a/t/tests/files-privacybreach/debian/src/privacy-breach-donation/apache.html b/t/tests/files-privacybreach/debian/src/privacy-breach-donation/apache.html
new file mode 100644
index 0000000..4dccf51
--- /dev/null
+++ b/t/tests/files-privacybreach/debian/src/privacy-breach-donation/apache.html
@@ -0,0 +1,5 @@
+<html>
+<body>
+Donate to apache <img src="https://www.apache.org/images/supportapache-small.png"; />
+</body>
+</hmtl>
\ No newline at end of file
diff --git a/t/tests/files-privacybreach/tags b/t/tests/files-privacybreach/tags
index bcd3168..31a5db1 100644
--- a/t/tests/files-privacybreach/tags
+++ b/t/tests/files-privacybreach/tags
@@ -1,3 +1,4 @@
+E: files-privacybreach: privacy-breach-donation usr/share/files-privacy-breach/privacy-breach-donation/apache.html (https://www.apache.org/images/supportapache-small.png)
 E: files-privacybreach: privacy-breach-donation usr/share/files-privacy-breach/privacy-breach-donation/flattr.html (http://tools.flattr.net/widgets/thing.html?thing=947300;noheader=1)
 E: files-privacybreach: privacy-breach-donation usr/share/files-privacy-breach/privacy-breach-donation/flattrbuttonhtml4.xml
 E: files-privacybreach: privacy-breach-donation usr/share/files-privacy-breach/privacy-breach-donation/flattrbuttonhtml5.xml

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


Reply to: