pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/trafficserver



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Thu Aug 17 14:57:09 UTC 2017

Added Files:
        pkgsrc/www/trafficserver: DESCR Makefile PLIST distinfo options.mk
        pkgsrc/www/trafficserver/patches:
            patch-cmd_traffic__wccp_wccp__client.cc patch-configure
            patch-lib_ts_MemView.h patch-lib_wccp_wccp-test-router.cc
            patch-proxy_Makefile.in patch-proxy_config_Makefile.in
            patch-rc_traffixserver.ml.in

Log Message:
Add Apache Traffic Server 7.1.0 as www/trafficserver.

Apache Traffic Server is a high-performance web proxy
cache that improves network efficiency and performance
by caching frequently-accessed information at the edge
of the network.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/trafficserver/DESCR \
    pkgsrc/www/trafficserver/Makefile pkgsrc/www/trafficserver/PLIST \
    pkgsrc/www/trafficserver/distinfo pkgsrc/www/trafficserver/options.mk
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/trafficserver/patches/patch-cmd_traffic__wccp_wccp__client.cc \
    pkgsrc/www/trafficserver/patches/patch-configure \
    pkgsrc/www/trafficserver/patches/patch-lib_ts_MemView.h \
    pkgsrc/www/trafficserver/patches/patch-lib_wccp_wccp-test-router.cc \
    pkgsrc/www/trafficserver/patches/patch-proxy_Makefile.in \
    pkgsrc/www/trafficserver/patches/patch-proxy_config_Makefile.in \
    pkgsrc/www/trafficserver/patches/patch-rc_traffixserver.ml.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/trafficserver/DESCR
diff -u /dev/null pkgsrc/www/trafficserver/DESCR:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/DESCR      Thu Aug 17 14:57:09 2017
@@ -0,0 +1,4 @@
+Apache Traffic Server is a high-performance web proxy
+cache that improves network efficiency and performance
+by caching frequently-accessed information at the edge
+of the network.
Index: pkgsrc/www/trafficserver/Makefile
diff -u /dev/null pkgsrc/www/trafficserver/Makefile:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/Makefile   Thu Aug 17 14:57:09 2017
@@ -0,0 +1,118 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+DISTNAME=      trafficserver-7.1.0
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_APACHE:=trafficserver/}
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    filip%joyent.com@localhost
+HOMEPAGE=      http://trafficserver.apache.org/
+COMMENT=       Fast, scalable and extensible caching proxy server
+LICENSE=       apache-2.0
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL=   yes
+USE_TOOLS+=    bash:run gmake perl:run pkg-config
+
+GNU_CONFIGURE= yes
+
+# For man pages
+PYTHON_FOR_BUILD_ONLY=         yes
+PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36
+BUILD_DEPENDS+=                        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+
+.include "../../mk/bsd.prefs.mk"
+
+.include "options.mk"
+
+BODY_FILES+=   access__denied access__proxy_auth_required                      \
+               access__ssl_forbidden cache__not_in_cache cache__read_error     \
+               congestion__retryAfter connect__dns_failed                      \
+               connect__failed_connect connect__hangup default                 \
+               interception__no_host redirect__moved_permanently               \
+               redirect__moved_temporarily request__cycle_detected             \
+               request__invalid_content_length request__no_content_length      \
+               request__no_host request__scheme_unsupported                    \
+               request__syntax_error response__bad_response                    \
+               response__bad_version timeout__activity timeout__inactivity     \
+               transcoding__unsupported urlrouting__no_mapping
+
+CONFIG_FILES+= cache cluster congestion hosting ip_allow log_hosts logging     \
+               metrics parent plugin records remap socks splitdns              \
+               ssl_multicert storage vaddrs volume
+
+EGDIR=                 share/examples/${PKGBASE}
+
+PKG_SYSCONFSUBDIR=     ${PKGBASE}
+PKG_SYSCONFDIR_PERMS+= ${TS_USER} ${TS_GROUP} 0755
+MAKE_DIRS_PERMS+=      ${PKG_SYSCONFDIR}/body_factory/default                  \
+                       ${TS_USER} ${TS_GROUP} 0755
+MAKE_DIRS_PERMS+=      ${PKG_SYSCONFDIR}/snapshots                             \
+                       ${TS_USER} ${TS_GROUP} 0755
+OWN_DIRS_PERMS+=       ${TS_DIR} ${TS_USER} ${TS_GROUP} 0755
+OWN_DIRS_PERMS+=       ${TS_LOGDIR} ${TS_USER} ${TS_GROUP} 0755
+
+.for file in ${BODY_FILES}
+CONF_FILES_PERMS+=     ${EGDIR}/body_factory/default/${file:S/__/\#/}          \
+                       ${PKG_SYSCONFDIR}/body_factory/default/${file:S/__/\#/} \
+                       ${TS_USER} ${TS_GROUP} 0644
+.endfor
+.for file in ${CONFIG_FILES}
+CONF_FILES_PERMS+=     ${EGDIR}/${file}.config.default                         \
+                       ${PKG_SYSCONFDIR}/${file}.config                        \
+                       ${TS_USER} ${TS_GROUP} 0644
+.endfor
+
+TS_USER?=              trafserv
+TS_GROUP?=             trafserv
+TS_DIR=                        ${VARBASE}/trafficserver
+TS_LOGDIR=             ${VARBASE}/log/trafficserver
+
+PKG_GROUPS=            ${TS_GROUP}
+PKG_USERS=             ${TS_USER}:${TS_GROUP}
+PKG_GROUPS_VARS=       TS_GROUP
+PKG_USERS_VARS=                TS_USER
+PKG_GECOS.${TS_USER}=  TrafficServer user
+PKG_HOME.${TS_USER}=   ${TS_DIR}
+PKG_SHELL.${TS_USER}=  ${NOLOGIN}
+
+PERL5_CONFIGURE=       no
+PERL5_PACKLIST=                auto/Apache/TS/.packlist
+
+CONFIGURE_ARGS+=       --enable-cppapi
+CONFIGURE_ARGS+=       --enable-luajit
+CONFIGURE_ARGS+=       --disable-silent-rules
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
+CONFIGURE_ARGS+=       --with-expat=${BUILDLINK_PREFIX.expat}
+CONFIGURE_ARGS+=       --with-group=${TS_GROUP}
+CONFIGURE_ARGS+=       --with-user=${TS_USER}
+CONFIGURE_ARGS+=       --with-xml=expat
+
+CONFIGURE_ENV.SunOS+=  ac_cv_func_epoll_ctl=no
+CONFIGURE_ENV+=                SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
+
+REPLACE_BASH+=         tools/tsxs.in
+REPLACE_PERL+=         tools/tspush
+
+INSTALL_MAKE_FLAGS+=   pkgsysconfdir=${PREFIX}/${EGDIR}
+INSTALL_MAKE_FLAGS+=   ${MAKE_PARAMS}
+
+PKGCONFIG_OVERRIDE+=   tools/trafficserver.pc.in
+
+SMF_SRCDIR=            ${WRKSRC}/rc
+SMF_MANIFEST=          trafficserver.xml
+
+TEST_TARGET=           check
+
+.include "../../devel/libexecinfo/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../net/GeoIP/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/trafficserver/PLIST
diff -u /dev/null pkgsrc/www/trafficserver/PLIST:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/PLIST      Thu Aug 17 14:57:09 2017
@@ -0,0 +1,348 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+bin/traffic_cop
+bin/traffic_crashlog
+bin/traffic_ctl
+bin/traffic_layout
+bin/traffic_logcat
+bin/traffic_logstats
+bin/traffic_manager
+bin/traffic_server
+bin/traffic_top
+bin/traffic_via
+${PLIST.wccp}bin/traffic_wccp
+bin/trafficserver
+bin/tspush
+bin/tsxs
+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/utils.h
+include/ts/apidefs.h
+include/ts/experimental.h
+include/ts/mgmtapi.h
+include/ts/remap.h
+include/ts/ts.h
+lib/libatscppapi.la
+lib/libtsconfig.la
+lib/libtsmgmt.la
+lib/libtsutil.la
+${PERL5_SUB_INSTALLVENDORLIB}/Apache/TS.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Apache/TS.pm.in
+${PERL5_SUB_INSTALLVENDORLIB}/Apache/TS/AdminClient.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Apache/TS/Config.pm
+${PERL5_SUB_INSTALLVENDORLIB}/Apache/TS/Config/Records.pm
+${PERL5_SUB_INSTALLVENDORARCH}/auto/Apache/TS/.packlist
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Apache::TS.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Apache::TS::AdminClient.3
+${PERL5_SUB_INSTALLVENDORMAN3DIR}/Apache::TS::Config::Records.3
+lib/pkgconfig/trafficserver.pc
+libexec/trafficserver/authproxy.la
+libexec/trafficserver/background_fetch.la
+libexec/trafficserver/combo_handler.la
+libexec/trafficserver/conf_remap.la
+libexec/trafficserver/esi.la
+libexec/trafficserver/generator.la
+libexec/trafficserver/gzip.la
+libexec/trafficserver/header_rewrite.la
+libexec/trafficserver/healthchecks.la
+libexec/trafficserver/libloader.la
+libexec/trafficserver/regex_remap.la
+libexec/trafficserver/regex_revalidate.la
+libexec/trafficserver/s3_auth.la
+libexec/trafficserver/stats_over_http.la
+libexec/trafficserver/tcpinfo.la
+libexec/trafficserver/xdebug.la
+man/man1/traffic_top.1
+man/man1/traffic_via.1
+man/man1/tspush.1
+man/man1/tsxs.1
+man/man3/TSAPI.3ts
+man/man3/TSAcceptor.3ts
+man/man3/TSActionCancel.3ts
+man/man3/TSActionDone.3ts
+man/man3/TSCacheRead.3ts
+man/man3/TSCacheRemove.3ts
+man/man3/TSCacheWrite.3ts
+man/man3/TSClientProtocolStack.3ts
+man/man3/TSConfigDataGet.3ts
+man/man3/TSConfigGet.3ts
+man/man3/TSConfigRelease.3ts
+man/man3/TSConfigSet.3ts
+man/man3/TSContCall.3ts
+man/man3/TSContCreate.3ts
+man/man3/TSContDataGet.3ts
+man/man3/TSContDataSet.3ts
+man/man3/TSContDestroy.3ts
+man/man3/TSContMutexGet.3ts
+man/man3/TSContSchedule.3ts
+man/man3/TSDebug.3ts
+man/man3/TSHostLookup.3ts
+man/man3/TSHostLookupResultAddrGet.3ts
+man/man3/TSHttpConnect.3ts
+man/man3/TSHttpConnectWithPluginId.3ts
+man/man3/TSHttpHdrClone.3ts
+man/man3/TSHttpHdrCopy.3ts
+man/man3/TSHttpHdrCreate.3ts
+man/man3/TSHttpHdrDestroy.3ts
+man/man3/TSHttpHdrHostGet.3ts
+man/man3/TSHttpHdrLengthGet.3ts
+man/man3/TSHttpHdrMethodGet.3ts
+man/man3/TSHttpHdrMethodSet.3ts
+man/man3/TSHttpHdrPrint.3ts
+man/man3/TSHttpHdrReasonGet.3ts
+man/man3/TSHttpHdrReasonLookup.3ts
+man/man3/TSHttpHdrReasonSet.3ts
+man/man3/TSHttpHdrStatusGet.3ts
+man/man3/TSHttpHdrStatusSet.3ts
+man/man3/TSHttpHdrTypeGet.3ts
+man/man3/TSHttpHdrTypeSet.3ts
+man/man3/TSHttpHdrUrlGet.3ts
+man/man3/TSHttpHdrUrlSet.3ts
+man/man3/TSHttpHdrVersionGet.3ts
+man/man3/TSHttpHdrVersionSet.3ts
+man/man3/TSHttpHookAdd.3ts
+man/man3/TSHttpOverridableConfig.3ts
+man/man3/TSHttpParserCreate.3ts
+man/man3/TSHttpSsnClientFdGet.3ts
+man/man3/TSHttpSsnReenable.3ts
+man/man3/TSHttpTxnCacheLookupStatusGet.3ts
+man/man3/TSHttpTxnCacheLookupUrlGet.3ts
+man/man3/TSHttpTxnCachedReqGet.3ts
+man/man3/TSHttpTxnCachedRespGet.3ts
+man/man3/TSHttpTxnClientFdGet.3ts
+man/man3/TSHttpTxnClientPacketDscpSet.3ts
+man/man3/TSHttpTxnClientPacketMarkSet.3ts
+man/man3/TSHttpTxnClientPacketTosSet.3ts
+man/man3/TSHttpTxnClientReqGet.3ts
+man/man3/TSHttpTxnClientRespGet.3ts
+man/man3/TSHttpTxnErrorBodySet.3ts
+man/man3/TSHttpTxnIncomingAddrGet.3ts
+man/man3/TSHttpTxnInfoIntGet.3ts
+man/man3/TSHttpTxnIntercept.3ts
+man/man3/TSHttpTxnIsInternal.3ts
+man/man3/TSHttpTxnIsWebsocket.3ts
+man/man3/TSHttpTxnMilestoneGet.3ts
+man/man3/TSHttpTxnNextHopAddrGet.3ts
+man/man3/TSHttpTxnOutgoingAddrGet.3ts
+man/man3/TSHttpTxnParentProxySet.3ts
+man/man3/TSHttpTxnParentSelectionUrlGet.3ts
+man/man3/TSHttpTxnPluginTagGet.3ts
+man/man3/TSHttpTxnReenable.3ts
+man/man3/TSHttpTxnServerAddrGet.3ts
+man/man3/TSHttpTxnServerAddrSet.3ts
+man/man3/TSHttpTxnServerFdGet.3ts
+man/man3/TSHttpTxnServerIntercept.3ts
+man/man3/TSHttpTxnServerPacketDscpSet.3ts
+man/man3/TSHttpTxnServerPacketMarkSet.3ts
+man/man3/TSHttpTxnServerPacketTosSet.3ts
+man/man3/TSHttpTxnServerPush.3ts
+man/man3/TSHttpTxnServerReqGet.3ts
+man/man3/TSHttpTxnServerRespGet.3ts
+man/man3/TSHttpTxnSsnGet.3ts
+man/man3/TSHttpTxnTransformRespGet.3ts
+man/man3/TSHttpTxnTransformedRespCache.3ts
+man/man3/TSHttpTxnUntransformedRespCache.3ts
+man/man3/TSIOBufferBlockReadStart.3ts
+man/man3/TSIOBufferCopy.3ts
+man/man3/TSIOBufferCreate.3ts
+man/man3/TSIOBufferReader.3ts
+man/man3/TSInstallDirGet.3ts
+man/man3/TSLifecycleHookAdd.3ts
+man/man3/TSMBufferCreate.3ts
+man/man3/TSMgmtCounterGet.3ts
+man/man3/TSMgmtFloatGet.3ts
+man/man3/TSMgmtIntGet.3ts
+man/man3/TSMgmtSourceGet.3ts
+man/man3/TSMgmtStringGet.3ts
+man/man3/TSMgmtUpdateRegister.3ts
+man/man3/TSMimeHdrClone.3ts
+man/man3/TSMimeHdrCopy.3ts
+man/man3/TSMimeHdrCreate.3ts
+man/man3/TSMimeHdrDestroy.3ts
+man/man3/TSMimeHdrFieldAppend.3ts
+man/man3/TSMimeHdrFieldClone.3ts
+man/man3/TSMimeHdrFieldCopy.3ts
+man/man3/TSMimeHdrFieldCopyValues.3ts
+man/man3/TSMimeHdrFieldCreate.3ts
+man/man3/TSMimeHdrFieldDestroy.3ts
+man/man3/TSMimeHdrFieldFind.3ts
+man/man3/TSMimeHdrFieldGet.3ts
+man/man3/TSMimeHdrFieldLengthGet.3ts
+man/man3/TSMimeHdrFieldNameGet.3ts
+man/man3/TSMimeHdrFieldNameSet.3ts
+man/man3/TSMimeHdrFieldNext.3ts
+man/man3/TSMimeHdrFieldNextDup.3ts
+man/man3/TSMimeHdrFieldRemove.3ts
+man/man3/TSMimeHdrFieldValueAppend.3ts
+man/man3/TSMimeHdrFieldValueDateInsert.3ts
+man/man3/TSMimeHdrFieldValueDateSet.3ts
+man/man3/TSMimeHdrFieldValueIntSet.3ts
+man/man3/TSMimeHdrFieldValueStringGet.3ts
+man/man3/TSMimeHdrFieldValueStringInsert.3ts
+man/man3/TSMimeHdrFieldValueStringSet.3ts
+man/man3/TSMimeHdrFieldValueUintInsert.3ts
+man/man3/TSMimeHdrFieldValueUintSet.3ts
+man/man3/TSMimeHdrFieldValuesClear.3ts
+man/man3/TSMimeHdrFieldValuesCount.3ts
+man/man3/TSMimeHdrFieldsClear.3ts
+man/man3/TSMimeHdrFieldsCount.3ts
+man/man3/TSMimeHdrLengthGet.3ts
+man/man3/TSMimeHdrParse.3ts
+man/man3/TSMimeHdrPrint.3ts
+man/man3/TSMimeParserClear.3ts
+man/man3/TSMimeParserCreate.3ts
+man/man3/TSMimeParserDestroy.3ts
+man/man3/TSMutexCreate.3ts
+man/man3/TSMutexDestroy.3ts
+man/man3/TSMutexLock.3ts
+man/man3/TSMutexLockTry.3ts
+man/man3/TSMutexUnlock.3ts
+man/man3/TSNetAccept.3ts
+man/man3/TSNetAcceptNamedProtocol.3ts
+man/man3/TSNetConnect.3ts
+man/man3/TSPluginInit.3ts
+man/man3/TSProtoSet.3ts
+man/man3/TSRecords.3ts
+man/man3/TSRemap.3ts
+man/man3/TSSslContextFindBy.3ts
+man/man3/TSSslServerContextCreate.3ts
+man/man3/TSTextLogObjectCreate.3ts
+man/man3/TSThreadCreate.3ts
+man/man3/TSThreadDestroy.3ts
+man/man3/TSThreadInit.3ts
+man/man3/TSThreadSelf.3ts
+man/man3/TSTrafficServerVersionGet.3ts
+man/man3/TSTransformCreate.3ts
+man/man3/TSTransformOutputVConnGet.3ts
+man/man3/TSTypes.3ts
+man/man3/TSUrlCreate.3ts
+man/man3/TSUrlDestroy.3ts
+man/man3/TSUrlFtpTypeGet.3ts
+man/man3/TSUrlFtpTypeSet.3ts
+man/man3/TSUrlHostGet.3ts
+man/man3/TSUrlHostSet.3ts
+man/man3/TSUrlPercentEncode.3ts
+man/man3/TSUrlStringGet.3ts
+man/man3/TSUuidCreate.3ts
+man/man3/TSVConnAbort.3ts
+man/man3/TSVConnCacheObjectSizeGet.3ts
+man/man3/TSVConnClose.3ts
+man/man3/TSVConnClosedGet.3ts
+man/man3/TSVConnFdCreate.3ts
+man/man3/TSVConnIsSsl.3ts
+man/man3/TSVConnRead.3ts
+man/man3/TSVConnReadVIOGet.3ts
+man/man3/TSVConnReenable.3ts
+man/man3/TSVConnShutdown.3ts
+man/man3/TSVConnSslConnectionGet.3ts
+man/man3/TSVConnTunnel.3ts
+man/man3/TSVConnWrite.3ts
+man/man3/TSVConnWriteVIOGet.3ts
+man/man3/TSVIOBufferGet.3ts
+man/man3/TSVIOContGet.3ts
+man/man3/TSVIOMutexGet.3ts
+man/man3/TSVIONBytesGet.3ts
+man/man3/TSVIONBytesSet.3ts
+man/man3/TSVIONDoneGet.3ts
+man/man3/TSVIONDoneSet.3ts
+man/man3/TSVIONTodoGet.3ts
+man/man3/TSVIOReaderGet.3ts
+man/man3/TSVIOReenable.3ts
+man/man3/TSVIOVConnGet.3ts
+man/man3/TSfclose.3ts
+man/man3/TSfflush.3ts
+man/man3/TSfgets.3ts
+man/man3/TSfopen.3ts
+man/man3/TSfread.3ts
+man/man3/TSfwrite.3ts
+man/man3/TSmalloc.3ts
+man/man5/cache.config.5
+man/man5/congestion.config.5
+man/man5/hosting.config.5
+man/man5/ip_allow.config.5
+man/man5/log_hosts.config.5
+man/man5/logging.config.5
+man/man5/metrics.config.5
+man/man5/parent.config.5
+man/man5/plugin.config.5
+man/man5/records.config.5
+man/man5/remap.config.5
+man/man5/splitdns.config.5
+man/man5/ssl_multicert.config.5
+man/man5/storage.config.5
+man/man5/volume.config.5
+man/man8/traffic_cop.8
+man/man8/traffic_crashlog.8
+man/man8/traffic_ctl.8
+man/man8/traffic_logcat.8
+man/man8/traffic_logstats.8
+man/man8/traffic_manager.8
+man/man8/traffic_server.8
+share/examples/trafficserver/body_factory/default/.body_factory_info
+share/examples/trafficserver/body_factory/default/README
+share/examples/trafficserver/body_factory/default/access#denied
+share/examples/trafficserver/body_factory/default/access#proxy_auth_required
+share/examples/trafficserver/body_factory/default/access#ssl_forbidden
+share/examples/trafficserver/body_factory/default/cache#not_in_cache
+share/examples/trafficserver/body_factory/default/cache#read_error
+share/examples/trafficserver/body_factory/default/congestion#retryAfter
+share/examples/trafficserver/body_factory/default/connect#dns_failed
+share/examples/trafficserver/body_factory/default/connect#failed_connect
+share/examples/trafficserver/body_factory/default/connect#hangup
+share/examples/trafficserver/body_factory/default/default
+share/examples/trafficserver/body_factory/default/interception#no_host
+share/examples/trafficserver/body_factory/default/redirect#moved_permanently
+share/examples/trafficserver/body_factory/default/redirect#moved_temporarily
+share/examples/trafficserver/body_factory/default/request#cycle_detected
+share/examples/trafficserver/body_factory/default/request#invalid_content_length
+share/examples/trafficserver/body_factory/default/request#no_content_length
+share/examples/trafficserver/body_factory/default/request#no_host
+share/examples/trafficserver/body_factory/default/request#scheme_unsupported
+share/examples/trafficserver/body_factory/default/request#syntax_error
+share/examples/trafficserver/body_factory/default/response#bad_response
+share/examples/trafficserver/body_factory/default/response#bad_version
+share/examples/trafficserver/body_factory/default/timeout#activity
+share/examples/trafficserver/body_factory/default/timeout#inactivity
+share/examples/trafficserver/body_factory/default/transcoding#unsupported
+share/examples/trafficserver/body_factory/default/urlrouting#no_mapping
+share/examples/trafficserver/cache.config.default
+share/examples/trafficserver/cluster.config.default
+share/examples/trafficserver/congestion.config.default
+share/examples/trafficserver/hosting.config.default
+share/examples/trafficserver/ip_allow.config.default
+share/examples/trafficserver/log_hosts.config.default
+share/examples/trafficserver/logging.config.default
+share/examples/trafficserver/metrics.config.default
+share/examples/trafficserver/parent.config.default
+share/examples/trafficserver/plugin.config.default
+share/examples/trafficserver/records.config.default
+share/examples/trafficserver/remap.config.default
+share/examples/trafficserver/socks.config.default
+share/examples/trafficserver/splitdns.config.default
+share/examples/trafficserver/ssl_multicert.config.default
+share/examples/trafficserver/storage.config.default
+share/examples/trafficserver/vaddrs.config.default
+share/examples/trafficserver/volume.config.default
Index: pkgsrc/www/trafficserver/distinfo
diff -u /dev/null pkgsrc/www/trafficserver/distinfo:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/distinfo   Thu Aug 17 14:57:09 2017
@@ -0,0 +1,13 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+SHA1 (trafficserver-7.1.0.tar.bz2) = a4ea9bff7be4d99e4beb9208603dd2e6599d7304
+RMD160 (trafficserver-7.1.0.tar.bz2) = 3290afc10b523644a682afcc5b44adbcbfac635a
+SHA512 (trafficserver-7.1.0.tar.bz2) = 67855bfe44cfeb409936e038402da489e26108fa3a228d89c867d7a77ce094fe1915ef72f3313b538035d98177474979bf1baa4d43fe0107509e46d33d1c25c2
+Size (trafficserver-7.1.0.tar.bz2) = 8930452 bytes
+SHA1 (patch-cmd_traffic__wccp_wccp__client.cc) = 8acd84155a37bbc9aa83deb731b7ceb1a38db065
+SHA1 (patch-configure) = 2cfd8dd50ad3883c1fbac7147807de29417949bf
+SHA1 (patch-lib_ts_MemView.h) = 5d067b56a19bb5295a3877b7b05b543e1e599124
+SHA1 (patch-lib_wccp_wccp-test-router.cc) = 950014ed07186b4979eaf48f9f5d54441debe80b
+SHA1 (patch-proxy_Makefile.in) = 00bc5c483107798054d46eb136e236a3e588963f
+SHA1 (patch-proxy_config_Makefile.in) = fc1fe7ae06db9147271bb4a2a422619f234f8f6d
+SHA1 (patch-rc_traffixserver.ml.in) = 1f0185ba67379aed11fd99e5696228a50063008d
Index: pkgsrc/www/trafficserver/options.mk
diff -u /dev/null pkgsrc/www/trafficserver/options.mk:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/options.mk Thu Aug 17 14:57:09 2017
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.trafficserver
+PKG_SUPPORTED_OPTIONS=         wccp
+PKG_SUGGESTED_OPTIONS=         #
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=           wccp
+
+.if !empty(PKG_OPTIONS:Mwccp)
+CONFIGURE_ARGS+=       --enable-wccp
+PLIST.wccp=            yes
+.endif

Index: pkgsrc/www/trafficserver/patches/patch-cmd_traffic__wccp_wccp__client.cc
diff -u /dev/null pkgsrc/www/trafficserver/patches/patch-cmd_traffic__wccp_wccp__client.cc:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/patches/patch-cmd_traffic__wccp_wccp__client.cc    Thu Aug 17 14:57:09 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-cmd_traffic__wccp_wccp__client.cc,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+Use getopt_long for better portability, same as the rest of the code.
+
+--- cmd/traffic_wccp/wccp_client.cc.orig       2017-07-18 06:25:04.000000000 +0000
++++ cmd/traffic_wccp/wccp_client.cc
+@@ -141,7 +141,7 @@ main(int argc, char **argv)
+   bool fail            = false;
+   const char *FAIL_MSG = "";
+ 
+-  while (-1 != (zret = getopt_long_only(argc, argv, "", OPTIONS, &zidx))) {
++  while (-1 != (zret = getopt_long(argc, argv, "", OPTIONS, &zidx))) {
+     switch (zret) {
+     case OPT_HELP:
+       FAIL_MSG = "Usage:";
Index: pkgsrc/www/trafficserver/patches/patch-configure
diff -u /dev/null pkgsrc/www/trafficserver/patches/patch-configure:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/patches/patch-configure    Thu Aug 17 14:57:09 2017
@@ -0,0 +1,59 @@
+$NetBSD: patch-configure,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+Portability.
+
+--- configure.orig     2017-07-18 06:25:04.000000000 +0000
++++ configure
+@@ -4742,14 +4742,14 @@ fi
+ done
+ test -n "$CURL_CONFIG" || CURL_CONFIG="no"
+ 
+-    if test "$CURL_CONFIG" == "no"; then :
++    if test "$CURL_CONFIG" = "no"; then :
+ 
+       :
+ 
+ 
+ else
+ 
+-            if test x"" == x; then :
++            if test x"" = x; then :
+ 
+       CURL_CFLAGS="`$CURL_CONFIG $curl_config_args --cflags`"
+ 
+@@ -4759,7 +4759,7 @@ else
+ 
+ fi
+ 
+-            if test x"" == x; then :
++            if test x"" = x; then :
+ 
+       CURL_LIBS="`$CURL_CONFIG $curl_config_args --libs`"
+ 
+@@ -22312,7 +22312,7 @@ cat >>confdefs.h <<_ACEOF
+ _ACEOF
+ 
+ 
+-if test "x$ac_cv_sizeof_voidp" == "x"; then
++if test "x$ac_cv_sizeof_voidp" = "x"; then
+   as_fn_error $? "Cannot determine size of void*" "$LINENO" 5
+ fi
+ 
+@@ -26018,7 +26018,7 @@ $as_echo "could not find ${TCL_BIN_DIR}/
+ 
+ 
+ # expect tclConfig.sh to populate TCL_LIB_FLAG and TCL_INCLUDE_SPEC
+-if test "$host_os_def" == "darwin"; then
++if test "$host_os_def" = "darwin"; then
+     TCL_LIB_SPEC="-ltcl" # OSX fails to populate this variable
+ fi
+ LIBTCL=$TCL_LIB_SPEC
+@@ -27003,7 +27003,7 @@ if test "x$ac_cv_lib_cap_cap_set_proc" =
+ 
+ else
+ 
+-     if test "x$enable_posix_cap" == "xyes"; then :
++     if test "x$enable_posix_cap" = "xyes"; then :
+ 
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Index: pkgsrc/www/trafficserver/patches/patch-lib_ts_MemView.h
diff -u /dev/null pkgsrc/www/trafficserver/patches/patch-lib_ts_MemView.h:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/patches/patch-lib_ts_MemView.h     Thu Aug 17 14:57:09 2017
@@ -0,0 +1,12 @@
+$NetBSD: patch-lib_ts_MemView.h,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+--- lib/ts/MemView.h.orig      2017-07-18 06:25:04.000000000 +0000
++++ lib/ts/MemView.h
+@@ -33,6 +33,7 @@
+ #include <memory.h>
+ #include <algorithm>
+ #include <string>
++#include <cstring>
+ 
+ /// Apache Traffic Server commons.
+ namespace ts
Index: pkgsrc/www/trafficserver/patches/patch-lib_wccp_wccp-test-router.cc
diff -u /dev/null pkgsrc/www/trafficserver/patches/patch-lib_wccp_wccp-test-router.cc:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/patches/patch-lib_wccp_wccp-test-router.cc Thu Aug 17 14:57:09 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_wccp_wccp-test-router.cc,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+Use getopt_long for better portability, same as the rest of the code.
+
+--- lib/wccp/wccp-test-router.cc.orig  2015-06-30 04:11:56.000000000 +0000
++++ lib/wccp/wccp-test-router.cc
+@@ -81,7 +81,7 @@ main(int argc, char **argv)
+   //  char const* text; // Scratch pointer for config access.
+   char const *FAIL_MSG = "";
+ 
+-  while (-1 != (zret = getopt_long_only(argc, argv, "", OPTIONS, &zidx))) {
++  while (-1 != (zret = getopt_long(argc, argv, "", OPTIONS, &zidx))) {
+     switch (zret) {
+     case OPT_HELP:
+       FAIL_MSG = "Usage:";
Index: pkgsrc/www/trafficserver/patches/patch-proxy_Makefile.in
diff -u /dev/null pkgsrc/www/trafficserver/patches/patch-proxy_Makefile.in:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/patches/patch-proxy_Makefile.in    Thu Aug 17 14:57:09 2017
@@ -0,0 +1,17 @@
+$NetBSD: patch-proxy_Makefile.in,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+Do not tinker with ownership for volatile data.
+
+--- proxy/Makefile.in.orig     2015-06-30 04:11:56.000000000 +0000
++++ proxy/Makefile.in
+@@ -1747,9 +1747,8 @@ info: info-recursive
+ 
+ info-am:
+ 
+-install-data-am: install-data-local
++install-data-am:
+       @$(NORMAL_INSTALL)
+-      $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ install-dvi: install-dvi-recursive
+ 
+ install-dvi-am:
Index: pkgsrc/www/trafficserver/patches/patch-proxy_config_Makefile.in
diff -u /dev/null pkgsrc/www/trafficserver/patches/patch-proxy_config_Makefile.in:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/patches/patch-proxy_config_Makefile.in     Thu Aug 17 14:57:09 2017
@@ -0,0 +1,14 @@
+$NetBSD: patch-proxy_config_Makefile.in,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+Do not create copies of config files.
+
+--- proxy/config/Makefile.in.orig      2015-06-30 04:11:56.000000000 +0000
++++ proxy/config/Makefile.in
+@@ -921,7 +921,6 @@ install-dvi-am:
+ 
+ install-exec-am: install-dist_sysconfDATA install-nodist_sysconfDATA
+       @$(NORMAL_INSTALL)
+-      $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
+ install-html: install-html-recursive
+ 
+ install-html-am:
Index: pkgsrc/www/trafficserver/patches/patch-rc_traffixserver.ml.in
diff -u /dev/null pkgsrc/www/trafficserver/patches/patch-rc_traffixserver.ml.in:1.1
--- /dev/null   Thu Aug 17 14:57:09 2017
+++ pkgsrc/www/trafficserver/patches/patch-rc_traffixserver.ml.in       Thu Aug 17 14:57:09 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-rc_traffixserver.ml.in,v 1.1 2017/08/17 14:57:09 fhajny Exp $
+
+Use standard SMF prefix.
+
+--- rc/trafficserver.xml.in.orig       2015-06-30 04:11:56.000000000 +0000
++++ rc/trafficserver.xml.in
+@@ -25,7 +25,7 @@
+ <service_bundle type='manifest' name='apache:trafficserver'>
+ 
+ <service
+-      name='application/apache/trafficserver'
++      name='@SMF_PREFIX@/trafficserver'
+       type='service'
+       version='1'>
+ 



Home | Main Index | Thread Index | Old Index