Package: dh-make
Version: 2.201701
Severity: wishlist
Tags: patch

Hi,

Could you please add the attached template for the ISC license to
dh_make?

Best regards,
Johannes
diff -urN dh-make-2.201701/dh_make dh-make-2.201701.isc/dh_make
--- dh-make-2.201701/dh_make    2017-12-19 08:59:14.000000000 +0100
+++ dh-make-2.201701.isc/dh_make        2018-03-31 20:25:51.638713297 +0200
@@ -251,6 +251,7 @@
     bsd = 'bsd'
     gpl2 = 'gpl2'
     gpl3 = 'gpl3'
+    isc = 'isc'
     lgpl2 = 'lgpl2'
     lgpl3 = 'lgpl3'
     mit = 'mit'
@@ -264,8 +265,8 @@
         """
         matches = {'apache': cls.apache, 'artistic': cls.artistic,
                    'bsd': cls.bsd, 'gpl': cls.gpl2, 'gpl2': cls.gpl2,
-                   'gpl3': cls.gpl3, 'lgpl': cls.lgpl2, 'lgpl2': cls.lgpl2,
-                   'lgpl3': cls.lgpl3, 'mit': cls.mit}
+                   'gpl3': cls.gpl3, 'isc': cls.isc, 'lgpl': cls.lgpl2,
+                   'lgpl2': cls.lgpl2, 'lgpl3': cls.lgpl3, 'mit': cls.mit}
         if args.copyright == 'custom':
             if args.copyrightfile is None:
                 sys.stderr.write(
@@ -297,7 +298,7 @@
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 '''.format(__version__)
 copyright_choices = ('apache', 'artistic', 'bsd', 'gpl', 'gpl2', 'gpl3',
-                     'lgpl', 'lgpl2', 'lgpl3', 'mit', 'custom')
+                     'isc', 'lgpl', 'lgpl2', 'lgpl3', 'mit', 'custom')
 parser = argparse.ArgumentParser(
         prog="dh_make",
         formatter_class=argparse.RawTextHelpFormatter,
@@ -307,8 +308,8 @@
 parser.add_argument('-c', '--copyright', metavar='<type>',
                     choices=copyright_choices,
                     help='use <type> of license in copyright file '
-                    '(apache|artistic|bsd|gpl|gpl2|gpl3|lgpl|lgpl2|lgpl3|'
-                    'mit|custom)')
+                    '(apache|artistic|bsd|gpl|gpl2|gpl3|isc|lgpl|lgpl2|'
+                    'lgpl3|mit|custom)')
 
 parser.add_argument('--copyrightfile', metavar='<file>',
                     help='Template to use for custom copyright')
diff -urN dh-make-2.201701/lib/licenses/isc 
dh-make-2.201701.isc/lib/licenses/isc
--- dh-make-2.201701/lib/licenses/isc   1970-01-01 01:00:00.000000000 +0100
+++ dh-make-2.201701.isc/lib/licenses/isc       2018-03-31 20:27:58.810229427 
+0200
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: #PACKAGE#
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: ISC
+
+Files: debian/*
+Copyright: #YEAR# #USERNAME# <#EMAIL#>
+License: ISC
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for
+ any purpose with or without fee is hereby granted, provided that the
+ above copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid picking licenses with terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.

Reply via email to