Package: tmux
Version: 2.7-1+b1
Severity: wishlist

Recently I got a task to statistic the license infomation of all packages
is installed in my computer. It is become difficult since I've found
that few package don't follow the DEP-5. tmux is one of them. As a
result, I made some changes to the copyright file to let it follow the
DEP-5 and be more machine-readable. A patch file is attached.
Please consider merge it.

-- 
Yanhao Mo
From 229da47dc161193f79ed360558786da65f5eba5c Mon Sep 17 00:00:00 2001
From: Yanhao Mo <yanha...@gmail.com>
Date: Tue, 24 Jul 2018 11:47:36 +0800
Subject: [PATCH] modify copyright file to follow DEP-5

---
 debian/copyright | 171 ++++++++++++++++++++++++++---------------------
 1 file changed, 95 insertions(+), 76 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 995df43..00823d5 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,37 +1,101 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: tmux
-Upstream-Source: http://sf.net/projects/tmux
-Upstream Author: Nicholas Marriott <n...@users.sf.net>
+Source: http://sf.net/projects/tmux
 
 Files: *
-Copyright:
- Copyright (c) 2007-2010 Nicholas Marriott <n...@users.sourceforge.net> on
-	everything not listed thereunder
- Copyright (c) 2009 Joshua Elsasser <j...@elsasser.org> on
-	attributes.c
-	osdep-darwin.c
- Copyright (c) 2008-2009 Tiago Cunha <m...@tiagocunha.org> on
-	cmd-confirm-before.c
-	cmd-copy-buffer.c
-	cmd-display-message.c
-	cmd-if-shell.c
-	cmd-load-buffer.c
-	cmd-save-buffer.c
-	cmd-source-file.c
-	examples/tmux.vim
- Copyright (c) 2002 Todd C. Miller <todd.mil...@courtesan.com> on
-	getopt_long.c
- Copyright (c) 2004, 2005, 2007 Darren Tucker (dtucker at zip com au) on
-	bsd-poll.c
- Copyright (c) 1998 Todd C. Miller <todd.mil...@courtesan.com> on
-	strlcat.c
- Copyright (c) 1998 Todd C. Miller <todd.mil...@courtesan.com> on
-	strlcpy.c
- Copyright (c) 2004 Ted Unangst and Todd Miller on
-	strtonum.c
- Copyright (c) 2010 Romain Francoise <rfranco...@debian.org> on
-	signal.c
-
-License:
+Copyright: 2007-2010 Nicholas Marriott <n...@users.sourceforge.net>
+License: ISC
+
+Files: attributes.c
+       osdep-darwin.c
+Copyright: 2009 Joshua Elsasser <j...@elsasser.org>
+License: ISC
+
+Files: cmd-confirm-before.c
+       cmd-copy-buffer.c
+       cmd-display-message.c
+       cmd-if-shell.c
+       cmd-load-buffer.c
+       cmd-save-buffer.c
+       cmd-source-file.c
+       examples/tmux.vim
+Copyright: 2008-2009 Tiago Cunha <m...@tiagocunha.org>
+License: ISC
+
+Files: getopt_long.c
+Copyright: 2002 Todd C. Miller <todd.mil...@courtesan.com>
+License: ISC
+
+Files: bsd-poll.c
+Copyright: 2004, 2005, 2007 Darren Tucker (dtucker at zip com au)
+License: ISC
+
+Files: strlcat.c
+Files: strlcpy.c
+Copyright: 1998 Todd C. Miller <todd.mil...@courtesan.com>
+License: ISC
+
+Files: strtonum.c
+Copyright: 2004 Ted Unangst and Todd Miller
+License: ISC
+
+Files: signal.c
+Copyright: 2010 Romain Francoise <rfranco...@debian.org>
+License: ISC
+
+Files: bitstring.h
+       unvis.c
+       vis.c
+Copyright: 1989, 1993 The Regents of the University of California
+License: BSD-3
+
+Files: strcasestr.c
+       strsep.c
+       daemon.c
+Copyright: 1990, 1993 The Regents of the University of California
+License: BSD-3
+
+Files: vis.h
+Copyright: 1990 The Regents of the University of California
+License: BSD-3
+
+Files: fgetln.c
+Copyright: 1998 The NetBSD Foundation, Inc.
+License: BSD-3
+
+Files: queue.h
+Copyright: 1991, 1993 The Regents of the University of California
+License: BSD-3
+
+Files: bsd-poll.h
+Copyright: 1996 Theo de Raadt
+License: BSD-2
+
+Files: imsg-buffer.c
+       imsg.c
+Copyright: 2003, 2004 Henning Brauer <henn...@openbsd.org>
+License: BSD-2
+
+Files: imsg.h
+Copyright: 2006, 2007 Pierre-Yves Ritschard <p...@openbsd.org>
+           2006, 2007, 2008 Reyk Floeter <r...@openbsd.org>
+           2003, 2004 Henning Brauer <henn...@openbsd.org>
+License: BSD-2
+
+Files: getopt.h
+       getopt_long.c
+Copyright: 2000 The NetBSD Foundation, Inc.
+License: BSD-2
+
+Files: tree,h
+Copyright: 2002 Niels Provos <pro...@citi.umich.edu>
+License: BSD-2
+
+Files: debian/*
+Copyright: 2008, 2009, 2010, 2011 Karl Ferdinand Ebert <kfeb...@gmail.com>
+License: BSD-2.
+
+License: ISC
  Permission to use, copy, modify, and 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.
@@ -44,26 +108,6 @@ License:
  IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
-Files: compat/{bitstring.h,daemon.c,fgetln.c,queue.h,str{casestr,sep}.c,
-	unvis.h,vis.h,vis.c}
-Copyright:
- Copyright (c) 1989, 1993 The Regents of the University of California on
-	bitstring.h
-	unvis.c
- Copyright (c) 1990, 1993 The Regents of the University of California on
-	strcasestr.c
-	strsep.c
- Copyright (c) 1989, 1993 The Regents of the University of California on
-	vis.c
- Copyright (c) 1990 The Regents of the University of California on
-	vis.h
- Copyright (c) 1990, 1993 The Regents of the University of California on
-	daemon.c
- Copyright (c) 1998 The NetBSD Foundation, Inc. on
-	fgetln.c
- Copyright (c) 1991, 1993 The Regents of the University of California on
-	queue.h
-
 License: BSD-3
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
@@ -90,25 +134,6 @@ License: BSD-3
  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  SUCH DAMAGE.
 
-Files: compat/{bsd-poll.h,imsg.{c,h},imsg-buffer.c,getopt.h,getopt_long.c,tree.h}
-Copyright:
- Copyright (c) 1996 Theo de Raadt on
-	bsd-poll.h
- Copyright (c) 2003, 2004 Henning Brauer <henn...@openbsd.org> on
-	imsg-buffer.c
- Copyright (c) 2003, 2004 Henning Brauer <henn...@openbsd.org> on
-	imsg.c
- Copyright (c) 2006, 2007 Pierre-Yves Ritschard <p...@openbsd.org> and
- Copyright (c) 2006, 2007, 2008 Reyk Floeter <r...@openbsd.org> and
- Copyright (c) 2003, 2004 Henning Brauer <henn...@openbsd.org> on
-	imsg.h
- Copyright (c) 2000 The NetBSD Foundation, Inc. on
-	getopt.h
- Copyright (c) 2000 The NetBSD Foundation, Inc. on
-	getopt_long.c
- Copyright 2002 Niels Provos <pro...@citi.umich.edu> on
-	tree,h
-
 License: BSD-2
  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
@@ -130,9 +155,3 @@ License: BSD-2
  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-The Debian packaging is Copyright (C) 2008, 2009, 2010, 2011 Karl Ferdinand
-Ebert <kfeb...@gmail.com> and is licensed under BSD-2.
-
-File: debian/patches/99_upstream.diff
-  Copyright (c) 2011 Nicholas Marriott <n...@users.sourceforge.net>
-- 
2.18.0

Attachment: signature.asc
Description: PGP signature

Reply via email to