summaryrefslogtreecommitdiff
path: root/homebrew/pcapplusplus
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/pcapplusplus
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/pcapplusplus')
-rw-r--r--homebrew/pcapplusplus/.beer18
-rw-r--r--homebrew/pcapplusplus/.make.sh-auto4
-rw-r--r--homebrew/pcapplusplus/_metadata/description1
-rw-r--r--homebrew/pcapplusplus/_metadata/homepage1
-rw-r--r--homebrew/pcapplusplus/_metadata/name1
-rw-r--r--homebrew/pcapplusplus/_metadata/version1
-rwxr-xr-xhomebrew/pcapplusplus/download.sh1
7 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/pcapplusplus/.beer b/homebrew/pcapplusplus/.beer
new file mode 100644
index 000000000..adb81e6c2
--- /dev/null
+++ b/homebrew/pcapplusplus/.beer
@@ -0,0 +1,18 @@
+{
+ "name": "Pcapplusplus",
+ "description": "C++ network sniffing, packet parsing and crafting framework",
+ "url": "https://github.com/seladb/PcapPlusPlus/archive/v18.08.tar.gz",
+ "mirror": null,
+ "homepage": "https://seladb.github.io/PcapPlusPlus-Doc",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure-mac_os_x.sh\", \"--install-dir\", prefix",
+ "system \"make\", \"all\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "18.08",
+ "file": "pcapplusplus.rb"
+} \ No newline at end of file
diff --git a/homebrew/pcapplusplus/.make.sh-auto b/homebrew/pcapplusplus/.make.sh-auto
new file mode 100644
index 000000000..76cf580a6
--- /dev/null
+++ b/homebrew/pcapplusplus/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure-mac_os_x.sh --install-dir prefix
+make all
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/pcapplusplus/_metadata/description b/homebrew/pcapplusplus/_metadata/description
new file mode 100644
index 000000000..194c10c9a
--- /dev/null
+++ b/homebrew/pcapplusplus/_metadata/description
@@ -0,0 +1 @@
+C++ network sniffing, packet parsing and crafting framework
diff --git a/homebrew/pcapplusplus/_metadata/homepage b/homebrew/pcapplusplus/_metadata/homepage
new file mode 100644
index 000000000..4ffc51d45
--- /dev/null
+++ b/homebrew/pcapplusplus/_metadata/homepage
@@ -0,0 +1 @@
+https://seladb.github.io/PcapPlusPlus-Doc
diff --git a/homebrew/pcapplusplus/_metadata/name b/homebrew/pcapplusplus/_metadata/name
new file mode 100644
index 000000000..53deae246
--- /dev/null
+++ b/homebrew/pcapplusplus/_metadata/name
@@ -0,0 +1 @@
+Pcapplusplus
diff --git a/homebrew/pcapplusplus/_metadata/version b/homebrew/pcapplusplus/_metadata/version
new file mode 100644
index 000000000..c8e9d9715
--- /dev/null
+++ b/homebrew/pcapplusplus/_metadata/version
@@ -0,0 +1 @@
+18.08
diff --git a/homebrew/pcapplusplus/download.sh b/homebrew/pcapplusplus/download.sh
new file mode 100755
index 000000000..9849ade89
--- /dev/null
+++ b/homebrew/pcapplusplus/download.sh
@@ -0,0 +1 @@
+wget https://github.com/seladb/PcapPlusPlus/archive/v18.08.tar.gz \ No newline at end of file