summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/xindice/files')
-rw-r--r--dev-db/xindice/files/digest-xindice-1.0-r11
-rw-r--r--dev-db/xindice/files/xindice4
-rw-r--r--dev-db/xindice/files/xindice-1.0-r1.patch39
3 files changed, 42 insertions, 2 deletions
diff --git a/dev-db/xindice/files/digest-xindice-1.0-r1 b/dev-db/xindice/files/digest-xindice-1.0-r1
new file mode 100644
index 000000000000..698604115f93
--- /dev/null
+++ b/dev-db/xindice/files/digest-xindice-1.0-r1
@@ -0,0 +1 @@
+MD5 895bf529f483be5885cf4c963b4111a8 xml-xindice-1.0.tar.gz 5304315
diff --git a/dev-db/xindice/files/xindice b/dev-db/xindice/files/xindice
index b7392ab22d48..e921f2ff913e 100644
--- a/dev-db/xindice/files/xindice
+++ b/dev-db/xindice/files/xindice
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/xindice/files/xindice,v 1.1 2003/04/11 20:10:21 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/xindice/files/xindice,v 1.2 2004/02/24 07:46:32 phosphan Exp $
depend() {
need net
@@ -11,7 +11,7 @@ start() {
ebegin "Starting xindice..."
start-stop-daemon --pidfile /var/run/xindice/xindice.pid\
--start --background --user xindice --chuid xindice\
- --exec /opt/xindice/start
+ --exec /usr/lib/xindice/start
eend $?
}
diff --git a/dev-db/xindice/files/xindice-1.0-r1.patch b/dev-db/xindice/files/xindice-1.0-r1.patch
new file mode 100644
index 000000000000..b244206afa18
--- /dev/null
+++ b/dev-db/xindice/files/xindice-1.0-r1.patch
@@ -0,0 +1,39 @@
+--- java/src/org/apache/xindice/core/query/XPathQueryResolver.java 2004-02-23 15:22:10.556196304 -0500
++++ java/src/org/apache/xindice/core/query/XPathQueryResolver.java 2004-02-23 15:23:18.094928856 -0500
+@@ -499,7 +499,7 @@
+ private Object evalFunction(int op, String owner, int pos) throws Exception {
+ int idx = cmp.getFirstChildPos(pos);
+ int id = cmp.getOp(idx);
+- int endFunc = pos + cmp.getOpMap()[pos+1] - 1;
++ int endFunc = pos + cmp.getOpMap().elementAt(pos+1) - 1;
+
+ List args = new ArrayList();
+ int lp = idx+1;
+--- start 2003-04-07 15:44:25.000000000 +0200
++++ start.new 2003-04-07 15:53:39.000000000 +0200
+@@ -11,8 +11,8 @@
+ echo "-----------"
+ echo "XINDICE_HOME = " $XINDICE_HOME
+
+-if test -f $XINDICE_HOME/config/xindice.pid; then
+- echo "A Xindice instance is already running with PID" `cat $XINDICE_HOME/config/xindice.pid`
++if test -f /var/run/xindice/xindice.pid; then
++ echo "A Xindice instance is already running with PID" `cat /var/run/xindice/xindice.pid`
+ exit
+ fi
+
+@@ -42,7 +42,7 @@
+
+ cd $XINDICE_HOME
+
+-echo $$ > $XINDICE_HOME/config/xindice.pid
++echo $$ > /var/run/xindice/xindice.pid
+
+ RESTART=1
+
+@@ -73,4 +73,4 @@
+ done
+
+ trap 1 2 15
+-rm $XINDICE_HOME/config/xindice.pid
++rm /var/run/xindice/xindice.pid