From 67f11c4be10977da1399218e0f48abe1ff514a83 Mon Sep 17 00:00:00 2001
From: Tomas Cohen Arazi <tomascohen@gmail.com>
Date: Thu, 27 Feb 2014 12:40:57 -0300
Subject: [PATCH] Bug 7234: koha-common Debian package should include
 koha-sites.conf

This patch adds a sample koha-sites.conf file, which will be
included by the koha-common package in /etc/koha (where it belongs).

It is fixed to include the current defaults (DOM indexing for bot biblios
and authorities, disabled use of memcached, and good defaults for a normal
setup if enabled).

To test
- verify that the defaults are sane (let me know if it needs to be fixed).
- build the package and verify that the file gets installed.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba
---
 debian/templates/koha-sites.conf | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 debian/templates/koha-sites.conf

diff --git a/debian/templates/koha-sites.conf b/debian/templates/koha-sites.conf
new file mode 100644
index 0000000..83235ef
--- /dev/null
+++ b/debian/templates/koha-sites.conf
@@ -0,0 +1,22 @@
+# Apache virtual hosts creation variables 
+DOMAIN=".myDNSname.org"
+INTRAPORT="8080"
+INTRAPREFIX=""
+INTRASUFFIX="-intra"
+OPACPORT="80"
+OPACPREFIX=""
+OPACSUFFIX=""
+
+# SQL file to load into new instances
+DEFAULTSQL=""
+
+# Zebra global configuration variables
+ZEBRA_MARC_FORMAT="marc21"
+ZEBRA_LANGUAGE="en"
+BIBLIOS_INDEXING_MODE="dom"
+AUTHORITIES_INDEXING_MODE="dom"
+
+# Memcached global configuration variables
+USE_MEMCACHED="no"
+MEMCACHED_SERVERS="127.0.0.1:11211"
+MEMCACHED_PREFIX="koha_"
\ No newline at end of file
-- 
1.8.3.2