Commit c3c3e990 authored by jan.koester's avatar jan.koester
Browse files

test

parent 769b2a11
Loading
Loading
Loading
Loading
+3 −3
Changes for CMakeLists.txt: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -80,9 +80,9 @@ add_executable(proxyplus-bootstrap tools/proxyplus-bootstrap.cpp)
target_link_libraries(proxyplus-bootstrap PRIVATE proxyplus_core)
install(TARGETS proxyplus-bootstrap RUNTIME DESTINATION bin)

# Plugin .so modules install here, independent of CMAKE_INSTALL_PREFIX, so they land
# wherever config.yaml's paths.plugins points regardless of prefix (see config/proxyplus.yaml).
set(PROXYPLUS_PLUGIN_INSTALL_DIR "/usr/lib/proxyplus/plugins" CACHE PATH
# Plugin .so modules install under the standard prefix, alongside bin/ and share/proxyplus/
# above -- must match paths.plugins in config.yaml (see config/proxyplus.yaml).
set(PROXYPLUS_PLUGIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/proxyplus/plugins" CACHE PATH
    "Directory plugin .so modules install into (must match paths.plugins in config.yaml)")

add_subdirectory(plugins/example_dnsbl)
+1 −1
Changes for config/proxyplus.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ proxyplus:
  paths:
    data: "/var/lib/proxyplus"
    authdb: "http://127.0.0.1:8080/api/00000000-0000-0000-0000-000000000000"
    plugins: "/usr/lib/proxyplus/plugins"
    plugins: "/usr/local/lib/proxyplus/plugins"  # ${CMAKE_INSTALL_PREFIX}/lib/proxyplus/plugins
    queue: "/var/spool/proxyplus"

  admin: