Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
d0695d3b
Commit
d0695d3b
authored
Aug 03, 2017
by
Michael Davis
Browse files
[EOS-CTA] Adds eoscta_stub and libXrdSsiCta.so to RPMs
parent
ac22ba37
Changes
3
Hide whitespace changes
Inline
Side-by-side
cmdline/CMakeLists.txt
View file @
d0695d3b
...
...
@@ -42,4 +42,6 @@ find_package(cryptopp REQUIRED)
include_directories
(
${
PROTOBUF3_INCLUDE_DIRS
}
${
XROOTD_INCLUDE_DIR
}
${
XROOTD_INCLUDE_DIR
}
/private ../xroot_ssi_pb
)
add_executable
(
eoscta_stub EosCtaStub.cpp
)
target_link_libraries
(
eoscta_stub cryptopp ctaeosmessages
${
PROTOBUF3_LIBRARIES
}
XrdSsi-4 XrdSsiLib
)
target_link_libraries
(
eoscta_stub cryptopp ctaeosmessages
${
PROTOBUF3_LIBRARIES
}
XrdSsi-4 XrdSsiLib
)
install
(
TARGETS eoscta_stub DESTINATION usr/bin
)
cta.spec.in
View file @
d0695d3b
...
...
@@ -113,6 +113,7 @@ The xroot plugin
%files -n cta-cli
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/cta
%attr(0755,root,root) %{_bindir}/eoscta_stub
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-cli.conf
%else
...
...
@@ -158,6 +159,7 @@ The xroot plugin
%attr(0755,cta,cta) %dir /var/log/cta
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/cta-frontend
%attr(0755,root,root) %{_libdir}/libXrdCtaOfs.so
%attr(0755,root,root) %{_libdir}/libXrdSsiCta.so
%attr(0644,root,root) %config(noreplace) /etc/xrootd/xrootd-cta.cfg
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-frontend.conf
...
...
@@ -174,6 +176,7 @@ The xroot plugin
%files -n cta-cli
%defattr(-,root,root)
%attr(0755,root,root) %{_bindir}/cta
%attr(0755,root,root) %{_bindir}/eoscta_stub
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cta/cta-cli.conf
%package -n cta-lib
...
...
xroot_plugins/CMakeLists.txt
View file @
d0695d3b
...
...
@@ -24,18 +24,24 @@ include_directories(${CMAKE_SOURCE_DIR}/tapeserver)
find_package
(
Protobuf3 REQUIRED
)
include_directories
(
${
PROTOBUF3_INCLUDE_DIRS
}
)
# XRootD OFS plugin for CTA Frontend
add_library
(
XrdCtaOfs MODULE ListArchiveFilesCmd.cpp XrdCtaFilesystem.cpp XrdCtaFile.cpp XrdCtaDir.cpp
)
target_link_libraries
(
XrdCtaOfs ctacatalogue ctaeosmessages ctascheduler ctacommon
${
PROTOBUF3_LIBRARIES
}
ctaobjectstore cryptopp
)
set_target_properties
(
XrdCtaOfs PROPERTIES INSTALL_RPATH
${
PROTOBUF3_RPATH
}
)
# XRootD SSI/CTA Frontend shared library
# XRootD SSI plugin for CTA Frontend
add_definitions
(
-DXRDSSI_DEBUG
)
include_directories
(
../xroot_ssi_pb
)
add_library
(
XrdSsiCta MODULE XrdSsiCtaServiceProvider.cpp XrdSsiCtaRequestProc.cpp
)
target_link_libraries
(
XrdSsiCta XrdSsi-4 XrdSsiLib ctaeosmessages
${
PROTOBUF3_LIBRARIES
}
ctascheduler ctacommon ctaobjectstore ctacatalogue
)
set_target_properties
(
XrdSsiCta PROPERTIES INSTALL_RPATH
${
PROTOBUF3_RPATH
}
)
INSTALL
(
TARGETS XrdCtaOfs DESTINATION usr/
${
CMAKE_INSTALL_LIBDIR
}
)
INSTALL
(
TARGETS XrdSsiCta DESTINATION usr/
${
CMAKE_INSTALL_LIBDIR
}
)
INSTALL
(
FILES xrootd-cta.cfg DESTINATION /etc/xrootd/
)
INSTALL
(
FILES cta-frontend.conf DESTINATION
${
CMAKE_INSTALL_SYSCONFDIR
}
/cta
)
install
(
FILES cta-frontend.logrotate DESTINATION /etc/logrotate.d RENAME cta-frontend
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment