[pkg-java] r9028 - trunk/solr/debian
Jan-Pascal van Best
janpascal-guest at alioth.debian.org
Thu Jul 9 15:10:16 UTC 2009
Author: janpascal-guest
Date: 2009-07-09 15:10:13 +0000 (Thu, 09 Jul 2009)
New Revision: 9028
Added:
trunk/solr/debian/README.source
trunk/solr/debian/copyright
trunk/solr/debian/copyright.legacy
trunk/solr/debian/orig-tar.sh
trunk/solr/debian/solr-tomcat.dirs
trunk/solr/debian/solr-tomcat.links
trunk/solr/debian/solr-tomcat.postinst
trunk/solr/debian/solr-tomcat.postrm
trunk/solr/debian/solr-tomcat.xml
Removed:
trunk/solr/debian/copyright
trunk/solr/debian/solr-tomcat6.dirs
trunk/solr/debian/solr-tomcat6.links
trunk/solr/debian/solr-tomcat6.postinst
trunk/solr/debian/solr-tomcat6.postrm
trunk/solr/debian/solr-tomcat6.xml
Modified:
trunk/solr/debian/README.Debian
trunk/solr/debian/TODO
trunk/solr/debian/changelog
trunk/solr/debian/control
trunk/solr/debian/rules
trunk/solr/debian/watch
Log:
Rename solr-tomcat6 to solr-tomcat; re-enable solr-jetty package;
make watch file repackage upstream source and introduce debian/get-tar.sh;
make debian/copyright machine-readable, introduce debian/README.source
Modified: trunk/solr/debian/README.Debian
===================================================================
--- trunk/solr/debian/README.Debian 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/README.Debian 2009-07-09 15:10:13 UTC (rev 9028)
@@ -4,9 +4,11 @@
Solr is an enterprise search server based on the Lucene Java library. The
Debian packaging of Solr consists of three binary packages:
- solr-common contains the Solr software itself and general configuration.
-- solr-tomcat6 installs Solr as a servlet in Tomcat 6. After installation,
+- solr-tomcat installs Solr as a servlet in Tomcat 6. After installation,
point your browser to http://localhost:8080/solr/admin
to see the Solr web administration interface.
+- solr-jetty installs Solr as a servlet in the Jetty application server.
+ The Solr admin interface is at http://localhost:8080/solr/admin/
Homepage: http://lucene.apache.org/solr/
Added: trunk/solr/debian/README.source
===================================================================
--- trunk/solr/debian/README.source (rev 0)
+++ trunk/solr/debian/README.source 2009-07-09 15:10:13 UTC (rev 9028)
@@ -0,0 +1,14 @@
+The Debian source for the solr package is created by
+removing superfluous library .jars and generated .jars,
+.war and Javadoc from the upstream source archive.
+
+Run
+ debian/rules get-orig-source
+to download the source tarball from Apache and repack
+it into the Debian source.
+
+A note about the build system: most of the contents of the
+Debian package is created by first building the .war file
+using the upstream (ant) build system. The .war file
+is then unpacked, and its components are installed into
+the proper locations.
Modified: trunk/solr/debian/TODO
===================================================================
--- trunk/solr/debian/TODO 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/TODO 2009-07-09 15:10:13 UTC (rev 9028)
@@ -5,8 +5,8 @@
- Do something with the example (package it, or supply the example files under
/usr/share/doc/solr)
- Maybe: add solr-standalone package (using embedded Jetty like the Solr
- example). This would depend on the Jetty package, though, so maybe it's not
- such a useful idea.
+ example).
- Maybe: move the API docs to a separate package (it's 8.7 MB, and not generally
useful to people just interested in running Solr, only to those extending it).
-
+- Maybe: make seperate solrj client library package
+- Do a license check also of things that 'licensecheck -r' does not catch
Modified: trunk/solr/debian/changelog
===================================================================
--- trunk/solr/debian/changelog 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/changelog 2009-07-09 15:10:13 UTC (rev 9028)
@@ -1,16 +1,17 @@
-solr (1.3.0+ds1-1) UNRELEASED; urgency=low
+solr (1.3.0+ds1-1~pre1) UNRELEASED; urgency=low
* New upstream release (1.3.0). Closes: #521009.
- * Added workaround of bug #452586 in Jetty to debian/README.Debian. Note
- that solr-jetty is still disabled because Jetty has been removed from
- Lenny.
* Removed dependency on javanet staxutils (see upstream issue SOLR-851).
* Disable unit tests that need network access. Closes: #534031.
* Change Section: to java.
* Fix Tomcat policy for Solr 1.3.0.
* Bump Standards-Version to 3.8.2 (no changes needed).
+ * Rename solr-tomcat6 package to solr-tomcat.
+ * Re-enable solr-jetty package now that Jetty6 is in sid.
+ * Update watch file to automatically repackage source
+ * Convert debian/copyright to machine-readable version
- -- Jan-Pascal van Best <janpascal at vanbest.org> Wed, 01 Jul 2009 22:47:44 +0200
+ -- Jan-Pascal van Best <janpascal at vanbest.org> Thu, 09 Jul 2009 15:09:11 +0200
solr (1.2.0+ds2-6) unstable; urgency=low
Modified: trunk/solr/debian/control
===================================================================
--- trunk/solr/debian/control 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/control 2009-07-09 15:10:13 UTC (rev 9028)
@@ -36,7 +36,7 @@
liblucene2-java (>= 2.4.0),
libxpp3-java (>= 1.1.3.4.0),
libtomcat6-java (>= 6.0.20)
-Recommends: solr-tomcat5.5 (>= ${binary:Version}) | solr-jetty (>= ${binary:Version})
+Recommends: solr-tomcat (>= ${binary:Version}) | solr-jetty (>= ${binary:Version})
Description: enterprise search server based on Lucene - common files
Solr is an open source enterprise search server based on the Lucene
Java search library, with XML/HTTP and JSON APIs, hit highlighting,
@@ -46,7 +46,7 @@
This package provides the common files for Solr. Install
solr-tomcat5.5 or solr-jetty to use Solr under Tomcat or Jetty.
-Package: solr-tomcat6
+Package: solr-tomcat
Architecture: all
Depends: ${misc:Depends}, solr-common (= ${binary:Version}), tomcat6 (>= 6.0.20)
Conflicts: solr-jetty
@@ -58,14 +58,14 @@
.
This package provides the Tomcat integration files for Solr.
-#Package: solr-jetty
-#Architecture: all
-#Depends: ${misc:Depends), solr-common (= ${binary:Version}), jetty (>= 5.1.14-1)
-#Conflicts: solr-tomcat6
-#Description: enterprise search server based on Lucene - Jetty integration
-# Solr is an open source enterprise search server based on the Lucene
-# Java search library, with XML/HTTP and JSON APIs, hit highlighting,
-# faceted search, caching, replication, and a web administration
-# interface. It runs in a Java servlet container such as Tomcat.
-# .
-# This package provides the Jetty integration files for Solr.
+Package: solr-jetty
+Architecture: all
+Depends: ${misc:Depends}, solr-common (= ${binary:Version}), jetty (>= 6.1.18)
+Conflicts: solr-tomcat
+Description: enterprise search server based on Lucene - Jetty integration
+ Solr is an open source enterprise search server based on the Lucene
+ Java search library, with XML/HTTP and JSON APIs, hit highlighting,
+ faceted search, caching, replication, and a web administration
+ interface. It runs in a Java servlet container such as Tomcat.
+ .
+ This package provides the Jetty integration files for Solr.
Deleted: trunk/solr/debian/copyright
===================================================================
--- trunk/solr/debian/copyright 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/copyright 2009-07-09 15:10:13 UTC (rev 9028)
@@ -1,25 +0,0 @@
-This package was debianised by Jan-Pascal van Best <janpascal at vanbest.org> on
-Mon, 06 Aug 2007 11:07:34 +0200
-
-It was downloaded from
- http://www.apache.org/dist/lucene/solr/1.2/apache-solr-1.2.tgz
-and then superfluous library .jars and generated .jars, .war and Javadoc
-was removed to generate the .orig.tar.gz file. Run
- debian/rules get-orig-source
-to download the source tarball from Apache and repack it into the Debian source.
-
-Apache Solr is
- Copyright 2007,2008,2009 The Apache Software Foundation
-
-Authors:
- Doug Cutting <cutting at apache.org>
- Erik Hatcher <ehatcher at apacher.org>
- Otis Gospodnetic <otis at apache.org>
- et.al.
-
-The Debian packaging is
- Copyright 2007,2008,2009 by Jan-Pascal van Best <janpascal at vanbest.org>
-
-Both the original software and the Debian packaging are licensed under the
-Apache License, version 2.0. On Debian systems, the complete text of the Apache
-License, version 2.0, can be found in `/usr/share/common-licenses/Apache-2.0'.
Added: trunk/solr/debian/copyright
===================================================================
--- trunk/solr/debian/copyright (rev 0)
+++ trunk/solr/debian/copyright 2009-07-09 15:10:13 UTC (rev 9028)
@@ -0,0 +1,17 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION
+Name: solr
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Source: http://lucene.apache.org/solr/
+
+Files: *
+Copyright: 2007,2008,2009 The Apache Software Foundation
+License: Apache-2
+
+Files: debian/*
+Copyright: 2007,2008,2009 Jan-Pascal van Best <janpascal at vanbest.org>
+License: Apache-2
+
+License: Apache-2
+ On Debian systems, the complete text of the Apache
+ License, version 2.0, can be found in the
+ `/usr/share/common-licenses/Apache-2.0' file.
Copied: trunk/solr/debian/copyright.legacy (from rev 8718, trunk/solr/debian/copyright)
===================================================================
--- trunk/solr/debian/copyright.legacy (rev 0)
+++ trunk/solr/debian/copyright.legacy 2009-07-09 15:10:13 UTC (rev 9028)
@@ -0,0 +1,25 @@
+This package was debianised by Jan-Pascal van Best <janpascal at vanbest.org> on
+Mon, 06 Aug 2007 11:07:34 +0200
+
+It was downloaded from
+ http://www.apache.org/dist/lucene/solr/1.2/apache-solr-1.2.tgz
+and then superfluous library .jars and generated .jars, .war and Javadoc
+was removed to generate the .orig.tar.gz file. Run
+ debian/rules get-orig-source
+to download the source tarball from Apache and repack it into the Debian source.
+
+Apache Solr is
+ Copyright 2007,2008,2009 The Apache Software Foundation
+
+Authors:
+ Doug Cutting <cutting at apache.org>
+ Erik Hatcher <ehatcher at apacher.org>
+ Otis Gospodnetic <otis at apache.org>
+ et.al.
+
+The Debian packaging is
+ Copyright 2007,2008,2009 by Jan-Pascal van Best <janpascal at vanbest.org>
+
+Both the original software and the Debian packaging are licensed under the
+Apache License, version 2.0. On Debian systems, the complete text of the Apache
+License, version 2.0, can be found in `/usr/share/common-licenses/Apache-2.0'.
Property changes on: trunk/solr/debian/copyright.legacy
___________________________________________________________________
Added: svn:mergeinfo
+
Added: trunk/solr/debian/orig-tar.sh
===================================================================
--- trunk/solr/debian/orig-tar.sh (rev 0)
+++ trunk/solr/debian/orig-tar.sh 2009-07-09 15:10:13 UTC (rev 9028)
@@ -0,0 +1,34 @@
+#!/bin/sh -e
+
+UPSTREAM_VERSION=${UPSTREAM_VERSION:-"$2"}
+DEBIAN_SOURCE_VERSION=${DEBIAN_SOURCE_VERSION:-"$2+ds1"}
+
+DESTDIR=$PWD/..
+UPSTREAM_SOURCE="$DESTDIR/apache-solr-$UPSTREAM_VERSION.tgz"
+UPSTREAM_URL="http://archive.apache.org/dist/lucene/solr/$UPSTREAM_VERSION/apache-solr-$UPSTREAM_VERSION.tgz"
+DEBIAN_SOURCE="$DESTDIR/solr_$DEBIAN_SOURCE_VERSION.orig.tar.gz"
+
+# Test if the upstream tarball needs to be downloaded
+if [ ! -r $UPSTREAM_SOURCE ]; then
+ wget -O "$UPSTREAM_SOURCE" "$UPSTREAM_URL"
+fi
+
+# Repackage upstream source file without the third party jars
+TEMPDIR="solr-$DEBIAN_SOURCE_VERSION"
+mkdir "$TEMPDIR"
+echo "Unpacking into tempdir $TEMPDIR..."
+tar xzf $UPSTREAM_SOURCE -C $TEMPDIR --strip 1
+
+echo "Removing third party jars, wars, and generated API docs..."
+find $TEMPDIR -name \*.jar -exec rm {} \;
+find $TEMPDIR -name \*.war -exec rm {} \;
+rm -rf $TEMPDIR/dist
+rm -rf $TEMPDIR/docs/api
+
+echo "Packing new orig source tarball $DEBIAN_SOURCE..."
+# uscan may have already put the symlink there
+rm -f $DEBIAN_SOURCE
+GZIP=--best tar czf $DEBIAN_SOURCE $TEMPDIR
+
+echo "Removing tempdir $TEMPDIR..."
+rm -rf "$TEMPDIR"
Property changes on: trunk/solr/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/solr/debian/rules
===================================================================
--- trunk/solr/debian/rules 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/rules 2009-07-09 15:10:13 UTC (rev 9028)
@@ -16,7 +16,7 @@
CHANGESFILE = ../solr_$(DEB_VERSION)_$(DEB_BUILD_ARCH).changes
COMMON_INSTDIR=$(CURDIR)/debian/solr-common
-TOMCAT_INSTDIR=$(CURDIR)/debian/solr-tomcat6
+TOMCAT_INSTDIR=$(CURDIR)/debian/solr-tomcat
JETTY_INSTDIR=$(CURDIR)/debian/solr-jetty
SHAREDIR=$(COMMON_INSTDIR)/usr/share/solr
@@ -70,14 +70,14 @@
rmdir --ignore-fail-on-non-empty $(COMMON_INSTDIR)/usr/share/doc/solr-common/docs/skin/scripts
rmdir --ignore-fail-on-non-empty $(COMMON_INSTDIR)/usr/share/doc/solr-common/docs/skin/translations
-install/solr-tomcat6::
- # Configure tomcat (also see solr-tomcat6.links)
- install --mode 0644 debian/solr-tomcat6.xml $(TOMCAT_INSTDIR)/etc/solr/
+install/solr-tomcat::
+ # Configure tomcat (also see solr-tomcat.links)
+ install --mode 0644 debian/solr-tomcat.xml $(TOMCAT_INSTDIR)/etc/solr/
install --mode 0644 debian/tomcat.policy $(TOMCAT_INSTDIR)/etc/solr/
-#install/solr-jetty::
-# # Configure Jetty
-# install --mode 0644 debian/jetty-web.xml $(JETTY_INSTDIR)/usr/share/solr/WEB-INF/
+install/solr-jetty::
+ # Configure Jetty
+ install --mode 0644 debian/jetty-web.xml $(JETTY_INSTDIR)/usr/share/solr/WEB-INF/
remove-source:
rm -f build.xml common-build.xml
@@ -93,13 +93,13 @@
get-orig-source: ../solr_$(DEB_UPSTREAM_VERSION).orig.tar.gz
../solr_$(DEB_UPSTREAM_VERSION).orig.tar.gz:
- debian/get-orig-source
+ debian/orig-tar.sh --upstream-version $(UPSTREAM_VERSION)
check:
lintian -i $(CHANGESFILE)
linda -i $(CHANGESFILE)
zgrep "^---" ../solr_$(DEB_VERSION).diff.gz | grep -v debian ; [ $$? != 0 ]
( dpkg --contents ../solr-common_$(DEB_VERSION)_all.deb ; \
- dpkg --contents ../solr-tomcat6_$(DEB_VERSION)_all.deb ; \
+ dpkg --contents ../solr-tomcat_$(DEB_VERSION)_all.deb ; \
+ dpkg --contents ../solr-jetty_$(DEB_VERSION)_all.deb ; \
) | less
- #dpkg --contents ../solr-jetty_$(DEB_VERSION)_all.deb ; \
Copied: trunk/solr/debian/solr-tomcat.dirs (from rev 8712, trunk/solr/debian/solr-tomcat6.dirs)
===================================================================
--- trunk/solr/debian/solr-tomcat.dirs (rev 0)
+++ trunk/solr/debian/solr-tomcat.dirs 2009-07-09 15:10:13 UTC (rev 9028)
@@ -0,0 +1,4 @@
+/etc/solr
+/etc/tomcat6/policy.d
+/var/lib/solr
+/var/lib/solr/data
Property changes on: trunk/solr/debian/solr-tomcat.dirs
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: trunk/solr/debian/solr-tomcat.links (from rev 8712, trunk/solr/debian/solr-tomcat6.links)
===================================================================
--- trunk/solr/debian/solr-tomcat.links (rev 0)
+++ trunk/solr/debian/solr-tomcat.links 2009-07-09 15:10:13 UTC (rev 9028)
@@ -0,0 +1 @@
+/etc/solr/solr-tomcat.xml /etc/tomcat6/Catalina/localhost/solr.xml
Property changes on: trunk/solr/debian/solr-tomcat.links
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: trunk/solr/debian/solr-tomcat.postinst (from rev 8712, trunk/solr/debian/solr-tomcat6.postinst)
===================================================================
--- trunk/solr/debian/solr-tomcat.postinst (rev 0)
+++ trunk/solr/debian/solr-tomcat.postinst 2009-07-09 15:10:13 UTC (rev 9028)
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+set -e
+
+# If proper permissions for the stuff under /var/lib/solr haven't
+# been set, set them now
+
+case "$1" in
+ configure)
+
+ # fixup for upgrade from solr-tomcat55, wich makes this tomcat55:root 750
+ chown root:root /var/lib/solr
+ chmod 755 /var/lib/solr
+
+ chown -R tomcat6:tomcat6 /var/lib/solr/data
+ chmod -R 770 /var/lib/solr/data
+
+ ln -sf /etc/solr/tomcat.policy /etc/tomcat6/policy.d/05solr.policy
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+invoke-rc.d --quiet tomcat6 restart || {
+ RESULT=$?
+ # Ignore if tomcat6 init script does not exist (yet)
+ if [ $RESULT != 100 ]; then
+ exit $RESULT
+ fi
+}
+
+#DEBHELPER#
Property changes on: trunk/solr/debian/solr-tomcat.postinst
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: trunk/solr/debian/solr-tomcat.postrm (from rev 8712, trunk/solr/debian/solr-tomcat6.postrm)
===================================================================
--- trunk/solr/debian/solr-tomcat.postrm (rev 0)
+++ trunk/solr/debian/solr-tomcat.postrm 2009-07-09 15:10:13 UTC (rev 9028)
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ remove)
+
+ rm -f /etc/tomcat6/policy.d/05solr.policy
+
+ # Is there a way not to restart tomcat if it is due to be removed, too?
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d tomcat6 restart || true
+ fi
+
+ ;;
+
+ upgrade|purge|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+ # do nothing
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
Property changes on: trunk/solr/debian/solr-tomcat.postrm
___________________________________________________________________
Added: svn:mergeinfo
+
Copied: trunk/solr/debian/solr-tomcat.xml (from rev 8712, trunk/solr/debian/solr-tomcat6.xml)
===================================================================
--- trunk/solr/debian/solr-tomcat.xml (rev 0)
+++ trunk/solr/debian/solr-tomcat.xml 2009-07-09 15:10:13 UTC (rev 9028)
@@ -0,0 +1,11 @@
+<!--
+ Context configuration file for the Solr Web App
+-->
+
+<Context path="/solr" docBase="/usr/share/solr"
+ debug="0" privileged="true" allowLinking="true" crossContext="true">
+ <!-- make symlinks work in Tomcat -->
+ <Resources className="org.apache.naming.resources.FileDirContext" allowLinking="true" />
+
+ <Environment name="solr/home" type="java.lang.String" value="/usr/share/solr" override="true" />
+</Context>
Property changes on: trunk/solr/debian/solr-tomcat.xml
___________________________________________________________________
Added: svn:mergeinfo
+
Deleted: trunk/solr/debian/solr-tomcat6.dirs
===================================================================
--- trunk/solr/debian/solr-tomcat6.dirs 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/solr-tomcat6.dirs 2009-07-09 15:10:13 UTC (rev 9028)
@@ -1,4 +0,0 @@
-/etc/solr
-/etc/tomcat6/policy.d
-/var/lib/solr
-/var/lib/solr/data
Deleted: trunk/solr/debian/solr-tomcat6.links
===================================================================
--- trunk/solr/debian/solr-tomcat6.links 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/solr-tomcat6.links 2009-07-09 15:10:13 UTC (rev 9028)
@@ -1 +0,0 @@
-/etc/solr/solr-tomcat6.xml /etc/tomcat6/Catalina/localhost/solr.xml
Deleted: trunk/solr/debian/solr-tomcat6.postinst
===================================================================
--- trunk/solr/debian/solr-tomcat6.postinst 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/solr-tomcat6.postinst 2009-07-09 15:10:13 UTC (rev 9028)
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# If proper permissions for the stuff under /var/lib/solr haven't
-# been set, set them now
-
-case "$1" in
- configure)
-
- # fixup for upgrade from solr-tomcat55, wich makes this tomcat55:root 750
- chown root:root /var/lib/solr
- chmod 755 /var/lib/solr
-
- chown -R tomcat6:tomcat6 /var/lib/solr/data
- chmod -R 770 /var/lib/solr/data
-
- ln -sf /etc/solr/tomcat.policy /etc/tomcat6/policy.d/05solr.policy
-
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-
-esac
-
-invoke-rc.d --quiet tomcat6 restart || {
- RESULT=$?
- # Ignore if tomcat6 init script does not exist (yet)
- if [ $RESULT != 100 ]; then
- exit $RESULT
- fi
-}
-
-#DEBHELPER#
Deleted: trunk/solr/debian/solr-tomcat6.postrm
===================================================================
--- trunk/solr/debian/solr-tomcat6.postrm 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/solr-tomcat6.postrm 2009-07-09 15:10:13 UTC (rev 9028)
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
- remove)
-
- rm -f /etc/tomcat6/policy.d/05solr.policy
-
- # Is there a way not to restart tomcat if it is due to be removed, too?
- if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d tomcat6 restart || true
- fi
-
- ;;
-
- upgrade|purge|failed-upgrade|abort-install|abort-upgrade|disappear)
-
- # do nothing
-
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-
-esac
-
-#DEBHELPER#
Deleted: trunk/solr/debian/solr-tomcat6.xml
===================================================================
--- trunk/solr/debian/solr-tomcat6.xml 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/solr-tomcat6.xml 2009-07-09 15:10:13 UTC (rev 9028)
@@ -1,11 +0,0 @@
-<!--
- Context configuration file for the Solr Web App
--->
-
-<Context path="/solr" docBase="/usr/share/solr"
- debug="0" privileged="true" allowLinking="true" crossContext="true">
- <!-- make symlinks work in Tomcat -->
- <Resources className="org.apache.naming.resources.FileDirContext" allowLinking="true" />
-
- <Environment name="solr/home" type="java.lang.String" value="/usr/share/solr" override="true" />
-</Context>
Modified: trunk/solr/debian/watch
===================================================================
--- trunk/solr/debian/watch 2009-07-09 00:57:55 UTC (rev 9027)
+++ trunk/solr/debian/watch 2009-07-09 15:10:13 UTC (rev 9028)
@@ -1,4 +1,5 @@
version=3
opts=dversionmangle=s/\+ds\d+$// \
- http://archive.apache.org/dist/lucene/solr/(?:[\d\.]+)/apache-solr-(.*).tgz
+ http://archive.apache.org/dist/lucene/solr/(?:[\d\.]+)/apache-solr-(.*).tgz \
+ debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list