summaryrefslogtreecommitdiff
path: root/homebrew/sntop
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/sntop
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/sntop')
-rw-r--r--homebrew/sntop/.beer28
-rw-r--r--homebrew/sntop/.make.sh-auto6
-rw-r--r--homebrew/sntop/_metadata/description1
-rw-r--r--homebrew/sntop/_metadata/homepage1
-rw-r--r--homebrew/sntop/_metadata/name1
-rw-r--r--homebrew/sntop/_metadata/version1
-rwxr-xr-xhomebrew/sntop/download.sh1
7 files changed, 39 insertions, 0 deletions
diff --git a/homebrew/sntop/.beer b/homebrew/sntop/.beer
new file mode 100644
index 000000000..3b1605579
--- /dev/null
+++ b/homebrew/sntop/.beer
@@ -0,0 +1,28 @@
+{
+ "name": "Sntop",
+ "description": "Curses-based utility that polls hosts to determine connectivity",
+ "url": "https://pkg.freebsd.org/ports-distfiles/sntop-1.4.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://sntop.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "fping",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-debug\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--mandir=#{man}\",",
+ "\"--sysconfdir=#{etc}\"",
+ "etc.mkpath",
+ "bin.mkpath",
+ "man1.mkpath",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.4.3",
+ "file": "sntop.rb"
+} \ No newline at end of file
diff --git a/homebrew/sntop/.make.sh-auto b/homebrew/sntop/.make.sh-auto
new file mode 100644
index 000000000..04792e526
--- /dev/null
+++ b/homebrew/sntop/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking
+etc.mkpath
+bin.mkpath
+man1.mkpath
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/sntop/_metadata/description b/homebrew/sntop/_metadata/description
new file mode 100644
index 000000000..8a8e6a185
--- /dev/null
+++ b/homebrew/sntop/_metadata/description
@@ -0,0 +1 @@
+Curses-based utility that polls hosts to determine connectivity
diff --git a/homebrew/sntop/_metadata/homepage b/homebrew/sntop/_metadata/homepage
new file mode 100644
index 000000000..a044d2bb5
--- /dev/null
+++ b/homebrew/sntop/_metadata/homepage
@@ -0,0 +1 @@
+https://sntop.sourceforge.io/
diff --git a/homebrew/sntop/_metadata/name b/homebrew/sntop/_metadata/name
new file mode 100644
index 000000000..c4744e407
--- /dev/null
+++ b/homebrew/sntop/_metadata/name
@@ -0,0 +1 @@
+Sntop
diff --git a/homebrew/sntop/_metadata/version b/homebrew/sntop/_metadata/version
new file mode 100644
index 000000000..428b770e3
--- /dev/null
+++ b/homebrew/sntop/_metadata/version
@@ -0,0 +1 @@
+1.4.3
diff --git a/homebrew/sntop/download.sh b/homebrew/sntop/download.sh
new file mode 100755
index 000000000..7aae60062
--- /dev/null
+++ b/homebrew/sntop/download.sh
@@ -0,0 +1 @@
+wget https://pkg.freebsd.org/ports-distfiles/sntop-1.4.3.tar.gz \ No newline at end of file