This is an automated email from the git hooks/post-receive script. rouca pushed a commit to branch master in repository lintian.
commit aaf6a73f04718e61f56fbc79b4ec6613ec4c2078 Author: Bastien ROUCARIÈS <roucaries.bastien+deb...@gmail.com> Date: Sun Feb 4 22:36:55 2018 +0100 Detect new fragment for google cse Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+deb...@gmail.com> --- data/files/privacy-breaker-fragments | 7 ++++--- debian/changelog | 3 +++ .../debian/src/privacy-breach-google-cse/search.js | 14 ++++++++++++++ t/tests/files-privacybreach/tags | 1 + 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/data/files/privacy-breaker-fragments b/data/files/privacy-breaker-fragments index 6412c19..2a329d0 100644 --- a/data/files/privacy-breaker-fragments +++ b/data/files/privacy-breaker-fragments @@ -19,11 +19,12 @@ customsearchcontrol ~~ google\.search\.customsearchcontrol\s*\(\s*' google.load ~~ google\.load\s*\(\s*'search' ~~ privacy-breach-google-cse customsearchengine ~~ </?\s*customsearchengine\s*> ~~ privacy-breach-google-cse partner-pub ~~ value\s*=\s*"partner-pub-\d+:?\d+" ~~ privacy-breach-google-cse +cse.js ~~ //www[.]google[.]com/cse/cse[.]js\?cx[=] ~~ privacy-breach-google-cse plusone ~~ (?:<g:plusone|google\.com/js/plusone\.js\?onload=onloadcallback|src\s*=\s*'https?://apis\.google\.com/js/plusone\.js') ~~ privacy-breach-google-plus flattr ~~ (?:api\.flattr\.com/js/\d(\.\d)?/load\.js|<a\s+class\s*=\s*"flattrbutton"|data-flattr-uid\s*=|flattrloader\.(?:setup\s*\(\)|render\s*\(|addloadevent\s*\()) ~~ privacy-breach-donation -facebook ~~ (?:facebook-jssdk|xmlns:fb="https?://www.facebook.com/20\d\d/fbml) ~~ privacy-breach-facebook -ogp.me/ns/fb ~~ xmlns:fb="https?://ogp.me/ns/fb\#?" ~~ privacy-breach-facebook -fb. ~~ fb\.(?:canvas|api|init|login|getloginstatus|event|ui|xfbml)(?!\()(?!<) ~~ privacy-breach-facebook +facebook ~~ (?:facebook-jssdk|xmlns:fb="https?://www.facebook.com/20\d\d/fbml) ~~ privacy-breach-facebook +ogp.me/ns/fb ~~ xmlns:fb="https?://ogp.me/ns/fb\#?" ~~ privacy-breach-facebook +fb. ~~ fb\.(?:canvas|api|init|login|getloginstatus|event|ui|xfbml)(?!\()(?!<) ~~ privacy-breach-facebook fb: ~~ </?fb:(?:activity|comments|friendpile|like|like-box|login-button|name|profile-pic|recommendations)\s+[^>]*> ~~ privacy-breach-facebook piwik ~~ (?:piwik_url\s*=|[\'"]piwik\.js[\'\"]|end\s+piwik\h+(?:tag|code)|[\'\"]settrackerurl[\'\"]) ~~ privacy-breach-piwik pkbaseurl ~~ pkbaseurl\s*= ~~ privacy-breach-piwik diff --git a/debian/changelog b/debian/changelog index 1a2a138..7856ee0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,6 +18,9 @@ lintian (2.5.74) UNRELEASED; urgency=medium maintainer-script-should-not-use-recursive-chown-or-chmod tag. Heavily based on a patch by Daniel Kahn Gillmor - thanks! (Closes: #889489) + + * data/files/privacy-breaker-fragments: + + [BR] Detects new fragments for google cse * commands/reporting-{html-reports,lintian-harness}.pm: + [NT] Register packages that fail during archive wide processing. diff --git a/t/tests/files-privacybreach/debian/src/privacy-breach-google-cse/search.js b/t/tests/files-privacybreach/debian/src/privacy-breach-google-cse/search.js new file mode 100644 index 0000000..001a08b --- /dev/null +++ b/t/tests/files-privacybreach/debian/src/privacy-breach-google-cse/search.js @@ -0,0 +1,14 @@ +<!-- http://www.google.com/cse/manage/all --> + +<script type="text/javascript"> + (function() { + var cx = '006134137889097767902:turn9fku95u'; + var gcse = document.createElement('offline-script'); + gcse.type = 'text/javascript'; + gcse.async = true; + gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + + '//www.google.com/cse/cse.js?cx=' + cx; + var s = document.getElementsByTagName('offline-script')[0]; + s.parentNode.insertBefore(gcse, s); + })(); +</script> diff --git a/t/tests/files-privacybreach/tags b/t/tests/files-privacybreach/tags index f466087..36a6151 100644 --- a/t/tests/files-privacybreach/tags +++ b/t/tests/files-privacybreach/tags @@ -30,6 +30,7 @@ E: files-privacybreach: privacy-breach-google-cse usr/share/files-privacy-breach E: files-privacybreach: privacy-breach-google-cse usr/share/files-privacy-breach/privacy-breach-google-cse/googlecseformtracking.xml E: files-privacybreach: privacy-breach-google-cse usr/share/files-privacy-breach/privacy-breach-google-cse/googlecseimagemagick.js E: files-privacybreach: privacy-breach-google-cse usr/share/files-privacy-breach/privacy-breach-google-cse/googlecsejs.xml (http://www.google.fr/coop/cse/brand?form=cse-search-box&lang=en) +E: files-privacybreach: privacy-breach-google-cse usr/share/files-privacy-breach/privacy-breach-google-cse/search.js E: files-privacybreach: privacy-breach-google-plus usr/share/files-privacy-breach/privacy-breach-google-plus/asyncload.html E: files-privacybreach: privacy-breach-google-plus usr/share/files-privacy-breach/privacy-breach-google-plus/explicitload.html (https://apis.google.com/js/plusone.js) E: files-privacybreach: privacy-breach-google-plus usr/share/files-privacy-breach/privacy-breach-google-plus/simplebutton.xml -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git