summaryrefslogtreecommitdiff
path: root/homebrew/owamp/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/owamp/.beer')
-rw-r--r--homebrew/owamp/.beer46
1 files changed, 46 insertions, 0 deletions
diff --git a/homebrew/owamp/.beer b/homebrew/owamp/.beer
new file mode 100644
index 000000000..15ac80cb8
--- /dev/null
+++ b/homebrew/owamp/.beer
@@ -0,0 +1,46 @@
+{
+ "name": "Owamp",
+ "description": "Implementation of the One-Way Active Measurement Protocol",
+ "url": "https://software.internet2.edu/sources/owamp/owamp-3.4-10.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.internet2.edu/products-services/performance-analytics/performance-tools/",
+ "depends": [
+ {
+ "depend": "i2util",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": null,
+ "data": [
+ "diff -ur owamp-3.4/owamp/endpoint.c owamp-3.4.fixed/owamp/endpoint.c\n",
+ "--- owamp-3.4/owamp/endpoint.c\t2014-03-21 09:37:42.000000000 -0400\n",
+ "+++ owamp-3.4.fixed/owamp/endpoint.c\t2014-11-26 07:50:11.000000000 -0500\n",
+ "@@ -2188,6 +2188,11 @@\n",
+ " timespecsub((struct timespec*)&wake.it_value,&currtime);\n",
+ "\n",
+ " wake.it_value.tv_usec /= 1000; /* convert nsec to usec */\n",
+ "+ while (wake.it_value.tv_usec >= 1000000) {\n",
+ "+ wake.it_value.tv_usec -= 1000000;\n",
+ "+ wake.it_value.tv_sec++;\n",
+ "+ }\n",
+ "+\n",
+ " tvalclear(&wake.it_interval);\n",
+ "\n",
+ " /*\n"
+ ]
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--mandir=#{man}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "3.4",
+ "file": "owamp.rb"
+} \ No newline at end of file