[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Script to generate common license texts


Here is another suggestion ...  use debmake!

On Fri, Sep 04, 2015 at 11:08:20PM +0530, Balasankar C wrote:
> Hi,
> Is there any script which takes abbreviation of a license (like
> GPL-3+) as input and generates the license text that can be used in
> debian/copyright (80 character wrapped, one space before each line,
> paragraph separated with periods - the whole deal.

As others has suggested, just taking care GPL3+ is not worth it and it
should be extracted from the source as verbatim copy.

In that sense, if you use debmake as template generating initial
Debianization tool, it creates such file by scanning all the source fles
and extracting such text into DEP-5 format. (debmake is in testing but
can function in stable if installed via dpkg -i)

Please note it creates just a template copyright file.  Your manual
inspaction and editting is absolute requirement.  (But it should be a
lot easier.)


Reply to: