Skip to content

Commit

Permalink
BSD-2-Clause: Make "All rights reserved" optional
Browse files Browse the repository at this point in the history
The OSI version, which we list as the upstream, does not include "All
rights reserved":

  $ curl -s https://opensource.org/licenses/BSD-2-Clause | grep -A2 Copyright
      <p>Copyright &lt;YEAR&gt; &lt;COPYRIGHT HOLDER&gt;<br /></p>

      <p>Redistribution and use in source and binary forms...

Also:

* Remove a pre-<year> space from within the <alt>.  There's leading
  space before the <alt>, so we don't need the post-<alt> space.
* Add a period which was missing before.  Without the period, there's
  no terminal punctuation before we start the "All rights reserved"
  sentence.
  • Loading branch information
wking committed Dec 19, 2017
1 parent 239c600 commit 85df23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BSD-2-Clause.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</crossRefs>
<copyrightText>
<p>Copyright (c)
<alt match=".+" name="copyright"> &lt;year&gt; &lt;owner&gt;</alt> All rights reserved.
<alt match=".+" name="copyright">&lt;year&gt; &lt;owner&gt;</alt><optional>. All rights reserved.</optional>
</p>
</copyrightText>

Expand Down

0 comments on commit 85df23f

Please sign in to comment.