[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#564205: htdig: always rebuild endings and synonyms databases



Package: htdig
Version: 1:3.2.0b6-9
Severity: minor
File: /usr/bin/rundig

I applied this patch that apparently corrects the problem:

--- /usr/bin/rundig~	2009-07-27 06:03:09.000000000 +0200
+++ /usr/bin/rundig	2010-01-08 12:20:24.000000000 +0100
@@ -81,13 +81,13 @@
 # These databases are semi-static, so even if pages change,
 # these databases will not need to be rebuilt.
 #
-if [ "`ls -t $COMMONDIR/english.0 $COMMONDIR/word2root.db 2>/dev/null | sed 1q`" = \
+if [ "`ls -t $COMMONDIR/english.0 $DBDIR/word2root.db 2>/dev/null | sed 1q`" = \
 	"$COMMONDIR/english.0" ]
 then
     $BINDIR/htfuzzy $opts endings
 fi
 
-if [ "`ls -t $COMMONDIR/synonyms $COMMONDIR/synonyms.db 2>/dev/null | sed 1q`" = \
+if [ "`ls -t $COMMONDIR/synonyms $DBDIR/synonyms.db 2>/dev/null | sed 1q`" = \
 	"$COMMONDIR/synonyms" ]
 then
     $BINDIR/htfuzzy $opts synonyms


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages htdig depends on:
ii  debconf [debconf-2.0]  1.5.28            Debian configuration management sy
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libgcc1                1:4.4.2-8         GCC support library
ii  libstdc++6             4.4.2-8           The GNU Standard C++ Library v3
ii  lockfile-progs         0.1.13            Programs for locking and unlocking
ii  perl                   5.10.1-8          Larry Wall's Practical Extraction 
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

htdig recommends no packages.

Versions of packages htdig suggests:
ii  apache2-mpm-prefork [httpd]  2.2.14-4    Apache HTTP Server - traditional n
ii  htdig-doc                    1:3.2.0b6-9 web search and indexing system - d

-- debconf information:
* htdig/run-rundig: true
* htdig/generate-databases: true

-- debsums errors found:
debsums: changed file /usr/bin/rundig (from htdig package)



Reply to: