]> git.pld-linux.org Git - packages/beagle.git/blob - beagle-crawl.patch
- 0.1.3, python bindings added
[packages/beagle.git] / beagle-crawl.patch
1 diff -aurN beagle-0.1.1.orig/tools/beagle-crawl-system.crontab.in beagle-0.1.1/tools/beagle-crawl-system.crontab.in
2 --- beagle-0.1.1.orig/tools/beagle-crawl-system.crontab.in      2005-08-22 21:02:29.000000000 +0200
3 +++ beagle-0.1.1/tools/beagle-crawl-system.crontab.in   2005-10-24 20:41:19.000000000 +0200
4 @@ -1,4 +1,3 @@
5 -SHELL=/bin/sh
6 -
7 -# Run at 4:30 am every day
8 -30 4 * * *     root    @libexecdir@/beagle-crawl-system
9 +#!/bin/sh
10 +@libexecdir@/beagle-crawl-system
11 +exit 0
12 diff -aurN beagle-0.1.1.orig/tools/beagle-crawl-system.in beagle-0.1.1/tools/beagle-crawl-system.in
13 --- beagle-0.1.1.orig/tools/beagle-crawl-system.in      2005-08-17 22:35:19.000000000 +0200
14 +++ beagle-0.1.1/tools/beagle-crawl-system.in   2005-10-24 21:24:18.000000000 +0200
15 @@ -51,7 +51,7 @@
16             OPTIONS="$OPTIONS `test -n "$CRAWL_DENY_PATTERNS" && \
17                       echo --allow-pattern $CRAWL_DENY_PATTERNS`"
18  
19 -           eval nice -n 19 su $CRAWL_USER -c \"@sbindir@/beagle-build-index --target @localstatedir@/cache/beagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS\" 2> /dev/null
20 +           eval nice -n 19 \"@sbindir@/beagle-build-index --target @localstatedir@/cache/beagle/indexes/$CRAWL_INDEX_NAME $OPTIONS $CRAWL_PATHS\" 2> /dev/null
21         fi
22      fi
23  done
24 diff -aurN beagle-0.1.1.orig/tools/crawl-rules/crawl-applications beagle-0.1.1/tools/crawl-rules/crawl-applications
25 --- beagle-0.1.1.orig/tools/crawl-rules/crawl-applications      2005-08-11 16:42:21.000000000 +0200
26 +++ beagle-0.1.1/tools/crawl-rules/crawl-applications   2005-10-24 20:21:58.000000000 +0200
27 @@ -2,10 +2,10 @@
28  
29  CRAWL_INDEX_NAME="applications"
30  
31 -CRAWL_PATHS="/usr/share/applications /usr/local/shared/applications /opt/gnome/share/applications /opt/kde3/share/applications"
32 +CRAWL_PATHS="/usr/share/applications"
33  
34  CRAWL_RECURSIVE="yes"
35  
36  CRAWL_DISABLE_FILTERING="no"
37  
38 -CRAWL_CACHE_TEXT="no"
39 \ Brak znaku nowej linii na koƱcu pliku
40 +CRAWL_CACHE_TEXT="no"
41 diff -aurN beagle-0.1.1.orig/tools/crawl-rules/crawl-documentation beagle-0.1.1/tools/crawl-rules/crawl-documentation
42 --- beagle-0.1.1.orig/tools/crawl-rules/crawl-documentation     2005-08-11 23:54:14.000000000 +0200
43 +++ beagle-0.1.1/tools/crawl-rules/crawl-documentation  2005-10-24 20:22:10.000000000 +0200
44 @@ -2,7 +2,7 @@
45  
46  CRAWL_INDEX_NAME="documentation"
47  
48 -CRAWL_PATHS="/usr/share/doc /opt/kde3/share/doc /opt/gnome/share/gnome/help"
49 +CRAWL_PATHS="/usr/share/doc"
50  
51  CRAWL_ALLOW_PATTERNS="*.xml,*.html,*.docbook"
52  
53 diff -aurN beagle-0.1.1.orig/tools/Makefile.am beagle-0.1.1/tools/Makefile.am
54 --- beagle-0.1.1.orig/tools/Makefile.am 2005-08-29 08:05:48.000000000 +0200
55 +++ beagle-0.1.1/tools/Makefile.am      2005-10-24 20:45:00.000000000 +0200
56 @@ -35,19 +35,18 @@
57         chmod +x $(CRAWL_WRAPPER)
58  
59  CRAWL_RULES = \
60 -       $(srcdir)/crawl-rules/crawl-windows             \
61         $(srcdir)/crawl-rules/crawl-applications        \
62         $(srcdir)/crawl-rules/crawl-documentation
63  
64  libexec_SCRIPTS = $(CRAWL_WRAPPER)
65  
66 -CRAWL_WRAPPER_CRONTAB = beagle-crawl-system.crontab
67 +CRAWL_WRAPPER_CRONTAB = beagle-crawl-system
68  CRAWL_WRAPPER_CRONTAB_IN = beagle-crawl-system.crontab.in
69  
70  $(CRAWL_WRAPPER_CRONTAB): $(CRAWL_WRAPPER_CRONTAB_IN)
71         $(WRAPPER_SED) < $(srcdir)/$(CRAWL_WRAPPER_CRONTAB_IN) > $@
72  
73 -crondir = $(sysconfdir)/cron.d
74 +crondir = $(sysconfdir)/cron.daily
75  cron_DATA = $(CRAWL_WRAPPER_CRONTAB)
76  
77  # FIXME: Per-distribution specific crawl rules
This page took 0.051016 seconds and 3 git commands to generate.