aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorArmin Schoisswohl2014-02-26 14:35:04 +0100
committerAdam Vandenberg2014-05-05 21:30:52 -0700
commitf8603314ae3b27f40af7881fc45db8fa149c36c8 (patch)
tree5e21fd198205b664b0556bb28c494a06206dacb7 /Library/Formula
parentf5bdfa58bede2442902931c768a1e445550fa2ce (diff)
downloadhomebrew-f8603314ae3b27f40af7881fc45db8fa149c36c8.tar.bz2
rssh 2.3.4
Closes #27028. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rssh.rb30
1 files changed, 30 insertions, 0 deletions
diff --git a/Library/Formula/rssh.rb b/Library/Formula/rssh.rb
new file mode 100644
index 000000000..766517ce9
--- /dev/null
+++ b/Library/Formula/rssh.rb
@@ -0,0 +1,30 @@
+require "formula"
+
+class Rssh < Formula
+ homepage "http://www.pizzashack.org/rssh"
+ url "https://downloads.sourceforge.net/project/rssh/rssh/2.3.4/rssh-2.3.4.tar.gz"
+ sha1 "e13ae1fdce4b0c89ef70f4695689139c8409e2e8"
+
+ # Submitted upstream:
+ # http://sourceforge.net/p/rssh/mailman/message/32251335/
+ patch do
+ url "https://gist.githubusercontent.com/arminsch/9230011/raw/f0c5ed95bbba0be28ce2b5f0d1080de84ec317ab/rsshconf-log-rename.diff"
+ sha1 "7e49f539f307cd4c6eeaa0566961038dda6d721d"
+ end
+
+ def install
+ system "./configure", "--disable-debug",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}"
+ system "make"
+ system "make", "install"
+ end
+
+ test do
+ # test to check if everything is linked correctly
+ system "#{bin}/rssh", "-v"
+ # the following test checks if rssh, if invoked without commands and options, fails
+ system "sh", "-c", "! #{bin}/rssh"
+ end
+end