Source: pnp4nagios Version: 0.6.16 Severity: normal Tags: patch Dear Maintainer,
Hi there. This patch fixes the following lintian errors: E: pnp4nagios source: source-is-missing share/pnp/media/js/jquery-min.js E: pnp4nagios source: source-is-missing share/pnp/media/js/jquery-ui.min.js E: pnp4nagios source: source-is-missing share/pnp/media/js/jquery.imgareaselect.min.js E: pnp4nagios source: source-is-missing share/pnp/media/js/jquery.mobile.min.js While the package correctly uses libjs-jquery and friends instead of the minified versions in the upstream tarball, the minified copies are distributed in the source package which is where the warning comes from. The patch uses the Files-Excluded feature of debian/copyright to not keep these files in the archive. -- System Information: Debian Release: 7.5 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -ur 1/pnp4nagios-0.6.16/debian/copyright pnp4nagios-0.6.16.new/debian/copyright --- 1/pnp4nagios-0.6.16/debian/copyright 2014-07-02 03:59:43.000000000 +0000 +++ pnp4nagios-0.6.16.new/debian/copyright 2014-07-02 04:12:50.000000000 +0000 @@ -1,7 +1,12 @@ -Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PNP4Nagios Upstream-Contact: Jörg Linge <pitchf...@pnp4nagios.org> Source: http://docs.pnp4nagios.org/pnp-0.6/about#download +Files-Excluded: + share/pnp/media/js/jquery-min.js + share/pnp/media/js/jquery-ui.min.js + share/pnp/media/js/jquery.imgareaselect.min.js + share/pnp/media/js/jquery.mobile.min.js Files: * Copyright: @@ -123,19 +128,11 @@ Files: share/pnp/media/css/jquery.mobile.min.css - share/pnp/media/js/jquery.mobile.min.js Copyright: 2010 jQuery Project License: MIT and GPL-2+ Files: - share/pnp/media/js/jquery.imgareaselect.min.js -Copyright: - 2008-2011 Michal Wojciechowski (odyniec.net) -License: MIT and GPL-2+ - -Files: - share/pnp/media/js/jquery-ui.min.js share/pnp/media/css/ui-* Copyright: 2010-2011 Brandon Aaron @@ -176,13 +173,6 @@ License: MIT and GPL-2+ Comment: Copyright and license extracted from upstream website and sources. -Files: share/pnp/media/js/jquery-min.js -Copyright: - 2010-2011 John Resig - 2010-2011 The Dojo Foundation -License: MIT and BSD-3-clause and GPL-2+ -Comment: License details extracted from upstream website. - Files: src/* Copyright: 2006-2010 Hendrik Baecker <andu...@process-zero.de> diff -ur 1/pnp4nagios-0.6.16/debian/rules pnp4nagios-0.6.16.new/debian/rules --- 1/pnp4nagios-0.6.16/debian/rules 2014-07-02 03:59:43.000000000 +0000 +++ pnp4nagios-0.6.16.new/debian/rules 2014-07-02 03:31:29.000000000 +0000 @@ -124,10 +124,6 @@ # Remove external PHP classes/libraries: FPDF, FPDF-TPL, FPDI rm -r debian/tmp/usr/share/pnp4nagios/html/application/vendor/fpdf - # Remove external JavaScript files: jQuery and jQuery-UI - rm debian/tmp/usr/share/pnp4nagios/html/media/js/jquery-min.js - rm debian/tmp/usr/share/pnp4nagios/html/media/js/jquery-ui.min.js - # Clean up some files rmdir debian/tmp/usr/bin mv debian/tmp/etc/pnp4nagios/check_commands/check_all_local_disks.cfg-sample \