mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
Update to 1.12
This commit is contained in:
parent
d31be09f4f
commit
b074553626
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373707
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= vnstat
|
||||
PORTVERSION= 1.11
|
||||
PORTREVISION= 6
|
||||
PORTVERSION= 1.12
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://humdi.net/vnstat/ \
|
||||
http://mirror.mcx2.org/
|
||||
@ -11,16 +10,19 @@ MASTER_SITES= http://humdi.net/vnstat/ \
|
||||
MAINTAINER= feld@FreeBSD.org
|
||||
COMMENT= Console-based network traffic monitor
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
MAKE_ARGS= CC="${CC}" CFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
INSTALL_TARGET= bsdinstall
|
||||
|
||||
USE_RC_SUBR= vnstat
|
||||
|
||||
USES= gmake
|
||||
USERS= vnstat
|
||||
GROUPS= vnstat
|
||||
|
||||
PORTDOCS= README INSTALL_BSD UPGRADE vnstat-cron
|
||||
PORTDOCS= README INSTALL_BSD UPGRADE
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= USERS=${USERS} \
|
||||
GROUPS=${GROUPS}
|
||||
@ -40,11 +42,6 @@ ALL_TARGET="vnstat"
|
||||
PLIST_SUB+= GUI="@comment "
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@cd ${WRKSRC} && ${CP} examples/vnstat.cron vnstat-cron
|
||||
@${REINPLACE_CMD} -e 's|/usr/bin|/usr/local/bin|g' \
|
||||
-e 's|ls /var/lib|ls -l /var/db|g' ${WRKSRC}/vnstat-cron
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
|
||||
${WRKSRC}/src/cfg.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (vnstat-1.11.tar.gz) = b71876d817bbb6a16d31b4236e22a2eb6c39666a7f7bfea581f5ff441cade026
|
||||
SIZE (vnstat-1.11.tar.gz) = 79075
|
||||
SHA256 (vnstat-1.12.tar.gz) = af1050d9c1b22d4b9742fe0d1818de9eb1037b8e7f9ba67b962e108d8527be69
|
||||
SIZE (vnstat-1.12.tar.gz) = 98435
|
||||
|
@ -1,9 +1,7 @@
|
||||
###########################################################################
|
||||
vnstat has been installed.
|
||||
|
||||
This port neeeds a cron entry. Please copy the contents of:
|
||||
%%DOCSDIR%%/vnstat-cron to your crontab. A Sample
|
||||
configuration file has be installed in %%PREFIX%%/etc/
|
||||
A Sample configuration file has be installed in %%PREFIX%%/etc/
|
||||
|
||||
For more information about vnStat use "man vnstat" or visit:
|
||||
http://humdi.net/vnstat/
|
||||
|
@ -17,9 +17,9 @@ rcvar=vnstat_enable
|
||||
load_rc_config $name
|
||||
|
||||
: ${vnstat_enable:=NO}
|
||||
: ${vnstat_pidfile:=/var/run/vnstat/vnstat.pid}
|
||||
: ${vnstat_config:=%%PREFIX%%/etc/vnstat.conf}
|
||||
: ${vnstat_flags:="-d --noadd"}
|
||||
: ${vnstat_pidfile=/var/run/vnstat/vnstat.pid}
|
||||
: ${vnstat_config=%%PREFIX%%/etc/vnstat.conf}
|
||||
: ${vnstat_flags="-d --noadd"}
|
||||
: ${vnstat_user:=%%USERS%%}
|
||||
: ${vnstat_group:=%%GROUPS%%}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user