aboutsummaryrefslogtreecommitdiff
path: root/www/trafficserver
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-16 15:43:58 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-16 15:43:58 +0000
commitd47791584916a3f85b4e28c155e82c1ee852514c (patch)
treefd7b7b64280758edfe83b3caac00ee5b47235ef8 /www/trafficserver
parentc6e79f6b44a7222997188f76eaac5f21910ed7b7 (diff)
downloadports-d47791584916a3f85b4e28c155e82c1ee852514c.tar.gz
ports-d47791584916a3f85b4e28c155e82c1ee852514c.zip
Notes
Diffstat (limited to 'www/trafficserver')
-rw-r--r--www/trafficserver/Makefile41
-rw-r--r--www/trafficserver/distinfo3
-rw-r--r--www/trafficserver/files/patch-rc__Makefile12
-rw-r--r--www/trafficserver/files/trafficserver.in20
-rw-r--r--www/trafficserver/pkg-descr6
-rw-r--r--www/trafficserver/pkg-plist272
6 files changed, 354 insertions, 0 deletions
diff --git a/www/trafficserver/Makefile b/www/trafficserver/Makefile
new file mode 100644
index 000000000000..3e15754d4916
--- /dev/null
+++ b/www/trafficserver/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: trafficserver
+# Date created: 2010-08-15
+# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= trafficserver
+PORTVERSION= 2.1.1
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_APACHE}
+MASTER_SITE_SUBDIR= trafficserver
+DISTNAME= ${PORTNAME}-${PORTVERSION}-unstable
+
+MAINTAINER= jnlin@csie.nctu.edu.tw
+COMMENT= A fast, scalable and extensible HTTP proxy server
+
+BUILD_DEPENDS= expat>0:${PORTSDIR}/textproc/expat2 \
+ pcre>0:${PORTSDIR}/devel/pcre
+LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USE_AUTOTOOLS= autoconf:262 automake:110 libtool:22
+USE_BZIP2= yes
+USE_ICONV= yes
+USE_OPENSSL= yes
+USE_SQLITE= yes
+USE_TCL= yes
+USE_RC_SUBR= ${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
+BUILD_DEPENDS+= xz>0:${PORTSDIR}/archivers/xz
+RUN_DEPENDS+= xz>0:${PORTSDIR}/archivers/xz
+.endif
+
+pre-configure:
+ @cd ${WRKSRC} && ${AUTORECONF} -i
+
+.include <bsd.port.post.mk>
diff --git a/www/trafficserver/distinfo b/www/trafficserver/distinfo
new file mode 100644
index 000000000000..a5a7df22301e
--- /dev/null
+++ b/www/trafficserver/distinfo
@@ -0,0 +1,3 @@
+MD5 (trafficserver-2.1.1-unstable.tar.bz2) = e3118fa21e2a47c17b728503fa1d0e74
+SHA256 (trafficserver-2.1.1-unstable.tar.bz2) = 8415815ecce85cc422c2f0c18e8e6ea7149cd1c83db96f17c4783a6a4d275954
+SIZE (trafficserver-2.1.1-unstable.tar.bz2) = 2855575
diff --git a/www/trafficserver/files/patch-rc__Makefile b/www/trafficserver/files/patch-rc__Makefile
new file mode 100644
index 000000000000..620b2c8e7538
--- /dev/null
+++ b/www/trafficserver/files/patch-rc__Makefile
@@ -0,0 +1,12 @@
+--- rc/Makefile.am.orig 2010-08-15 22:00:12.940238878 +0800
++++ rc/Makefile.am 2010-08-15 22:00:28.382362165 +0800
+@@ -25,9 +25,6 @@
+ -I$(top_srcdir)/proxy/cache \
+ -I$(top_srcdir)/proxy/logging
+
+-dist_bin_SCRIPTS = \
+- trafficserver
+-
+ noinst_PROGRAMS = update_records
+
+ update_records_SOURCES = update_records.cc
diff --git a/www/trafficserver/files/trafficserver.in b/www/trafficserver/files/trafficserver.in
new file mode 100644
index 000000000000..6084be3ab832
--- /dev/null
+++ b/www/trafficserver/files/trafficserver.in
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: trafficserver
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="trafficserver"
+pidfile="/var/run/${name}.pid"
+command="/usr/sbin/daemon -p ${pidfile} %%PREFIX%%/bin/traffic_server"
+procname="%%PREFIX%%/bin/traffic_server"
+
+load_rc_config "$name"
+: ${trafficserver_enable="NO"}
+: ${trafficserver_flags=""}
+
+run_rc_command "$1"
diff --git a/www/trafficserver/pkg-descr b/www/trafficserver/pkg-descr
new file mode 100644
index 000000000000..b51aa51589c6
--- /dev/null
+++ b/www/trafficserver/pkg-descr
@@ -0,0 +1,6 @@
+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.
+
+WWW: http://trafficserver.apache.org/
diff --git a/www/trafficserver/pkg-plist b/www/trafficserver/pkg-plist
new file mode 100644
index 000000000000..6c0326c2ade5
--- /dev/null
+++ b/www/trafficserver/pkg-plist
@@ -0,0 +1,272 @@
+@comment $FreeBSD$
+bin/traffic_cop
+bin/traffic_line
+bin/traffic_logcat
+bin/traffic_logstats
+bin/traffic_manager
+bin/traffic_sac
+bin/traffic_server
+bin/traffic_shell
+etc/trafficserver/admin_access.config
+etc/trafficserver/ae_ua.config
+etc/trafficserver/body_factory/default/.body_factory_info
+etc/trafficserver/body_factory/default/README
+etc/trafficserver/body_factory/default/access#denied
+etc/trafficserver/body_factory/default/access#proxy_auth_required
+etc/trafficserver/body_factory/default/access#redirect_url
+etc/trafficserver/body_factory/default/access#ssl_forbidden
+etc/trafficserver/body_factory/default/cache#not_in_cache
+etc/trafficserver/body_factory/default/cache#read_error
+etc/trafficserver/body_factory/default/congestion#retryAfter
+etc/trafficserver/body_factory/default/connect#dns_failed
+etc/trafficserver/body_factory/default/connect#failed_connect
+etc/trafficserver/body_factory/default/connect#hangup
+etc/trafficserver/body_factory/default/default
+etc/trafficserver/body_factory/default/interception#no_host
+etc/trafficserver/body_factory/default/redirect#moved_temporarily
+etc/trafficserver/body_factory/default/request#cycle_detected
+etc/trafficserver/body_factory/default/request#no_content_length
+etc/trafficserver/body_factory/default/request#no_host
+etc/trafficserver/body_factory/default/request#scheme_unsupported
+etc/trafficserver/body_factory/default/request#syntax_error
+etc/trafficserver/body_factory/default/response#bad_response
+etc/trafficserver/body_factory/default/response#bad_version
+etc/trafficserver/body_factory/default/timeout#activity
+etc/trafficserver/body_factory/default/timeout#inactivity
+etc/trafficserver/body_factory/default/transcoding#unsupported
+etc/trafficserver/body_factory/default/urlrouting#no_mapping
+etc/trafficserver/cache.config
+etc/trafficserver/cluster.config
+etc/trafficserver/congestion.config
+etc/trafficserver/english.dict
+etc/trafficserver/filter.config
+etc/trafficserver/hosting.config
+etc/trafficserver/icp.config
+etc/trafficserver/ip_allow.config
+etc/trafficserver/log_hosts.config
+etc/trafficserver/logs.config
+etc/trafficserver/logs_xml.config
+etc/trafficserver/mgmt_allow.config
+etc/trafficserver/mgr.cnf
+etc/trafficserver/parent.config
+etc/trafficserver/partition.config
+etc/trafficserver/plugin.config
+etc/trafficserver/plugin.db
+etc/trafficserver/records.config
+etc/trafficserver/remap.config
+etc/trafficserver/snmpd.cnf
+etc/trafficserver/socks.config
+etc/trafficserver/splitdns.config
+etc/trafficserver/ssl_multicert.config
+etc/trafficserver/stats.config.xml
+etc/trafficserver/storage.config
+etc/trafficserver/trafficserver-release
+etc/trafficserver/trafficserver-root
+etc/trafficserver/update.config
+etc/trafficserver/vaddrs.config
+%%DATADIR%%/agent-installer/installer.cgi
+%%DATADIR%%/agent-installer/installer.html
+%%DATADIR%%/charting/Bandwidth_Savings.html
+%%DATADIR%%/charting/Cache_Percent_Free.html
+%%DATADIR%%/charting/Cache_Transfers_In_Progress.html
+%%DATADIR%%/charting/Client_Throughput.html
+%%DATADIR%%/charting/DNS_Lookups_Per_Second.html
+%%DATADIR%%/charting/Document_Hit_Rate.html
+%%DATADIR%%/charting/Host_Database_Hit_Rate.html
+%%DATADIR%%/charting/Multiple_Graph_View.html
+%%DATADIR%%/charting/Open_Client_Connections.html
+%%DATADIR%%/charting/Open_Server_Connections.html
+%%DATADIR%%/charting/Transactions_Per_Second.html
+%%DATADIR%%/checkCookies.ink
+%%DATADIR%%/configure/c_autoconf_pac.ink
+%%DATADIR%%/configure/c_autoconf_wpad.ink
+%%DATADIR%%/configure/c_basic.ink
+%%DATADIR%%/configure/c_basic.ink.win
+%%DATADIR%%/configure/c_buttons.ink
+%%DATADIR%%/configure/c_buttons_hide.ink
+%%DATADIR%%/configure/c_cache_general.ink
+%%DATADIR%%/configure/c_cache_hosting.ink
+%%DATADIR%%/configure/c_cache_partition.ink
+%%DATADIR%%/configure/c_clustering.ink
+%%DATADIR%%/configure/c_config_display.ink
+%%DATADIR%%/configure/c_congestion.ink
+%%DATADIR%%/configure/c_dns_host_database.ink
+%%DATADIR%%/configure/c_dns_proxy.ink
+%%DATADIR%%/configure/c_dns_resolver.ink
+%%DATADIR%%/configure/c_dns_split.ink
+%%DATADIR%%/configure/c_footer.ink
+%%DATADIR%%/configure/c_header.ink
+%%DATADIR%%/configure/c_http_cachability.ink
+%%DATADIR%%/configure/c_http_dyn_cache.ink
+%%DATADIR%%/configure/c_http_filtering.ink
+%%DATADIR%%/configure/c_http_general.ink
+%%DATADIR%%/configure/c_http_parent_proxy.ink
+%%DATADIR%%/configure/c_http_privacy.ink
+%%DATADIR%%/configure/c_http_response_custom.ink
+%%DATADIR%%/configure/c_http_response_general.ink
+%%DATADIR%%/configure/c_http_timeout.ink
+%%DATADIR%%/configure/c_http_update_general.ink
+%%DATADIR%%/configure/c_http_update_urls.ink
+%%DATADIR%%/configure/c_icp.ink
+%%DATADIR%%/configure/c_inspector.ink
+%%DATADIR%%/configure/c_inspector_display.ink
+%%DATADIR%%/configure/c_ldap_general.ink
+%%DATADIR%%/configure/c_logging_collation.ink
+%%DATADIR%%/configure/c_logging_custom.ink
+%%DATADIR%%/configure/c_logging_format.ink
+%%DATADIR%%/configure/c_logging_general.ink
+%%DATADIR%%/configure/c_logging_search.ink
+%%DATADIR%%/configure/c_logging_splitting.ink
+%%DATADIR%%/configure/c_mapping.ink
+%%DATADIR%%/configure/c_media_common.ink
+%%DATADIR%%/configure/c_media_push.ink
+%%DATADIR%%/configure/c_mgmt_access.ink
+%%DATADIR%%/configure/c_mgmt_general.ink
+%%DATADIR%%/configure/c_mgmt_login.ink
+%%DATADIR%%/configure/c_net_config.ink
+%%DATADIR%%/configure/c_net_devdri.ink
+%%DATADIR%%/configure/c_net_device.ink
+%%DATADIR%%/configure/c_net_driver.ink
+%%DATADIR%%/configure/c_net_nic.ink
+%%DATADIR%%/configure/c_ntlm_general.ink
+%%DATADIR%%/configure/c_phonehome.ink
+%%DATADIR%%/configure/c_proxy_access.ink
+%%DATADIR%%/configure/c_quicktime_general.ink
+%%DATADIR%%/configure/c_quicktime_mbridge.ink
+%%DATADIR%%/configure/c_radius_general.ink
+%%DATADIR%%/configure/c_real_networks_general.ink
+%%DATADIR%%/configure/c_reverse_proxy.ink
+%%DATADIR%%/configure/c_snapshot.ink
+%%DATADIR%%/configure/c_snapshot_filesystem.ink
+%%DATADIR%%/configure/c_snapshot_floppy.ink
+%%DATADIR%%/configure/c_socks_general.ink
+%%DATADIR%%/configure/c_socks_proxy.ink
+%%DATADIR%%/configure/c_socks_server.ink
+%%DATADIR%%/configure/c_ssl_accelerator.ink
+%%DATADIR%%/configure/c_ssl_client_proxy.ink
+%%DATADIR%%/configure/c_ssl_general.ink
+%%DATADIR%%/configure/c_ssl_proxy_server.ink
+%%DATADIR%%/configure/c_tab.ink
+%%DATADIR%%/configure/c_throttling.ink
+%%DATADIR%%/configure/c_view_access_logs.ink
+%%DATADIR%%/configure/c_view_debug_logs.ink
+%%DATADIR%%/configure/c_view_system_logs.ink
+%%DATADIR%%/configure/c_virtual_ip.ink
+%%DATADIR%%/configure/c_windows_media_general.ink
+%%DATADIR%%/configure/c_windows_media_mbridge.ink
+%%DATADIR%%/configure/c_windows_media_mcast.ink
+%%DATADIR%%/configure/f_bypass_config.ink
+%%DATADIR%%/configure/f_cache_config.ink
+%%DATADIR%%/configure/f_configs.ink
+%%DATADIR%%/configure/f_filter_config.ink
+%%DATADIR%%/configure/f_hosting_config.ink
+%%DATADIR%%/configure/f_icp_config.ink
+%%DATADIR%%/configure/f_ip_allow_config.ink
+%%DATADIR%%/configure/f_ipnat_config.ink
+%%DATADIR%%/configure/f_mgmt_allow_config.ink
+%%DATADIR%%/configure/f_parent_config.ink
+%%DATADIR%%/configure/f_partition_config.ink
+%%DATADIR%%/configure/f_remap_config.ink
+%%DATADIR%%/configure/f_socks_config.ink
+%%DATADIR%%/configure/f_split_dns_config.ink
+%%DATADIR%%/configure/f_update_config.ink
+%%DATADIR%%/configure/f_vaddrs_config.ink
+%%DATADIR%%/configure/helper/INKMgmtAPICheckTcl.sh
+%%DATADIR%%/configure/helper/log.sh
+%%DATADIR%%/configure/helper/otwu.tcl
+%%DATADIR%%/configure/helper/traffic_shell.cgi
+%%DATADIR%%/enableCookies.ink
+%%DATADIR%%/images/arrow_add.gif
+%%DATADIR%%/images/arrow_cross.gif
+%%DATADIR%%/images/arrow_down.gif
+%%DATADIR%%/images/arrow_set.gif
+%%DATADIR%%/images/arrow_up.gif
+%%DATADIR%%/images/blankIcon.gif
+%%DATADIR%%/images/configure_off.gif
+%%DATADIR%%/images/configure_on.gif
+%%DATADIR%%/images/dot_clear.gif
+%%DATADIR%%/images/header_bg.gif
+%%DATADIR%%/images/header_bg_pe.gif
+%%DATADIR%%/images/menu_begin_off.gif
+%%DATADIR%%/images/menu_begin_on.gif
+%%DATADIR%%/images/menu_bg_off.gif
+%%DATADIR%%/images/menu_bg_on.gif
+%%DATADIR%%/images/menu_end_off.gif
+%%DATADIR%%/images/menu_end_on.gif
+%%DATADIR%%/images/menu_separator_off_off.gif
+%%DATADIR%%/images/menu_separator_off_on.gif
+%%DATADIR%%/images/menu_separator_on_off.gif
+%%DATADIR%%/images/minusIcon.gif
+%%DATADIR%%/images/monitor_off.gif
+%%DATADIR%%/images/monitor_on.gif
+%%DATADIR%%/images/plusIcon.gif
+%%DATADIR%%/include/body_footer.ink
+%%DATADIR%%/include/body_header.ink
+%%DATADIR%%/include/footer.ink
+%%DATADIR%%/include/form_footer.ink
+%%DATADIR%%/include/form_header.ink
+%%DATADIR%%/include/header.ink
+%%DATADIR%%/include/html_footer.ink
+%%DATADIR%%/include/html_header.ink
+%%DATADIR%%/include/tree_footer.ink
+%%DATADIR%%/include/tree_header.ink
+%%DATADIR%%/index.ink
+%%DATADIR%%/inktomi.css
+%%DATADIR%%/inktomiLarge.css
+%%DATADIR%%/monitor/m_alarm.ink
+%%DATADIR%%/monitor/m_blue_bar.ink
+%%DATADIR%%/monitor/m_cache.ink
+%%DATADIR%%/monitor/m_cluster.ink
+%%DATADIR%%/monitor/m_dns.ink
+%%DATADIR%%/monitor/m_dns_proxy.ink
+%%DATADIR%%/monitor/m_footer.ink
+%%DATADIR%%/monitor/m_graphs.ink
+%%DATADIR%%/monitor/m_header.ink
+%%DATADIR%%/monitor/m_http.ink
+%%DATADIR%%/monitor/m_http_trans.ink
+%%DATADIR%%/monitor/m_icp.ink
+%%DATADIR%%/monitor/m_ldap.ink
+%%DATADIR%%/monitor/m_logging.ink
+%%DATADIR%%/monitor/m_mpeg4.ink
+%%DATADIR%%/monitor/m_net.ink
+%%DATADIR%%/monitor/m_net_device.ink
+%%DATADIR%%/monitor/m_node.ink
+%%DATADIR%%/monitor/m_ntlm.ink
+%%DATADIR%%/monitor/m_overview.ink
+%%DATADIR%%/monitor/m_overview_details_less.ink
+%%DATADIR%%/monitor/m_overview_details_more.ink
+%%DATADIR%%/monitor/m_quicktime.ink
+%%DATADIR%%/monitor/m_real_networks.ink
+%%DATADIR%%/monitor/m_socks.ink
+%%DATADIR%%/monitor/m_tab.ink
+%%DATADIR%%/monitor/m_virtual_ip.ink
+%%DATADIR%%/monitor/m_windows_media.ink
+%%DATADIR%%/mrtg/detailed.ink
+%%DATADIR%%/mrtg/overview.ink
+%%DATADIR%%/navigation_tree.xml
+%%DATADIR%%/plugin.ink
+%%DATADIR%%/rename.ink
+%%DATADIR%%/resize.js
+%%DATADIR%%/restart.ink
+%%DATADIR%%/ssl_redirect.ink
+%%DATADIR%%/tune/navigation_tree.xmlcpp
+include/ts/remap.h
+include/ts/ts_private.h
+include/ts/ts.h
+include/ts/ts_private_frozen.h
+@dirrmtry libexec/trafficserver
+@dirrmtry include/ts
+@dirrmtry %%DATADIR%%/agent-installer
+@dirrmtry %%DATADIR%%/charting
+@dirrmtry %%DATADIR%%/configure/helper
+@dirrmtry %%DATADIR%%/configure
+@dirrmtry %%DATADIR%%/images
+@dirrmtry %%DATADIR%%/include
+@dirrmtry %%DATADIR%%/monitor
+@dirrmtry %%DATADIR%%/mrtg
+@dirrmtry %%DATADIR%%/tune
+@dirrmtry %%DATADIR%%
+@dirrmtry etc/trafficserver/body_factory/default
+@dirrmtry etc/trafficserver/body_factory
+@dirrmtry etc/trafficserver/internal
+@dirrmtry etc/trafficserver