Skip to content
Commits on Source (8)
TODO
----
* Work out the bnd issue where it thinks there is a header called "Name".
Apparently fixed in later versions but the debian package for bnd is very out
of date.
* Use JFlex to generate Java files included in upstream tarball (needs 1.5 - not
yet released)
* Javadoc package for solr.
......@@ -45,7 +45,6 @@
/usr/share/java/jetty9-apache-jsp.jar:./solr/example/lib/jetty-apache-jsp.jar
/usr/share/java/servlet-api-3.1.jar:./solr/example/lib/servlet-api-3.1.jar
/usr/share/java/jsp-api-2.3.jar:./solr/example/lib/jsp-api-2.3.jar
/usr/share/java/el-api-3.0.jar:./solr/example/lib/el-api-3.0.jar
/usr/share/java/tomcat9-api.jar:./solr/example/lib/tomcat-api.jar
/usr/share/java/tomcat9-annotations-api.jar:./solr/example/lib/tomcat-annotations-api.jar
/usr/share/java/tomcat9-el-api.jar:./solr/example/lib/tomcat-el-api.jar
......
lucene-solr (3.6.2+dfsg-17) unstable; urgency=medium
* Team upload.
* Do not build the lucene3 javadocs anymore. Very low popcon and build
failures. (Closes: #917739)
* Remove TODO.Debian.
* Add web.xml.patch and use a correct DTD schema otherwise jasper will abort
the build process.
* Remove el-api.jar from the classpath to avoid a conflict with jasper-el.
* Execute postrm commands in solr-jetty and solr-tomcat on purge too.
(Closes: #914223)
-- Markus Koschany <apo@debian.org> Fri, 15 Feb 2019 11:21:49 +0100
lucene-solr (3.6.2+dfsg-16) unstable; urgency=medium
* Team upload.
......
......@@ -46,7 +46,7 @@ Build-Depends:
libxml-commons-resolver1.1-java,
maven-repo-helper (>= 1.5~),
po-debconf
Standards-Version: 4.2.1
Standards-Version: 4.3.0
Vcs-Git: https://salsa.debian.org/java-team/lucene-solr.git
Vcs-Browser: https://salsa.debian.org/java-team/lucene-solr
Homepage: http://lucene.apache.org
......@@ -73,8 +73,6 @@ Architecture: all
Depends:
liblucene3-java,
${misc:Depends}
Suggests:
liblucene3-java-doc
Recommends:
libavalon-framework-java,
libcommons-beanutils-java,
......@@ -97,20 +95,6 @@ Description: Full-text search engine library for Java - additional libraries
.
This package contains a number of additional (contributed) libraries.
Package: liblucene3-java-doc
Architecture: all
Section: doc
Suggests:
liblucene3-java
Depends:
${misc:Depends}
Description: Documentation for Lucene
Lucene is a full-text search engine for the Java(TM) programming language.
Lucene is not a complete application, but rather a code library and API
that can easily be used to add search capabilities to applications.
.
This package contains class API documentation for Lucene.
Package: libsolr-java
Architecture: all
Depends:
......@@ -137,8 +121,7 @@ Suggests:
junit4,
libeasymock-java,
libjetty9-extras-java,
libjetty9-java (>= 9.4),
libsolr-java-doc
libjetty9-java (>= 9.4)
Description: Enterprise search server based on Lucene - Java libraries
Solr is an open source enterprise search server based on the Lucene
Java search library, with XML/HTTP and JSON APIs, hit highlighting,
......
Document: liblucene3-java-doc
Title: API Javadoc for Apache Lucene Full-Text Search Library
Author: Apache Lucene Project Team
Abstract: This is the API Javadoc provided by the Apache
Lucene Full-Text Search Library
Section: Programming/Java
Format: HTML
Index: /usr/share/doc/liblucene3-java/api/index.html
Files: /usr/share/doc/liblucene3-java/api/*.html
......@@ -16,3 +16,4 @@ remove-RunExecutableListener.patch
CVE-2017-3163.patch
ant-1.10.patch
CVE-2018-1308.patch
web.xml.patch
From: Markus Koschany <apo@debian.org>
Date: Fri, 15 Feb 2019 10:02:16 +0100
Subject: web.xml
---
solr/webapp/web/WEB-INF/web.xml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/solr/webapp/web/WEB-INF/web.xml b/solr/webapp/web/WEB-INF/web.xml
index b709bda..eda1dc8 100644
--- a/solr/webapp/web/WEB-INF/web.xml
+++ b/solr/webapp/web/WEB-INF/web.xml
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -17,7 +16,12 @@
limitations under the License.
-->
-<web-app>
+<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
+ http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
+ version="3.1">
+
<!-- Uncomment if you are trying to use a Resin version before 3.0.19.
Their XML implementation isn't entirely compatible with Xerces.
......@@ -20,7 +20,7 @@ override_dh_auto_build:
mkdir -p lucene/site/build/site
ant -buildfile build.xml -Dversion=$(DEB_UPSTREAM_VERSION) get-maven-poms
ant -buildfile lucene/build.xml -propertyfile debian/ant.properties \
-Dversion=$(DEB_UPSTREAM_VERSION) javacc jar-core docs javadocs build-contrib
-Dversion=$(DEB_UPSTREAM_VERSION) javacc jar-core docs build-contrib
ant -buildfile solr/contrib/dataimporthandler/build.xml \
-propertyfile debian/ant.properties -Dversion=$(DEB_UPSTREAM_VERSION) dist
ant -buildfile solr/build.xml -propertyfile debian/ant.properties \
......
......@@ -3,7 +3,7 @@
set -e
case "$1" in
remove)
remove|purge)
# If permissions for the stuff under /var/lib/solr haven't
# been removed, remove them now
if [ -x dpkg-statoverride ]; then
......@@ -20,7 +20,7 @@ case "$1" in
invoke-rc.d jetty9 restart || true
fi
;;
upgrade|purge|failed-upgrade|abort-install|abort-upgrade|disappear)
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
# do nothing
;;
*)
......
......@@ -3,13 +3,13 @@
set -e
case "$1" in
remove)
remove|purge)
rm -f /etc/tomcat9/policy.d/05solr.policy
if [ -x invoke-rc.d ]; then
invoke-rc.d tomcat9 restart || true
fi
;;
upgrade|purge|failed-upgrade|abort-install|abort-upgrade|disappear)
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
# do nothing
;;
*)
......