File: add-bsd-3-clause-short-name

package info (click to toggle)
libsoftware-license-perl 0.103012-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,012 kB
  • ctags: 289
  • sloc: perl: 6,682; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 736 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Add bsd 3 clause short name
 BSD-3-clause is often used in debian/copyright. This
 patch enables cme to automatically fill license text
 for this license.
 .
 Debian only patch.
Author: dod
Applied-Upstream: NA
--- a/lib/Software/LicenseUtils.pm
+++ b/lib/Software/LicenseUtils.pm
@@ -183,6 +183,7 @@
   'Artistic'   =>  'Software::License::Artistic_1_0',
   'Artistic-1' =>  'Software::License::Artistic_1_0',
   'Artistic-2' =>  'Software::License::Artistic_2_0',
+  'BSD-3-clause' => 'Software::License::BSD',
   'GPL-1+'     =>  [ 'Software::License::GPL_1',    or_later => 1 ],
   'GPL-2+'     =>  [ 'Software::License::GPL_2',    or_later => 1 ],
   'GPL-3+'     =>  [ 'Software::License::GPL_3',    or_later => 1 ],