--- openguides-0.61.orig/newpage.cgi
+++ openguides-0.61/newpage.cgi
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
use warnings;
use strict;
--- openguides-0.61.orig/wiki.cgi
+++ openguides-0.61/wiki.cgi
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
use strict;
use warnings;
--- openguides-0.61.orig/wiki.conf
+++ openguides-0.61/wiki.conf
@@ -0,0 +1,145 @@
+# What type of database do you want the site to run on? postgres/mysql/sqlite
+dbtype = sqlite
+
+# What name does the database have? (If SQLite, enter the full filename)
+dbname = /var/lib/openguides/sqlite/default.db
+
+# ...the database user that can access that database?
+dbuser = not-used
+
+# ...the password that they use to access the database?
+dbpass = not-used
+
+# ...the machine that the database is hosted on? (blank if local)
+dbhost = not-used
+
+# ...the port the database is listening on? (blank if default)
+dbport = not-used
+
+# What do you want the script to be called?
+script_name = wiki.cgi
+
+# what directory contains the standard templates?
+template_path = /usr/share/openguides/templates
+
+# where should I look for custom templates?
+custom_template_path = /etc/openguides/default/templates
+
+# What URL does the install directory map to?
+script_url = http://localhost/cgi-bin/openguides/
+
+# There used to be a use_plucene configuration here, but currently,
+# for the Debian package, this must be left at the default.
+
+# What directory can I use to store indexes in for searching? ***NOTE*** This directory must exist and be writeable by the user that your script will run as. See README for more on this.
+indexing_directory = /var/lib/openguides/indexes/default/
+
+# Do you want to enable page deletion?
+enable_page_deletion = 0
+
+# Please specify a password for the site admin:
+admin_pass = Change this!
+
+# What's the URL of the site's stylesheet?
+# This is not provided by this Debian package!
+stylesheet_url = /openguides/default.css
+
+# What's the site called? (should be unique)
+site_name = Default Debian Package OpenGuide
+
+# Do you want the navigation bar included on the home page?
+navbar_on_home_page = 1
+
+# Do you want the ten most recent changes included on the home page?
+recent_changes_on_home_page = 1
+
+# Do you want the "Random Page" link to avoid returning a locale page?
+random_page_omits_locales = 0
+
+# Do you want the "Random Page" link to avoid returning a category page?
+random_page_omits_categories = 0
+
+# Do you want the content to appear above the navbar in the HTML?
+content_above_navbar_in_html = 0
+
+# What should the home page of the wiki be called?
+home_name = Home
+
+# How would you describe the site?
+site_desc = A guide to [my city]
+
+# What city is the site based in?
+default_city = London
+
+# What country is the site based in?
+default_country = United Kingdom
+
+# What language will the site be in? (Please give an ISO language code.)
+default_language = en
+
+# Contact email address for the site administrator?
+contact_email = me@example.com
+
+# What's the name of the node to use for the text formatting rules link?
+formatting_rules_node = Text Formatting Examples
+
+# Make node titles link to node backlinks (C2 style)?
+backlinks_in_title = 0
+
+# Distance calculation methods available are: 1) British National Grid 2) Irish National Grid 3) UTM ellipsoid. Which would you like to use?
+geo_handler = 1
+
+# Which ellipsoid do you want to use? (eg 'Airy', 'WGS-84')
+# This is only used if you select geo_handler = 3 above
+ellipsoid = WGS-84
+
+# Do you have a Google Maps API key to use with this guide? If you enter it here the Google Maps functionality will be automatically enabled.
+gmaps_api_key =
+
+# What is the longitude of the centre point of a map to draw for your guide? (This question can be ignored if you aren't using Google Maps)
+centre_long = 0
+
+# What is the latitude of the centre point of a map to draw for your guide? (This question can be ignored if you aren't using Google Maps)
+centre_lat = 0
+
+# Would you like to display a Google Map on every node that has geodata? (This question can be ignored if you aren't using Google Maps)
+show_gmap_in_node_display = 1
+
+# What default zoom level shall we use for Google Maps? (This question can be ignored if you aren't using Google Maps)
+default_gmaps_zoom = 5
+
+# What default zoom level shall we use for Google Maps in the search results? (This question can be ignored if you aren't using Google Maps)
+default_gmaps_search_zoom = 3
+
+# Forcibly treat stored lat/long data as if they used the WGS84 ellipsoid?
+force_wgs84 = 0
+
+# Do you have a Google Analytics key to use with this guide? If you enter it here, then Google Analytics functionality will be automatically enabled.
+google_analytics_key =
+
+# What licence will you use for the guide?
+#licence_name = Creative Commons Attribution-ShareAlike 2.5
+
+# What is the URL to your licence?
+#licence_url = http://creativecommons.org/licenses/by-sa/2.5/
+
+# What is the URL to your local page about your licensing policy?
+#licence_info_url = http://www.example.com/
+
+# Is the admin password required for moderating pages?
+moderation_requires_password = 1
+
+# Should nodes be allowed to have an externally hosted image?
+enable_node_image = 1
+
+# Do you want a common list of categories shown on all node pages?
+enable_common_categories = 0
+
+# Do you want a common list of locales shown on all node pages?
+enable_common_locales = 0
+
+# What module would you like to use for spam detection? (optional)
+spam_detector_module =
+
+# Should we send email notifications when a moderated node is edited?
+send_moderation_notifications = 1
--- openguides-0.61.orig/.htaccess
+++ openguides-0.61/.htaccess
@@ -0,0 +1,3 @@
+
+ deny from all
+
--- openguides-0.61.orig/debian/preinst
+++ openguides-0.61/debian/preinst
@@ -0,0 +1,51 @@
+#! /bin/sh
+# preinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+# summary of how this script can be called:
+# * `install'
+# * `install'
+# * `upgrade'
+# * `abort-upgrade'
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ install|upgrade)
+ if [ -n "$2" ]; then
+ if dpkg --compare-versions $2 lt 0.55; then
+ db_get openguides/check_old_upgrade || true
+ if [ "$RET" = "false" ]; then
+ echo "User requested not to upgrade";
+ # We always want to ask this in future
+ db_fset openguides/check_old_upgrade seen false
+ exit 1
+ fi
+ fi
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- openguides-0.61.orig/debian/openguides-setup-db.1
+++ openguides-0.61/debian/openguides-setup-db.1
@@ -0,0 +1,33 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH OPENGUIDES-SETUP-DB 1 "2006-05-16"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+openguides \- script to set up OpenGuides database
+.SH SYNOPSIS
+.B openguides
+.RI "config-file"
+.br
+.SH DESCRIPTION
+This script will set up a Wiki::Toolkit database in a location and format specified by the OpenGuides configuration file specified.
+.PP
+.SH OPTIONS
+This script takes just one argument, the configuration file to use.
+.SH AUTHOR
+openguides-setup-db was written by Dominic Hargreaves for the Debian project.
+.PP
+This manual page was written by Dominic Hargreaves ,
+for the Debian project (but may be used by others).
--- openguides-0.61.orig/debian/compat
+++ openguides-0.61/debian/compat
@@ -0,0 +1 @@
+4
--- openguides-0.61.orig/debian/openguides-setup-db
+++ openguides-0.61/debian/openguides-setup-db
@@ -0,0 +1,54 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use OpenGuides::Config;
+
+my $config_file = shift or die "Must specify config file on command line!";
+
+if ( ! -r $config_file ) {
+ die "Config file specified is not readable: $!";
+}
+
+my $config = OpenGuides::Config->new( file => $config_file);
+
+# Initialise the database if necessary.
+my $dbname = $config->dbname;
+my $dbuser = $config->dbuser;
+my $dbpass = $config->dbpass;
+my $dbhost = $config->dbhost;
+my $dbtype = $config->dbtype;
+
+my %cgi_wiki_exts = ( postgres => "Pg",
+ mysql => "MySQL",
+ sqlite => "SQLite" );
+
+my %dbd_exts = ( postgres => "Pg",
+ mysql => "mysql",
+ sqlite => "SQLite" );
+
+my $cgi_wiki_module = "Wiki::Toolkit::Setup::" . $cgi_wiki_exts{$dbtype};
+my $dbd_module = "DBD::" . $dbd_exts{$dbtype};
+
+eval "require $dbd_module";
+
+if ($@) {
+ print "The DBD module is probably not installed;\n";
+ print "we won't set up the database now.\n";
+ exit 0;
+}
+
+eval "require $cgi_wiki_module";
+
+if ($@) {
+ print "The DBD module is probably not installed;\n";
+ print "we won't set up the database now.\n";
+ exit 0;
+}
+
+print "Checking database schema...\n";
+{
+ no strict 'refs';
+ &{$cgi_wiki_module . "::setup"}( $dbname, $dbuser, $dbpass, $dbhost );
+}
--- openguides-0.61.orig/debian/watch
+++ openguides-0.61/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://www.cpan.org/modules/by-authors/id/D/DO/DOM/OpenGuides-(\d*\.\d*)\.tar\.gz
--- openguides-0.61.orig/debian/postinst
+++ openguides-0.61/debian/postinst
@@ -0,0 +1,54 @@
+#! /bin/sh
+# postinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+# summary of how this script can be called:
+# * `configure'
+# * `abort-upgrade'
+# * `abort-remove' `in-favour'
+#
+# * `abort-deconfigure' `in-favour'
+# `removing'
+#
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+ configure)
+ # Try to configure the database. This should set up the default
+ # sqlite database on a new install.
+ echo "Possibly setting up or updating default site database..."
+ for file in `ls /etc/openguides/*/wiki.conf`; do
+ echo "Processing config file $file ...";
+ su -c "/usr/bin/openguides-setup-db $file" www-data;
+ done
+ echo "Possibly checking/fixing SQLite file permissions..."
+ find /var/lib/openguides/sqlite/ -user root -exec chown www-data:www-data {} \;
+ echo "Done."
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- openguides-0.61.orig/debian/README.Debian
+++ openguides-0.61/debian/README.Debian
@@ -0,0 +1,68 @@
+Intro
+-----
+
+This is the Debian package of OpenGuides, a web application for running a
+collaborative city guide. The project's web site is
+
+
+
+and contains information on how to join the network of guides and links to
+existing guides, as well as more information on running the software.
+
+Default configuration
+---------------------
+
+If the SQLite database library is installed, the package will attempt to
+set up an SQLite database in the filesystem and install itself in the
+default Debian location for CGI scripts. If you didn't have the SQLite
+libraries (libdbd-sqlite-perl or libdbdsqlite3-perl) installed when you
+installed the openguides package, but want to use SQLite now, you should run
+"openguides-setup-db /etc/openguides/default/wiki.conf" as the web server
+user after installing libdbd-sqlite3-perl (libdbd-sqlite-perl is now
+deprecated and its on-disk format differs from libdbd-sqlite-perl, so is
+not recommended for new installs).
+
+To use this default configuration, point your web browser to
+
+.
+
+You will definitely want to edit the supplied configuration file at
+/etc/openguides/default/wiki.conf to personalise your installation, and you
+will need to install a CSS file to make the guide look nice. You may also
+want to set up Apache mod_rewrite rules or tweak the custom templates;
+all this is documented in /usr/share/doc/openguides/CUSTOMISATION
+(for this Debian package, the custom templates for the default configuration
+are in /etc/openguides/default/templates and there are example CSS files in
+/usr/share/doc/openguides/examples/). Apache rewriting examples are available
+in /usr/share/doc/openguides/examples/apache.openguides.conf.
+
+Databases
+---------
+
+Although the default configuration installs using SQLite, you may wish to
+use one of the two supported server-based databases, MySQL or PostgreSQL.
+Once you have created the database and set appropriate access rights, you
+should edit wiki.conf and set the configuration variables dbtype, dbname,
+dbuser, dbpass, dbhost as appropriate. Then run the command:
+
+ openguides-setup-db /etc/openguides/default/wiki.conf
+
+as the web server user in order to initialise the database. Note that this
+will not migrate the data from your previous database!
+
+Multiple installs
+-----------------
+
+If you wish to run several guides on the same machine, you should create a
+new CGI directory for that guide to live in, and set up symlinks to the four
+CGI scripts in /usr/lib/cgi-bin/openguides. Create /etc/openguides/
+and place a wiki.conf file there, and make a templates/ directory to put
+your custom templates in. Update the custom_template_path to match this.
+Finally, create a symlink in your new CGI directory pointing to
+/etc/openguides//wiki.conf so that the CGI scripts can find their
+configuration.
+
+Then run:
+ openguides-setup-db /etc/openguides//wiki.conf
+
+as the web server user to initialize the new database.
--- openguides-0.61.orig/debian/apache.openguides.conf
+++ openguides-0.61/debian/apache.openguides.conf
@@ -0,0 +1,9 @@
+Alias /myguide /usr/lib/cgi-bin/myguide # or /usr/lib/cgi-bin/openguides
+ # for the default
+
+ Options FollowSymLinks Indexes ExecCGI
+ RewriteEngine on
+ RewriteBase /myguide/
+ RewriteRule ^$ wiki.cgi [L]
+
+ Redirect /cgi-bin/myguide/ http://www.example.com/myguide/
--- openguides-0.61.orig/debian/copyright
+++ openguides-0.61/debian/copyright
@@ -0,0 +1,14 @@
+This was downloaded from CPAN
+
+The upstream author is:
+The OpenGuides Project (openguides-dev@openguides.org).
+
+Copyright (C) 2003-2006 The OpenGuides Project. All Rights Reserved.
+
+The OpenGuides distribution is free software; you can redistribute it
+and/or modify it under the same terms as Perl itself.
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License. On Debian GNU/Linux systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/GPL'
+and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
--- openguides-0.61.orig/debian/control
+++ openguides-0.61/debian/control
@@ -0,0 +1,33 @@
+Source: openguides
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2), po-debconf
+Build-Depends-Indep: perl (>= 5.8.0-7), libmodule-build-perl (>= 0.26), libconfig-tiny-perl, libclass-accessor-perl, libdbd-sqlite3-perl, libwiki-toolkit-perl (>= 0.74), libwiki-toolkit-formatter-usemod-perl, libwiki-toolkit-plugin-locator-grid-perl, libgeography-nationalgrid-perl, libwiki-toolkit-plugin-rss-reader-perl, libxml-rss-perl, libwiki-toolkit-plugin-categoriser-perl, libwiki-toolkit-plugin-diff-perl, libtemplate-perl (>= 2.15), libplucene-perl, libgeo-coordinates-utm-perl, libtest-html-content-perl, libwiki-toolkit-plugin-ping-perl, libgeo-helmerttransform-perl, libhtml-parser-perl, libmime-lite-perl
+Maintainer: Dominic Hargreaves
+Standards-Version: 3.7.3.0
+
+Package: openguides
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libalgorithm-diff-perl (>= 0.13),
+ libwiki-toolkit-perl (>= 0.74), libwiki-toolkit-formatter-usemod-perl,
+ libwiki-toolkit-plugin-categoriser-perl,
+ libwiki-toolkit-plugin-diff-perl,
+ libwiki-toolkit-plugin-locator-grid-perl,
+ libwiki-toolkit-plugin-rss-reader-perl, libconfig-tiny-perl,
+ libgeography-nationalgrid-perl, libgeo-coordinates-utm-perl,
+ libwww-perl, libparse-recdescent-perl,
+ libtemplate-perl (>= 2.15), liburi-perl, libxml-rss-perl,
+ apache2-mpm-prefork | apache | httpd,
+ libclass-accessor-perl,
+ libplucene-perl,
+ libdbd-sqlite3-perl | libdbd-pg-perl | libdbd-mysql-perl,
+ libwiki-toolkit-plugin-ping-perl, libgeo-helmerttransform-perl,
+ libhtml-parser-perl, libmime-lite-perl
+Pre-Depends: debconf
+Description: A web application for managing a collaboratively-written city guide
+ The OpenGuides software provides the framework for a collaboratively-written
+ city guide. It is similar to a wiki but provides somewhat more structured
+ data storage allowing you to annotate wiki pages with information such as
+ category, location, and much more. It provides searching facilities
+ including "find me everything within a certain distance of this place".
+ Every page includes a link to a machine-readable (RDF) version of the page.
--- openguides-0.61.orig/debian/NEWS
+++ openguides-0.61/debian/NEWS
@@ -0,0 +1,18 @@
+openguides (0.61-1) unstable; urgency=low
+
+ * In general, information requiring admin action is from upstream
+ is included in the file /usr/share/doc/openguides/UPGRADING.
+ It is strongly recommended that you check this file for updates
+ when upgrading OpenGuides versions.
+
+ -- Dominic Hargreaves Thu, 05 Jul 2007 21:56:55 +0100
+
+openguides (0.54-01-1) unstable; urgency=low
+
+ * This release introduces support for the newly refactored Wiki::Toolkit
+ modules and as such are not suitable for production use. Additionally,
+ it will not be possible to downgrade from the database schema used by
+ this release to any earlier one, so only install this if you're sure
+ you have backups of your data.
+
+ -- Dominic Hargreaves Tue, 16 May 2006 20:07:58 +0100
--- openguides-0.61.orig/debian/po/de.po
+++ openguides-0.61/debian/po/de.po
@@ -0,0 +1,34 @@
+# Translation of openguides debconf templates to German
+# Copyright (C) Helge Kreutzmann , 2006.
+# This file is distributed under the same license as the openguides package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openguides 0.57-3\n"
+"Report-Msgid-Bugs-To: dom@earth.li\n"
+"POT-Creation-Date: 2006-08-28 18:05+0100\n"
+"PO-Revision-Date: 2006-12-10 12:32+0100\n"
+"Last-Translator: Helge Kreutzmann \n"
+"Language-Team: German \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid "Okay to proceed with upgrade?"
+msgstr "Ok mit dem Upgrade fortzufahren?"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid ""
+"You are trying to upgrade from a version of OpenGuides that used an old "
+"database schema. The migration is somewhat risky and so it is strongly "
+"recommended that you backup your OpenGuides databases before proceeding."
+msgstr ""
+"Sie versuchen ein Upgrade von einer Version von OpenGuides durchzufhren, die "
+"ein altes Datenbankschema verwendet. Die Migration ist etwas riskant und "
+"daher wird nachdrcklich empfohlen, dass Sie, bevor Sie fortfahren, ein "
+"Backup Ihrer OpenGuides-Datenbank durchfhren."
--- openguides-0.61.orig/debian/po/nl.po
+++ openguides-0.61/debian/po/nl.po
@@ -0,0 +1,30 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE 'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the package.
+# FIRST AUTHOR , YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openguides\n"
+"Report-Msgid-Bugs-To: dom@earth.li\n"
+"POT-Creation-Date: 2006-08-28 18:05+0100\n"
+"PO-Revision-Date: 2007-10-25 19:15+0100\n"
+"Last-Translator: Bart Cornelis \n"
+"Language-Team: debian-l10n-dutch \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Dutch\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid "Okay to proceed with upgrade?"
+msgstr "Kan de opwaardering doorgaan?"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid "You are trying to upgrade from a version of OpenGuides that used an old database schema. The migration is somewhat risky and so it is strongly recommended that you backup your OpenGuides databases before proceeding."
+msgstr "U probeert op te waarderen van een OpenGuides-versie die een ouder databaseschema gebruikt. De overzetting is riskant en het is dan ook ten sterkste aangeraden om een reservekopie te maken van uw OpenGuides-databases voor u verder gaat."
+
--- openguides-0.61.orig/debian/po/fr.po
+++ openguides-0.61/debian/po/fr.po
@@ -0,0 +1,36 @@
+# French translation of OpenGuide.
+# Copyright (C) 2006 THE OpenGuide'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the OpenGuide package.
+# gabriel laurent , 2006.
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenGuide 0.56-2\n"
+"Report-Msgid-Bugs-To: dom@earth.li\n"
+"POT-Creation-Date: 2006-08-28 18:05+0100\n"
+"PO-Revision-Date: 2006-09-07 22:12+0200\n"
+"Last-Translator: gabriel laurent \n"
+"Language-Team: French \n"
+"MIME-Version: 1.0MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid "Okay to proceed with upgrade?"
+msgstr "Êtes-vous prêt à effectuer la mise à niveau ?"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid ""
+"You are trying to upgrade from a version of OpenGuides that used an old "
+"database schema. The migration is somewhat risky and so it is strongly "
+"recommended that you backup your OpenGuides databases before proceeding."
+msgstr ""
+"Vous tentez une mise à niveau depuis une version d'OpenGuides qui utilise un "
+"ancien schéma de base de données. La migration est assez risquée et il est "
+"fortement recommandé d'effectuer au préalable une sauvegarde de votre base "
+"de données OpenGuides."
--- openguides-0.61.orig/debian/po/pt.po
+++ openguides-0.61/debian/po/pt.po
@@ -0,0 +1,34 @@
+# Portuguese translation of openguides's debconf messages.
+# Copyright (C) 2007
+# This file is distributed under the same license as the openguides package.
+# Luísa Lourenço , 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openguides 0.58-1\n"
+"Report-Msgid-Bugs-To: dom@earth.li\n"
+"POT-Creation-Date: 2006-08-28 18:05+0100\n"
+"PO-Revision-Date: 2007-03-14 13:04+0000\n"
+"Last-Translator: Luísa Lourenço \n"
+"Language-Team: Portuguese \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid "Okay to proceed with upgrade?"
+msgstr "Proceder com a actualização?"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid ""
+"You are trying to upgrade from a version of OpenGuides that used an old "
+"database schema. The migration is somewhat risky and so it is strongly "
+"recommended that you backup your OpenGuides databases before proceeding."
+msgstr ""
+"Está a tentar actualizar de uma versão do OpenGuides que usava um esquema "
+"antigo da base de dados. A migração é algo arriscada e por isso é fortemente "
+"recomendado que faça backups das suas base de dados OpenGuides antes de proceder."
--- openguides-0.61.orig/debian/po/POTFILES.in
+++ openguides-0.61/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
--- openguides-0.61.orig/debian/po/templates.pot
+++ openguides-0.61/debian/po/templates.pot
@@ -0,0 +1,32 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR , YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: dom@earth.li\n"
+"POT-Creation-Date: 2006-08-28 18:05+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid "Okay to proceed with upgrade?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid ""
+"You are trying to upgrade from a version of OpenGuides that used an old "
+"database schema. The migration is somewhat risky and so it is strongly "
+"recommended that you backup your OpenGuides databases before proceeding."
+msgstr ""
--- openguides-0.61.orig/debian/po/cs.po
+++ openguides-0.61/debian/po/cs.po
@@ -0,0 +1,33 @@
+# translation of openguides_0.57-2_templates.po to czech
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Jakub Kasparec , 2006.
+msgid ""
+msgstr ""
+"Project-Id-Version: openguides_0.57-2_templates\n"
+"Report-Msgid-Bugs-To: dom@earth.li\n"
+"POT-Creation-Date: 2006-08-28 18:05+0100\n"
+"PO-Revision-Date: 2006-10-18 20:23+0200\n"
+"Last-Translator: Jakub Kasparec \n"
+"Language-Team: czech \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid "Okay to proceed with upgrade?"
+msgstr "Mohu pokračovat v aktualizaci?"
+
+#. Type: boolean
+#. Description
+#: ../templates:1001
+msgid ""
+"You are trying to upgrade from a version of OpenGuides that used an old "
+"database schema. The migration is somewhat risky and so it is strongly "
+"recommended that you backup your OpenGuides databases before proceeding."
+msgstr "Pokoušíte se aktualizovat verzi OpenGuides, která používá staré schéma databáze. Migrace je poněkud riziková, proto se před pokračováním důrazně doporučuje záloha stávajících databází OpenGuides."
+
--- openguides-0.61.orig/debian/lintian.overrides
+++ openguides-0.61/debian/lintian.overrides
@@ -0,0 +1,3 @@
+# We use this to protect sensitive information (ie passwords) in the
+# config file
+openguides binary: non-standard-file-perm
--- openguides-0.61.orig/debian/rules
+++ openguides-0.61/debian/rules
@@ -0,0 +1,122 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP =$(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add commands to compile the package here
+ $(PERL) Build.PL installdirs=vendor
+ OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH="" ./Build
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+
+ debconf-updatepo
+
+ # Add commands to clean up after the build process here
+ ./Build realclean || true
+ # Pending fix upstream: http://dev.openguides.org/ticket/242
+ rm -f t/prefs.db
+
+ dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ ./Build test
+ ./Build install destdir=$(TMP)
+ mkdir -p $(TMP)/usr/share/openguides
+ mkdir -p $(TMP)/etc/openguides/default/templates
+ mkdir -p $(TMP)/usr/lib/cgi-bin/openguides
+ cp -pr templates $(TMP)/usr/share/openguides
+ cp -p wiki.conf $(TMP)/etc/openguides/default/
+ chgrp www-data $(TMP)/etc/openguides/default/wiki.conf
+ chmod 640 $(TMP)/etc/openguides/default/wiki.conf
+ cp -p *.cgi $(TMP)/usr/lib/cgi-bin/openguides/
+ chmod 755 $(TMP)/usr/lib/cgi-bin/openguides/*.cgi
+ mkdir -p $(TMP)/usr/bin
+ cp -p debian/openguides-setup-db $(TMP)/usr/bin/
+ ln -s /etc/openguides/default/wiki.conf $(TMP)/usr/lib/cgi-bin/openguides/
+ cp -p .htaccess $(TMP)/usr/lib/cgi-bin/openguides/
+ mkdir -p $(TMP)/var/lib/openguides/sqlite
+ chown www-data:www-data $(TMP)/var/lib/openguides/sqlite
+ mkdir -p $(TMP)/var/lib/openguides/indexes/default
+ chown www-data:www-data $(TMP)/var/lib/openguides/indexes/default
+ rm -f $(TMP)/usr/share/perl5/OpenGuides/Build.pm
+ rm -f $(TMP)/usr/share/perl5/OpenGuides/ConfigData.pm
+ rm -f blib/libdoc/OpenGuides::ConfigData.3pm \
+ $(TMP)/usr/share/man/man3/OpenGuides::ConfigData.3pm.gz
+ mkdir -p $(TMP)/usr/share/lintian/overrides
+ cp -p debian/lintian.overrides $(TMP)/usr/share/lintian/overrides/openguides
+
+ [ ! -e $(TMP)/usr/lib/perl5/auto/OpenGuides/.packlist ] || rm -f $(TMP)/usr/lib/perl5/auto/OpenGuides/.packlist
+ [ ! -d $(TMP)/usr/lib/perl5/auto ] || rm -rf $(TMP)/usr/lib/perl5/auto
+ # As this is a architecture independent package, we are not supposed to install
+ # stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+ [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+
+ touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+# dh_installcron
+# dh_installmenu
+ dh_installexamples examples/* debian/apache.openguides.conf
+ dh_installdocs README.CSS README CUSTOMISATION README.GMAPS UPGRADING
+ dh_installchangelogs Changes
+ dh_installman debian/openguides-setup-db.1
+ dh_installdebconf
+ dh_perl
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms -X/var/lib/openguides/indexes/default -X/var/lib/openguides/sqlite -X/etc/openguides/default/wiki.conf
+ dh_installdeb
+ dh_gencontrol
+ rm -f $(TMP)/usr/share/man/man3/OpenGuides::ConfigData.3pm.gz
+ dh_md5sums
+ dh_builddeb
+
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
--- openguides-0.61.orig/debian/templates
+++ openguides-0.61/debian/templates
@@ -0,0 +1,6 @@
+Template: openguides/check_old_upgrade
+Type: boolean
+_Description: Okay to proceed with upgrade?
+ You are trying to upgrade from a version of OpenGuides that used an old
+ database schema. The migration is somewhat risky and so it is strongly
+ recommended that you backup your OpenGuides databases before proceeding.
--- openguides-0.61.orig/debian/config
+++ openguides-0.61/debian/config
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ -n "$2" ]; then
+ if dpkg --compare-versions $2 lt 0.55; then
+ db_input high openguides/check_old_upgrade || true
+ db_go
+ fi
+fi
--- openguides-0.61.orig/debian/changelog
+++ openguides-0.61/debian/changelog
@@ -0,0 +1,351 @@
+openguides (0.61-4) unstable; urgency=low
+
+ * Don't install /usr/lib/perl5/auto/OpenGuides/.packlist
+ (fixes lintian error)
+
+ -- Dominic Hargreaves Sun, 2 Mar 2008 18:53:43 +0000
+
+openguides (0.61-3) unstable; urgency=low
+
+ * Add Dutch PO file (closes: #449407)
+ * Update Standards-Version (no changes)
+
+ -- Dominic Hargreaves Tue, 04 Dec 2007 18:50:32 +0000
+
+openguides (0.61-2) unstable; urgency=low
+
+ * Fix clean stage to allow repeated builds (closes: #442695)
+
+ -- Dominic Hargreaves Sun, 14 Oct 2007 18:19:15 +0100
+
+openguides (0.61-1) unstable; urgency=low
+
+ * New upstream release
+ * Fix maintainer scripts to work correctly for initial installs
+ * Move NEWS file to correct location
+
+ -- Dominic Hargreaves Thu, 05 Jul 2007 21:57:58 +0100
+
+openguides (0.60-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Dominic Hargreaves Sun, 13 May 2007 11:47:44 +0100
+
+openguides (0.59-1) unstable; urgency=low
+
+ * New upstream release
+ * Add Portugese PO file (closes: #414920)
+ * Add UPGRADING to docs
+
+ -- Dominic Hargreaves Sun, 25 Mar 2007 18:45:19 +0100
+
+openguides (0.58-1) unstable; urgency=low
+
+ * New upstream release
+ * Correct name of Czech PO file so it gets used (closes: #404164)
+ * Add German PO file (closes: #402423)
+
+ -- Dominic Hargreaves Fri, 22 Dec 2006 11:58:29 +0000
+
+openguides (0.57-3) unstable; urgency=low
+
+ * Add Czech translation (closes: #396713)
+
+ -- Dominic Hargreaves Thu, 16 Nov 2006 15:40:24 +0000
+
+openguides (0.57-2) unstable; urgency=low
+
+ * Update default config file to work without Search::InvertedIndex and add
+ new variables (closes: #389078)
+ * Add French debconf translation (closes: #389042)
+ * Move database dependencies to Depends rather than Suggests so a database
+ is always available (and since we don't need to support woody any more)
+ * Don't invent packages! Postgres dependency is on libdbd-pg-perl, not
+ libdbd-pgsql-perl.
+
+ -- Dominic Hargreaves Tue, 26 Sep 2006 23:16:32 +0100
+
+openguides (0.57-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Dominic Hargreaves Tue, 12 Sep 2006 20:22:49 +0100
+
+openguides (0.56-2) unstable; urgency=low
+
+ * Remove dependency on libsearch-invertedindex-perl
+ * Include README.GMAPS as documentation
+ (http://dev.openguides.org/ticket/117)
+ * Build-dep on libtest-html-content-perl
+ (http://dev.openguides.org/ticket/128)
+ * Run database setup scripts as user www-data to allow an ident-based
+ Postgres setup to work (http://dev.openguides.org/ticket/111)
+ * Upload targetted at Debian (closes: #280313)
+ * Add lintian override for config file permissions
+
+ -- Dominic Hargreaves Mon, 28 Aug 2006 18:33:51 +0100
+
+openguides (0.56-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Dominic Hargreaves Wed, 14 Jun 2006 22:34:11 +0100
+
+openguides (0.55-1) unstable; urgency=low
+
+ * New upstream release
+ * Add debconf question to prompt for abort, as this upgrade is
+ risky
+
+ -- Dominic Hargreaves Wed, 14 Jun 2006 15:48:56 +0100
+
+openguides (0.54-01-1) unstable; urgency=low
+
+ * New upstream (developer) release.
+ * Replaces all dependencies to CGI::Wiki::* with Wiki::Toolkit::*
+
+ -- Dominic Hargreaves Tue, 16 May 2006 20:01:33 +0100
+
+openguides (0.54-2) unstable; urgency=low
+
+ * By default, install libplucene-perl rather than
+ libsearch-invertedindex-perl and Apache 2 rather than Apache 1.
+ * Update Standards-Version (no changes).
+ * Don't use deprecated chown method in postinst.
+
+ -- Dominic Hargreaves Fri, 12 May 2006 09:01:01 +0100
+
+openguides (0.54-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Dominic Hargreaves Fri, 21 Apr 2006 10:29:10 +0100
+
+openguides (0.53-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Dominic Hargreaves Thu, 20 Apr 2006 19:07:01 +0000
+
+openguides (0.52-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Dominic Hargreaves Mon, 6 Mar 2006 10:57:45 +0000
+
+openguides (0.51-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Dominic Hargreaves Tue, 15 Nov 2005 17:41:42 +0000
+
+openguides (0.50-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Dominic Hargreaves Sun, 2 Oct 2005 23:42:04 +0100
+
+openguides (0.49-1) unstable; urgency=low
+
+ * New upstream release (no functional changes in the Debian package)
+ * Fix lintian warning about obsolete chown usage
+
+ -- Dominic Hargreaves Thu, 11 Aug 2005 19:00:33 +0000
+
+openguides (0.48-1) unstable; urgency=low
+
+ * New upstream release.
+ * Update Standards-Version (no changes).
+
+ -- Dominic Hargreaves Sun, 24 Jul 2005 00:11:18 +0000
+
+openguides (0.47-4) unstable; urgency=low
+
+ * Fix default permissions of wiki.conf, since it is likely to contain
+ passwords.
+ * Change sqlite build-dep to sqlite3
+ * Add build-dep on libgeo-coordinates-perl to provide more complete test
+ coverage.
+
+ -- Dominic Hargreaves Sun, 8 May 2005 00:01:42 +0100
+
+openguides (0.47-3) unstable; urgency=low
+
+ * Add note regarding choice of SQLite libraries to README.Debian.
+
+ -- Dominic Hargreaves Mon, 11 Apr 2005 00:56:51 +0100
+
+openguides (0.47-2) unstable; urgency=low
+
+ * Fix typos and grammatical errors in README.Debian.
+ * Remove libfile-spec-perl dependency, as File::Spec is provided by
+ the core perl modules, and this packages has been removed from the
+ archive.
+ * Add some missing build dependencies.
+
+ -- Dominic Hargreaves Tue, 5 Apr 2005 02:08:59 +0100
+
+openguides (0.47-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add .htaccess to try and protect wiki.conf.
+
+ -- Dominic Hargreaves Sat, 15 Jan 2005 14:37:15 +0000
+
+openguides (0.46-3) unstable; urgency=low
+
+ * Add Plucene support.
+ * Fix reindex.pl bug (in examples/).
+ * Revert built-in below since it breaks tests.
+
+ -- Dominic Hargreaves Mon, 3 Jan 2005 01:51:12 +0000
+
+openguides (0.46-2) unstable; urgency=low
+
+ * Set built-in config default for use_plucene to 0.
+ * Fix bug in recognising MySQL modules in openguides-setup-db and
+ update it to use OpenGuides::Config.
+
+ -- Dominic Hargreaves Wed, 22 Dec 2004 00:54:25 +0000
+
+openguides (0.46-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add watch file.
+ * Add missing build dependencies.
+
+ -- Dominic Hargreaves Wed, 22 Dec 2004 00:36:59 +0000
+
+openguides (0.45-2) unstable; urgency=low
+
+ * Always depend on libgeo-coordinates-utm-perl.
+
+ -- Dominic Hargreaves Wed, 1 Dec 2004 01:50:21 +0000
+
+openguides (0.45-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Dominic Hargreaves Wed, 1 Dec 2004 01:15:40 +0000
+
+openguides (0.44-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Dominic Hargreaves Wed, 17 Nov 2004 23:50:05 +0000
+
+openguides (0.43-4) unstable; urgency=low
+
+ * Fix openguides-setup-db to really work when SQLite is not installed.
+
+ -- Dominic Hargreaves Sat, 23 Oct 2004 13:55:27 +0100
+
+openguides (0.43-3) unstable; urgency=low
+
+ * Removed all references to display_categories which had erroneously
+ stayed in the release.
+
+ -- Dominic Hargreaves Fri, 22 Oct 2004 15:01:11 +0100
+
+openguides (0.43-2) unstable; urgency=low
+
+ * Documentation fixes.
+
+ -- Dominic Hargreaves Fri, 22 Oct 2004 00:10:23 +0100
+
+openguides (0.43-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Dominic Hargreaves Thu, 21 Oct 2004 23:49:40 +0100
+
+openguides (0.42-1) unstable; urgency=low
+
+ * New upstream release
+ * Remove default CSS file as it wasn't allowed to be a conffile.
+ * Remove dependency on libcgi-wiki-plugin-geocache.
+
+ -- Dominic Hargreaves Wed, 20 Oct 2004 21:09:44 +0100
+
+openguides (0.41-12) unstable; urgency=low
+
+ * Remove the strict dependency on SQLite.
+
+ -- Dominic Hargreaves Sun, 10 Oct 2004 16:52:46 +0100
+
+openguides (0.41-11) unstable; urgency=low
+
+ * Remove OpenGuides::Build from distribution.
+
+ -- Dominic Hargreaves Sun, 10 Oct 2004 14:19:24 +0100
+
+openguides (0.41-10) unstable; urgency=low
+
+ * Improve documentation.
+
+ -- Dominic Hargreaves Sat, 2 Oct 2004 19:32:36 +0100
+
+openguides (0.41-9) unstable; urgency=low
+
+ * Fix brokenness in previous update.
+
+ -- Dominic Hargreaves Fri, 1 Oct 2004 01:05:29 +0100
+
+openguides (0.41-8) unstable; urgency=low
+
+ * Fix up SQLite file permissions.
+ * Include man page for openguides-setup-db.
+
+ -- Dominic Hargreaves Fri, 1 Oct 2004 01:01:55 +0100
+
+openguides (0.41-7) unstable; urgency=low
+
+ * Make lintian happy.
+
+ -- Dominic Hargreaves Fri, 1 Oct 2004 00:04:54 +0100
+
+openguides (0.41-6) unstable; urgency=low
+
+ * Fix bug introduced into postinst.
+
+ -- Dominic Hargreaves Wed, 29 Sep 2004 00:18:02 +0100
+
+openguides (0.41-5) unstable; urgency=low
+
+ * Update wiki.conf with some more relevant comments.
+ * Add README.Debian explaining how to use the package.
+ * Fix postinst to run openguides-setup-db on all configs,
+ not just the default.
+ * Fix dependency on web servers (install apache by default).
+ * Add INSTALL to docs for now since it contains useful customisation
+ tips.
+
+ -- Dominic Hargreaves Wed, 29 Sep 2004 00:10:34 +0100
+
+openguides (0.41-4) unstable; urgency=low
+
+ * Fix CGI script permissions.
+
+ -- Dominic Hargreaves Sun, 26 Sep 2004 01:17:49 +0100
+
+openguides (0.41-3) unstable; urgency=low
+
+ * Fix broken custom templates symlink.
+ * Fix dependencies on an httpd and the DBD modules (for now, require
+ SQLite and suggest MySQL or PostgreSQL.
+
+ -- Dominic Hargreaves Sun, 26 Sep 2004 01:17:47 +0100
+
+openguides (0.41-2) unstable; urgency=low
+
+ * Fix broken libfile-spec-file dependency.
+
+ -- Dominic Hargreaves Sun, 26 Sep 2004 00:57:38 +0100
+
+openguides (0.41-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Dominic Hargreaves Sat, 25 Sep 2004 00:00:54 +0100
+
--- openguides-0.61.orig/search.cgi
+++ openguides-0.61/search.cgi
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
use warnings;
use strict;
--- openguides-0.61.orig/lib/OpenGuides/Build.pm
+++ openguides-0.61/lib/OpenGuides/Build.pm
@@ -5,10 +5,10 @@
use OpenGuides::Config;
use base 'Module::Build';
-sub ACTION_install {
+sub ACTION_postinstall {
my $self = shift;
- $self->SUPER::ACTION_install;
- $self->ACTION_install_extras;
+ #$self->SUPER::ACTION_install;
+ #$self->ACTION_install_extras;
eval "use Config::Tiny";
die "Config::Tiny is required to set up this application.\n" if $@;
--- openguides-0.61.orig/Build.PL
+++ openguides-0.61/Build.PL
@@ -20,8 +20,8 @@
EOF
-my $continue = Module::Build->y_n("Continue with install?", "y");
-exit 0 unless $continue;
+#my $continue = Module::Build->y_n("Continue with install?", "y");
+#exit 0 unless $continue;
my $existing_config_file = 'wiki.conf';
my $existing_config;
@@ -45,7 +45,8 @@
content_above_navbar_in_html show_gmap_in_node_display
send_moderation_notifications);
-my $skip_config = Module::Build->y_n("Skip OpenGuides configuration?", "n");
+#my $skip_config = Module::Build->y_n("Skip OpenGuides configuration?", "n");
+my $skip_config = 1;
if ( $skip_config ) {
print <wiki.conf" or die "Can't open wiki.conf for writing: $!";
-foreach my $ans (@answers) {
- print FILE "# $ans->{question}\n";
- print FILE "$ans->{variable} = $ans->{value}\n\n";
-}
-close FILE or die "Can't close wiki.conf: $!";
+# debian modification: don't write out any config files, we have
+# provided a default already.
+#open FILE, ">wiki.conf" or die "Can't open wiki.conf for writing: $!";
+#foreach my $ans (@answers) {
+# print FILE "# $ans->{question}\n";
+# print FILE "$ans->{variable} = $ans->{value}\n\n";
+#}
+#close FILE or die "Can't close wiki.conf: $!";
#####
##### When updating the prereqs PLEASE REMEMBER to update PREREQUISITES.