summaryrefslogtreecommitdiff
path: root/textproc/xapian-omega/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xapian-omega/patches/patch-ab')
-rw-r--r--textproc/xapian-omega/patches/patch-ab11
1 files changed, 8 insertions, 3 deletions
diff --git a/textproc/xapian-omega/patches/patch-ab b/textproc/xapian-omega/patches/patch-ab
index 1bbd4cea371..f368e2f246b 100644
--- a/textproc/xapian-omega/patches/patch-ab
+++ b/textproc/xapian-omega/patches/patch-ab
@@ -1,10 +1,10 @@
-$NetBSD: patch-ab,v 1.3 2013/06/04 21:28:26 schmonz Exp $
+$NetBSD: patch-ab,v 1.4 2016/11/07 13:02:45 schmonz Exp $
Respect ${VARBASE} and follow hier(7).
---- omega.conf.orig 2013-04-17 00:01:38.000000000 +0000
+--- omega.conf.orig 2016-10-21 04:54:32.000000000 +0000
+++ omega.conf
-@@ -1,11 +1,11 @@
+@@ -1,8 +1,8 @@
# Directory containing Xapian databases:
-database_dir /var/lib/omega/data
+database_dir @VARBASE@/xapian-omega/data
@@ -13,6 +13,11 @@ Respect ${VARBASE} and follow hier(7).
-template_dir /var/lib/omega/templates
+template_dir @VARBASE@/xapian-omega/templates
+ # Default template name if the CGI parameter "FMT" is not specified.
+ # (If not specified here, the default template name is "query"):
+@@ -13,7 +13,7 @@ template_dir /var/lib/omega/templates
+ #default_db default
+
# Directory to write Omega logs to:
-log_dir /var/log/omega
+log_dir @VARBASE@/log/xapian-omega