diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile index eaac4e5db61c..08afdbe2f241 100644 --- a/net/vnstat/Makefile +++ b/net/vnstat/Makefile @@ -1,46 +1,49 @@ 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 USERS= vnstat GROUPS= vnstat PORTDOCS= README INSTALL_BSD UPGRADE 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 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/net/vnstat/distinfo b/net/vnstat/distinfo index 7078701c90ad..fa3a54bf3e8d 100644 --- a/net/vnstat/distinfo +++ b/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