You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2013/08/08 19:38:46 UTC

git commit: TS-2112: make libloader compile by default

Updated Branches:
  refs/heads/master eaa7600b7 -> c8725baf3


TS-2112: make libloader compile by default

libloader has been considered as stable since it's donation, but it
wasn't put into the build by default.

We change this now, and we add a convention for how to add plugins in
the future.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c8725baf
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c8725baf
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c8725baf

Branch: refs/heads/master
Commit: c8725baf365abc3a5c68aaa405716e92cab3e5cc
Parents: eaa7600
Author: Igor Galić <i....@brainsware.org>
Authored: Thu Aug 8 19:36:35 2013 +0200
Committer: Igor Galić <i....@brainsware.org>
Committed: Thu Aug 8 19:38:30 2013 +0200

----------------------------------------------------------------------
 configure.ac                  |  1 +
 plugins/Makefile.am           | 13 ++++++++++++-
 plugins/libloader/Makefile.am | 21 +++++++++++++++++++++
 3 files changed, 34 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c8725baf/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 2033fbc..6cf6c58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1853,6 +1853,7 @@ AC_CONFIG_FILES([
   plugins/experimental/tcp_info/Makefile
   plugins/experimental/healthchecks/Makefile
   plugins/gzip/Makefile
+  plugins/libloader/Makefile
   plugins/header_filter/Makefile
   plugins/header_rewrite/Makefile
   plugins/regex_remap/Makefile

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c8725baf/plugins/Makefile.am
----------------------------------------------------------------------
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index abfbaac..819af67 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -14,4 +14,15 @@
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
 
-SUBDIRS = conf_remap regex_remap header_filter stats_over_http experimental cacheurl header_rewrite gzip
+# Add new plugins in alphabetic order, but keep experimental always at the bottom.
+
+SUBDIRS = \
+  cacheurl \
+  conf_remap \
+  gzip \
+  header_filter \
+  header_rewrite \
+  libloader \
+  regex_remap \
+  stats_over_http \
+  experimental

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c8725baf/plugins/libloader/Makefile.am
----------------------------------------------------------------------
diff --git a/plugins/libloader/Makefile.am b/plugins/libloader/Makefile.am
new file mode 100644
index 0000000..1a91a0f
--- /dev/null
+++ b/plugins/libloader/Makefile.am
@@ -0,0 +1,21 @@
+#  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.
+
+include $(top_srcdir)/build/plugins.mk
+
+pkglib_LTLIBRARIES = libloader.la
+libloader_la_SOURCES = libloader.c
+libloader_la_LDFLAGS = $(TS_PLUGIN_LDFLAGS)