Source: masterkey-lui-solr
Section: misc
Priority: extra
-Maintainer: dennis <dennis@indexdata.com>
-Build-Depends: debhelper (>= 5), openjdk-6-jdk, maven2, unzip
+Maintainer: Index Data ApS <info@indexdata.com>
+Build-Depends: debhelper (>= 5), openjdk-7-jdk, maven, unzip
Standards-Version: 3.8.0
Homepage: http://www.indexdata.dk/masterkey/harvester
Description: Local Unified Index Solr Tomcat 6 integration for a LUI slave
The LUI is part of the MasterKey suite. This package provides Tomcat 6 integration.
+Package: masterkey-lui-solr4-common-tomcat8
+Architecture: all
+Depends:tomcat8, masterkey-lui-solr4-common(= ${binary:Version})
+Description: The Solr Web Application in war format.
+ The common logging library installed under tomcat8
+
+Package: masterkey-lui-solr4-master-tomcat8
+Architecture: all
+Depends: tomcat8, masterkey-lui-solr4-master(= ${binary:Version}),masterkey-lui-solr4-common-tomcat8(= ${binary:Version})
+Description: Local Unified Index Solr Tomcat 6 integration for a LUI master
+ The LUI is part of the MasterKey suite. This package provides Tomcat 8 integration.
+
+Package: masterkey-lui-solr4-slave-tomcat8
+Architecture: all
+Depends: tomcat8, masterkey-lui-solr4-slave(= ${binary:Version}), masterkey-lui-solr4-common-tomcat8(= ${binary:Version})
+Description: Local Unified Index Solr Tomcat 6 integration for a LUI slave
+ The LUI is part of the MasterKey suite. This package provides Tomcat 8 integration.
+
Package: masterkey-lui-solr4-zookeeper
Architecture: all
Depends: masterkey-lui-solr4-common(= ${binary:Version})
# debian/rules for alien
BASE=masterkey-lui-solr4
-BASE_MASTER=$(BASE)-master
-BASE_MASTER_TOMCAT=$(BASE_MASTER)-tomcat
-BASE_SLAVE=$(BASE)-slave
-BASE_SLAVE_TOMCAT=$(BASE_SLAVE)-tomcat
-
DOC = /usr/share/doc/masterkey
LOG = /var/log/masterkey
-
SHARE = /usr/share/masterkey/lui/solr4
CONF_MASTER = $(SHARE)/master/collection1/
LUI_SOLR_MASTER_SHARE_DIR = $(LUI_SOLR_MASTER_ROOT)$(CONF_MASTER)
LUI_SOLR_MASTER_LIB_DIR = $(LUI_SOLR_MASTER_ROOT)$(DATA_MASTER)
-LUI_SOLR_COMMON_TOMCAT = $(LUI_SOLR_COMMON)-tomcat6
-LUI_SOLR_COMMON_TOMCAT_ROOT = $(CURDIR)/debian/$(LUI_SOLR_COMMON_TOMCAT)
+LUI_SOLR_COMMON_TOMCAT6 = $(LUI_SOLR_COMMON)-tomcat6
+LUI_SOLR_COMMON_TOMCAT6_ROOT = $(CURDIR)/debian/$(LUI_SOLR_COMMON_TOMCAT6)
-LUI_SOLR_MASTER_TOMCAT = $(LUI_SOLR_MASTER)-tomcat6
-LUI_SOLR_MASTER_TOMCAT_ROOT = $(CURDIR)/debian/$(LUI_SOLR_MASTER_TOMCAT)
+LUI_SOLR_MASTER_TOMCAT6 = $(LUI_SOLR_MASTER)-tomcat6
+LUI_SOLR_MASTER_TOMCAT6_ROOT = $(CURDIR)/debian/$(LUI_SOLR_MASTER_TOMCAT6)
LUI_SOLR_SLAVE = $(BASE)-slave
LUI_SOLR_SLAVE_ROOT = $(CURDIR)/debian/$(LUI_SOLR_SLAVE)
LUI_SOLR_SLAVE_SHARE_DIR = $(LUI_SOLR_SLAVE_ROOT)$(CONF_SLAVE)
LUI_SOLR_SLAVE_LIB_DIR = $(LUI_SOLR_SLAVE_ROOT)$(DATA_SLAVE)
-LUI_SOLR_SLAVE_TOMCAT = $(LUI_SOLR_SLAVE)-tomcat6
-LUI_SOLR_SLAVE_TOMCAT_ROOT = $(CURDIR)/debian/$(LUI_SLAVE_TOMCAT)
-CATALINA_HOME=/usr/share/tomcat6
+LUI_SOLR_SLAVE_TOMCAT6 = $(LUI_SOLR_SLAVE)-tomcat6
+LUI_SOLR_SLAVE_TOMCAT6_ROOT = $(CURDIR)/debian/$(LUI_SLAVE_TOMCAT6)
+CATALINA6_HOME=/usr/share/tomcat6
+
+LUI_SOLR_COMMON_TOMCAT8 = $(LUI_SOLR_COMMON)-tomcat8
+LUI_SOLR_COMMON_TOMCAT8_ROOT = $(CURDIR)/debian/$(LUI_SOLR_COMMON_TOMCAT8)
+
+LUI_SOLR_MASTER_TOMCAT8 = $(LUI_SOLR_MASTER)-tomcat8
+LUI_SOLR_MASTER_TOMCAT8_ROOT = $(CURDIR)/debian/$(LUI_SOLR_MASTER_TOMCAT8)
+
+LUI_SOLR_SLAVE = $(BASE)-slave
+LUI_SOLR_SLAVE_ROOT = $(CURDIR)/debian/$(LUI_SOLR_SLAVE)
+LUI_SOLR_SLAVE_SHARE_DIR = $(LUI_SOLR_SLAVE_ROOT)$(CONF_SLAVE)
+LUI_SOLR_SLAVE_LIB_DIR = $(LUI_SOLR_SLAVE_ROOT)$(DATA_SLAVE)
+
+LUI_SOLR_SLAVE_TOMCAT8 = $(LUI_SOLR_SLAVE)-tomcat8
+LUI_SOLR_SLAVE_TOMCAT8_ROOT = $(CURDIR)/debian/$(LUI_SLAVE_TOMCAT8)
+CATALINA8_HOME=/usr/share/tomcat8
+
+
SOLR_VERSION=4.6.0
LUI_SOLR_ZK = $(BASE)-zookeeper
mkdir -p $(LUI_SOLR_SLAVE_LIB_DIR)
# Common lui-solr4-tomcat: Logging Libraries installed under tomcat6.
- # Harvester Utilities. Stylesheet used in includes needs to be in CATALINA_HOME
- mkdir -p $(LUI_SOLR_COMMON_TOMCAT_ROOT)$(CATALINA_HOME)/lib
- cp -rp lib/ $(LUI_SOLR_COMMON_TOMCAT_ROOT)$(CATALINA_HOME)
- ls -la $(LUI_SOLR_COMMON_TOMCAT_ROOT)$(CATALINA_HOME)/lib/
+ # Harvester Utilities. Stylesheet used in includes needs to be in CATALINA6_HOME
+ mkdir -p $(LUI_SOLR_COMMON_TOMCAT6_ROOT)$(CATALINA6_HOME)/lib
+ cp -rp lib/ $(LUI_SOLR_COMMON_TOMCAT6_ROOT)$(CATALINA6_HOME)
+ ls -la $(LUI_SOLR_COMMON_TOMCAT6_ROOT)$(CATALINA6_HOME)/lib/
+
+ # lui-solr-master plumbing for Tomcat 6.
+ mkdir -p $(LUI_SOLR_MASTER_ROOT)/etc/masterkey/lui
+ cp etc/solr4-tomcat-context-master.xml $(LUI_SOLR_MASTER_ROOT)/etc/masterkey/lui/lui-solr4-master.xml
+
+ # lui-solr-slave plumbing for Tomcat 6
+ mkdir -p $(LUI_SOLR_SLAVE_ROOT)/etc/masterkey/lui
+ cp etc/solr4-tomcat-context-slave.xml $(LUI_SOLR_SLAVE_ROOT)/etc/masterkey/lui/lui-solr4-slave.xml
+
+ # Common lui-solr4-tomcat: Logging Libraries installed under tomcat8.
+ # Harvester Utilities. Stylesheet used in includes needs to be in CATALINA8_HOME
+ mkdir -p $(LUI_SOLR_COMMON_TOMCAT8_ROOT)$(CATALINA8_HOME)/lib
+ cp -rp lib/ $(LUI_SOLR_COMMON_TOMCAT8_ROOT)$(CATALINA8_HOME)
+ ls -la $(LUI_SOLR_COMMON_TOMCAT8_ROOT)$(CATALINA8_HOME)/lib/
# lui-solr-master plumbing for Tomcat 6.
mkdir -p $(LUI_SOLR_MASTER_ROOT)/etc/masterkey/lui