freebsd-ports/net-mgmt/bandwidthd/Makefile
Dirk Meyer 3561a46f28 - update libgd to 2.2.2
- new MASTER_SITES
- add security patch
PR:		210913
Submitted by:	Piotr Kubaj
MFH:		2016Q3
Security: CVE-2015-8874
Security: CVE-2016-3074
Security: http://www.openwall.com/lists/oss-security/2016/07/12/4
2016-07-20 09:33:31 +00:00

38 lines
862 B
Makefile

# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
PORTNAME= bandwidthd
PORTVERSION= 2.0.1
PORTREVISION= 11
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tracks bandwidth usage by IP address
LICENSE= GPLv2
LIB_DEPENDS= libgd.so:graphics/gd
SUB_FILES= bandwidthd
USE_CSTD= gnu89
GNU_CONFIGURE= YES
CONFIGURE_ARGS= ac_cv_lib_iconv_libiconv_open=no \
ac_cv_lib_m_pow=no \
ac_cv_lib_png_png_read_info=no \
ac_cv_lib_pq_PQconnectdb=no
USES= gmake tar:tgz
post-patch:
${REINPLACE_CMD} -e '/requires.*libpng/,/exit/d' \
${WRKSRC}/configure
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/bandwidthd \
${STAGEDIR}${PREFIX}/etc/rc.d
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>