scan-copyrights1p
Scan source file and print lines for debian/copyright files
Usage
scan-copyrights >
debian/copyright.new
meld debian/copyright
,.new
Overview
This commands use "licensecheck" command to scan license and copyright information from source files. The output of licensecheck is parsed to generate the Files information of "debian/copyright" files according to Debian specifications <https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/>
Tweaking results
Results can be tweaked either by:
- •
-
Changing the list of files to scan or ignore. (By default, licensecheck will decide which file to scan or not.) See "Selecting or ignoring files to scan" in Dpkg::Copyright::Scanner
- •
-
Specifying information for individual files or directories, such as copyright values, or to skip this file. See "Filling the blanks" in Dpkg::Copyright::Scanner.
- •
-
Tweaking the copyright entries created by grouping and coaslescing information. See "Tweak copyright entries" in Dpkg::Copyright.
Examples
In pan source directory:
$ scan-copyrightno info for ./uulib/fptools.h, check manually this fileno info for ./uulib/fptools.c, check manually this fileno info for ./uulib/uustring.h, check manually this fileno info for ./uulib/crc32.h, check manually this fileno info for ./pan/data/defgroup.h, check manually this fileno info for ./pan/general/time-elapsed.h, check manually this file[ snip ]Files: *Copyright: 1994-2001, by Frank Pilhofer.License: GPL-2+Files: pan/*Copyright: 2002-2006, Charles Kerr <[email protected]>License: GPL-2Files: pan/data/cert-store.ccCopyright: 2011, Heinrich Muller <[email protected]>2002-2006, Charles Kerr <[email protected]>License: GPL-2Files: pan/data/cert-store.hCopyright: 2002-2006, Charles Kerr <[email protected]>2011, Heinrich Muller <[email protected]>License: GPL-2[ snip ]
Support
For support, please contact the author.
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.