From: Ben Pfaff Date: Wed, 1 Sep 2010 17:50:49 +0000 (-0700) Subject: debian: Generate authorship in debian/copyright from AUTHORS. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e959195414246dece1e4c636b40d06d65211a7;p=openvswitch debian: Generate authorship in debian/copyright from AUTHORS. --- diff --git a/debian/.gitignore b/debian/.gitignore index 3beef440..7f43aa6e 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -3,6 +3,7 @@ *.substvars /control /corekeeper +/copyright /files /nicira-switch /openvswitch diff --git a/debian/automake.mk b/debian/automake.mk index 5a23d463..ba9ea861 100644 --- a/debian/automake.mk +++ b/debian/automake.mk @@ -4,6 +4,7 @@ EXTRA_DIST += \ debian/control \ debian/control.modules.in \ debian/copyright \ + debian/copyright.in \ debian/corekeeper.cron.daily \ debian/corekeeper.init \ debian/corekeeper.override \ @@ -50,3 +51,12 @@ check-debian-changelog-version: fi ALL_LOCAL += check-debian-changelog-version DIST_HOOKS += check-debian-changelog-version + +$(srcdir)/debian/copyright: AUTHORS debian/copyright.in + { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in; \ + sed '1,/^$$/d' $(srcdir)/AUTHORS | \ + sed -n -e '/^$$/q' -e 's/^/ /p'; \ + sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in; \ + } > $@ + +DISTCLEANFILES += debian/copyright diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index f4f4df6d..00000000 --- a/debian/copyright +++ /dev/null @@ -1,68 +0,0 @@ -The original sources for this package can be found at: - - http://openvswitch.org/ - - -Upstream Authors (from AUTHORS): - - Andy Southgate andy.southgate@citrix.com - Ben Pfaff blp@nicira.com - Bryan Phillippe bp@toroki.com - Dan Wendlandt dan@nicira.com - David Erickson derickso@stanford.edu - Glen Gibb grg@stanford.edu - Ian Campbell Ian.Campbell@citrix.com - Jean Tourrilhes jt@hpl.hp.com - Jeremy Stribling strib@nicira.com - Jesse Gross jesse@nicira.com - Joe Perches joe@perches.com - Jun Nakajima jun.nakajima@intel.com - Justin Pettit jpettit@nicira.com - Keith Amidon keith@nicira.com - Martin Casado casado@nicira.com - Natasha Gude natasha@nicira.com - Neil McKee neil.mckee@inmon.com - Paul Fazzone pfazzone@nicira.com - Reid Price reid@nicira.com - Simon Horman horms@verge.net.au - Tetsuo NAKAGAWA nakagawa@mxc.nes.nec.co.jp - Thomas Lacroix thomas.lacroix@citrix.com - Todd Deshane deshantm@gmail.com - Tom Everman teverman@google.com - Tsvi Slonim tsvi@toroki.com - Wei Yongjun yjwei@cn.fujitsu.com - Yu Zhiguo yuzg@cn.fujitsu.com - -Upstream Copyright Holders: - - Copyright (c) 2007, 2008, 2009, 2010 Nicira Networks. - Copyright (c) 2010 Jean Tourrilhes - HP-Labs. - Copyright (c) 2008,2009,2010 Citrix Systems, Inc. - and authors listed above. - -License: - -* The following components are licensed under the GNU General Public Licence - version 2. - - datapath/ - - On Debian systems, the complete text of the GNU General Public Licence - version 2 can be found in `/usr/share/common-licenses/GPL-2' - -* The following components are dual-licensed under the - GNU General Public Licence version 3 and the Apache Licence Version 2.0. - - include/openvswitch/ - - On Debian systems, the complete text of the GNU General Public Licence - version 2 can be found in `/usr/share/common-licenses/GPL-2'. - On Debian systems, the complete text of the Apache License version 2.0 - can be found in '/usr/share/common-licenses/Apache-2.0'. - -* All other components of this package are licensed under - The Apache License Version 2.0. - - On Debian systems, the complete text of the Apache License version 2.0 - can be found in '/usr/share/common-licenses/Apache-2.0'. - diff --git a/debian/copyright.in b/debian/copyright.in new file mode 100644 index 00000000..ae1a7886 --- /dev/null +++ b/debian/copyright.in @@ -0,0 +1,41 @@ +The original sources for this package can be found at: + + http://openvswitch.org/ + +Upstream Authors (from AUTHORS): + +%AUTHORS% + +Upstream Copyright Holders: + + Copyright (c) 2007, 2008, 2009, 2010 Nicira Networks. + Copyright (c) 2010 Jean Tourrilhes - HP-Labs. + Copyright (c) 2008,2009,2010 Citrix Systems, Inc. + and authors listed above. + +License: + +* The following components are licensed under the GNU General Public Licence + version 2. + + datapath/ + + On Debian systems, the complete text of the GNU General Public Licence + version 2 can be found in `/usr/share/common-licenses/GPL-2' + +* The following components are dual-licensed under the + GNU General Public Licence version 3 and the Apache Licence Version 2.0. + + include/openvswitch/ + + On Debian systems, the complete text of the GNU General Public Licence + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + On Debian systems, the complete text of the Apache License version 2.0 + can be found in '/usr/share/common-licenses/Apache-2.0'. + +* All other components of this package are licensed under + The Apache License Version 2.0. + + On Debian systems, the complete text of the Apache License version 2.0 + can be found in '/usr/share/common-licenses/Apache-2.0'. +