This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 9d5acb54a0 Build regex_revalidate in CMake build (#9979)
9d5acb54a0 is described below
commit 9d5acb54a01854053693c21ec14dce4ad3729ccf
Author: JosiahWI <[email protected]>
AuthorDate: Mon Jul 10 21:01:46 2023 -0500
Build regex_revalidate in CMake build (#9979)
I verified that the plugin is installed correctly by running some
of the regex_revalidate tests.
---
plugins/CMakeLists.txt | 3 ++-
plugins/regex_revalidate/CMakeLists.txt | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index 7fdbbd1216..e153a91d9b 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -46,8 +46,9 @@ add_subdirectory(header_rewrite)
add_subdirectory(libloader)
add_subdirectory(multiplexer)
add_subdirectory(prefetch)
-add_subdirectory(remap_purge)
add_subdirectory(regex_remap)
+add_subdirectory(regex_revalidate)
+add_subdirectory(remap_purge)
add_subdirectory(s3_auth)
add_subdirectory(stats_over_http)
add_subdirectory(tcpinfo)
diff --git a/plugins/regex_revalidate/CMakeLists.txt
b/plugins/regex_revalidate/CMakeLists.txt
new file mode 100644
index 0000000000..fade3c8766
--- /dev/null
+++ b/plugins/regex_revalidate/CMakeLists.txt
@@ -0,0 +1,22 @@
+#######################
+#
+# 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.
+#
+#######################
+
+add_atsplugin(regex_revalidate regex_revalidate.c)
+
+target_include_directories(regex_revalidate PRIVATE
"${PROJECT_SOURCE_DIR}/include")
+
+target_link_libraries(regex_revalidate PRIVATE "${PCRE_LIBRARY}")