debian/0002755000000000000000000000000012264051712007170 5ustar debian/install0000644000000000000000000000023412207225547010564 0ustar debian/wiki.conf etc/openguides/default debian/openguides-setup-db usr/bin debian/wiki-toolkit-upgrade-hooks/* usr/share/libwiki-toolkit-perl/upgrade-hooks debian/compat0000644000000000000000000000000212207225547010372 0ustar 8 debian/rules0000755000000000000000000000152612207225547010260 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_clean: dh_auto_clean debconf-updatepo rm -f wiki.conf override_dh_auto_configure: cp debian/wiki.conf . dh_auto_configure override_dh_auto_install: dh_auto_install rm -f debian/openguides/usr/share/perl5/OpenGuides/Build.pm debian/openguides/usr/share/perl5/OpenGuides/ConfigData.pm debian/openguides/usr/share/man/man3/OpenGuides::ConfigData.3pm debian/openguides/var/lib/openguides/sqlite/default.db override_dh_fixperms: dh_fixperms chgrp www-data debian/openguides/etc/openguides/default/wiki.conf chmod 640 debian/openguides/etc/openguides/default/wiki.conf chown www-data:www-data debian/openguides/var/lib/openguides/sqlite chown www-data:www-data debian/openguides/var/lib/openguides/indexes/default chmod +x debian/openguides/usr/share/libwiki-toolkit-perl/upgrade-hooks/openguides debian/wiki-toolkit-upgrade-hooks/0002755000000000000000000000000012263575074014377 5ustar debian/wiki-toolkit-upgrade-hooks/openguides0000644000000000000000000000027212263575065016463 0ustar #!/bin/sh set -e for file in `ls /etc/openguides/*/wiki.conf`; do echo "Processing config file $file ..."; su -s /bin/sh -c "/usr/bin/openguides-setup-db $file" www-data; done debian/source/0002755000000000000000000000000012207225547010476 5ustar debian/source/format0000644000000000000000000000001412207225547011702 0ustar 3.0 (quilt) debian/postinst0000644000000000000000000000305312263575047011010 0ustar #! /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) if [ -z "$2" ]; then # 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 -s /bin/sh -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." fi ;; 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 debian/watch0000644000000000000000000000016512207225723010223 0ustar version=3 http://search.cpan.org/dist/OpenGuides/ \ .*/OpenGuides-(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) debian/apache.openguides.conf0000644000000000000000000000066512207225547013434 0ustar 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/ Alias /openguides-static /usr/share/openguides/static debian/NEWS0000644000000000000000000000344112207225547007675 0ustar openguides (0.70-1) experimental; urgency=low The static_url configuration option is now used by OpenGuides; to ensure continued operation, you will need to ensure that it is set to a URL which maps to /usr/share/openguides/static; see /usr/share/doc/openguides/examples/apache.openguides.conf for an example. OpenGuides now comes with a default stylesheet. To use this, ensure that the above static_url is functional, and unset the stylesheet_url configuration option. OpenGuides now supports mapping via the Leaflet library. The old Google Maps API is expected to be discontinued in May 2013, so you are advised to update your configuration to use it by setting use_leaflet = 1 and removing the gmaps_api_key configuration option. You will also need to ensure that div#map_index_canvas is given a non-zero height in your stylesheet (you may also want to style div#map_index_node_list and div#node_map_canvas). -- Dominic Hargreaves Tue, 01 Jan 2013 23:40:08 +0000 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 debian/changelog0000644000000000000000000003343612264051617011055 0ustar openguides (0.76-1) unstable; urgency=low * New upstream release * Pass "-s /bin/sh" to "su www-data" to cope with the change of www-data's shell in base-passwd 3.5.30. Thanks to Colin Watson for the bug report and patch (Closes: #734729) -- Dominic Hargreaves Wed, 01 Jan 2014 18:22:34 +0000 openguides (0.74-1) unstable; urgency=low * New upstream release * Update watch file from qa.debian.org -- Dominic Hargreaves Sat, 31 Aug 2013 11:50:50 +0100 openguides (0.72-1) unstable; urgency=low * Add Italian debconf translation (closes: #714012) * New upstream release * Fix FTBFS with debhelper 9.20130630 by allowing Module::Build long options to work -- Dominic Hargreaves Sun, 14 Jul 2013 17:18:44 +0100 openguides (0.71-1) unstable; urgency=low * New upstream release * remove build_tweaks, now included upstream -- Dominic Hargreaves Sun, 24 Mar 2013 17:04:17 +0000 openguides (0.70-1) experimental; urgency=low * New upstream release (closes: #675880, #697184) - add new/changed dependencies - add static_path and static_url to default config, and add NEWS entry about configuring them - refresh default wiki.conf * Add Vcs-* URLs * Switch to minimal debhelper rules file * Update Standards-Version (no changes) * Use the upstream build system to install extras directly * Releasing to experimental as libgeo-coordinates-osgb-perl is not yet available in Debian main, and because a wheezy-targetted bug-fix release is in unstable -- Dominic Hargreaves Wed, 02 Jan 2013 18:14:25 +0000 openguides (0.65-3) unstable; urgency=low * Backport Leaflet mapping support from 0.70 to allow an alternative to the deprecated GMaps2 API (closes: #697184) -- Dominic Hargreaves Wed, 02 Jan 2013 17:38:31 +0000 openguides (0.65-2) unstable; urgency=low * Add Danish debconf translation (closes: #626639) * Switch to dpkg-source 3.0 (quilt) format * Update Standards-Version (no changes) * Use dh_prep rather than deprecated dh_clean -k * Remove the indefinite article from Description (thanks, Lintian) -- Dominic Hargreaves Tue, 17 May 2011 22:17:03 +0100 openguides (0.65-1) unstable; urgency=low * New upstream release * Add Japanese debconf translation (closes: #510720) * Update Standards-Version (no changes) * Update debhelper compat version -- Dominic Hargreaves Sun, 28 Feb 2010 16:23:15 +0000 openguides (0.64-1) unstable; urgency=low * New upstream release * Add Spanish debconf translation (closes: #510337) * Fix dependency on Module::Build to allow for the version in Perl 5.10 (thanks, lintian) -- Dominic Hargreaves Mon, 23 Feb 2009 13:48:44 +0000 openguides (0.63-1) experimental; urgency=low * New upstream release -- Dominic Hargreaves Sun, 17 Aug 2008 00:13:14 +0100 openguides (0.62-3) unstable; urgency=low * Add Russian debconf translation (closes: 495128) * Add Google Analytics-related fixes from upstream SVN, to avoid a latent bug caused by using a deprecated remote interface -- Dominic Hargreaves Sat, 16 Aug 2008 21:17:02 +0100 openguides (0.62-2) unstable; urgency=low * Add Swedish debconf translation (closes: #487599) * Only try and set up databases in postinst if this is a new install * Provide libwiki-toolkit-perl upgrade hook script * Update Standards-Version (no changes) -- Dominic Hargreaves Sun, 13 Jul 2008 19:36:26 +0100 openguides (0.62-1) unstable; urgency=low * New upstream release -- Dominic Hargreaves Sun, 8 Jun 2008 12:09:30 +0100 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 debian/dirs0000644000000000000000000000007512207225547010062 0ustar var/lib/openguides/sqlite var/lib/openguides/indexes/default debian/po/0002755000000000000000000000000012264051712007606 5ustar debian/po/cs.po0000644000000000000000000000250412207225547010560 0ustar # 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" "Language: \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." debian/po/de.po0000644000000000000000000000250512207225547010544 0ustar # 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" "Language: de\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." debian/po/it.po0000644000000000000000000000262112207225547010567 0ustar # Italian translation of openguides debconf messages. # Copyright (C) 2013, openguides package copyright holder # This file is distributed under the same license as the openguides package. # Beatrice Torracca , 2013. msgid "" msgstr "" "Project-Id-Version: openguides 0.71-1\n" "Report-Msgid-Bugs-To: dom@earth.li\n" "POT-Creation-Date: 2006-08-28 18:05+0100\n" "PO-Revision-Date: 2013-06-10 20:05+0200\n" "Last-Translator: Beatrice Torracca \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.7.1\n" #. Type: boolean #. Description #: ../templates:1001 msgid "Okay to proceed with upgrade?" msgstr "Procedere con l'aggiornamento?" #. 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 "" "Si sta cercando di aggiornare da una versione di OpenGuides che usava un " "vecchio schema di database. La migrazione è un po' rischiosa e perciò è " "caldamente raccomandato fare il backup dei database di OpenGuides prima di " "procedere." debian/po/ja.po0000644000000000000000000000263612207225547010553 0ustar # Copyright (C) 2008 Dominic Hargreaves # This file is distributed under the same license as the openguides package. # Hideki Yamane (Debian-JP) , 2008. # msgid "" msgstr "" "Project-Id-Version: openguides 0.63-1\n" "Report-Msgid-Bugs-To: dom@earth.li\n" "POT-Creation-Date: 2006-08-28 18:05+0100\n" "PO-Revision-Date: 2008-12-28 22:26+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "Language: ja\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 "アップグレードを実行して構いませんか?" #. 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 からアップグレー" "ドを行おうとしています。移行作業はどちらかというとリスクが高いものですので、" "実行する前に OpenGuides データベースをバックアップしておくことを強くお勧めし" "ます。" debian/po/POTFILES.in0000644000000000000000000000004412207225547011365 0ustar [type: gettext/rfc822deb] templates debian/po/es.po0000644000000000000000000000431712207225547010566 0ustar # openguides po-debconf translation to Spanish # Copyright (C) 2007, 2008 Software in the Public Interest # This file is distributed under the same license as the openguides package. # # Changes: # - Initial translation # Enrique Matias Sanchez , 2007 # # - Updates # Francisco Javier Cuadrado , 2008 # # Traductores, si no conocen el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: openguides 0.62-3\n" "Report-Msgid-Bugs-To: dom@earth.li\n" "POT-Creation-Date: 2006-08-28 18:05+0100\n" "PO-Revision-Date: 2008-12-28 17:24+0100\n" "Last-Translator: Francisco Javier Cuadrado \n" "Language-Team: Debian l10n Spanish \n" "Language: \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 "¿Se puede comenzar la actualización?" #. 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á intentando actualizar una versión de OpenGuides que usaba un esquema de " "bases de datos antiguo. La migración tiene algo de riesgo, y se recomienda " "encarecidamente que realice una copia de seguridad de sus bases de datos de " "OpenGuides antes de comenzar la actualización." debian/po/templates.pot0000644000000000000000000000172212207225547012336 0ustar # 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 "" debian/po/fr.po0000644000000000000000000000255712207225547010572 0ustar # 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" "Language: fr\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." debian/po/ru.po0000644000000000000000000000316312207225547010603 0ustar # translation of ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov , 2008. msgid "" msgstr "" "Project-Id-Version: ru\n" "Report-Msgid-Bugs-To: dom@earth.li\n" "POT-Creation-Date: 2006-08-28 18:05+0100\n" "PO-Revision-Date: 2008-08-14 22:08+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\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" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\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, в которой используется старая " "схема базы данных. При таком переходе есть некоторый риск, поэтому " "настоятельно рекомендуется создать резервную копию баз данных OpenGuides " "перед тем как продолжать." debian/po/da.po0000644000000000000000000000245012207225547010537 0ustar # Danish translation openguides. # Copyright (C) openguides & nedenstående oversættere. # This file is distributed under the same license as the openguides package. # Joe Hansen (joedalton2@yahoo.dk), 2011. # 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: 2011-05-14 18:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\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 "Okay at fortsætte med opgradering?" #. 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 "" "Du forsøger at opgradere fra en version af OpenGuides, som brugte et gammelt " "databaseskema. Migrationen er en smule risikofyldt, og det anbefales derfor " "stærkt, at du laver en sikkerhedskopi af dine OpenGuides-databaser, før du " "fortsætter." debian/po/nl.po0000644000000000000000000000244212207225547010565 0ustar # 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" "Language: \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." debian/po/pt.po0000644000000000000000000000243112207225547010575 0ustar # 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" "Language: pt\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." debian/po/sv.po0000644000000000000000000000251112207225547010601 0ustar # translation of openguides_0.62-1_templates.po to swedish # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Martin Bagge , 2008. msgid "" msgstr "" "Project-Id-Version: openguides_0.62-1_templates\n" "Report-Msgid-Bugs-To: dom@earth.li\n" "POT-Creation-Date: 2006-08-28 18:05+0100\n" "PO-Revision-Date: 2008-06-22 22:43+0200\n" "Last-Translator: Martin Bagge \n" "Language-Team: swedish \n" "Language: \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 "Är du redo att fortsätta med uppgraderingen?" #. 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 "" "Du försöker uppdatera från en gammal OpenGuides-databas, denna uppgradering " "är inte helt trivial och kan resultera i att data förloras. Du bör göra en " "backup av databasen först." debian/README.Debian0000644000000000000000000000566412207225547011250 0ustar 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. debian/config0000644000000000000000000000031412207225547010362 0ustar #!/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 debian/control0000644000000000000000000000502512261044575010601 0ustar Source: openguides Section: perl Priority: optional Build-Depends: debhelper (>= 8), po-debconf Build-Depends-Indep: perl, libconfig-tiny-perl, libclass-accessor-perl, libdbd-sqlite3-perl, libwiki-toolkit-perl (>= 0.83), libwiki-toolkit-formatter-usemod-perl (>= 0.24), libwiki-toolkit-plugin-locator-grid-perl, libwiki-toolkit-plugin-rss-reader-perl, libxml-rss-perl, libwiki-toolkit-plugin-categoriser-perl, libwiki-toolkit-plugin-diff-perl, libtemplate-perl (>= 2.24), libplucene-perl, libgeo-coordinates-utm-perl, libtest-html-content-perl, libwiki-toolkit-plugin-ping-perl, libgeo-helmerttransform-perl, libhtml-parser-perl, libmime-lite-perl, libdata-validate-uri-perl, libnet-netmask-perl, libwiki-toolkit-plugin-json-perl, libjson-perl, libtemplate-plugin-json-escape-perl, libgeo-coordinates-osgb-perl, libgeo-coordinates-itm-perl Maintainer: Dominic Hargreaves Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/users/dom/openguides.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/dom/openguides.git Package: openguides Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libalgorithm-diff-perl (>= 0.13), libwiki-toolkit-perl (>= 0.80), libwiki-toolkit-formatter-usemod-perl (>= 0.24), 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, libgeo-coordinates-utm-perl, libwww-perl, libparse-recdescent-perl, libtemplate-perl (>= 2.24), 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, libdata-validate-uri-perl, libnet-netmask-perl, libwiki-toolkit-plugin-json-perl, libjson-perl, libtemplate-plugin-json-escape-perl, libgeo-coordinates-osgb-perl, libgeo-coordinates-itm-perl Pre-Depends: debconf Description: 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. debian/docs0000644000000000000000000000006712207225547010052 0ustar README.CSS README CUSTOMISATION README.GMAPS UPGRADING debian/lintian-overrides0000644000000000000000000000017512207225547012560 0ustar # We use this to protect sensitive information (ie passwords) in the # config file openguides binary: non-standard-file-perm debian/preinst0000644000000000000000000000215612207225547010607 0ustar #! /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 debian/wiki.conf0000644000000000000000000001340312207225547011007 0ustar # 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? If you don't enter one here, the basic OpenGuides stylesheet will be used instead. stylesheet_url = # 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 want to use the Leaflet mapping library? (this is recommended) use_leaflet = 1 # Do you have a Google Maps API key to use with this guide? If so, enter it here. (Note: our Google Maps support is deprecated, and we recommend you choose to use Leaflet instead.) 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 - we recommend you use Leaflet instead, as our Leaflet code will figure this out for you.) You may paste in a Google Maps URL here (hint: copy URL from 'Link to this page') 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 - we recommend you use Leaflet instead, as our Leaflet code will figure this out for you.) centre_lat = 0 # Would you like to display a map on every node that has geodata? 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 = # What directory should we install static content (CSS, images, javascript) to? static_path = /usr/share/openguides/static # What is the URL corresponding to the static content? static_url = http://localhost/openguides-static # Should we send email notifications when a moderated node is edited? send_moderation_notifications = 1 # What module would you like to use to run an IP blacklist? (optional) host_checker_module = # Should the guide be read-only (no edits permitted)? read_only = 0 debian/manpages0000644000000000000000000000003512207225547010710 0ustar debian/openguides-setup-db.1 debian/.git-dpm0000644000000000000000000000042612207225550010532 0ustar # see git-dpm(1) from git-dpm package 89b00a0ed7098e89241d160fc74d0ca388fb93c6 89b00a0ed7098e89241d160fc74d0ca388fb93c6 89b00a0ed7098e89241d160fc74d0ca388fb93c6 89b00a0ed7098e89241d160fc74d0ca388fb93c6 openguides_0.74.orig.tar.gz 2181febf15aaf43f67dd37d52db6e9e9733f463d 245671 debian/openguides-setup-db0000644000000000000000000000242312207225547013003 0ustar #!/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 ); } debian/links0000644000000000000000000000011012207225547010227 0ustar /etc/openguides/default/wiki.conf /usr/lib/cgi-bin/openguides/wiki.conf debian/templates0000644000000000000000000000047412207225547011122 0ustar 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. debian/openguides-setup-db.10000644000000000000000000000234312207225547013143 0ustar .\" 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). debian/examples0000644000000000000000000000005112207225547010731 0ustar examples/* debian/apache.openguides.conf debian/copyright0000644000000000000000000000120612207225547011126 0ustar 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'.