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

rouca pushed a commit to branch master
in repository lintian.

commit 808cc74065c4b6cdbd0bda3582b79b2b4a35e154
Author: Bastien ROUCARIÈS <roucaries.bastien+deb...@gmail.com>
Date:   Fri Aug 11 19:36:12 2017 +0200

    Detect generic counter
---
 data/files/privacy-breaker-websites                                  | 2 +-
 debian/changelog                                                     | 1 +
 .../debian/src/privacy-breach-statistics-website/img.html            | 5 +++++
 t/tests/files-privacybreach/tags                                     | 1 +
 4 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/data/files/privacy-breaker-websites 
b/data/files/privacy-breaker-websites
index 4398dd8..da3ee40 100644
--- a/data/files/privacy-breaker-websites
+++ b/data/files/privacy-breaker-websites
@@ -14,7 +14,7 @@ privacy-breach-donation                          
~~(?:(?:donate|paypal|support)(
 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\?
-privacy-breach-statistics-website                
~~^(?:(?:[^\./]+\.)?(?:count\.digitalpoint\.com|cruel-carlota\.pagodabox\.com|linkexchange\.com|nedstatbasic\.net|onestat\.com|sitemeter\.com|statcounter\.com|webstats\.motigo\.com|digit\.com)(?:/|\Z)|/count(?:er)?\.cgi\?[^/]*\Z)
+privacy-breach-statistics-website                
~~^(?:(?:[^\./]+\.)?(?:cruel-carlota\.pagodabox\.com|linkexchange\.com|nedstatbasic\.net|onestat\.com|sitemeter\.com|statcounter\.com|webstats\.motigo\.com|digit\.com)(?:/|\Z)|/count(?:er)?\.cgi\?[^/]*\Z|\Acount(?:er)?\.)
 privacy-breach-w3c-valid-html                    
~~^(?:(?:[^\./]+\.)?w3.org/(?:icons/valid-|css-validator/images/)(?:[^/]+)?$|validator\.w3\.org(?:/|\Z))
 # already packaged under debian (please alpha sort by package name
 privacy-breach-uses-embedded-file-bootstrap     
~~/bootstrap(?:-(?:\d\.?)+(b\d+)?)?(?:\.min)?\.(?:js|css)\Z                     
                                ~~ privacy-breach-uses-embedded-file ~~ You may 
use libjs-bootstrap package.
diff --git a/debian/changelog b/debian/changelog
index 72aa031..df8c2f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -72,6 +72,7 @@ lintian (2.5.53) UNRELEASED; urgency=medium
       openjpeg2.  (Closes: #762956)
   * data/files/privacy-breaker-websites:
     + [BR] Detect custom donation logos like apache.
+    + [BR] Detect generic counter website.
 
   * 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-statistics-website/img.html
 
b/t/tests/files-privacybreach/debian/src/privacy-breach-statistics-website/img.html
new file mode 100644
index 0000000..748e2f2
--- /dev/null
+++ 
b/t/tests/files-privacybreach/debian/src/privacy-breach-statistics-website/img.html
@@ -0,0 +1,5 @@
+<html>
+<body>
+Counter <img 
src="http://counter.ceres.dti.ne.jp/cgi-bin/count.cgi?df=knak.01.dat|dd=d|ft=0|md=10|comma=y|srgb=00ff00|prgb=ff0000|trgb=black"
 />
+</body>
+</html>
\ No newline at end of file
diff --git a/t/tests/files-privacybreach/tags b/t/tests/files-privacybreach/tags
index 31a5db1..1a8c601 100644
--- a/t/tests/files-privacybreach/tags
+++ b/t/tests/files-privacybreach/tags
@@ -38,6 +38,7 @@ E: files-privacybreach: privacy-breach-logo 
usr/share/files-privacy-breach/priva
 E: files-privacybreach: privacy-breach-logo 
usr/share/files-privacy-breach/privacy-breach-twitter/logotwitter.xml 
(https://g.twimg.com/twitter_logo_blue.png)
 E: files-privacybreach: privacy-breach-piwik 
usr/share/files-privacy-breach/privacy-breach-piwik/piwik.html
 E: files-privacybreach: privacy-breach-piwik 
usr/share/files-privacy-breach/privacy-breach-piwik/piwikvariant.html
+E: files-privacybreach: privacy-breach-statistics-website 
usr/share/files-privacy-breach/privacy-breach-statistics-website/img.html 
(http://counter.ceres.dti.ne.jp/cgi-bin/count.cgi?df=knak.01.dat|dd=d|ft=0|md=10|comma=y|srgb=00ff00|prgb=ff0000|trgb=black)
 E: files-privacybreach: privacy-breach-statistics-website 
usr/share/files-privacy-breach/privacy-breach-statistics-website/statcounter.xml
 E: files-privacybreach: privacy-breach-statistics-website 
usr/share/files-privacy-breach/privacy-breach-statistics-website/statcounter2.js
 E: files-privacybreach: privacy-breach-twitter 
usr/share/files-privacy-breach/privacy-breach-twitter/awstat.xml

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

Reply via email to