Updated Branches: refs/heads/master e857750ea -> 9fa553f84
Added header_rewrite to the experimental plugin build Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/9fa553f8 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/9fa553f8 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/9fa553f8 Branch: refs/heads/master Commit: 9fa553f8429341367b8680716efc3f63b9c9c2b3 Parents: e857750 Author: Bryan Call <bc...@apache.org> Authored: Fri Aug 10 20:56:51 2012 -0700 Committer: Bryan Call <bc...@apache.org> Committed: Fri Aug 10 20:56:51 2012 -0700 ---------------------------------------------------------------------- configure.ac | 2 + plugins/Makefile.am | 2 +- plugins/experimental/header_rewrite/Makefile.am | 24 ++++++++++++++++++ 3 files changed, 27 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9fa553f8/configure.ac ---------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index aa67868..471629d 100644 --- a/configure.ac +++ b/configure.ac @@ -1551,9 +1551,11 @@ AC_CONFIG_FILES([plugins/conf_remap/Makefile]) AC_CONFIG_FILES([plugins/regex_remap/Makefile]) AC_CONFIG_FILES([plugins/header_filter/Makefile]) AC_CONFIG_FILES([plugins/stats_over_http/Makefile]) +# experimental plugins AC_CONFIG_FILES([plugins/experimental/lua/Makefile]) AC_CONFIG_FILES([plugins/experimental/tcp_info/Makefile]) AC_CONFIG_FILES([plugins/experimental/custom_redirect/Makefile]) +AC_CONFIG_FILES([plugins/experimental/header_rewrite/Makefile]) # various tools AC_CONFIG_FILES([tools/Makefile]) # example plugins http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9fa553f8/plugins/Makefile.am ---------------------------------------------------------------------- diff --git a/plugins/Makefile.am b/plugins/Makefile.am index aec9aa5..bb6082f 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -17,5 +17,5 @@ SUBDIRS = conf_remap regex_remap header_filter stats_over_http if BUILD_EXPERIMENTAL_PLUGINS -SUBDIRS += experimental/lua experimental/tcp_info experimental/custom_redirect +SUBDIRS += experimental/lua experimental/tcp_info experimental/custom_redirect experimental/header_rewrite endif http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9fa553f8/plugins/experimental/header_rewrite/Makefile.am ---------------------------------------------------------------------- diff --git a/plugins/experimental/header_rewrite/Makefile.am b/plugins/experimental/header_rewrite/Makefile.am new file mode 100644 index 0000000..a347cf7 --- /dev/null +++ b/plugins/experimental/header_rewrite/Makefile.am @@ -0,0 +1,24 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +AM_CPPFLAGS = -I$(top_builddir)/proxy/api -I$(top_srcdir)/proxy/api \ + -I$(top_srcdir)/lib/ts -I$(top_builddir)/lib/ts + +pkglibdir = ${pkglibexecdir} +pkglib_LTLIBRARIES = header_rewrite.la +header_rewrite_la_SOURCES = header_rewrite.cc +header_rewrite_la_LDFLAGS = -module -avoid-version -shared +