summaryrefslogtreecommitdiff
path: root/homebrew/ipmitool
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ipmitool')
-rw-r--r--homebrew/ipmitool/.beer35
-rw-r--r--homebrew/ipmitool/.make.sh-auto6
-rw-r--r--homebrew/ipmitool/_metadata/description1
-rw-r--r--homebrew/ipmitool/_metadata/homepage1
-rw-r--r--homebrew/ipmitool/_metadata/name1
-rw-r--r--homebrew/ipmitool/_metadata/version1
-rwxr-xr-xhomebrew/ipmitool/download.sh1
-rwxr-xr-xhomebrew/ipmitool/patches.sh1
8 files changed, 47 insertions, 0 deletions
diff --git a/homebrew/ipmitool/.beer b/homebrew/ipmitool/.beer
new file mode 100644
index 000000000..1f7b5042b
--- /dev/null
+++ b/homebrew/ipmitool/.beer
@@ -0,0 +1,35 @@
+{
+ "name": "Ipmitool",
+ "description": "Utility for IPMI control with kernel driver or LAN interface",
+ "url": "https://downloads.sourceforge.net/project/ipmitool/ipmitool/1.8.18/ipmitool-1.8.18.tar.bz2",
+ "mirror": "https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.18.orig.tar.bz2",
+ "homepage": "https://ipmitool.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://gist.githubusercontent.com/adaugherity/87f1466b3c93d5aed205a636169d1c58/raw/29880afac214c1821e34479dad50dca58a0951ef/ipmitool-getpass-segfault.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "inreplace \"lib/ipmi_cfgp.c\", \"#include <malloc.h>\", \"\"",
+ "args = %W[",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--disable-intf-usb",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\", \"check\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.8.18",
+ "file": "ipmitool.rb"
+} \ No newline at end of file
diff --git a/homebrew/ipmitool/.make.sh-auto b/homebrew/ipmitool/.make.sh-auto
new file mode 100644
index 000000000..a5e03baa4
--- /dev/null
+++ b/homebrew/ipmitool/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+inreplace "lib/ipmi_cfgp.c", "#include <malloc.h>", ""
+args = %W[--disable-dependency-tracking --prefix=#{prefix} --mandir=#{man} --disable-intf-usb ]
+pkg:configure *args
+make check
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/ipmitool/_metadata/description b/homebrew/ipmitool/_metadata/description
new file mode 100644
index 000000000..d2988f74a
--- /dev/null
+++ b/homebrew/ipmitool/_metadata/description
@@ -0,0 +1 @@
+Utility for IPMI control with kernel driver or LAN interface
diff --git a/homebrew/ipmitool/_metadata/homepage b/homebrew/ipmitool/_metadata/homepage
new file mode 100644
index 000000000..a4bb2d291
--- /dev/null
+++ b/homebrew/ipmitool/_metadata/homepage
@@ -0,0 +1 @@
+https://ipmitool.sourceforge.io/
diff --git a/homebrew/ipmitool/_metadata/name b/homebrew/ipmitool/_metadata/name
new file mode 100644
index 000000000..a78818c27
--- /dev/null
+++ b/homebrew/ipmitool/_metadata/name
@@ -0,0 +1 @@
+Ipmitool
diff --git a/homebrew/ipmitool/_metadata/version b/homebrew/ipmitool/_metadata/version
new file mode 100644
index 000000000..6476b3ae4
--- /dev/null
+++ b/homebrew/ipmitool/_metadata/version
@@ -0,0 +1 @@
+1.8.18
diff --git a/homebrew/ipmitool/download.sh b/homebrew/ipmitool/download.sh
new file mode 100755
index 000000000..2f748c133
--- /dev/null
+++ b/homebrew/ipmitool/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/ipmitool/ipmitool/1.8.18/ipmitool-1.8.18.tar.bz2 || wget https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.18.orig.tar.bz2 \ No newline at end of file
diff --git a/homebrew/ipmitool/patches.sh b/homebrew/ipmitool/patches.sh
new file mode 100755
index 000000000..3d3c2dfe1
--- /dev/null
+++ b/homebrew/ipmitool/patches.sh
@@ -0,0 +1 @@
+wget https://gist.githubusercontent.com/adaugherity/87f1466b3c93d5aed205a636169d1c58/raw/29880afac214c1821e34479dad50dca58a0951ef/ipmitool-getpass-segfault.patch