From ca06b39b65a9ef6d3f9aadd064ff7cbfb4268ff6 Mon Sep 17 00:00:00 2001
From: Daniele Kruse <dkruse@cern.ch>
Date: Tue, 9 Aug 2016 14:56:18 +0200
Subject: [PATCH] Revived the demo tapeserver daemon

---
 cta.spec.in                                          | 12 ++++++++++++
 .../castor/tape/tapeserver/daemon/CMakeLists.txt     |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/cta.spec.in b/cta.spec.in
index e1539d9f1b..88cc7f396b 100644
--- a/cta.spec.in
+++ b/cta.spec.in
@@ -92,6 +92,18 @@ The tape server daemon
 %attr(0755,root,root) %{_bindir}/cta-taped
 %attr(0755,root,root) %{_libdir}/libctamessages.so
 
+%package -n cta-tapeserverd
+Summary: CERN Tape Archive: tapeserver daemon (demo only)
+Group: Application/CTA
+requires: cta-lib
+%description -n cta-tapeserverd
+CERN Tape Archive:
+The tape server daemon
+%files -n cta-tapeserverd
+%defattr(-,root,root)
+%attr(0755,root,root) %{_bindir}/cta-tapeserverd
+%attr(0755,root,root) %{_libdir}/libctamessages.so
+
 %package -n cta-frontend
 Summary: CERN Tape Archive: Xrootd plugin
 Group: Application/CTA
diff --git a/tapeserver/castor/tape/tapeserver/daemon/CMakeLists.txt b/tapeserver/castor/tape/tapeserver/daemon/CMakeLists.txt
index dc2542ef89..24c90f7590 100644
--- a/tapeserver/castor/tape/tapeserver/daemon/CMakeLists.txt
+++ b/tapeserver/castor/tape/tapeserver/daemon/CMakeLists.txt
@@ -104,7 +104,7 @@ add_executable(cta-tapeserverd TapeDaemon.cpp)
 target_link_libraries(cta-tapeserverd ctaTapeServerDaemon SCSI System Utils 
   File TapeDrive ctacommon ctatapereactor ${LIBCAP_LIB} ${ZLIB_LIBRARIES} 
   ctamessages zmq ctaio ctautils)
-#install (TARGETS cta-tapeserverd DESTINATION usr/bin)
+install (TARGETS cta-tapeserverd DESTINATION usr/bin)
 
 add_library(ctatapeserverdaemonutils SHARED
   ProcessForkerProxyDummy.cpp)
-- 
GitLab