summaryrefslogtreecommitdiff
path: root/homebrew/duounix
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/duounix')
-rw-r--r--homebrew/duounix/.beer41
-rw-r--r--homebrew/duounix/.make.sh-auto4
-rw-r--r--homebrew/duounix/_metadata/description1
-rw-r--r--homebrew/duounix/_metadata/homepage1
-rw-r--r--homebrew/duounix/_metadata/name1
-rw-r--r--homebrew/duounix/_metadata/version1
-rwxr-xr-xhomebrew/duounix/download.sh1
7 files changed, 50 insertions, 0 deletions
diff --git a/homebrew/duounix/.beer b/homebrew/duounix/.beer
new file mode 100644
index 000000000..690d36073
--- /dev/null
+++ b/homebrew/duounix/.beer
@@ -0,0 +1,41 @@
+{
+ "name": "DuoUnix",
+ "description": "Two-factor authentication for SSH",
+ "url": "https://github.com/duosecurity/duo_unix/archive/duo_unix-1.11.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.duosecurity.com/docs/duounix",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./bootstrap\"",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--sysconfdir=#{etc}\",",
+ "\"--includedir=#{include}/duo\",",
+ "\"--with-openssl=#{Formula[\"openssl\"].opt_prefix}\",",
+ "\"--with-pam=#{lib}/pam/\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.11.1",
+ "file": "duo_unix.rb"
+} \ No newline at end of file
diff --git a/homebrew/duounix/.make.sh-auto b/homebrew/duounix/.make.sh-auto
new file mode 100644
index 000000000..dfe8066fd
--- /dev/null
+++ b/homebrew/duounix/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+./bootstrap
+pkg:configure --disable-dependency-tracking --disable-silent-rules --includedir=#{include}/duo --with-openssl=#{Formula[openssl"].opt_prefix}" --with-pam=${PKG_TAPF}/lib/pam/
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/duounix/_metadata/description b/homebrew/duounix/_metadata/description
new file mode 100644
index 000000000..916ecd0fa
--- /dev/null
+++ b/homebrew/duounix/_metadata/description
@@ -0,0 +1 @@
+Two-factor authentication for SSH
diff --git a/homebrew/duounix/_metadata/homepage b/homebrew/duounix/_metadata/homepage
new file mode 100644
index 000000000..952738346
--- /dev/null
+++ b/homebrew/duounix/_metadata/homepage
@@ -0,0 +1 @@
+https://www.duosecurity.com/docs/duounix
diff --git a/homebrew/duounix/_metadata/name b/homebrew/duounix/_metadata/name
new file mode 100644
index 000000000..823d3f57a
--- /dev/null
+++ b/homebrew/duounix/_metadata/name
@@ -0,0 +1 @@
+DuoUnix
diff --git a/homebrew/duounix/_metadata/version b/homebrew/duounix/_metadata/version
new file mode 100644
index 000000000..720c7384c
--- /dev/null
+++ b/homebrew/duounix/_metadata/version
@@ -0,0 +1 @@
+1.11.1
diff --git a/homebrew/duounix/download.sh b/homebrew/duounix/download.sh
new file mode 100755
index 000000000..bbc4567dc
--- /dev/null
+++ b/homebrew/duounix/download.sh
@@ -0,0 +1 @@
+wget https://github.com/duosecurity/duo_unix/archive/duo_unix-1.11.1.tar.gz \ No newline at end of file