Bug 243555 - [new port] sysutils/bandwhich: CLI utility for displaying current network utilization
Summary: [new port] sysutils/bandwhich: CLI utility for displaying current network uti...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-24 04:59 UTC by Anders Jensen-Waud
Modified: 2020-01-27 21:25 UTC (History)
2 users (show)

See Also:


Attachments
Port (343 bytes, text/plain)
2020-01-24 04:59 UTC, Anders Jensen-Waud
no flags Details
Non-truncated shar (31.70 KB, text/plain)
2020-01-24 05:37 UTC, Anders Jensen-Waud
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Jensen-Waud 2020-01-24 04:59:34 UTC
Created attachment 211004 [details]
Port

Bandwhich is a CLI utility for displaying current network utilization by
process, connection and remote IP/hostname
Comment 1 Tobias C. Berner freebsd_committer 2020-01-24 05:17:22 UTC
Comment on attachment 211004 [details]
Port

The shar looks a bit truncated.

Mfg Tobias
Comment 2 Anders Jensen-Waud 2020-01-24 05:37:53 UTC
Created attachment 211005 [details]
Non-truncated shar
Comment 3 Anders Jensen-Waud 2020-01-24 05:38:21 UTC
(In reply to Tobias C. Berner from comment #1)

Apologies. Please see attached file, which should contain everything. Anders
Comment 4 daniel.engberg.lists 2020-01-27 10:58:51 UTC
Hi Anders!

L1: This wrong, it should say the follwing:
# $FreeBSD$
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-samplem.html

L4: (Style fix) Use PORTVERSION instead

L5: Should be net-mgmt

L13: Remove cargo (implied by USES=)

Any specific reason why you're using the following?
CARGO_USE_GITHUB=       yes
CARGO_CONFIGURE=        no

You can probably remove these lines and use "make cargo-crates" instead
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/building.html#using-cargo

Since it's just one binary you can use PLIST_FILES= instead
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-desc.html

Don't forget to strip the binary (unless it breaks) if it's not done automatically. https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/install.html
Comment 5 daniel.engberg.lists 2020-01-27 10:59:49 UTC
...and I forgot, you included a .git directory which should be removed =)

Best regards,
Daniel