summaryrefslogtreecommitdiff
path: root/homebrew/yconalyzer
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/yconalyzer
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/yconalyzer')
-rw-r--r--homebrew/yconalyzer/.beer47
-rw-r--r--homebrew/yconalyzer/.make.sh-auto0
-rw-r--r--homebrew/yconalyzer/_metadata/description1
-rw-r--r--homebrew/yconalyzer/_metadata/homepage1
-rw-r--r--homebrew/yconalyzer/_metadata/name1
-rw-r--r--homebrew/yconalyzer/_metadata/version1
-rwxr-xr-xhomebrew/yconalyzer/download.sh1
-rwxr-xr-xhomebrew/yconalyzer/patches.sh26
8 files changed, 78 insertions, 0 deletions
diff --git a/homebrew/yconalyzer/.beer b/homebrew/yconalyzer/.beer
new file mode 100644
index 000000000..cf8affb33
--- /dev/null
+++ b/homebrew/yconalyzer/.beer
@@ -0,0 +1,47 @@
+{
+ "name": "Yconalyzer",
+ "description": "TCP traffic analyzer",
+ "url": "https://downloads.sourceforge.net/project/yconalyzer/yconalyzer-1.0.4.tar.bz2",
+ "mirror": null,
+ "homepage": "https://sourceforge.net/projects/yconalyzer/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": null,
+ "strip": "0"
+ },
+ {
+ "url": null,
+ "data": [
+ "--- yconalyzer.cc.orig\t2014-01-12 14:15:17.000000000 +0800\n",
+ "+++ yconalyzer.cc\t2014-01-12 14:17:49.000000000 +0800\n",
+ "@@ -76,19 +76,11 @@\n",
+ "\n",
+ " #include <string>\n",
+ "\n",
+ "-#if __GNUC__ > 2\n",
+ " #include <map>\n",
+ "-using namespace _GLIBCXX_STD;\n",
+ "+using namespace std;\n",
+ " // Linux gcc-3 is not too happy with the format strings we use in BSD.\n",
+ " #define KEY_FMT_STRING \"%#8x%#4x\"\n",
+ "\n",
+ "-#else\t/* We are using gnu-c <= 2 */\n",
+ "-\n",
+ "-#include <hash_map.h>\n",
+ "-#define KEY_FMT_STRING \"%8ux%4hx\"\n",
+ "-\n",
+ "-#endif\n",
+ "-\n",
+ " static int debug = 0;\n",
+ " static u_short port = 0;\n",
+ " static int nbuckets;\n"
+ ]
+ }
+ ],
+ "install": [],
+ "version": "1.0.4",
+ "file": "yconalyzer.rb"
+} \ No newline at end of file
diff --git a/homebrew/yconalyzer/.make.sh-auto b/homebrew/yconalyzer/.make.sh-auto
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/homebrew/yconalyzer/.make.sh-auto
diff --git a/homebrew/yconalyzer/_metadata/description b/homebrew/yconalyzer/_metadata/description
new file mode 100644
index 000000000..d55957027
--- /dev/null
+++ b/homebrew/yconalyzer/_metadata/description
@@ -0,0 +1 @@
+TCP traffic analyzer
diff --git a/homebrew/yconalyzer/_metadata/homepage b/homebrew/yconalyzer/_metadata/homepage
new file mode 100644
index 000000000..b87845d63
--- /dev/null
+++ b/homebrew/yconalyzer/_metadata/homepage
@@ -0,0 +1 @@
+https://sourceforge.net/projects/yconalyzer/
diff --git a/homebrew/yconalyzer/_metadata/name b/homebrew/yconalyzer/_metadata/name
new file mode 100644
index 000000000..e4bb48b4b
--- /dev/null
+++ b/homebrew/yconalyzer/_metadata/name
@@ -0,0 +1 @@
+Yconalyzer
diff --git a/homebrew/yconalyzer/_metadata/version b/homebrew/yconalyzer/_metadata/version
new file mode 100644
index 000000000..ee90284c2
--- /dev/null
+++ b/homebrew/yconalyzer/_metadata/version
@@ -0,0 +1 @@
+1.0.4
diff --git a/homebrew/yconalyzer/download.sh b/homebrew/yconalyzer/download.sh
new file mode 100755
index 000000000..cbd384e1c
--- /dev/null
+++ b/homebrew/yconalyzer/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/yconalyzer/yconalyzer-1.0.4.tar.bz2 \ No newline at end of file
diff --git a/homebrew/yconalyzer/patches.sh b/homebrew/yconalyzer/patches.sh
new file mode 100755
index 000000000..eaacbbd9f
--- /dev/null
+++ b/homebrew/yconalyzer/patches.sh
@@ -0,0 +1,26 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+--- yconalyzer.cc.orig 2014-01-12 14:15:17.000000000 +0800
++++ yconalyzer.cc 2014-01-12 14:17:49.000000000 +0800
+@@ -76,19 +76,11 @@
+
+ #include <string>
+
+-#if __GNUC__ > 2
+ #include <map>
+-using namespace _GLIBCXX_STD;
++using namespace std;
+ // Linux gcc-3 is not too happy with the format strings we use in BSD.
+ #define KEY_FMT_STRING "%#8x%#4x"
+
+-#else /* We are using gnu-c <= 2 */
+-
+-#include <hash_map.h>
+-#define KEY_FMT_STRING "%8ux%4hx"
+-
+-#endif
+-
+ static int debug = 0;
+ static u_short port = 0;
+ static int nbuckets;
+EOF