diff options
| author | Robert Lenhardt | 2012-05-04 21:55:26 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-07-29 13:59:10 -0700 |
| commit | 791878e063520439b0d2d8e7ab66d23e31d49744 (patch) | |
| tree | 7a5c4cc2ad6720183fde149dcbbafde1c4244541 /Library/Formula | |
| parent | 91ec6d4e789d240782b232fe62a19603fae2a7c7 (diff) | |
| download | homebrew-791878e063520439b0d2d8e7ab66d23e31d49744.tar.bz2 | |
pam_yubico 2.11
pam_yubico is a pam module allowing authentication with a yubikey.
authentification can be done online against yubico auth servers or
local with challenge-response mode. I have tested both modes with sudo
auth.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pam_yubico.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/pam_yubico.rb b/Library/Formula/pam_yubico.rb new file mode 100644 index 000000000..c7ea31dc9 --- /dev/null +++ b/Library/Formula/pam_yubico.rb @@ -0,0 +1,19 @@ +require 'formula' + +class PamYubico < Formula + homepage 'http://code.google.com/p/yubico-pam/' + url 'http://yubico-pam.googlecode.com/files/pam_yubico-2.11.tar.gz' + sha1 'e841ab473fee7c28af96e4d18fef427a8e1a947b' + + depends_on 'pkg-config' => :build + depends_on 'libyubikey' + depends_on 'ykclient' + depends_on 'ykpers' + + def install + system "./configure", "--prefix=#{prefix}", + "--with-libyubikey-prefix=#{HOMEBREW_PREFIX}", + "--with-libykclient-prefix=#{HOMEBREW_PREFIX}" + system "make install" + end +end |
