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

Re: gem2deb: saying the Debian packaging is "same license as upstream" by default



Hi!

On Sun, May 19, 2013 at 06:44:06PM -0300, Antonio Terceiro wrote:
> [breaking the original thread]

> On Sat, May 18, 2013 at 04:18:10PM +0200, Cédric Boutillier wrote:
> > debian/copyright:
> > - it is considered good practice to chose for the license of debian/*
> >   files the same license as upstream to ease distribution.

> Does anyone object to adjusting the dh-make-ruby template to say that
> by default? (see attached patch)

Maybe something more like the attached patch? I would use a standalone
paragraph, avoiding to repeat the text of the license. The Comment:
field serves as an indication and could be removed, if wished by the
maintainer. What do you think?

Cédric
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/copyright b/lib/gem2deb/dh_make_ruby/template/debian/copyright
index 7091d6d..b8bf6c7 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/copyright
+++ b/lib/gem2deb/dh_make_ruby/template/debian/copyright
@@ -6,6 +6,13 @@ Files: *
 Copyright: <years> <put author's name and email here>
            <years> <likewise for another author>
 License: GPL-2+ (FIXME)
+
+Files: debian/*
+Copyright: <%= Date.today.year %> <%= maintainer['DEBFULLNAME'] %> <<%= maintainer['DEBEMAIL'] %>>
+License: GPL-2+ (FIXME)
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: GPL-2+ (FIXME)
  This program 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
@@ -26,8 +33,3 @@ License: GPL-2+ (FIXME)
  On Debian systems, the full text of the GNU General Public
  License version 2 can be found in the file
  `/usr/share/common-licenses/GPL-2'.
-
-Files: debian/*
-Copyright: <%= Date.today.year %> <%= maintainer['DEBFULLNAME'] %> <<%= maintainer['DEBEMAIL'] %>>
-License:
- [LICENSE TEXT]

Attachment: signature.asc
Description: Digital signature


Reply to: