Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
42525295
Commit
42525295
authored
7 years ago
by
Michael Davis
Browse files
Options
Downloads
Patches
Plain Diff
[EOS-CTA] Adds eoscta_stub and libXrdSsiCta.so to RPMs
parent
899c3afd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmdline/CMakeLists.txt
+3
-1
3 additions, 1 deletion
cmdline/CMakeLists.txt
cta.spec.in
+3
-0
3 additions, 0 deletions
cta.spec.in
xroot_plugins/CMakeLists.txt
+7
-1
7 additions, 1 deletion
xroot_plugins/CMakeLists.txt
with
13 additions
and
2 deletions
cmdline/CMakeLists.txt
+
3
−
1
View file @
42525295
...
...
@@ -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
)
This diff is collapsed.
Click to expand it.
cta.spec.in
+
3
−
0
View file @
42525295
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
xroot_plugins/CMakeLists.txt
+
7
−
1
View file @
42525295
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment