Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (712a0cf6bbc6f44c9fa114b379b57ade8febd20d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (712a0cf6bbc6f44c9fa114b379b57ade8febd20d)
  • Date: Sat, 5 Aug 2017 12:26:02 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 +++
net/nettop/BUILD | 7 +++++++
net/nettop/CONFIGURE | 1 +
net/nettop/DEPENDS | 3 +++
net/nettop/DETAILS | 24 ++++++++++++++++++++++++
net/nettop/HISTORY | 3 +++
net/nettop/INSTALL | 5 +++++
net/nettop/PRE_BUILD | 4 ++++
8 files changed, 50 insertions(+)

New commits:
commit 712a0cf6bbc6f44c9fa114b379b57ade8febd20d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

nettop: new spell, simple process/network usage report for Linux

diff --git a/ChangeLog b/ChangeLog
index 392e8a2..f02dbbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2017-08-05 Vlad Glagolev <stealth AT sourcemage.org>
+ * net/nettop: new spell, simple process/network usage report for Linux
+
2017-07-31 Vlad Glagolev <stealth AT sourcemage.org>
* python-pypi/bjoern: new spell, screamingly fast Python WSGI server
written in C
diff --git a/net/nettop/BUILD b/net/nettop/BUILD
new file mode 100755
index 0000000..a37d14b
--- /dev/null
+++ b/net/nettop/BUILD
@@ -0,0 +1,7 @@
+CFLAGS="-Wall -std=c++0x -pthread -D_GLIBCXX_USE_NANOSLEEP ${CFLAGS}" &&
+
+make FLAGS="${CFLAGS}" &&
+
+if list_find "${LDFLAGS}" "-s"; then
+ strip -v "nettop"
+fi
diff --git a/net/nettop/CONFIGURE b/net/nettop/CONFIGURE
new file mode 100755
index 0000000..201f7a8
--- /dev/null
+++ b/net/nettop/CONFIGURE
@@ -0,0 +1 @@
+config_query NETTOP_SUID_ROOT "Install $SPELL setuid root?" n
diff --git a/net/nettop/DEPENDS b/net/nettop/DEPENDS
new file mode 100755
index 0000000..77871b4
--- /dev/null
+++ b/net/nettop/DEPENDS
@@ -0,0 +1,3 @@
+depends -sub CXX gcc &&
+depends ncurses &&
+depends libpcap
diff --git a/net/nettop/DETAILS b/net/nettop/DETAILS
new file mode 100755
index 0000000..77213ff
--- /dev/null
+++ b/net/nettop/DETAILS
@@ -0,0 +1,24 @@
+ SPELL=nettop
+ VERSION=0.3
+ VERSIONX=2014-03-24
+ SOURCE=${VERSIONX}.${SPELL}.tar.bz2
+ SOURCE_URL[0]=http://nettop.youlink.org/data/${SOURCE}
+
SOURCE_HASH=sha512:6d432e426c5c882aaccd17dbf7d9c72def282bc68c400e235c0ebaf24a5e4dfddc095a98147c7c18bad69d37631fbef5d0add659421c51dcf71e017ed70f9399
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ DOCS="src/gpl_v3 ${DOCS}"
+ WEB_SITE=http://nettop.youlink.org/
+ LICENSE[0]=GPL
+ ENTERED=20170805
+ KEYWORDS="net"
+ SHORT="simple process/network usage report for Linux"
+cat << EOF
+A program to capture network usage by processes, reporting where from/to the
+traffic is going.
+
+Features:
+- Multi threaded
+- Relies on libcap to generate network statistics, ncurses for display
+- Written in C++11
+- Low memory cpu/usage
+- Easily extendible source code
+EOF
diff --git a/net/nettop/HISTORY b/net/nettop/HISTORY
new file mode 100644
index 0000000..46c5ecf
--- /dev/null
+++ b/net/nettop/HISTORY
@@ -0,0 +1,3 @@
+2017-08-05 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, CONFIGURE, INSTALL: created spell,
+ version 0.3
diff --git a/net/nettop/INSTALL b/net/nettop/INSTALL
new file mode 100755
index 0000000..8d8f7a6
--- /dev/null
+++ b/net/nettop/INSTALL
@@ -0,0 +1,5 @@
+install -vm 755 nettop "${INSTALL_ROOT}/usr/bin/nettop"
+
+if [[ $NETTOP_SUID_ROOT == y ]]; then
+ chmod -v +s "${INSTALL_ROOT}/usr/bin/nettop"
+fi
diff --git a/net/nettop/PRE_BUILD b/net/nettop/PRE_BUILD
new file mode 100755
index 0000000..5416781
--- /dev/null
+++ b/net/nettop/PRE_BUILD
@@ -0,0 +1,4 @@
+mk_source_dir "${SOURCE_DIRECTORY}" &&
+cd "${SOURCE_DIRECTORY}" &&
+
+unpack_file ''



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (712a0cf6bbc6f44c9fa114b379b57ade8febd20d), Vlad Glagolev, 08/05/2017

Archive powered by MHonArc 2.6.24.

Top of Page