X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/9594e947f7e11ac8e54857a8703939fdcb962641..b0e0987d30dc410df79d1033c314e2dbbf4fb26f:/blog/archive/2016/02/index.html diff --git a/blog/archive/2016/02/index.html b/blog/archive/2016/02/index.html index 5b54c0d230..7f3ce32a31 100644 --- a/blog/archive/2016/02/index.html +++ b/blog/archive/2016/02/index.html @@ -29,7 +29,7 @@ 19th February 2016
-

Making packages for Debian require quite a lot of attention to +

Making packages for Debian requires quite a lot of attention to details. And one of the details is the content of the debian/copyright file, which should list all relevant licenses used by the code in the package in question, preferably in @@ -75,7 +75,7 @@ blog post from 2015. To generate using cme, use the 'update dpkg-copyright' option:

-cme update dpkg-copyright -quiet
+cme update dpkg-copyright
 

This will create or update debian/copyright. The cme tool seem to @@ -105,6 +105,23 @@ planet.debian.org.

activities, please send Bitcoin donations to my address 15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b.

+

Update 2016-02-20: I got a tip from Mike Gabriel +on how to use licensecheck and cdbs to create a draft copyright file + +

+licensecheck --copyright -r `find * -type f` | \
+  /usr/lib/cdbs/licensecheck2dep5 > debian/copyright.auto
+

+ +

He mentioned that he normally check the generated file into the +version control system to make it easier to discover license and +copyright changes in the upstream source. I will try to do the same +with my packages in the future.

+ +

Update 2016-02-21: The cme author recommended +against using -quiet for new users, so I removed it from the proposed +command line.

+
@@ -212,6 +229,17 @@ packages providing appstream metadata.

Archive