Created
December 11, 2020 09:23
-
-
Save kolashtov/48aa27c2209f3cf2a79ac1d880c4c8fe to your computer and use it in GitHub Desktop.
makepasswd on mac os install via brew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Makepasswd < Formula | |
desc "Makepasswd random password generator" | |
homepage "https://packages.debian.org/sid/makepasswd" | |
url "http://ftp.debian.org/debian/pool/main/m/makepasswd/makepasswd_1.10.orig.tar.gz" | |
sha256 "41491f361d810f9bb3e08b40df3c3034faec306d434dab15534e19023f91a75c" | |
def install | |
bin.install "makepasswd" | |
man1.install "makepasswd.1" | |
end | |
def caveats; <<~EOS | |
Debian makepasswd has been installed as `makepasswd` and may shadow the | |
system binary of the same name. | |
EOS | |
end | |
test do | |
system "#{bin}/makepasswd" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brew install --build-from-source https://gist.github.com/kolashtov/48aa27c2209f3cf2a79ac1d880c4c8fe/raw/da396f4c5288494ca7d78434d0949218ae81270d/makepasswd.rb