pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/trafficserver Add Apache Traffic Server 7.1.0 as w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ceb537860313
branches:  trunk
changeset: 366794:ceb537860313
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu Aug 17 14:57:09 2017 +0000

description:
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.

diffstat:

 www/trafficserver/DESCR                                           |    4 +
 www/trafficserver/Makefile                                        |  118 +++
 www/trafficserver/PLIST                                           |  348 ++++++++++
 www/trafficserver/distinfo                                        |   13 +
 www/trafficserver/options.mk                                      |   14 +
 www/trafficserver/patches/patch-cmd_traffic__wccp_wccp__client.cc |   15 +
 www/trafficserver/patches/patch-configure                         |   59 +
 www/trafficserver/patches/patch-lib_ts_MemView.h                  |   12 +
 www/trafficserver/patches/patch-lib_wccp_wccp-test-router.cc      |   15 +
 www/trafficserver/patches/patch-proxy_Makefile.in                 |   17 +
 www/trafficserver/patches/patch-proxy_config_Makefile.in          |   14 +
 www/trafficserver/patches/patch-rc_traffixserver.ml.in            |   15 +
 12 files changed, 644 insertions(+), 0 deletions(-)

diffs (truncated from 692 to 300 lines):

diff -r 056826079e61 -r ceb537860313 www/trafficserver/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/trafficserver/DESCR   Thu Aug 17 14:57:09 2017 +0000
@@ -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.
diff -r 056826079e61 -r ceb537860313 www/trafficserver/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/trafficserver/Makefile        Thu Aug 17 14:57:09 2017 +0000
@@ -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"
diff -r 056826079e61 -r ceb537860313 www/trafficserver/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/trafficserver/PLIST   Thu Aug 17 14:57:09 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index