Skip to content

Commit

Permalink
net/sniffnet: add port: Comfortably monitor your Internet traffic
Browse files Browse the repository at this point in the history
Sniffnet is a network monitoring tool to help you easily keep track of
your Internet traffic.

Whether you want to gather statistics, or you need to inspect more in
depth what's going on in your network, this app will get you covered.

WWW: https://www.sniffnet.net/
  • Loading branch information
tagattie committed May 31, 2023
1 parent c569862 commit 26b8a0e
Show file tree
Hide file tree
Showing 7 changed files with 1,388 additions and 0 deletions.
1 change: 1 addition & 0 deletions net/Makefile
Expand Up @@ -1453,6 +1453,7 @@
SUBDIR += smm++
SUBDIR += sngrep
SUBDIR += sniffit
SUBDIR += sniffnet
SUBDIR += sniproxy
SUBDIR += sntop
SUBDIR += sobby
Expand Down
32 changes: 32 additions & 0 deletions net/sniffnet/Makefile
@@ -0,0 +1,32 @@
PORTNAME= sniffnet
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.0
CATEGORIES= net

MAINTAINER= tagattie@FreeBSD.org
COMMENT= Comfortably monitor your Internet traffic
WWW= https://www.sniffnet.net/

LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT

LIB_DEPENDS= libasound.so:audio/alsa-lib \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig

USES= cargo ssl

USE_GITHUB= yes
GH_ACCOUNT= GyulyVGC

post-install:
${INSTALL_DATA} ${WRKSRC}/resources/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
.for size in 8 16 22 24 32 36 42 48 64 72 96 128 160 192 256 384 512 1024
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps
${INSTALL_DATA} ${WRKSRC}/resources/icons/sniffnet-linux_${size}x${size}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${size}x${size}/apps/${PORTNAME}.png
.endfor

.include <bsd.port.mk>

0 comments on commit 26b8a0e

Please sign in to comment.