diff --git a/LICENSE b/LICENSE index 16907fa..548a1d0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,15 @@ -The MIT License (MIT) +Copyright (C) 2023 by 0x1eef <0x1eef@protonmail.com> -Copyright (c) 2017 Thomas Hurst +Permission to use, copy, modify, and/or distribute this +software for any purpose with or without fee is hereby +granted. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS +ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER +RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE +OF THIS SOFTWARE. diff --git a/LICENSE.ruby-capsicum b/LICENSE.ruby-capsicum new file mode 100644 index 0000000..16907fa --- /dev/null +++ b/LICENSE.ruby-capsicum @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2017 Thomas Hurst + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index 65bd1a8..ecc8693 100644 --- a/README.md +++ b/README.md @@ -133,5 +133,15 @@ bsdcapsicum.rb is available via rubygems.org: ## License -The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). - +bsdcapsicum.rb +
+[BSD Zero Clause](https://choosealicense.com/licenses/0bsd/) +
+See [LICENSE](./LICENSE) +

+ruby-capsicum +
+[Freaky/ruby-capsicum](https://github.com/Freaky/ruby-capsicum) is released +under the terms of the MIT license +
+See [LICENSE.ruby-capsicum](/.LICENSE-ruby-capsicum) diff --git a/bsdcapsicum.rb.gemspec b/bsdcapsicum.rb.gemspec index a8fd6c7..0a3aa25 100644 --- a/bsdcapsicum.rb.gemspec +++ b/bsdcapsicum.rb.gemspec @@ -11,8 +11,8 @@ Gem::Specification.new do |spec| spec.summary = "Ruby bindings for FreeBSD's capsicum(4)" spec.homepage = "https://github.com/0x1eef/bsdcapsicum.rb" - spec.license = "MIT" - spec.files = Dir["lib/*.rb", "lib/**/*.rb", "README.md", "LICENSE", "*.gemspec"] + spec.license = "0BSD" + spec.files = Dir["lib/*.rb", "lib/**/*.rb", "README.md", "LICENSE", "LICENSE.ruby-capsicum", "*.gemspec"] spec.require_paths = ["lib"] spec.add_runtime_dependency "fiddle", "~> 1.1"