diff --git a/www/trafficserver/Makefile b/www/trafficserver/Makefile index 79774a3cba9c..ec8fbc66136f 100644 --- a/www/trafficserver/Makefile +++ b/www/trafficserver/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= trafficserver -PORTVERSION= 6.1.1 +PORTVERSION= 6.2.0 CATEGORIES= www MASTER_SITES= APACHE/${PORTNAME} @@ -18,12 +18,11 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= cpe execinfo gmake libtool perl5 pkgconfig sqlite tar:bzip2 tcl +USES= cpe execinfo gmake libtool perl5 pkgconfig sqlite ssl tar:bzip2 tcl CPE_VENDOR= apache CPE_PRODUCT= traffic_server USE_PERL5= build run USE_LDCONFIG= yes -USE_OPENSSL= yes USE_RC_SUBR= ${PORTNAME} ONLY_FOR_ARCHS= amd64 @@ -44,37 +43,17 @@ CONFIGURE_ARGS= --with-libxml2=${LOCALBASE} \ --with-user=${USERS} \ --with-group=${GROUPS} -OPTIONS_DEFINE= DOCS INTERIM WCCP SPDY -OPTIONS_RADIO= MEMMAN -OPTIONS_RADIO_MEMMAN= ALLOCATORS FREELISTS RECLAIM -OPTIONS_DEFAULT= FREELISTS +OPTIONS_DEFINE= DOCS WCCP SPDY WCCP_DESC= Enable WCCPv2 protocol -INTERIM_DESC= Enable interim cache (SSD) -ALLOCATORS_DESC= Manage memory with allocators -FREELISTS_DESC= Manage memory with freelists -RECLAIM_DESC= Reclaim unused memory in freelists SPDY_DESC= Enable SPDY WCCP_CONFIGURE_ENABLE= wccp -INTERIM_CONFIGURE_ENABLE= interim-cache SPDY_CONFIGURE_ENABLE= spdy SPDY_LIB_DEPENDS= libspdylay.so:www/spdylay BROKEN_FreeBSD_9= Trafficserver is only supported on FreeBSD 10.1 or newer -.include - -.if ${PORT_OPTIONS:MRECLAIM} -CONFIGURE_ARGS+= --enable-reclaimable-freelist --enable-freelist -.elif ${PORT_OPTIONS:MFREELISTS} -CONFIGURE_ARGS+= --enable-freelist -.elif ${PORT_OPTIONS:MALLOCATORS} -CONFIGURE_ARGS+= --disable-freelist -.else -IGNORE= no allocation strategy selected -.endif - .if ! exists(/var/cache) # FreeBSD 8.x PLIST_DIRS+= /var/cache diff --git a/www/trafficserver/distinfo b/www/trafficserver/distinfo index 58699ef4e081..35d9512c2f71 100644 --- a/www/trafficserver/distinfo +++ b/www/trafficserver/distinfo @@ -1,2 +1,3 @@ -SHA256 (trafficserver-6.1.1.tar.bz2) = 67ddd7fc79e4435f353b2aa8937a7b205f217ca15beba3adb5213a92f9527d8b -SIZE (trafficserver-6.1.1.tar.bz2) = 7849045 +TIMESTAMP = 1472401430 +SHA256 (trafficserver-6.2.0.tar.bz2) = bd5e8c178d02957b89a81d1e428ee50bcca0831a6917f32408915c56f486fd85 +SIZE (trafficserver-6.2.0.tar.bz2) = 8437286 diff --git a/www/trafficserver/files/patch-iocore__eventsystem__UnixEventProcessor.cc b/www/trafficserver/files/patch-iocore__eventsystem__UnixEventProcessor.cc deleted file mode 100644 index 7dbdb5fa02e8..000000000000 --- a/www/trafficserver/files/patch-iocore__eventsystem__UnixEventProcessor.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- iocore/eventsystem/UnixEventProcessor.cc.orig 2015-09-08 17:43:45 UTC -+++ iocore/eventsystem/UnixEventProcessor.cc -@@ -24,7 +24,6 @@ - #include "P_EventSystem.h" /* MAGIC_EDITING_TAG */ - #include - #if TS_USE_HWLOC --#include - #include - #endif - #include "ts/ink_defs.h" diff --git a/www/trafficserver/files/patch-lib__perl__Makefile.in b/www/trafficserver/files/patch-lib__perl__Makefile.in new file mode 100644 index 000000000000..b1928fbc9b10 --- /dev/null +++ b/www/trafficserver/files/patch-lib__perl__Makefile.in @@ -0,0 +1,11 @@ +--- lib/perl/Makefile.in.orig 2016-08-29 00:27:40.715518000 +0800 ++++ lib/perl/Makefile.in 2016-08-29 00:28:18.123308000 +0800 +@@ -717,7 +717,7 @@ + # copy them to the build directory if we are building out of tree. + Makefile-pl: Makefile.PL + test -f "$(top_builddir)/$(subdir)/Makefile.PL" || cp -rf "$(srcdir)/." "$(top_builddir)/$(subdir)/" +- $(PERL) Makefile.PL INSTALLDIRS=$(INSTALLDIRS) INSTALL_BASE=$(prefix) PREFIX= ++ $(PERL) Makefile.PL + + distclean-local: + -rm -rf Makefile-pl MYMETA.* blip diff --git a/www/trafficserver/pkg-plist b/www/trafficserver/pkg-plist index 2535da7419d4..b3d0147fa407 100644 --- a/www/trafficserver/pkg-plist +++ b/www/trafficserver/pkg-plist @@ -22,7 +22,6 @@ bin/tsxs @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/README @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/access#denied @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/access#proxy_auth_required -@(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/access#redirect_url @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/access#ssl_forbidden @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/cache#not_in_cache @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/cache#read_error @@ -54,6 +53,7 @@ bin/tsxs @sample %%ETCDIR%%/ip_allow.config.sample @sample %%ETCDIR%%/log_hosts.config.sample @sample %%ETCDIR%%/logs_xml.config.sample +@sample %%ETCDIR%%/metrics.config.sample @sample %%ETCDIR%%/parent.config.sample @sample %%ETCDIR%%/plugin.config.sample @sample %%ETCDIR%%/records.config.sample @@ -116,6 +116,7 @@ libexec/trafficserver/AsyncHttpFetchStreaming.so libexec/trafficserver/AsyncTimer.so libexec/trafficserver/ClientRedirect.so libexec/trafficserver/ClientRequest.so +libexec/trafficserver/CustomErrorRemapPlugin.so libexec/trafficserver/CustomResponse.so libexec/trafficserver/GlobalHookPlugin.so libexec/trafficserver/GzipTransformationPlugin.so