Index: head/www/trafficserver/Makefile =================================================================== --- head/www/trafficserver/Makefile (revision 426372) +++ head/www/trafficserver/Makefile (revision 426373) @@ -1,74 +1,75 @@ # Created by: Jui-Nan Lin # $FreeBSD$ PORTNAME= trafficserver PORTVERSION= 6.2.0 CATEGORIES= www MASTER_SITES= APACHE/${PORTNAME} MAINTAINER= gaod@hychen.org COMMENT= Fast, scalable and extensible HTTP proxy server LICENSE= APACHE20 LIB_DEPENDS= libcurl.so:ftp/curl \ libhwloc.so:devel/hwloc \ libpcre.so:devel/pcre \ libxml2.so:textproc/libxml2 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= cpe execinfo gmake libtool pathfix perl5 pkgconfig sqlite ssl tar:bzip2 tcl +USES= cpe execinfo gmake libtool ncurses pathfix perl5 pkgconfig \ + sqlite ssl tar:bzip2 tcl CPE_VENDOR= apache CPE_PRODUCT= traffic_server USE_PERL5= build run USE_LDCONFIG= yes USE_RC_SUBR= ${PORTNAME} ONLY_FOR_ARCHS= amd64 USERS= ${WWWOWN} GROUPS= ${WWWGRP} PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" PORTVERSION="${PORTVERSION}" LIBS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-libxml2=${LOCALBASE} \ --with-pcre=${LOCALBASE} \ --with-openssl=${OPENSSLBASE} \ --with-xml=libxml2 \ --with-tcl=${TCL_LIBDIR} \ --enable-cppapi \ --localstatedir=/var \ --with-user=${USERS} \ --with-group=${GROUPS} OPTIONS_DEFINE= DOCS WCCP SPDY WCCP_DESC= Enable WCCPv2 protocol SPDY_DESC= Enable SPDY WCCP_CONFIGURE_ENABLE= wccp SPDY_CONFIGURE_ENABLE= spdy SPDY_LIB_DEPENDS= libspdylay.so:www/spdylay BROKEN_FreeBSD_9= Trafficserver is only supported on FreeBSD 10.1 or newer .if ! exists(/var/cache) # FreeBSD 8.x PLIST_DIRS+= /var/cache .endif post-patch: @${REINPLACE_CMD} \ -e '/cachedir:/s,$${localstatedir}+,$${localstatedir}/cache+,' \ -e '/runtimedir:/s,$${localstatedir}+,$${localstatedir}/run+,' \ ${WRKSRC}/config.layout @${REINPLACE_CMD} '/^LUA_LDFLAGS =/s/$$/ @LDFLAGS@/' \ ${WRKSRC}/lib/Makefile.in post-install: @${RMDIR} ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${ETCDIR}/snapshots (cd ${STAGEDIR}${ETCDIR} && for f in *.config *.config.xml; do ${MV} $$f $$f.sample; done) .include Index: head/www/varnish5/Makefile =================================================================== --- head/www/varnish5/Makefile (revision 426372) +++ head/www/varnish5/Makefile (revision 426373) @@ -1,48 +1,48 @@ # $FreeBSD$ PORTNAME= varnish PORTVERSION= 5.0.0 PORTREVISION= 0 CATEGORIES= www MASTER_SITES= http://repo.varnish-cache.org/source/ PKGNAMESUFFIX= 5 MAINTAINER= feld@FreeBSD.org COMMENT= High-performance HTTP accelerator LICENSE= BSD2CLAUSE LIB_DEPENDS= libpcre.so:devel/pcre CONFLICTS= varnish-2.* varnish-3.* varnish4-4.* BROKEN_arm= does not configure -USES= autoreconf cpe gmake libedit libtool pathfix pkgconfig python:2,build \ - readline shebangfix +USES= autoreconf cpe gmake libedit libtool ncurses pathfix \ + pkgconfig python:2,build readline shebangfix SHEBANG_FILES= lib/libvcc/vmodtool.py CPE_VENDOR= varnish-cache CFLAGS+= -I${LOCALBASE}/include GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=${PREFIX} --enable-tests CONFIGURE_ENV= RST2MAN=true USE_LDCONFIG= yes INSTALL_TARGET= install-strip USERS= varnish varnishlog GROUPS= varnish USE_RC_SUBR= varnishd varnishlog varnishncsa .if defined(NO_INET6) || defined(WITHOUT_INET6) BAD_TESTS+= r00832 EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch .endif post-patch: .if defined(BAD_TESTS) ${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} .endif regression-test check test: build ${MAKE_CMD} TESTS_PARALLELISM=1 -C ${WRKSRC} check .include