Skip to content

Commit

Permalink
net/vnstat: Update to 2.12
Browse files Browse the repository at this point in the history
* Rearrange Makefile to closer follow Porters Handbook

Changelog: https://github.com/vergoh/vnstat/releases/tag/v2.12

PR:		276529
Approved by:	portmgr (maintainer timeout, 2+ weeks)
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Feb 5, 2024
1 parent 513740c commit 37605ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
15 changes: 9 additions & 6 deletions net/vnstat/Makefile
@@ -1,22 +1,22 @@
PORTNAME= vnstat
PORTVERSION= 2.11
PORTREVISION= 1
DISTVERSION= 2.12
CATEGORIES= net
MASTER_SITES= https://github.com/vergoh/vnstat/releases/download/v${PORTVERSION}/ \
https://humdi.net/vnstat/
MASTER_SITES= https://github.com/vergoh/${PORTNAME}/releases/download/v${DISTVERSION}/ \
https://humdi.net/${PORTNAME}/

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Console-based network traffic monitor
WWW= https://humdi.net/vnstat/ \
https://github.com/vergoh/vnstat

LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING

USES= localbase sqlite

CONFIGURE_ARGS= --disable-extra-paths
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share

INSTALL_TARGET= install-exec install-man
USE_RC_SUBR= vnstat

Expand All @@ -28,13 +28,16 @@ SUB_FILES= pkg-message
SUB_LIST= USERS=${USERS} \
GROUPS=${GROUPS}

CONFIGURE_ARGS= --disable-extra-paths

OPTIONS_DEFINE= GUI DOCS
OPTIONS_DEFAULT=GUI
OPTIONS_SUB= yes

GUI_DESC= Build with graphics/gd dependency

GUI_CONFIGURE_OFF= --disable-image-output
GUI_LIB_DEPENDS= libgd.so:graphics/gd
GUI_CONFIGURE_OFF= --disable-image-output

post-install:
${INSTALL_DATA} ${WRKSRC}/cfg/vnstat.conf ${STAGEDIR}${PREFIX}/etc/vnstat.conf.sample
Expand Down
6 changes: 3 additions & 3 deletions net/vnstat/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1692812380
SHA256 (vnstat-2.11.tar.gz) = babc3f1583cc40e4e8ffb2f53296d93d308cb5a5043e85054f6eaf7b4ae57856
SIZE (vnstat-2.11.tar.gz) = 312821
TIMESTAMP = 1705942248
SHA256 (vnstat-2.12.tar.gz) = b7386b12fc1fc6f47fab31f208b12eda61862e63e229e84e95a6fa80406d2852
SIZE (vnstat-2.12.tar.gz) = 325227

0 comments on commit 37605ff

Please sign in to comment.