From 71bd5665378d88878aeead35258548f0f51c8888 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 29 Feb 2024 22:35:05 -0300 Subject: [PATCH] Add LICENSE --- LICENSE | 15 +++++++++++++++ README.md | 23 ++++++++++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..548a1d0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,15 @@ +Copyright (C) 2023 by 0x1eef <0x1eef@protonmail.com> + +Permission to use, copy, modify, and/or distribute this +software for any purpose with or without fee is hereby +granted. + +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/README.md b/README.md index 12323c8..f8b3632 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ hbsdctl.rb is a Ruby C extension that binds libhbsdcontrol from the [hardenedbsd](https://hardenedbsd.org) project. Through this library, you can query what features are available and if root, enable or disable -those features for given binaries. +those features for a given executable. ## Examples @@ -37,6 +37,27 @@ BSD::Control .enable!("/usr/local/bin/emacs") ``` +## Install + +**Git** + +hbsdctl.rb is distributed as a RubyGem through its git repositories.
+[GitHub](https://github.com/0x1eef/hbsdctl.rb), +and +[GitLab](https://gitlab.com/0x1eef/hbsdctl.rb) +are available as sources. + +``` ruby +# Gemfile +gem "lock.fb", github: "0x1eef/hbsdctl.rb", tag: "v0.12.0" +``` + +**Rubygems.org** + +lock.rb can also be installed via rubygems.org. + + gem install hbsdctl.rb + ## License [BSD Zero Clause](https://choosealicense.com/licenses/0bsd/).