Index: head/sysutils/pfstat/Makefile =================================================================== --- head/sysutils/pfstat/Makefile (revision 466906) +++ head/sysutils/pfstat/Makefile (revision 466907) @@ -1,43 +1,47 @@ # Created by: Max Laier # $FreeBSD$ PORTNAME= pfstat PORTVERSION= 2.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils net -MASTER_SITES= http://www.benzedrine.cx/ +MASTER_SITES= https://www.benzedrine.ch/ MAINTAINER= araujo@FreeBSD.org COMMENT= Utility to render graphical statistics for pf -LIB_DEPENDS= libgd.so:graphics/gd +LICENSE= BSD2CLAUSE -MAKE_ARGS= "LD_GD=gd" -MAKE_ENV+= __MAKE_CONF=/dev/null -USES= iconv +LIB_DEPENDS= libgd.so:graphics/gd \ + libpng.so:graphics/png +USES= iconv jpeg + USE_RC_SUBR= pfstatd + +MAKE_ARGS= "LD_GD=gd" +MAKE_ENV+= __MAKE_CONF=/dev/null PLIST_FILES= bin/pfstat \ bin/pfstatd \ man/man8/pfstat.8.gz \ man/man8/pfstatd.8.gz .include post-patch: @${REINPLACE_CMD} -e 's|-lgd|-l$${LD_GD}|; s| -lttf||' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ ${WRKSRC}/pfstat.[c8] .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100070 @${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/pf.c .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${STAGEDIR}/${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/pfstatd/pfstatd ${STAGEDIR}/${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${STAGEDIR}/${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.8 ${STAGEDIR}/${PREFIX}/man/man8 .include Index: head/sysutils/pfstat/pkg-descr =================================================================== --- head/sysutils/pfstat/pkg-descr (revision 466906) +++ head/sysutils/pfstat/pkg-descr (revision 466907) @@ -1,5 +1,5 @@ Pfstat is a small utility that collects packet filter (security/pf) statistics and produces graphs like mrtg or alike. Samples can be found at the website below. -WWW: http://www.benzedrine.cx/pfstat.html +WWW: https://www.benzedrine.ch/pfstat.html