X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/9594e947f7e11ac8e54857a8703939fdcb962641..c30ecc6ac781252aba5722ca7953cc4a4483f469:/blog/Creating__updating_and_checking_debian_copyright_semi_automatically.html diff --git a/blog/Creating__updating_and_checking_debian_copyright_semi_automatically.html b/blog/Creating__updating_and_checking_debian_copyright_semi_automatically.html index b721c60e8d..ab8506f7c1 100644 --- a/blog/Creating__updating_and_checking_debian_copyright_semi_automatically.html +++ b/blog/Creating__updating_and_checking_debian_copyright_semi_automatically.html @@ -22,7 +22,7 @@
Creating, updating and checking debian/copyright semi-automatically
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 @@ -68,7 +68,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 @@ -97,6 +97,23 @@ planet.debian.org.

As usual, if you use Bitcoin and want to show your support of my 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.

Tags: debian, english.
@@ -121,6 +138,16 @@ activities, please send Bitcoin donations to my address
  • February (2)
  • +
  • March (3)
  • + +
  • April (8)
  • + +
  • May (8)
  • + +
  • June (2)
  • + +
  • July (2)
  • +
  • 2015 @@ -352,41 +379,41 @@ activities, please send Bitcoin donations to my address
  • bitcoin (9)
  • -
  • bootsystem (15)
  • +
  • bootsystem (16)
  • bsa (2)
  • chrpath (2)
  • -
  • debian (120)
  • +
  • debian (133)
  • -
  • debian edu (154)
  • +
  • debian edu (157)
  • digistan (10)
  • dld (15)
  • -
  • docbook (20)
  • +
  • docbook (22)
  • drivstoffpriser (4)
  • -
  • english (302)
  • +
  • english (323)
  • fiksgatami (23)
  • fildeling (12)
  • -
  • freeculture (25)
  • +
  • freeculture (27)
  • freedombox (9)
  • -
  • frikanalen (16)
  • +
  • frikanalen (17)
  • h264 (20)
  • intervju (42)
  • -
  • isenkram (11)
  • +
  • isenkram (12)
  • kart (19)
  • @@ -400,19 +427,19 @@ activities, please send Bitcoin donations to my address
  • mesh network (8)
  • -
  • multimedia (37)
  • +
  • multimedia (39)
  • nice free software (7)
  • -
  • norsk (273)
  • +
  • norsk (275)
  • -
  • nuug (177)
  • +
  • nuug (181)
  • -
  • offentlig innsyn (22)
  • +
  • offentlig innsyn (26)
  • open311 (2)
  • -
  • opphavsrett (58)
  • +
  • opphavsrett (61)
  • personvern (92)
  • @@ -432,19 +459,19 @@ activities, please send Bitcoin donations to my address
  • scraperwiki (2)
  • -
  • sikkerhet (45)
  • +
  • sikkerhet (48)
  • sitesummary (4)
  • skepsis (4)
  • -
  • standard (48)
  • +
  • standard (49)
  • -
  • stavekontroll (3)
  • +
  • stavekontroll (4)
  • stortinget (10)
  • -
  • surveillance (36)
  • +
  • surveillance (37)
  • sysadmin (2)
  • @@ -452,7 +479,7 @@ activities, please send Bitcoin donations to my address
  • valg (8)
  • -
  • video (55)
  • +
  • video (58)
  • vitenskap (4)