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

The current template /usr/share/debhelper/dh_make/licenses/gpl reads:

|This package was debianized by #USERNAME# <#EMAIL#> on
|#DATE#.
|
|It was downloaded from <fill in http/ftp site>
|
|Upstream Author: <put author(s) name and email here>
|
|Copyright: <put the year(s) of the copyright, and the names of the
|            copyright holder(s) here>
|
|License:
|
|   This package is free software; you can redistribute it and/or modify
|   it under the terms of the GNU General Public License as published by
|   the Free Software Foundation; either version 2 of the License, or
|   (at your option) any later version.
|
|   This package is distributed in the hope that it will be useful,
|   but WITHOUT ANY WARRANTY; without even the implied warranty of
|   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
|   GNU General Public License for more details.
|
|   You should have received a copy of the GNU General Public License
|   along with this package; if not, write to the Free Software
|   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
|
|On Debian systems, the complete text of the GNU General
|Public License can be found in `/usr/share/common-licenses/GPL'.
|
|The Debian packaging is (C) #YEAR#, #USERNAME# <#EMAIL#> and
|is licensed under the GPL, see above.
|
|
|# Please also look if there are files or directories which have a
|# different copyright/license attached and list them here.

SUGGESTION

1) Non-standard indentation of 3 spaces. Change this to 4, or
   any number dividable by 2 (as TAB is 8 spaces). The de facto
   for indentation in most cases is by 4.
   * the artictic, bsd, lgpl templates use indentation of 4
2) Make heading spreads evenly. The makes it more easy to add
   multiple authors
3) Streamline the explanation texts enclosed in tags <...>

Suggested change follows. Likewise for the other templates.
Patch to implement this is attached.

|This package was debianized by #USERNAME# <#EMAIL#> on
|#DATE#.
|
|It was downloaded from <url://example.com>
|
|Upstream Author(s): 
|
|    <put author(s) name and email here>
|    <likewise for another author>
|
|Copyright: 
|
|    <Copyright (C) YYYY Name OfAuthor>
|    <likewise for another author>
|
|License:
|
|    This package is free software; you can redistribute it and/or modify
|    it under the terms of the GNU General Public License as published by
|    the Free Software Foundation; either version 2 of the License, or
|    (at your option) any later version.
|    
|    This package is distributed in the hope that it will be useful,
|    but WITHOUT ANY WARRANTY; without even the implied warranty of
|    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
|    GNU General Public License for more details.
|    
|    You should have received a copy of the GNU General Public License
|    along with this package; if not, write to the Free Software
|    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
|
|On Debian systems, the complete text of the GNU General
|Public License can be found in `/usr/share/common-licenses/GPL'.
|
|The Debian packaging is (C) #YEAR#, #USERNAME# <#EMAIL#> and
|is licensed under the GPL, see above.
|
|
|# Please also look if there are files or directories which have a
|# different copyright/license attached and list them here.





-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages dh-make depends on:
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  dpkg-dev                      1.13.24    package building tools for Debian
ii  make                          3.81-3     The GNU version of the "make" util
ii  perl                          5.8.8-6.1  Larry Wall's Practical Extraction 

dh-make recommends no packages.

-- debconf-show failed
=== modified file 'lib/licenses/artistic'
--- lib/licenses/artistic       2006-11-22 08:07:30 +0000
+++ lib/licenses/artistic       2006-11-22 08:13:41 +0000
@@ -1,12 +1,17 @@
 This package was debianized by #USERNAME# <#EMAIL#> on
 #DATE#.
 
-It was downloaded from <fill in http/ftp site>
-
-Upstream Author: <put author(s) name and email here>
-
-Copyright: <put the year(s) of the copyright, and the names of the
-            copyright holder(s) here>
+It was downloaded from <url://example.com>
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
 
 License:
 
@@ -26,4 +31,3 @@
 
 # Please also look if there are files or directories which have a
 # different copyright/license attached and list them here.
-

=== modified file 'lib/licenses/blank'
--- lib/licenses/blank  2006-11-22 08:07:30 +0000
+++ lib/licenses/blank  2006-11-22 08:15:27 +0000
@@ -1,22 +1,24 @@
 This package was debianized by #USERNAME# <#EMAIL#> on
 #DATE#.
 
-It was downloaded from <fill in http/ftp site>
-
-Upstream Author: <put author(s) name and email here>
-
-Copyright: <put the year(s) of the copyright, and the names of the
-            copyright holder(s) here>
+It was downloaded from <url://example.com>
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
 
 License:
 
-<Put the license of the package here>
-
+    <Put the license of the package here indented by 4 spaces>
 
 The Debian packaging is (C) #YEAR#, #USERNAME# <#EMAIL#> and
 is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
 
-
 # Please also look if there are files or directories which have a
 # different copyright/license attached and list them here.
-

=== modified file 'lib/licenses/bsd'
--- lib/licenses/bsd    2006-11-22 08:07:30 +0000
+++ lib/licenses/bsd    2006-11-22 08:13:13 +0000
@@ -1,14 +1,20 @@
 This package was debianized by #USERNAME# <#EMAIL#> on
 #DATE#.
 
-It was downloaded from <fill in http/ftp site>
-
-Upstream Author: <put author(s) name and email here>
-
-Copyright: <put the year(s) of the copyright, and the names of the
-            copyright holder(s) here>
+It was downloaded from <url://example.com>
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
 
 License:
+
     Redistribution and use in source and binary forms, with or without
     modification, are permitted under the terms of the BSD License.
 
@@ -34,4 +40,3 @@
 
 # Please also look if there are files or directories which have a
 # different copyright/license attached and list them here.
-

=== modified file 'lib/licenses/gpl'
--- lib/licenses/gpl    2006-11-22 08:07:30 +0000
+++ lib/licenses/gpl    2006-11-22 08:11:04 +0000
@@ -1,28 +1,33 @@
 This package was debianized by #USERNAME# <#EMAIL#> on
 #DATE#.
 
-It was downloaded from <fill in http/ftp site>
-
-Upstream Author: <put author(s) name and email here>
-
-Copyright: <put the year(s) of the copyright, and the names of the
-            copyright holder(s) here>
+It was downloaded from <url://example.com>
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
 
 License:
 
-   This package is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
-
-   This package is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this package; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+    This package is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+ 
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+ 
+    You should have received a copy of the GNU General Public License
+    along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
 On Debian systems, the complete text of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL'.

=== modified file 'lib/licenses/lgpl'
--- lib/licenses/lgpl   2006-11-22 08:07:30 +0000
+++ lib/licenses/lgpl   2006-11-22 08:14:43 +0000
@@ -1,12 +1,17 @@
 This package was debianized by #USERNAME# <#EMAIL#> on
 #DATE#.
 
-It was downloaded from <fill in http/ftp site>
-
-Upstream Author: <put author(s) name and email here>
-
-Copyright: <put the year(s) of the copyright, and the names of the
-            copyright holder(s) here>
+It was downloaded from <url://example.com>
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
 
 License:
 
@@ -27,10 +32,8 @@
 On Debian systems, the complete text of the GNU Lesser General
 Public License can be found in `/usr/share/common-licenses/LGPL'.
 
-
 The Debian packaging is (C) #YEAR#, #USERNAME# <#EMAIL#> and
 is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
 
-
 # Please also look if there are files or directories which have a
 # different copyright/license attached and list them here.

Reply via email to