Package: lintian Version: 2.5.10.3 Severity: wishlist The current extra-license-file check only looks for files named like m/(?:copying|licen[cs]e)(?:\.[^/]+)?/. Unfortunately this pattern misses a number of copies. I investigated the situation for sid and came up with the following list of embedded licenses:
GPL-1 compressed: /usr/share/doc/texlive-music/fonts/musixtex-fonts/gpl.txt.gz GPL-2: /usr/share/games/flightgear/Aircraft/bo105/COPYING /usr/share/gnulib/doc/COPYINGv2 /usr/share/hugin/xrc/data/COPYING /usr/lib/R/site-library/digest/GPL-2 /usr/lib/R/site-library/rkwardtests/LICENSE GPL-2 compressed: /usr/share/doc/smartmontools/COPYING.gz /usr/share/doc/texlive-pictures-doc/generic/xypic/COPYING.gz GPL-3: /usr/share/pyshared/screenlayout/data/gpl-3.txt /usr/share/automake-1.10/COPYING /usr/share/automake-1.11/COPYING /usr/share/games/flightgear/Aircraft/Cub/copying.txt /usr/share/furiusisomount/doc/gpl.txt /usr/share/gccxml-0.9/GCC/COPYING3 /usr/share/gnulib/doc/COPYINGv3 /usr/share/kde4/apps/LICENSES/GPL_V3 /usr/share/mumble-django/htdocs/ext-3.2.0/gpl-3.0.txt /usr/share/R/share/licenses/GPL-3 /usr/share/viridian/AmpacheTools/doc/gpl.txt GPL-3 compressed: /usr/share/doc/algol68g-2.4.1/COPYING.gz /usr/share/doc/argyll/License3.txt.gz /usr/share/doc/boswars/html/gpl3.txt.gz /usr/share/doc/ganglia-modules-linux/gpl-3.0.txt.gz /usr/share/doc/git-annex/html/license/GPL.gz /usr/share/doc/gpsman/html/info/gpl-3_0.txt.gz /usr/share/doc/icinga-web/GPL.gz /usr/share/doc/shogun-python-modular/examples/easysvm/LICENSE.gz /usr/share/doc/texlive-pictures-doc/latex/pmgraph/COPYING.gz /usr/share/doc/texlive-pictures-doc/latex/numericplots/License.txt.gz /usr/share/doc/texlive-pictures-doc/latex/combinedgraphics/COPYING.gz /usr/share/doc/texlive-pictures-doc/latex/pgfplots/gpl-3.0.txt.gz /usr/share/doc/texlive-pictures-doc/support/fig4latex/COPYING.gz /usr/share/doc/texlive-fonts-extra-doc/fonts/tfrupee/LICENSE.gz /usr/share/doc/texlive-fonts-extra-doc/fonts/gnu-freefont/COPYING.gz /usr/share/doc/texlive-latex-extra-doc/latex/pbox/COPYING.gz /usr/share/doc/texlive-latex-extra-doc/latex/logical-markup-utils/COPYING.gz /usr/share/doc/texlive-latex-extra-doc/latex/program/gpl-3.0.txt.gz /usr/share/doc/texlive-math-extra/latex/ionumbers/COPYING.gz /usr/share/doc/texlive-pstricks-doc/generic/pst-cox/gpl.txt.gz LGPL-3: /usr/lib/libreoffice/share/extensions/accessodf/licenses/Lesser General Public License version 3/lgpl.txt /usr/share/gnulib/doc/COPYING.LESSERv3 Apache-2.0: /usr/lib/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.8.0.dist/about_files/LICENSE-2.0.txt /usr/share/eclipse/plugins/org.apache.ant_1.8.3.v20120321-1730/about_files/ASL-LICENSE-2.0.txt BSD: /usr/share/anjuta/project/licenses/bsd.txt Artistic compressed: /usr/share/doc/yasm/Artistic.txt.gz Given these findings there are three main opportunities for discovering more copies. The first opportunity is to decompress files which is costly. The next opportunity is to match on names of common licenses (i.e. "l?gpl|bsd|artistic"). Another opportunity is to allow for version information. Maybe insert something like "[v0-9._-]*" before the dot? Helmut -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org