FreeBSD Bugzilla – Attachment 202376 Details for
Bug 236049
[MAINTAINER] www/trafficserver: Update to 8.0.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ATS 8.0.2 patch
trafficserver-8.0.2.diff (text/plain), 14.38 KB, created by
Hung-Yi Chen
on 2019-02-26 10:11:42 UTC
(
hide
)
Description:
ATS 8.0.2 patch
Filename:
MIME Type:
Creator:
Hung-Yi Chen
Created:
2019-02-26 10:11:42 UTC
Size:
14.38 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 493959) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= trafficserver >-PORTVERSION= 6.2.3 >+PORTVERSION= 8.0.2 > CATEGORIES= www > MASTER_SITES= APACHE/${PORTNAME} > >@@ -11,22 +11,26 @@ > > LICENSE= APACHE20 > >+ONLY_FOR_ARCHS= amd64 >+ > LIB_DEPENDS= libcurl.so:ftp/curl \ > libhwloc.so:devel/hwloc \ >+ libluajit-5.1.so:lang/luajit \ > libpcre.so:devel/pcre \ > libxml2.so:textproc/libxml2 > >-GNU_CONFIGURE= yes >-INSTALL_TARGET= install-strip >-USES= cpe gmake libtool ncurses pathfix perl5 pkgconfig \ >+USES= compiler:c++17-lang cpe gmake libtool ncurses pathfix perl5 pkgconfig \ > sqlite ssl tar:bzip2 tcl >+ > CPE_VENDOR= apache > CPE_PRODUCT= traffic_server >+USE_GCC= 7+ > USE_PERL5= build run > USE_LDCONFIG= yes > USE_RC_SUBR= ${PORTNAME} > >-ONLY_FOR_ARCHS= amd64 >+GNU_CONFIGURE= yes >+INSTALL_TARGET= install-strip > > USERS= ${WWWOWN} > GROUPS= ${WWWGRP} >@@ -38,17 +42,50 @@ > --with-openssl=${OPENSSLBASE} \ > --with-xml=libxml2 \ > --with-tcl=${TCL_LIBDIR} \ >- --enable-cppapi \ > --localstatedir=/var \ > --with-user=${USERS} \ >- --with-group=${GROUPS} >+ --with-group=${GROUPS} \ >+ --disable-maintainer-mode \ >+ --disable-dependency-tracking \ >+ --enable-mime-sanity-check \ >+ --enable-experimental-plugins > >-OPTIONS_DEFINE= DOCS WCCP >+OPTIONS_DEFINE= DOCS WCCP MEMCACHED IMAGEMAGICK X11 >+OPTIONS_SUB= yes > > WCCP_DESC= Enable WCCPv2 protocol >- > WCCP_CONFIGURE_ENABLE= wccp > >+MEMCACHED_DESC= Enable memcache & memcached_remap plugin >+ >+IMAGEMAGICK_DESC= Enable ats-magick & webp convert plugin >+ >+.include <bsd.port.pre.mk> >+ >+.if ${PORT_OPTIONS:MMEMCACHED} >+LIB_DEPENDS+= libmemcached.so:databases/libmemcached >+PLIST_SUB+= MEMCACHED="" >+.else >+PLIST_SUB+= MEMCACHED="@comment " >+.endif >+ >+.if ${PORT_OPTIONS:MIMAGEMAGICK} >+.if ${PORT_OPTIONS:MX11} >+RUN_DEPENDS+= ${LOCALBASE}/bin/convert:graphics/ImageMagick6 >+.else >+RUN_DEPENDS+= ${LOCALBASE}/bin/convert:graphics/ImageMagick6-nox11 >+.endif >+PLIST_SUB+= IMAGEMAGICK="" >+.else >+PLIST_SUB+= IMAGEMAGICK="@comment " >+.endif >+ >+.if ${PORT_OPTIONS:MWCCP} >+PLIST_SUB+= WCCP="" >+.else >+PLIST_SUB+= WCCP="@comment " >+.endif >+ > post-patch: > @${REINPLACE_CMD} \ > -e '/cachedir:/s,$${localstatedir}+,$${localstatedir}/cache+,' \ >@@ -60,6 +97,6 @@ > post-install: > @${RMDIR} ${STAGEDIR}${DATADIR} > @${MKDIR} ${STAGEDIR}${ETCDIR}/snapshots >- (cd ${STAGEDIR}${ETCDIR} && for f in *.config *.config.xml; do ${MV} $$f $$f.sample; done) >+ (cd ${STAGEDIR}${ETCDIR} && for f in *.config *.yaml; do ${MV} $$f $$f.sample; done) > > .include <bsd.port.mk> >Index: distinfo >=================================================================== >--- distinfo (revision 493959) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1536003051 >-SHA256 (trafficserver-6.2.3.tar.bz2) = 333875815e62cecda480b0626f72c7d5a730544d92a80aef6dcccdad6216190d >-SIZE (trafficserver-6.2.3.tar.bz2) = 8433443 >+TIMESTAMP = 1551158324 >+SHA256 (trafficserver-8.0.2.tar.bz2) = bad24d1cf03f6bf9567848d4dd4f5284468c92f51c2844263cd1c0ff485ba552 >+SIZE (trafficserver-8.0.2.tar.bz2) = 8917575 >Index: files/patch-lib__luajit__src__Makefile >=================================================================== >--- files/patch-lib__luajit__src__Makefile (revision 493959) >+++ files/patch-lib__luajit__src__Makefile (nonexistent) >@@ -1,11 +0,0 @@ >---- lib/luajit/src/Makefile.orig 2015-09-08 17:43:45 UTC >-+++ lib/luajit/src/Makefile >-@@ -25,7 +25,7 @@ NODOTABIVER= 51 >- # with "make clean", followed by "make" if you change any options. >- # >- # LuaJIT builds as a native 32 or 64 bit binary by default. >--CC= gcc >-+#CC= gcc >- # >- # Use this if you want to force a 32 bit build on a 64 bit multilib OS. >- #CC= gcc -m32 > >Property changes on: files/patch-lib__luajit__src__Makefile >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-lib__perl__Makefile.in >=================================================================== >--- files/patch-lib__perl__Makefile.in (revision 493959) >+++ files/patch-lib__perl__Makefile.in (nonexistent) >@@ -1,11 +0,0 @@ >---- 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 > >Property changes on: files/patch-lib__perl__Makefile.in >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/trafficserver.in >=================================================================== >--- files/trafficserver.in (revision 493959) >+++ files/trafficserver.in (working copy) >@@ -12,10 +12,10 @@ > rcvar=trafficserver_enable > name="trafficserver" > trafficserver_enable=${trafficserver_enable:-"NO"} >-pidfile="/var/run/trafficserver/traffic_cop.lock" >+pidfile="/var/run/trafficserver/traffic_manager.lock" > command=/usr/sbin/daemon >-command_args="-p ${pidfile} %%PREFIX%%/bin/traffic_cop" >-procname="%%PREFIX%%/bin/traffic_cop" >+command_args="-p ${pidfile} %%PREFIX%%/bin/traffic_manager" >+procname="%%PREFIX%%/bin/traffic_manager" > > load_rc_config "$name" > run_rc_command "$1" >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 493959) >+++ pkg-plist (working copy) >@@ -1,17 +1,15 @@ > @postunexec if [ ! -s %D/%%ETCDIR%%/proxy.pac ]; then rm -f %D/%%ETCDIR%%/proxy.pac; fi >-bin/header_rewrite_test >-bin/traffic_cop >+bin/traffic_cache_tool > bin/traffic_crashlog > bin/traffic_ctl > bin/traffic_layout >-bin/traffic_line > bin/traffic_logcat > bin/traffic_logstats > bin/traffic_manager >-bin/traffic_sac > bin/traffic_server > bin/traffic_top > bin/traffic_via >+%%WCCP%%bin/traffic_wccp > bin/trafficserver > bin/tspush > bin/tsxs >@@ -25,7 +23,6 @@ > @(%%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 >-@(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/congestion#retryAfter > @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/connect#dns_failed > @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/connect#failed_connect > @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/connect#hangup >@@ -46,14 +43,9 @@ > @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/transcoding#unsupported > @(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default/urlrouting#no_mapping > @sample %%ETCDIR%%/cache.config.sample >-@sample %%ETCDIR%%/cluster.config.sample >-@sample %%ETCDIR%%/congestion.config.sample > @sample %%ETCDIR%%/hosting.config.sample >-@sample %%ETCDIR%%/icp.config.sample > @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%%/logging.yaml.sample > @sample %%ETCDIR%%/parent.config.sample > @sample %%ETCDIR%%/plugin.config.sample > @sample %%ETCDIR%%/records.config.sample >@@ -61,97 +53,122 @@ > @sample %%ETCDIR%%/socks.config.sample > @sample %%ETCDIR%%/splitdns.config.sample > @sample %%ETCDIR%%/ssl_multicert.config.sample >-@sample %%ETCDIR%%/stats.config.xml.sample >+@sample %%ETCDIR%%/ssl_server_name.yaml.sample > @sample %%ETCDIR%%/storage.config.sample >-@sample %%ETCDIR%%/vaddrs.config.sample > @sample %%ETCDIR%%/volume.config.sample >-include/atscppapi/Async.h >-include/atscppapi/AsyncHttpFetch.h >-include/atscppapi/AsyncTimer.h >-include/atscppapi/CaseInsensitiveStringComparator.h >-include/atscppapi/ClientRequest.h >-include/atscppapi/GlobalPlugin.h >-include/atscppapi/GzipDeflateTransformation.h >-include/atscppapi/GzipInflateTransformation.h >-include/atscppapi/Headers.h >-include/atscppapi/HttpMethod.h >-include/atscppapi/HttpStatus.h >-include/atscppapi/HttpVersion.h >-include/atscppapi/InterceptPlugin.h >-include/atscppapi/Logger.h >-include/atscppapi/Mutex.h >-include/atscppapi/Plugin.h >-include/atscppapi/PluginInit.h >-include/atscppapi/RemapPlugin.h >-include/atscppapi/Request.h >-include/atscppapi/Response.h >-include/atscppapi/Stat.h >-include/atscppapi/Transaction.h >-include/atscppapi/TransactionPlugin.h >-include/atscppapi/TransformationPlugin.h >-include/atscppapi/Url.h >-include/atscppapi/noncopyable.h >-include/atscppapi/shared_ptr.h >-include/atscppapi/utils.h > include/ts/apidefs.h > include/ts/experimental.h > include/ts/mgmtapi.h > include/ts/remap.h > include/ts/ts.h >-lib/libatscppapi.so >-lib/libatscppapi.so.6 >-lib/libatscppapi.so.%%PORTVERSION%% >+include/tscpp/api/Async.h >+include/tscpp/api/AsyncHttpFetch.h >+include/tscpp/api/AsyncTimer.h >+include/tscpp/api/CaseInsensitiveStringComparator.h >+include/tscpp/api/ClientRequest.h >+include/tscpp/api/Continuation.h >+include/tscpp/api/GlobalPlugin.h >+include/tscpp/api/GzipDeflateTransformation.h >+include/tscpp/api/GzipInflateTransformation.h >+include/tscpp/api/Headers.h >+include/tscpp/api/HttpMethod.h >+include/tscpp/api/HttpStatus.h >+include/tscpp/api/HttpVersion.h >+include/tscpp/api/InterceptPlugin.h >+include/tscpp/api/Logger.h >+include/tscpp/api/Plugin.h >+include/tscpp/api/PluginInit.h >+include/tscpp/api/RemapPlugin.h >+include/tscpp/api/Request.h >+include/tscpp/api/Response.h >+include/tscpp/api/Stat.h >+include/tscpp/api/Transaction.h >+include/tscpp/api/TransactionPlugin.h >+include/tscpp/api/TransformationPlugin.h >+include/tscpp/api/Url.h >+include/tscpp/api/noncopyable.h >+include/tscpp/api/utils.h >+include/tscpp/util/TextView.h > lib/libtsconfig.so >-lib/libtsconfig.so.6 >+lib/libtsconfig.so.8 > lib/libtsconfig.so.%%PORTVERSION%% >+lib/libtscore.so >+lib/libtscore.so.8 >+lib/libtscore.so.%%PORTVERSION%% >+lib/libtscppapi.so >+lib/libtscppapi.so.8 >+lib/libtscppapi.so.%%PORTVERSION%% >+lib/libtscpputil.so >+lib/libtscpputil.so.8 >+lib/libtscpputil.so.%%PORTVERSION%% > lib/libtsmgmt.so >-lib/libtsmgmt.so.6 >+lib/libtsmgmt.so.8 > lib/libtsmgmt.so.%%PORTVERSION%% >-lib/libtsutil.so >-lib/libtsutil.so.6 >-lib/libtsutil.so.%%PORTVERSION%% > libdata/pkgconfig/trafficserver.pc >-libexec/trafficserver/AsyncHttpFetch.so >-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 >-libexec/trafficserver/HelloWorldPlugin.so >-libexec/trafficserver/InternalTransactionHandling.so >-libexec/trafficserver/LoggerExample.so >-libexec/trafficserver/MultipleTransactionHookPlugins.so >-libexec/trafficserver/NullTransformationPlugin.so >-libexec/trafficserver/PostBuffer.so >-libexec/trafficserver/RemapPlugin.so >-libexec/trafficserver/ServerResponse.so >-libexec/trafficserver/StatExample.so >-libexec/trafficserver/TimeoutExamplePlugin.so >-libexec/trafficserver/TransactionHookPlugin.so >-libexec/trafficserver/boom.so >-libexec/trafficserver/cacheurl.so >+%%IMAGEMAGICK%%libexec/trafficserver/WebpTransform.so >+libexec/trafficserver/access_control.so >+libexec/trafficserver/acme.so >+libexec/trafficserver/authproxy.so >+libexec/trafficserver/background_fetch.so >+libexec/trafficserver/balancer.so >+libexec/trafficserver/buffer_upload.so >+libexec/trafficserver/cache_promote.so >+libexec/trafficserver/cache_range_requests.so >+libexec/trafficserver/cachekey.so >+libexec/trafficserver/certifier.so >+libexec/trafficserver/collapsed_forwarding.so >+libexec/trafficserver/combo_handler.so >+libexec/trafficserver/compress.so > libexec/trafficserver/conf_remap.so >-libexec/trafficserver/gzip.so >+libexec/trafficserver/custom_redirect.so >+libexec/trafficserver/escalate.so >+libexec/trafficserver/esi.so >+libexec/trafficserver/fq_pacing.so >+libexec/trafficserver/generator.so >+libexec/trafficserver/geoip_acl.so >+libexec/trafficserver/header_freq.so >+libexec/trafficserver/header_normalize.so > libexec/trafficserver/header_rewrite.so >-libexec/trafficserver/intercept.so >+libexec/trafficserver/hipes.so >+libexec/trafficserver/hook-trace.so >+libexec/trafficserver/inliner.so > libexec/trafficserver/libloader.so >+%%IMAGEMAGICK%%libexec/trafficserver/magick.so >+%%MEMCACHED%%libexec/trafficserver/memcached_remap.so >+libexec/trafficserver/metalink.so >+libexec/trafficserver/money_trace.so >+libexec/trafficserver/mp4.so >+libexec/trafficserver/multiplexer.so >+libexec/trafficserver/prefetch.so > libexec/trafficserver/regex_remap.so >+libexec/trafficserver/regex_revalidate.so >+libexec/trafficserver/remap_purge.so >+libexec/trafficserver/remap_stats.so >+libexec/trafficserver/s3_auth.so >+libexec/trafficserver/server_push_preload.so >+libexec/trafficserver/ssl_cert_loader.so >+libexec/trafficserver/sslheaders.so >+libexec/trafficserver/stale_while_revalidate.so > libexec/trafficserver/stats_over_http.so >+libexec/trafficserver/stream_editor.so >+libexec/trafficserver/system_stats.so > libexec/trafficserver/tcpinfo.so >-%%SITE_PERL%%/Apache/TS.pm >-%%SITE_PERL%%/Apache/TS.pm.in >-%%SITE_PERL%%/Apache/TS/AdminClient.pm >-%%SITE_PERL%%/Apache/TS/Config.pm >-%%SITE_PERL%%/Apache/TS/Config/Records.pm >-%%PERL5_MAN3%%/Apache::TS.3.gz >-%%PERL5_MAN3%%/Apache::TS::AdminClient.3.gz >-%%PERL5_MAN3%%/Apache::TS::Config::Records.3.gz >+libexec/trafficserver/test_cppapi.so >+libexec/trafficserver/tls_bridge.so >+libexec/trafficserver/traffic_dump.so >+libexec/trafficserver/tslua.so >+libexec/trafficserver/tsmemcache.so >+libexec/trafficserver/url_sig.so >+libexec/trafficserver/xdebug.so >+lib/perl5/Apache/TS.pm >+lib/perl5/Apache/TS/AdminClient.pm >+lib/perl5/Apache/TS/Config.pm >+lib/perl5/Apache/TS/Config/Records.pm >+man/man3/Apache::TS.3.gz >+man/man3/Apache::TS::AdminClient.3.gz >+man/man3/Apache::TS::Config::Records.3.gz > @dir(,,) libexec/trafficserver > @dir(,,) include/ts >-@dir(,,) include/atscppapi > @dir(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory/default > @dir(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/body_factory > @dir(%%WWWOWN%%,%%WWWGRP%%,) %%ETCDIR%%/snapshots
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236049
: 202376