[Pkg-mono-svn-commits] [xsp] 02/04: Initial debianization

Jo Shields directhex at moszumanska.debian.org
Mon Nov 30 15:25:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to annotated tag debian/3.8-0xamarin1
in repository xsp.

commit 7d210bc8991b4a14e37c5d98e98511a9b32d4fd2
Author: Jo Shields <jo.shields at xamarin.com>
Date:   Wed Sep 10 17:51:04 2014 +0100

    Initial debianization
---
 debian/README.Debian                      |   27 +
 debian/asp.net-examples.README.Debian     |   13 +
 debian/asp.net-examples.hostxsp2          |    5 +
 debian/asp.net-examples.install           |    1 +
 debian/changelog                          | 1073 +++++++++++++++++++++++++++++
 debian/compat                             |    1 +
 debian/control                            |  178 +++++
 debian/copyright                          |   60 ++
 debian/dh-xsp.install                     |    6 +
 debian/dh-xsp.manpages                    |    1 +
 debian/dh_installxsp                      |  146 ++++
 debian/libfpm-helper0.install             |    1 +
 debian/mono-apache-server.links           |    4 +
 debian/mono-apache-server2.README.Debian  |   53 ++
 debian/mono-apache-server2.config         |   62 ++
 debian/mono-apache-server2.dirs           |    1 +
 debian/mono-apache-server2.docs           |    3 +
 debian/mono-apache-server2.install        |    5 +
 debian/mono-apache-server2.manpages       |    4 +
 debian/mono-apache-server2.postinst       |   54 ++
 debian/mono-apache-server2.postrm         |   13 +
 debian/mono-apache-server2.templates      |   21 +
 debian/mono-apache-server4.README.Debian  |   53 ++
 debian/mono-apache-server4.config         |   62 ++
 debian/mono-apache-server4.dirs           |    1 +
 debian/mono-apache-server4.docs           |    3 +
 debian/mono-apache-server4.install        |    5 +
 debian/mono-apache-server4.manpages       |    4 +
 debian/mono-apache-server4.postinst       |   55 ++
 debian/mono-apache-server4.postrm         |   13 +
 debian/mono-apache-server4.templates      |   22 +
 debian/mono-fastcgi-server.links          |    2 +
 debian/mono-fastcgi-server2.README.Debian |   25 +
 debian/mono-fastcgi-server2.docs          |    3 +
 debian/mono-fastcgi-server2.install       |    3 +
 debian/mono-fastcgi-server2.manpages      |    1 +
 debian/mono-fastcgi-server4.README.Debian |   25 +
 debian/mono-fastcgi-server4.docs          |    3 +
 debian/mono-fastcgi-server4.install       |    3 +
 debian/mono-fastcgi-server4.manpages      |    1 +
 debian/mono-fpm-server.install            |    3 +
 debian/mono-server2-admin                 |  203 ++++++
 debian/mono-server2-update                |  364 ++++++++++
 debian/mono-server4-admin                 |  203 ++++++
 debian/mono-server4-update                |  364 ++++++++++
 debian/mono-xsp.links                     |    7 +
 debian/mono-xsp2-admin                    |  173 +++++
 debian/mono-xsp2-base.install             |    3 +
 debian/mono-xsp2-update                   |  225 ++++++
 debian/mono-xsp2.README.Debian            |   45 ++
 debian/mono-xsp2.config                   |  106 +++
 debian/mono-xsp2.dirs                     |    1 +
 debian/mono-xsp2.docs                     |    3 +
 debian/mono-xsp2.init                     |  102 +++
 debian/mono-xsp2.install                  |   11 +
 debian/mono-xsp2.manpages                 |    5 +
 debian/mono-xsp2.postinst                 |  122 ++++
 debian/mono-xsp2.postrm                   |   14 +
 debian/mono-xsp2.preinst                  |   21 +
 debian/mono-xsp2.prerm                    |   39 ++
 debian/mono-xsp2.templates                |   34 +
 debian/mono-xsp4-admin                    |  173 +++++
 debian/mono-xsp4-base.install             |    3 +
 debian/mono-xsp4-update                   |  225 ++++++
 debian/mono-xsp4.README.Debian            |   45 ++
 debian/mono-xsp4.config                   |  106 +++
 debian/mono-xsp4.dirs                     |    1 +
 debian/mono-xsp4.docs                     |    3 +
 debian/mono-xsp4.init                     |  102 +++
 debian/mono-xsp4.install                  |   11 +
 debian/mono-xsp4.manpages                 |    5 +
 debian/mono-xsp4.postinst                 |  122 ++++
 debian/mono-xsp4.postrm                   |   14 +
 debian/mono-xsp4.preinst                  |   21 +
 debian/mono-xsp4.prerm                    |   21 +
 debian/mono-xsp4.templates                |   34 +
 debian/po/POTFILES.in                     |    4 +
 debian/po/cs.po                           |  242 +++++++
 debian/po/da.po                           |  186 +++++
 debian/po/de.po                           |  207 ++++++
 debian/po/es.po                           |  227 ++++++
 debian/po/eu.po                           |  208 ++++++
 debian/po/fi.po                           |  203 ++++++
 debian/po/fr.po                           |  183 +++++
 debian/po/gl.po                           |  204 ++++++
 debian/po/it.po                           |  210 ++++++
 debian/po/ja.po                           |  182 +++++
 debian/po/nl.po                           |  188 +++++
 debian/po/pl.po                           |  191 +++++
 debian/po/pt.po                           |  208 ++++++
 debian/po/ru.po                           |  207 ++++++
 debian/po/sl.po                           |  200 ++++++
 debian/po/sv.po                           |  183 +++++
 debian/po/templates.pot                   |  147 ++++
 debian/po/vi.po                           |  197 ++++++
 debian/postinst-monoxsp2                  |    8 +
 debian/postinst-monoxsp4                  |    8 +
 debian/postrm-monoxsp2                    |    8 +
 debian/postrm-monoxsp4                    |    8 +
 debian/rules                              |  115 ++++
 debian/source/format                      |    1 +
 debian/watch                              |    2 +
 debian/xsp.pm                             |   12 +
 103 files changed, 8689 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..61098e8
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,27 @@
+xsp and mod-mono-server for Debian
+-----------------------------------
+
+This is the Mono XSP Web Application server for Debian. It is divided into
+three packages.
+
+The mono-xsp package contains a standalone web server to run ASP.NET web
+applications. It should run on port 8080 or 8081. The package scripts
+automatically detect which port should be used.
+
+The mono-apache-server package contains the mod-mono-server.exe executable.
+It is used as a back-end by the mod_mono module for Apache (libapache-mod-mono
+for Apache 1.3, or libapache2-mod-mono for Apache 2.0). It is packaged
+separately so that you can run ASP.NET web applications without having to
+install Apache. If that is what you want, use mono-xsp.
+
+The asp.net-examples package includes some demos of ASP.NET applications. They
+can be used with either the standalone mono-xsp package, or the mod_mono Apache
+module.
+
+ -- Fabian Fagerholm <fabbe at paniq.net>, Thu,  5 Aug 2004 13:29:12 +0300
+
+There is now a fourth package, mono-fastcgi-server, which contains the 
+fastcgi-mono-server.exe executable. This is used as a back-end for use by any
+fastcgi server of your choice, such as lighttpd.
+
+ --Jo Shields <directhex at apebox.org>, Thu,  3 Jul 2008 09:25:00 +0100
diff --git a/debian/asp.net-examples.README.Debian b/debian/asp.net-examples.README.Debian
new file mode 100644
index 0000000..4a79a7e
--- /dev/null
+++ b/debian/asp.net-examples.README.Debian
@@ -0,0 +1,13 @@
+asp.net-examples for Debian
+----------------------------
+
+This package contains example ASP.NET applications. The examples are
+installed in /usr/share/asp.net-demos/.
+
+If you are using the standalone XSP4 server, you can access the examples at
+http://localhost:8080/samples
+
+If you are using mod_mono to run ASP.NET applications via Apache, you can
+access the examples at http://localhost/samples
+
+ -- Jo Shields <directhex at apebox.org>, Sun, 27 Mar 2011 19:28:29 +0100
diff --git a/debian/asp.net-examples.hostxsp2 b/debian/asp.net-examples.hostxsp2
new file mode 100644
index 0000000..fe72c5d
--- /dev/null
+++ b/debian/asp.net-examples.hostxsp2
@@ -0,0 +1,5 @@
+# This is the configuration file
+# for the aspnet-examples virtualhost
+path = /usr/share/asp.net-demos
+alias = /samples
+libs = /usr/lib/mono/2.0
diff --git a/debian/asp.net-examples.install b/debian/asp.net-examples.install
new file mode 100644
index 0000000..1526a6f
--- /dev/null
+++ b/debian/asp.net-examples.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/xsp/test/*	/usr/share/asp.net-demos
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2a0d283
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,1073 @@
+xsp (3.0.11-1) unstable; urgency=low
+
+  * [cba6453] Imported Upstream version 3.0.11
+  * [7709f54] Updated Japanese translation. Thanks to victory 
+    <victory.deb at gmail.com> (Closes: #717204)
+  * [fdfbb9d] Updated Italian translation. Thanks to Fabio 
+    <rola.hack at gmail.com> (Closes: #697188)
+
+ -- Jo Shields <directhex at apebox.org>  Tue, 08 Oct 2013 16:40:34 +0200
+
+xsp (2.11+git20130328.6365230-2) unstable; urgency=low
+
+  * Upload to sid
+
+ -- Jo Shields <directhex at apebox.org>  Tue, 09 Jul 2013 22:48:27 +0100
+
+xsp (2.11+git20130328.6365230-1) experimental; urgency=low
+
+  * [6d6e4fa] Imported Upstream version 2.11+git20130328.6365230
+  * [53f2acf] Launcher scripts assume .NET 4.5, so Mono 3 needed
+  * [39f8bc7] 4.5-ify install locations
+
+ -- Jo Shields <directhex at apebox.org>  Fri, 26 Apr 2013 14:32:24 +0100
+
+xsp (2.10-2.4) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "modifies conffiles (policy 10.7.3): /etc/default/mono-xsp2"
+    use variable instead if string for db_set in
+    debian/mono-apache-server[2,4].config. (Cf. #688565).
+    Thanks to Adam D. Barratt for spotting this mistake (in #688205).
+
+ -- gregor herrmann <gregoa at debian.org>  Sun, 07 Oct 2012 20:08:34 +0200
+
+xsp (2.10-2.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "modifies conffiles (policy 10.7.3): /etc/default/mono-xsp2":
+    s/db_get/db_set/ in debian/mono-xsp[24].config.
+    Thanks to Andreas Beckmann for hunting down my silly mistake.
+    (Closes: #688205)
+
+ -- gregor herrmann <gregoa at debian.org>  Sat, 06 Oct 2012 18:08:06 +0200
+
+xsp (2.10-2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "modifies conffiles (policy 10.7.3): /etc/default/mono-xsp2" and
+    "mono-apache-server2, mono-apache-server4: modifies conffiles (policy
+    10.7.3): /etc/default/mono-apache-server[24]" and another not yet reported
+    case of the same problem in mono-xsp4:
+    for all of mono-xsp[24] and mono-apache-server[24]:
+    - don't ship the .default file
+    - create it in .postinst if necessary
+    - source it in .config to feed existing values into debconf
+    - remove it in .postrm/purge
+    (Closes: #688205, Closes: #688565)
+  * Fix "mono-apache-server{2, 4}: unowned files after purge (policy
+    6.8, 10.8): /etc/mono-server?/mono-server?-hosts.conf":
+    - remove files in .postrm/purge
+    (Closes: #668755)
+
+ -- gregor herrmann <gregoa at debian.org>  Fri, 05 Oct 2012 15:50:27 +0200
+
+xsp (2.10-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix pending l10n issues. Debconf translations:
+  * Japanese (Hideki Yamane).  Closes: #626374
+  * Swedish (Martin Bagge / brother).  Closes: #661963
+  * Polish (Michał Kułach).  Closes: #662919
+
+ -- Christian Perrier <bubulle at debian.org>  Sun, 01 Apr 2012 15:33:36 +0200
+
+xsp (2.10-2) unstable; urgency=low
+
+  [ Jo Shields ]
+  * [91ef16c] Add missing dependencies to dh-xsp
+  * [d9953f7] Updated Swedish translation. Thanks to Martin Bagge. (Closes: #623408)
+  * [d8c3c1c] Switch to DH8-compatible use of "--with cli"
+
+  [ Iain Lane ]
+  * [dc3bc8b] Fix typographical problems in debconf templates.
+    Thanks to Jeroen Schot <schot at A-Eskwadraat.nl>
+  * [8dcab08] Typo fix in French translation from David Prévot
+
+  [ Christian Perrier ]
+  * [e280105] Update & unfuzzy translations (Closes: #653030, #653081, #653224)
+
+ -- Jo Shields <directhex at apebox.org>  Fri, 20 Jan 2012 10:28:40 +0000
+
+xsp (2.10-1) experimental; urgency=low
+
+  * [61d31c1] Remove obsolete gbp.conf
+  * [ccdb6e6] Imported Upstream version 2.10
+  * [92f63cb] Stop converting tarball format on orig tarball
+  * [27a035f] Set Debian source format to 3.0 (quilt)
+  * [faec1a1] Port dh_installxsp to handle XSP 2 and 4, not 1 and 2
+  * [18cc2df] Replace XSP 1 preinst/postrm with XSP4 equivalents
+  * [da67f86] Remove menu entry for ASP.NET examples (it's not useful
+    having it in a GUI menu when it just spawns a daemon)
+  * [c3ebd1a] Remove .dirs files for ASP.NET examples - they serve no
+    purpose
+  * [16c8c53] Unify ASP.NET examples under a single package, hosted by
+    XSP 4
+  * [36ce192] Move debian compat level to 7
+  * [61e0efe] Remove TODO (this kind of thing belongs on a wiki, or bug
+    reports - it's just cluttering up the packaging of the package)
+  * [1ca7b61] Remove useless .dirs files for FastCGI packages
+  * [93e676f] Add mono-fastcgi-server4 packages, replacing mono-fastcgi-
+    server1
+  * [f08e010] Remove useless .dirs files for mono-apache-server packages
+  * [1945d2c] Make mono-apache-server4 the new default version for mono-
+    apache-server
+  * [7149783] Update readme for mono-apache-server2
+  * [68f8b3b] Replace mono-apache-server1 with mono-apache-server4
+  * [6b912dc] Add symlinks to default versions of our apache mangling
+    tools to the default versions package, mono-apache-server. Since the
+    names of some commands are recycled from mono-apache-server1, add a
+    Conflicts/Replaces
+  * [193e167] Remove fragments of earlier packaging efforts, which
+    haven't been actually used for years
+  * [da96272] Update to 4.0, and rename Debian XSP manglement scripts,
+    to remove useless ".conf" filename which is only removed anyway
+  * [9e2a65a] Move XSP4 features into a new mono-xsp4-base package, and
+    rename mono-xsp-base to dh-xsp since it only contains dh_installxsp.
+  * [620f9ee] Add executable permissions to scripts we plan to run
+  * [6f66c23] Switch default mono-xsp version to 4.0
+  * [ef6ca71] Add an xsp.pm, for DebHelper, so we can call "dh --with
+    xsp" in XSP apps to handle dh_installxsp
+  * [93c5179] Ensure we carry NEWS etc with mono-xsp2
+  * [1c1ff1e] Add a readme for XSP2, to help explain our weird
+    Debianisms
+  * [ab2389b] Replace mono-xsp1 with mono-xsp4
+  * [9b3ad89] Bump ABI version of expected Mono to 2.10.1
+  * [4c55e8a] Clean up version-checking rules slightly
+  * [f4484a6] Handle slightly weird version/name situation in upstream's
+    Mono.WebServer2 library
+  * [b4f7731] Port packaging to Debhelper 7, clean up significantly, and
+    update to build 2.10 (in theory)
+  * [a4e1ddc] Fix up build-dependencies
+  * [5bb24aa] Fix up install list for dh-xsp
+  * [e4e497c] it's dh_installman, not manpages
+  * [a80fb89] Fix package description for dh-xsp
+  * [e60ec5b] Explicitly add mono-gmcs to the dependencies of mono-xsp2,
+    since the gmcs compiler is needed for sites to actually work
+  * [cbb8703] Switch asp.net-examples from XSP4 to XSP2, since there's
+    some precompiled 2.0 stuff in there and it's not worth rebuilding
+    against 4.0 when it doesn't contain any 4.0-only examples anyway
+  * [41c086d] Refresh .dirs files for mono-xsp
+  * [2de6042] Add a conflicts, since we want to force removal of
+    asp.net2-examples
+  * [0ae8be3] Add debconf templates to warn users of XSP1 removal
+  * [64db795] Inform users via Debconf if they have XSP1 sites
+    configured, when they install XSP2 or 4 - since we cannot host XSP1
+    sites anymore, it's nice to let users know that they need to
+    reconfigure
+  * [a8618d7] Refresh POTFILES.in
+  * [49772f9] Updated Russian translation. Thanks to Yuri Kozlov.
+    (Closes: #620657)
+  * [f25e3c3] Updated Galician translation. Thanks to Miguel Bouzada.
+  * [c31337b] Updated Slovenian translation. Thanks to Jan Kraljič.
+  * [901c80d] Updated Slovenian translation. Thanks to Jan Kraljič
+  * [9a801ed] Updated German translation. Thanks to Helge Kreutzmann.
+    (Closes: #620987)
+  * [b4dbed6] Updated Finnish translation. Thanks to Esko Arajärvi.
+    (Closes: #621008)
+  * [426a9ef] Updated Basque translation. Thanks to Iñaki Larrañaga
+    Murgoitio. (Closes: #621498)
+  * [e5b1bf5] Updated Portugese translation. Thanks to Miguel
+    Figueiredo. (Closes: #621837)
+  * [69b81d2] Updated Czech translation. Thanks to Miroslav Kure.
+    (Closes: #622098)
+  * [cd01091] Updated Spanish translation. Thanks to Francisco Javier
+    Cuadrado. (Closes: #622612)
+
+ -- Jo Shields <directhex at apebox.org>  Fri, 15 Apr 2011 17:34:23 +0100
+
+xsp (2.6.5-3) unstable; urgency=low
+
+  * Upload to Debian Unstable
+
+ -- Jo Shields <directhex at apebox.org>  Fri, 10 Sep 2010 16:11:45 +0100
+
+xsp (2.6.5-2) experimental; urgency=low
+
+  * debian/mono-xsp1.postinst,
+    debian/mono-xsp2.postinst:
+    + If /var/run/mono-xspX is missing, then don't die in postinst
+
+ -- Jo Shields <directhex at apebox.org>  Sat, 28 Aug 2010 13:37:10 +0100
+
+xsp (2.6.5-1) experimental; urgency=low
+
+  * New upstream release
+  * debian/mono-xsp1.default,
+    debian/mono-xsp1.init,
+    debian/mono-xsp2.init:
+    + Make daemon enabled or disabled on the basis of the start_boot value 
+      of /etc/default/mono-xspX. As a side effect of this, the init script 
+      will no longer die horribly if the default file is missing or junk.
+  * debian/mono-xsp1.postinst,
+    debian/mono-xsp2.postinst:
+    + If /etc/default/mono-xspX is missing, then don't die in postinst
+      (LP: #563383)
+  * debian/control:
+    + Update Vcs-* fields for Git
+    + Bump Standards to version 3.9.1
+  * debian/mono-xsp1.init,
+    debian/mono-xsp2.init:
+    + Add missing Requires on $remote_fs to init script
+  * debian/mono-xsp.links,
+    debian/mono-fastcgi-server.links,
+    debian/mono-apache-server.links:
+    + Fix dangling symlinks to non-gzipped manpages
+  * debian/mono-xsp1.dirs,
+    debian/mono-xsp2.dirs,
+    debian/mono-xsp1.postinst,
+    debian/mono-xsp2.postinst:
+    + Stuff in /var/run definitely shouldn't be in the packages, since 
+      it's entirely possible that this directory is on a tmpfs which may be
+      lost at boot. Since we recreate the dir in the init scripts anyway, 
+      this is not worth being here.
+
+ -- Jo Shields <directhex at apebox.org>  Sat, 07 Aug 2010 20:36:51 +0100
+
+xsp (2.6.4-1) experimental; urgency=low
+
+  * New upstream release
+  * debian/rules:
+    + Don't use ../tarballs for get-orig-source rule
+    + Set ABI version to 2.6
+
+ -- Jo Shields <directhex at apebox.org>  Sun, 06 Jun 2010 21:48:39 +0100
+
+xsp (2.4.3-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Explicitly use 1.0 as source format
+  * Fix pending l10n issues. Debconf translations:
+    - Italian (Vincenzo Campanella).  Closes: #577042
+
+ -- Christian Perrier <bubulle at debian.org>  Fri, 16 Apr 2010 20:03:58 +0200
+
+xsp (2.4.3-3) unstable; urgency=low
+
+  * debian/po/ja.po:
+    + Update (thanks to Hideki Yamane) (Closes: #564480, #564479)
+  * debian/control:
+    + Explicitly build-depend on NUnit (Closes: #564392)
+
+ -- Jo Shields <directhex at apebox.org>  Tue, 19 Jan 2010 00:38:43 +0000
+
+xsp (2.4.3-2) unstable; urgency=low
+
+  * Actually properly include those 3 translations this time. Silly SVN.
+
+ -- Jo Shields <directhex at apebox.org>  Tue, 15 Dec 2009 22:53:56 +0000
+
+xsp (2.4.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Include all previous NMU updates
+  * Translation updates
+    + Include Galician translation update (Closes: #554221)
+    + Include Japanese translation update (Closes: #551298)
+    + Include Italian translation update (Closes: #556076)
+  * debian/watch:
+    + Fix watchfile to support not downloading the current 
+      stable release, for cases (like this) where stable isn't wanted
+  * debian/control:
+    + Depend on mono-devel 2.4.3, and remove the smattering of 
+      individual library build-deps
+
+ -- Jo Shields <directhex at apebox.org>  Tue, 15 Dec 2009 22:35:36 +0000
+
+xsp (2.4.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Properly capitalize "Debian" in debconf templates.
+    Translations unfuzzied.
+  * Fix pending l10n issues. Debconf translations:
+    - Russian (Yuri Kozlov).  Closes: #537920
+    - French (Jean-Luc Coulon (f5ibh)).  Closes: #538126
+    - German (Helge Kreutzmann).  Closes: #538236
+    - Spanish (Francisco Javier Cuadrado).  Closes: #538424
+    - Swedish (Martin Bagge).  Closes: #539071
+    - Czech (Miroslav Kure).  Closes: #546414
+    - Slovenian (Jan Kraljič). 
+    - Vietnamese (Clytie Siddall).  Closes: #550178
+    - Basque (Iñaki Larrañaga Murgoitio).  Closes: #550239
+    - Finnish (Esko Arajärvi).  Closes: #550122
+    - Slovenian (Jan Kraljič).  Closes: #550314
+    - Portuguese (Miguel Figueiredo).  Closes: #550894
+    - Dutch (Paul Gevers).  Closes: #550934
+    - Japanese (Hideki Yamane (Debian-JP)).  Closes: #550969
+
+ -- Christian Perrier <bubulle at debian.org>  Wed, 14 Oct 2009 20:40:29 +0200
+
+xsp (2.4.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/copyright:
+    + Refresh copyright years
+  * debian/rules:
+    + Implement reliable get-orig-source rule which repacks from bz2
+    + Bump System.Web ABI version to 2.4
+  * po/es.po:
+    + Updated Spanish translation. (Closes: #525788)
+  * debian/control:
+    + Bump standards version to 3.8.2
+    + Bump minimum Mono version to 2.4
+    + Change build-dep on Nunit to 2.4 (Closes: #531927)
+    + Depend on mono-devel for compilers - mono-mcs et al won't help (but
+      add mono-1.0-devel for XSP1 support as well as mono-devel, as it's
+      needed for /usr/bin/mcs to work)
+    + Remove dependencies on net-tools, they haven't been relevant since
+      1.0.5-1 (Closes: #535847)
+  * debian/control,
+    debian/dh_installxsp,
+    debian/po/*,
+    debian/mono-xsp.*,
+    debian/mono-xsp1.*,
+    debian/mono-fastcgi-server.*,
+    debian/mono-fastcgi-server1.*,
+    debian/mono-apache-server.*,
+    debian/mono-apache-server1.*:
+    + Move all references of "xsp" to "xsp1", in order to free up
+      "xsp" for an unversioned link to the latest version (i.e. xsp2)
+  * debian/mono-apache-server.links,
+    debian/mono-xsp.links,
+    debian/mono-fastcgi-server.links,
+    debian/control
+    + Create new metapackages pointing to the default versions of
+      packages with versioned commands, including man pages
+    + Conflict with older versions of the packages, since "old" xsp
+      packages are renamed to xsp1.
+  * debian/control,
+    debian/rules:
+    + Remove dpatch
+  * debian/rules:
+    + Delete all compiled files in clean rule, to be sure build can happen
+      twice in a row
+  * debian/control,
+    debian/dh_installxsp:
+    + Rename cli:XspServer to cli:XspServer1. The impact is low, and the
+      workarounds to keep the old name are messy    
+  * debian/po/si.po:
+    + Rename to sl.po - Apparently .si domains need a sl.po file. Go
+      figure. (Closes: #516314)
+
+ -- Jo Shields <directhex at apebox.org>  Mon, 13 Jul 2009 01:11:52 +0100
+
+xsp (2.0-2) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Mirco Bauer <meebey at debian.org>  Wed, 25 Feb 2009 23:22:08 +0100
+
+xsp (2.0-1) experimental; urgency=low
+
+  * Debconf translations:
+    + Added Italian (Closes: #502473)
+  * New upstream release
+    + debian/rules:
+      - Bump MONO_ABI_COMP_VERSION
+    + debian/patches:
+    + debian/control:
+      - We use mono-nunit.pc now, so disable patch and change Depends
+  * Mono 2.0 Transition
+    + debian/control:
+      - Alter build dependencies to new package structure - use mono-X-devel
+        metapackage instead of mono-foocompiler directly, bin useless
+        build dependency on mono-gac
+
+ -- Jo Shields <directhex at apebox.org>  Thu, 16 Oct 2008 11:06:07 +0100
+
+xsp (1.9.1-3) unstable; urgency=low
+
+  [ Jo Shields ]
+  * Fix pending l10n issues. Thanks to Christan Perrier and Martin 
+    Bagge. Debconf translations:
+    - Swedish. Closes: #491788
+
+ -- Jo Shields <directhex at apebox.org>  Thu, 9 Oct 2008 08:52:07 +0100
+
+xsp (1.9.1-2) unstable; urgency=low
+
+  [ Jo Shields ]
+  * debian/control
+    + Enable building of fastcgi packages
+
+  [ Mirco Bauer ]
+  * debian/control:
+    + Enhanced package descriptions.
+  * debian/rules:
+    + Bumped MONO_ABI_COMP_VERSION to 1.9.
+  * debian/copyright:
+    + Added copyright holders of src/Mono.WebServer/*.cs,
+      src/Mono.WebServer.Apache/* and src/Mono.WebServer.FastCgi/*.
+
+ -- Mirco Bauer <meebey at debian.org>  Fri, 11 Jul 2008 13:33:24 +0200
+
+xsp (1.9.1-1) unstable; urgency=low
+
+  [ Jo Shields ]
+  * New upstream release (Closes: #472581)
+  * debian/rules
+    - Enable patch-stamp building, for great dpatch justice
+    - Remove broken rename in debian/rules, which was causing a 404
+      in asp.net2-examples when index2.aspx was called
+  * debian/*fastcgi*
+    - Required files to generate mono-fastcgi-server(2) packages. These
+      are disabled for now, to bypass delays in the NEW queue
+  * debian/patches/00list
+    - Dropped fix_dbpage1_typo.dpatch (no longer relevant as test uses 
+      SQLite)
+    - New patch: fix_mono_nunit.dpatch. Changes reference in 
+      Makefile.am/in to use "nunit" not "mono-nunit" to invoke 
+      pkg-config
+  * debian/control
+    - Add Jo Shields to Uploaders:
+    - New build dependencies: libmono-sqlite1.0-cil, 
+      libmono-winforms1.0-cil, libmono-oracle1.0-cil, 
+      libmono-microsoft7.0-cil, libmono-system-messaging1.0-cil,
+      libmono-system-ldap1.0-cil, libmono-cscompmgd7.0-cil,
+      libnunit2.4-cil
+  * Include changes from previous NMU (Closes: #466584, #466925 #467478).
+    Thanks to Christian Perrier for those.
+  * Debconf translations:
+    - Updated Portugese (Closes: #488168)
+    - Updated Swedish (Closes: #487554)
+    - Updated Galacian (Closes: #480985)
+    - Updated Vietnamese (Closes: #489394)
+    - Updated Czech (Closes: #489438)
+    - Added Russian (Closes: #479149)
+    - Added Finnish (Closes: #476319)
+    - Added Basque (Closes: #489584)
+    - Added Slovenian
+
+  [ Mirco Bauer ]
+  * debian/rules:
+    + Fixed target dependencies.
+
+ -- Jo Shields <directhex at apebox.org>  Thu, 03 Jul 2008 23:49:11 +0200
+
+xsp (1.2.5-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add missing build dependencies that make the package FTBFS
+  * Debconf translations:
+    - French. Closes: #466584
+    - German. Closes: #466925
+    - Dutch. Closes: #467478
+
+ -- Christian Perrier <bubulle at debian.org>  Thu, 10 Apr 2008 22:14:51 +0200
+
+xsp (1.2.5-2) unstable; urgency=medium
+
+  * The "get sexy and ready for lenny" release
+  * New upstream release
+  * debian/mono-server(2)-update:
+    + Use shell wrapper scripts (/usr/bin/mod-mono-server(2)) instead of
+      assemblies (/usr/lib/mono/{1,2}.0/mod-mono-server(2).exe), as that
+      required BINFMT.
+  * debian/control:
+    + Added libmono-system-web{1,2}.0-cil and libmono-security{1,2}.0-cil to
+      build dependencies, fixing FTBFS. Thus urgency set to medium.
+      (Closes: #458709)
+    + Added Homepage, Vcs-Browser and Vcs-Svn fields.
+    + Added ${misc:Depends} for automatic debconf dependecies.
+    + Updated cli-common-dev build-dependency to 0.5.4 as we use dh_clistrip
+      from it now.
+  * debian/mono-xsp(2).init:
+    + Create /var/run/mono-xsp automatically if it doesn't exist.
+  * debian/mono-apache-server(2).postinst:
+    + Removed, db_purge for debconf is automatically handled.
+  * debian/mono-xsp(2).postrm:
+    + Remove /etc/xsp2/debian.webapp when being purged.
+      (Closes: #454378, Closes: #454709)
+  * debian/mono-apache-server2.templates
+    debian/mono-apache-server2.config:
+    + Added missing debconf integration for mono-apache-server2.
+  * debian/*.preinst
+    debian/*.postinst
+    debian/*.prerm
+    debian/*.postrm:
+    + Fixed various error handling or rather hiding, and overkill usage of
+      "rm -Rf ..."
+  * debian/watch:
+    + Converted to version 3.
+  * debian/rules:
+    + Make use of dh_clifixperms and dh_clistrip.
+  * debian/mono-xsp.install:
+    + Added dbsessmgr.
+  * debian/po/templates.pot:
+    + Minor update, fixed the script name.
+
+ -- Mirco Bauer <meebey at debian.org>  Sun, 17 Feb 2008 23:46:34 +0100
+
+xsp (1.2.5-1) unstable; urgency=low
+
+  * New upstream release
+  * Dylan R. E. Moonfire
+    + Acknowledged and merged in NMU changes by Andreas Barth (Closes:
+      #431585, #431587)
+    + debian/rules: Changed "clean" rule to remove lintian warning.
+
+ -- Dylan R. E. Moonfire <debian at mfgames.com>  Mon, 26 Nov 2007 10:50:17 -0600
+
+xsp (1.2.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add dependency on perl-modules from mono-apache-server. Closes: #431585
+
+ -- Andreas Barth <aba at not.so.argh.org>  Tue, 31 Jul 2007 20:26:58 +0000
+
+xsp (1.2.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Dylan R. E. Moonfire
+    + debian/control
+      - Changed ${Source-Version} to ${source:Version}
+      - Added dpatch to build-deps
+    + test/1.1/webcontrols/dbpage1.aspx
+      - Converted NMU fix in upstream source to a dpatch
+    + debian/rules
+      - Running dh_makecillibs for the Mono.WebServer DLL's
+      - Added dpatch targets
+    + Acknowledged and merged in NMU changes by Luk Claes and Martin
+      Zobel-Helas (Closes: #425025, #416893, #417006,#416292, #421996,
+      #415203, #423067, #416636)
+  * Mirco 'meebey' Bauer
+    + mono-server(2)-update:
+      - Add "default" alias to all Mono* directives.
+        (this makes ASP.NET 1.1 and 2.0 actually work)
+    + debian/watch:
+      - Updated
+
+ -- Dylan R. E. Moonfire <debian at mfgames.com>  Wed, 20 Jun 2007 17:41:14 -0500
+
+xsp (1.2.1-2.2) unstable; urgency=high
+
+  * Non-maintainer upload during BSP.
+  * Fix unconditional use of debconf in postrm (Closes: #416893, #417006).
+  * Fix typo in dbpage1.aspx (Closes: #416292).
+  * Fix typo in mono-xsp2.preinst (Closes: #421996).
+  * Add Spanish debconf translation (Closes: #415203).
+  * Add Dutch debconf translation (Closes: #423067).
+
+ -- Luk Claes <luk at debian.org>  Fri, 18 May 2007 16:45:28 +0200
+
+xsp (1.2.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload during BSP.
+  * conditional include of /usr/share/debconf/confmodule (Closes: #416636)
+
+ -- Martin Zobel-Helas <zobel at ftbfs.de>  Thu, 17 May 2007 13:25:21 +0200
+
+xsp (1.2.1-2) unstable; urgency=low
+
+  * Dylan R. E. Moonfire
+    + debian/po: Added translations for Portuguese, German, and Galician
+      (Closes: #413227, #413556, #406839).
+    + Remove bashism from mono-xsp and mono-xsp2 init files (Closes:
+      #407249)
+    + Updated Apache syntax for mod-mono (Closes: #409658)
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Tue, 06 Mar 2007 21:35:16 -0600
+
+xsp (1.2.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + debian/control:
+      - Removed dependency that makes mono-xsp(2)-base incompatible with newer
+        Mono versions (according to upstream it stays compatible now).
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Thu, 23 Nov 2006 11:47:07 -0600
+
+xsp (1.1.18-1) unstable; urgency=low
+
+  * New upstream release
+  * Dylan R. E. Moonfire
+    + Added French translation (Closes: #393674)
+    + Added Czech translation (Closes: #389175)
+  * Mirco 'meebey' Bauer
+    + debian/control:
+      - Updated mono-classlib-{1,2}.0 dependencies to
+        libmono-system-web{1,2}.0-cil. (Closes: #394662)
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Wed, 18 Oct 2006 08:00:43 -0500
+
+xsp (1.1.17.1-2) unstable; urgency=low
+
+  * Mirco 'meebey' Bauer
+    + Fixed debconf templates.
+      (Closes: #389005, thanks to Jean-Luc Coulon for the patch)
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Sat, 23 Sep 2006 11:50:49 +0200
+
+xsp (1.1.17.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Dylan R. E. Moonfire
+    + Updated templates to resolve lintian errors.
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Thu, 21 Sep 2006 16:44:56 -0500
+
+xsp (1.1.17-1) unstable; urgency=low
+
+  * New upstream release
+  * Dylan R. E. Moonfire
+    + Changed the init scripts to include the INIT SCRIPT INFO.
+    + Changed the postinit and prerm scripts to use invoke-rc.d. (Closes:
+      #367752, #367720)
+    + Updated the Czech translation. (Closes: #370313)
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Thu, 13 Jul 2006 19:46:06 -0500
+
+xsp (1.1.15-1) unstable; urgency=low
+
+  * New upstream release
+  * Mirco 'meebey' Bauer
+    + Added MONO_ABI_(INCOMP|COMP)_VERSION variable to debian/rules, because
+      the compatible versions is not always equal to the XSP version.
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Wed, 17 May 2006 20:32:00 +0200
+	
+xsp (1.1.13-1) unstable; urgency=low
+
+  * New upstream release
+  * Dylan R. E. Moonfire <debian at mfgames.com>
+    + debian/control
+      - Added a stricter requirement to mono-classlib-1.0 and
+        2.0. (Closes: #303755, #332726)
+      - Fixed a bug with "mono-mono".
+    + debian/rules
+      - Adding perl to figure out version for requirements.
+  * Added Portuguese translation. (Closes: #336701)
+  * Added Swedish translation. (Closes: #351219)
+  * Added French translation. (Closes: #352090)
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Wed, 25 Jan 2006 13:54:22 -0600
+
+xsp (1.1.10-1) unstable; urgency=low
+
+  * New upstream release
+  * Dylan R. E. Moonfire <debian at mfgames.com>
+    + debian/rules: Changed binary-arch to binary-indep (per meebey)
+    + debian/control: Removed the other uploaders.
+    + debian/control: Removed mono from depends.
+    + Moved dh_installxsp into this package. (Closes #340072)
+    + Corrected the dependencies for asp.net and asp.net2 examples to use
+      dh_installxsp.
+    + Remove debian/MAINTAINERS as per meebey.
+    + Fixed the paths generated by the mono-server*-update and also
+      updated the documentation in the README.Debian to properly identify
+      the script name.
+    + debian/control: Added ${Source-Version} to four packages.
+    + Added "Conflicts:" to support upgrading from older versions.
+    + Package cleanups and fixing problems with the build process.
+    + Corrected the server directive for mono-server2-update.conf (Thanks
+      Matt Petteys). Also fixed the mono-server-update.conf because it broke
+      also.
+    + Added partial translations. These are partial because the new package
+      (as of 1.0.9) added additional questions that have not been translated.
+      - Added a partial French translation from Jean-Luc Coulon (f5ibh)
+        <jean-luc.coulon at wanadoo.fr>. There was a secondary French
+        translation from Steve <dlist at bluewin.ch> but it was slightly
+        older, so the newest one was taken. (Closes: #318882, #300349)
+      - Added a partial Czech translation from Miroslav Kure
+        <kurem at upcase.inf.upol.cz>. (Closes: #314769)
+      - Added a partial Vietnamese translation from Clytie Siddal
+        <clytie at riverland.net.au>. (Closes: #324272)
+      - Added a partial Swedish translation from Daniel Nylander
+        <yeager at lidkoping.net>. (Closes: #330768)
+    + Added "debconf | debconf-2.0" to the control files. (Closes: #332159)
+    + Removed all the lintian warnings.
+    + Added a Build-Depends on mono-gmcs to make sure it compiles
+      properly (thanks to tjfontaine).
+    + Working on getting the interaction between this and mod-mono working
+      properly with dependencies.
+    + Updated all of the paths with the new layout differences from 1.0.5
+      and 1.0.9. Upstream significantly changed the layout of both the
+      source package and the installation locations.
+  * Mirco 'meebey' Bauer
+     + debian/control:
+       - Changed Build-Depends to Build-Depends-Indep
+       - Bumed debhelper build-dep to >= 5.0.0
+       - Added procps to mono-xsp and mono-xsp2 Depends, the init scripts
+         are using "ps".
+     + debian/compat:
+       - Changed to 5
+     + debian/rules:
+       - Cosmetic cleanup
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Wed, 04 Jan 2006 09:54:43 -0600
+
+xsp (1.0.5-2) unstable; urgency=low
+
+  * Dave Beckett
+    + Create patches/math-min.patch to disambiguate call to
+      Math.Min (closes: #327321)
+    + Note that the above patch is pre-applied in the diff until a
+      patch system is added to the build system.
+    + debian/rules: dh_clideps not dh_netdeps
+    + debian/rules: clean all built files - exes, dlls, mdb files
+    + debian/control: use cli:Depends, add versioned depends on cli-common
+    + debain/control: update to standards version 3.6.2.1
+    + debian/patches/xsp-apache2.diff: unused so deleted
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Wed, 21 Sep 2005 20:48:27 +0100
+
+xsp (1.0.5-1) unstable; urgency=low
+
+  * NEW upstream release
+  * Pablo Fischer
+    + Readme.Debian is ok, the package in Debian pool is outdated (closes: #296031)
+    + mono-xsp.init will read the default file to verify that the daemon can be 
+      started (closes: #276994)
+    + XSP was having problems with virtual domains, these last releases have been patched 
+      by upstream (closes: #274594)
+    + index.aspx prints ok. The version located in Debian pool was outdated (closes: #293944)
+    + xsp should create his own chroot (SHARED_DIR) (closes: #259163)
+    + update-mono-server.conf is a symlink of mono-server-update.conf, 
+      but the package name will be the same (closes: #263954)
+    + updated web.config (Thanks Tomasz Rybak!).        
+    + use po-debconf for po template files. Thanks to Martin Quinson (closes: #264922)
+    + netstat port checking should not resolve reverse names (closes: #267859)   
+    + added watch file (closes: #268877)
+    + Fixed multiple virtualhost support for mono-server-{update,admin}.conf. 
+      Now the user can have multiple virtulhosts running with mod_mono, the fault was
+      using the vhosts as * and not as localhost (a realname)
+  * Fabian Fagerholm <fabbe at paniq.net> (closes: #268668)
+    + README.Debian: rewrote this, incorporating all the currently relevant info.
+    + asp.net-examples.README.Debian: improved wording.
+    + mono-apache-server.README.Debian: rewrote this, incorporating relevant
+      info.
+    + asp.net-examples.dirs: cleaned up.
+    + debian/TODO: cleaned up.
+    + debian/control:
+      - Improved wording of package descriptions.
+      - Updated dependencies to reflect existence of libapache2-mod-mono.
+    + debian/copyright: updated location of Mono web site.
+    + Updated index.aspx to reflect new Mono web site, plus cleanup.
+    + Removed some old maintainer scripts that are no longer in use.
+    + Lots of one-line cleanups.        
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Tue, 09 Dec 2004 09:58:12 -0600
+
+xsp (1.0-3) unstable; urgency=low
+
+  * Now mono-xsp daemon 'chuid' the process to www-data system user
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Sun, 4 Jul 2004 14:31:40 -0600
+
+xsp (1.0-2) unstable; urgency=low
+
+  * Fixed a dependency problem with the mono-mcs version
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Sun, 4 Jul 2004 14:22:45 -0600
+        
+xsp (1.0-1) unstable; urgency=low
+
+  * NEW Release
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Sat, 3 Jul 2004 14:12:54 -0600
+
+xsp (0.15-1) unstable; urgency=low
+
+  * installing index.aspx from an older version, the new one has broken
+    references (eb)
+  * patched index.aspx, links.  
+  * Renamed mono-server to mono-apache-server.  
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Wed, 16 Jun 2004 14:02:21 -0600         
+
+xsp (0.14-7) unstable; urgency=low
+
+  * Rewrited README.Debian files        
+  * Added more docs to packages 
+  * dlls of asp.net-examples should be in a bin/ directory, inside asp
+  * Added manpages of {package}-update.conf
+  * Added debconf dependency to mono-xsp and mono-server
+  * Fixed a bug in init scripts and removed obsolote stuff      
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Mon, 14 Jun 2004 21:41:43 -0600
+
+xsp (0.14-6) unstable; urgency=low
+
+  * Compiled with mono-utils to prevent dependency problems
+  * Fixed a bug in scripts of mono-xsp, we are not using reader.conf anymore
+  * Fixed some bugs reading an old .conf file   
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Mon, 14 Jun 2004 19:19:32 -0600
+
+xsp (0.14-5) unstable; urgency=low
+
+  * Fixed dependency problem, should use dependency less strict (all beta2)
+
+ -- Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>  Mon, 14 Jun 2004 17:34:16 -0600
+
+xsp (0.14-4) unstable; urgency=low
+
+  * A BIG bug in the mono-server-update.conf script, I'm using perl not C!
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Mon, 14 Jun 2004 10:03:43 -0600 
+
+xsp (0.14-3) unstable; urgency=low
+
+  * Added some missing tools
+  * Also, fixed the manpages that should be in mono-xsp package         
+  * Fixed a bug in mono-server-update.conf line 55, when we don't have 
+    hosts in mono-server we shouldn't concatenate an empty var ($libs)  
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Mon, 14 Jun 2004 12:30:12 -0600 
+
+xsp (0.14-2) unstable; urgency=low
+
+  * Asp.net dlls should not be linked in /usr/share/asp.net-demos..
+  * Added support for webapps files
+  * Man pagaes of admin.conf scripts
+  * Removed reader.conf of mono-xsp
+  * The init script of mono-xsp now uses a webapps dir to setup the
+    xsp daemon  
+  * An update script now writes a debian.webapp file and the 
+    mono-server-hosts.conf (just in mono-server).       
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Sat, 12 Jun 2004 13:31:12 -0600         
+
+xsp (0.14-1) unstable; urgency=low
+
+  * New Release
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Sat, 12 Jun 2004 13:21:32 -0600 
+
+xsp (0.12-5) unstable; urgency=low
+
+  * Added a new feature, the libs that will replace MonoPath.
+  * mono-server should depends of libapache, 0.9 version, that supports the MonoPath
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Tue, 25 May 2004 10:44:12 -0600 
+
+xsp (0.12-4) unstable; urgency=low
+
+  * Symlinks for the .dlls that asp.net-examples needs. asp.net-examples 
+    was not using monoconventions totally
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Mon, 24 May 2004 21:10:32 -0600
+
+xsp (0.12-3) unstable; urgency=low
+
+  * Previous users and versions were having problems running the past init.d
+    that should not be executed with this version
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Mon, 24 May 2004 15:13:12 -0600 
+
+xsp (0.12-2) unstable; urgency=low
+
+  * Fixed the update script of mono-server, we should not create MonoApplication 
+    unless we have more than one directory in /etc/mono-server/conf.d and be valid
+  * Fixed a bug int he admin scripts, syntax error :-(
+  * Also added the two actions to the admin scripts: add and remove     
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Fri, 20 May 2004 15:07:42 -0600 
+
+xsp (0.12-1) unstable; urgency=low
+
+  * NEW Release!
+  * This new release use the new mod-mono-server, that for now it will not be
+    a daemon, it will be just a parser/wrapper for the mod_mono apache module
+  * Some fixed in dh_installxsp, thanks David Schmitt!  
+  * Added a admin script for both mono-server and xsp package   
+  * rules file should check for dh_installxsp script inside debian/ directory
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Fri, 20 May 2004 23:21:13 -0600 
+
+xsp (0.9-15) unstable; urgency=low
+
+  * I noted that the daemon was not starting when the user boots the computer, 
+    there reason is that in postinst (and postrm) there's no update-rc.d to 
+    add the daemons to the init levels.
+  * Also, the 'debian' way tells that I can these daemon can only be added in 
+    postinst and removed in postrm (purge), so if the user only do a apt-get 
+    remove package the package will be started again and again, so to fix this
+    issue is to add a test -x $DAEMON to the init, before anything :-)  
+  * Fixed a bug in the update scripts: Sometimes the user doesn't reads the 
+    README of the package, so sometimes the user will add their hosts to the 
+    main configuration file (like /etc/xsp/mono-xsp-hosts.conf) with no dirs 
+    in conf.d, so, to prevent 'two' wrong configurations we should 'clean up' 
+    the main configuration file and THEN start with a new one.  
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Mon, 19 Apr 2004 18:22:12 -0600 
+
+xsp (0.9-14) unstable; urgency=low
+
+  * Fixed a bug when users try to declare their paths with spaces before 
+    or after the '=' char.
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Sun, 18 Apr 2004 12:49:21 -0600
+
+xsp (0.9-13) unstable; urgency=low
+
+  * Added a dep to mono-xsp and mono-server, the mono-mcs, to compile the source
+    of the asxp's files for firsttime
+  * Also, added a brief explanation to the README files, telling the user 
+    why /etc/mono-server or /etc/xsp directories are created created also if 
+    they don't have thesepackages.
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Sun, 18 Apr 2004 10:43:11 -0600 
+        
+xsp (0.9-12) unstable; urgency=low
+
+  * Added a dep to mono-server, libapache-mod-mono, to get a cleaner installation :-)
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Sat, 17 Apr 2004 15:30:12 -0600 
+
+xsp (0.9-11) unstable; urgency=low
+
+  * Fixed a bug in the reader scripts, we should read the file only if it 
+    exists.
+  * Also, the same bug in the update scripts, just copy the file (tmp) if it exists..
+
+ -- Pablo Fischer <pablo at palbo.com.mx>  Sat, 17 Apr 2004 15:01:23 -0600 
+
+xsp (0.9-10) unstable; urgency=low
+
+  * The reader scripts were not printing (duh)
+  * Force the cp of the tmp host file configuration
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Fri, 16 Apr 2004 23:19:40 -0600
+
+xsp (0.9-9) unstable; urgency=low
+
+  * Removed the old sh scripts, now we use the power of perl (I preffer it)
+  * Also edited the asp.net-examples.postinst, we should check if the update script exists
+  * Now, the reader and update script are just used by root (usr/sbin)  
+  * Removed the asp.net-examples.install, we install the host file with dh_installxsp 
+  * In the asp.net-examples.postinst and postrm scripts we check if the 'scripts' of xsp or 
+    mono-server are really installed    
+  * Removed the two ln -s (rules), we are replacing those lines with .links files
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Fri, 16 Apr 2004 20:29:00 -0600
+
+xsp (0.9-8) unstable; urgency=low
+
+  * We implement dh_installxsp to install the host files
+  * In the postrm and postinst scripts (of asp.net-examples) we just update 
+    the 'big' file.     
+ 
+ -- Pablo Fischer <pablo at pablo.com.mx>  Sun, 11 Apr 2004 13:02:05 -0600
+
+xsp (0.9-7) unstable; urgency=low
+
+  * The configuration host file (of asp.net) is installed with asp.net-examples.install
+    so in the postinst and postrm we just update        
+  * The installation and removal scripts of asp.net-examples just 
+    update the configuration host file and run their update script.     
+  * The update scripts (mono-xsp-update, mono-server-update) can restart 
+    the daemon or not (by default yes, to prevent: --norestart) and check 
+    the md5sum of the orig global host file with the new one    
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Sat, 10 Apr 2004 15:16:10 -0600
+
+xsp (0.9-6) unstable; urgency=low
+
+  * postinst, preinst, postrm, prerm 
+   + These files are now divided in pre and post scripts
+  * init files
+   + Changed the exit 0 statement. Now we use return values
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Fri, 9 Apr 2004 15:16:10 -0600
+
+xsp (0.9-5) unstable; urgency=low
+
+  * rules:
+    + The .config shell script should be in /usr/share/dotnet/bin, and 
+      with chmod +x 
+    + We should have a symlink of those files (.conf ones) in /usr/bin  
+  * mono-server-reader.conf   
+    + Added a new rule: Check if the config file exists, if not, print a message and exit
+  * asp.net-examples.prerm
+    + Fixed an issue of an if, I should use "$var" not $var, "$var" is for 
+      matched and unmatched cases (=, !=).
+  * mono-xsp.init: 
+    + Added a new rule: Verify if the xsp daemon is already running, if it
+      is running, print an error an exit, so we keep a good pid control system
+      in /var/run   
+    + Removed some stupid debug messages in spanish
+    + Fixed the should_restart, it was always returning true
+  * mono-server.init:   
+    + Removed some stupid debug messages in spanish    
+    + Fixed the should_restart, it was always returning true  
+    + If libapache is not installed, we should print a message AND exit..
+  * asp.net-examples.postinst:      
+    + Added a rm -Rf to remove the temp file after each sed
+  * mono-server.postinst and mono-xsp.postinst
+    + Added a rm -Rf to remove the temp file after each sed     
+    + Commented the start process of mono-server, we don't need it,
+      we should start mono-server from mod-mono.
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Tue, 16 Mar 2004 12:31:57 -0600
+
+xsp (0.9-4) unstable; urgency=low
+
+  * Pablo Fischer:
+    + For the asp.net-examples package, I'm using a pure debconf file, 
+    with a case switch. 
+    + For asp.net.net-examples pre|postinst I Added two functions: restart_xsp 
+    and restart_monoserver.
+    + For the init files I dded two new functions: should_stop, and should_restart,
+    the first will verify if mono-server is running, if it isn't there's no 
+    need to stop it, so it prints a message and exit, the second just checks if 
+    it's running, if it's running it returns a value.
+    + Also, added the prerm script for mono-xsp and mono-server.
+    + And the files to manage the VirtualHost as exim does with a conf.d file
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Wed, 28 Feb 2004 22:16:13 -0600
+
+xsp (0.9-3) unstable; urgency=low
+
+  * NOT RELEASED YET
+  * Pablo Fischer:
+    + Replaced every exec to the old VirtualHost app, cause the new name is 
+    mono-vhostmanager
+    + Added two more rules to the mono-xsp and mono-server init files, we want to
+    know if the virtualfile already exists and if there are hosts
+    + Fixed the Depends of the package, we moved the mono-vhostmanager depend from
+    asp.net-examples to mono-xsp and mono-server.
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Wed, 28 Feb 2004 22:16:13 -0600
+ 
+xsp (0.9-2) unstable; urgency=low
+
+  * Pablo Fischer:
+   + Removed the old way of VirtualHost administration
+   + Implemented nethostmanager to manage the VirtualHosts (asp.net-examples 
+      in this case)
+   + Also, updated the init scripts for xsp and mono-server daemons, we NEED
+      to use the nethostmanager to maintain a cleaner and easy to administrate
+      VirtualHost file (until Gonzalo release the app that will do this with web.config)
+   + Now, we use the cli-wrapper instead of ugly sh file scripts
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Wed, 25 Feb 2004 18:15:23 -0600
+
+xsp (0.9-1) unstable; urgency=low
+
+  * New upstream release
+  * using new policy and the new cli-wrapper
+
+ -- Eduard Bloch <blade at debian.org>  Mon,  9 Feb 2004 22:49:47 +0100
+
+xsp (0.8-2) unstable; urgency=low
+
+  * set alternative dependency on cli-virtual-machine
+
+ -- Eduard Bloch <blade at debian.org>  Sun, 25 Jan 2004 18:17:54 +0100
+
+xsp (0.8-1) unstable; urgency=low
+
+  * New upstream release
+  * made libapache-mod-mono only a suggestion, XSP itself runs without it
+  * converted debian/rules to debhelper
+  * added copyright info
+
+ -- Eduard Bloch <blade at debian.org>  Thu, 22 Jan 2004 23:10:37 +0100
+
+xsp (0.9) unstable; urgency=low
+
+  * NOT RELEASED YET
+
+ -- Pablo Fischer <pablo at pablo.com.mx>  Wed, 28 Jan 2004 21:18:52 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..43d83b6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,178 @@
+Source: xsp
+Section: web
+Priority: optional
+Maintainer: Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>
+Uploaders: Dylan R. E. Moonfire <debian at mfgames.com>, Mirco Bauer <meebey at debian.org>, Jo Shields <directhex at apebox.org>
+Build-Depends: debhelper (>= 7.0.50~), po-debconf, autotools-dev
+Build-Depends-Indep: cli-common-dev (>= 0.8~),
+ mono-devel (>= 3),
+ mono-gmcs,
+ monodoc-base (>= 3),
+ libnunit-cil-dev
+Standards-Version: 3.9.1
+Homepage: http://www.mono-project.com/ASP.NET
+Vcs-Git: git://git.debian.org/git/pkg-mono/packages/xsp.git
+Vcs-Browser: http://git.debian.org/?p=pkg-mono/packages/xsp.git
+
+Package: dh-xsp
+Architecture: all
+Depends: perl, debhelper, ${misc:Depends}
+Conflicts: mono-utils (<= 1.1.9.2-1), mono-xsp-base
+Replaces: mono-xsp-base
+Description: debhelper add-on to handle ASP.NET sites
+ dh-xsp provides a debhelper sequence addon named 'xsp' and the dh_installxsp
+ command, which allows ASP.NET sites to be automatically configured on 
+ installation.
+
+Package: mono-xsp2-base
+Architecture: all
+Depends: ${misc:Depends}, ${cli:Depends}, mono-devel, mono-gmcs, libmono-system-web2.0-cil (>= ${mono-abi-comp-version})
+Description: base libraries for XSP 2.0
+ This is the core libraries needed to install the XSP2 application,
+ either through the standalone XSP version (mono-xsp2) or the Apache module
+ (mono-apache-server2).
+
+Package: mono-xsp4-base
+Architecture: all
+Depends: ${misc:Depends}, ${cli:Depends}, mono-devel, libmono-system-web4.0-cil (>= ${mono-abi-comp-version})
+Description: base libraries for XSP 4.0
+ This is the core libraries needed to install the XSP4 application,
+ either through the standalone XSP version (mono-xsp4) or the Apache module
+ (mono-apache-server4).
+
+Package: mono-xsp4
+Architecture: all
+Depends: ${misc:Depends}, ${cli:Depends}, mono-xsp4-base (= ${source:Version}), procps
+Description: simple web server to run ASP.NET 4.0 applications
+ XSP is a simple web server written in C# that can be used to run your 
+ ASP.NET 4.0 applications. 
+ .
+ This is the standalone ASP.NET web server. If you want to run ASP.NET
+ applications with Apache, look at mono-apache-server.
+
+Package: mono-xsp2
+Architecture: all
+Depends: ${misc:Depends}, ${cli:Depends}, mono-xsp2-base (= ${source:Version}), procps
+Description: simple web server to run ASP.NET 2.0 applications
+ XSP is a simple web server written in C# that can be used to run your 
+ ASP.NET 1.1 and 2.0 applications. 
+ .
+ This is the standalone ASP.NET web server. If you want to run ASP.NET
+ applications with Apache, look at mono-apache-server2.
+
+Package: mono-xsp
+Architecture: all
+Depends: mono-xsp4 (= ${source:Version}), ${misc:Depends}
+Description: simple web server to run ASP.NET applications - default version
+ XSP is a simple web server written in C# that can be used to run your 
+ ASP.NET applications. 
+ .
+ This is a metapackage to pull in the standalone ASP.NET web server. 
+ If you want to run ASP.NET applications with Apache, look at 
+ mono-apache-server.
+
+Package: asp.net-examples
+Architecture: all
+Depends: ${misc:Depends}, ${cli:Depends}, ${cli:XspServer2}
+Replaces: asp.net2-examples
+Conflicts: asp.net2-examples
+Description: demo pages for ASP.NET infrastructure
+ Sample set of .aspx pages to test the XSP server or the mod_mono Apache
+ module.
+
+Package: mono-apache-server4
+Architecture: all
+Depends: ${misc:Depends}, ${cli:Depends}, mono-xsp4-base (= ${source:Version}), perl-modules
+Description: ASP.NET 1.1 backend for mod_mono Apache module
+ mono-apache-server contains the backend for mod_mono. It lets you run ASP.NET
+ web applications via Apache. mod_mono will call mono-apache-server to parse
+ and compile the aspx code.
+ .
+ This package requires you to install libapache2-mod-mono for Apache 2.0.
+
+Package: mono-apache-server2
+Architecture: all
+Conflicts: mono-server
+Replaces: mono-server
+Depends: ${misc:Depends}, ${cli:Depends}, mono-xsp2-base (= ${source:Version}), perl-modules
+Description: ASP.NET 2.0 backend for mod_mono2 Apache module
+ mono-apache-server contains the backend for mod_mono. It lets you run ASP.NET
+ web applications via Apache. mod_mono will call mono-apache-server to parse
+ and compile the aspx code.
+ .
+ This package requires you to install libapache2-mod-mono for Apache 2.0.
+
+Package: mono-apache-server
+Architecture: all
+Conflicts: mono-server, mono-apache-server1
+Replaces: mono-server, mono-apache-server1
+Depends: mono-apache-server4 (= ${source:Version}), ${misc:Depends}
+Description: ASP.NET backend for mod_mono Apache module - default version
+ mono-apache-server contains the backend for mod_mono. It lets you run ASP.NET
+ web applications via Apache. mod_mono will call mono-apache-server to parse
+ and compile the aspx code.
+ .
+ This package pulls in the default version of the Apache backend.
+
+Package: mono-fpm-server
+Architecture: all
+Depends: libfpm-helper0 (= ${source:Version}), ${cli:Depends}, ${misc:Depends}
+Description: ASP.NET backend for FastCGI Process Manager
+ mono-fpm-server contains the backend for FPM. It lets you run ASP.NET
+ web applications via HTTP servers such as Lighttpd or Apache.
+ The FastCGI webserver shouldbe configured to run fastcgi-mono-server to
+ parse and compile the aspx code.
+ .
+ This package requires you to install any FPM webserver, such as
+ Lighttpd or Apache (see libapache2-mod-fastcgi).
+
+Package: libfpm-helper0
+Architecture: any
+Depends: ${shlib:Depends}, ${cli:Depends}, ${misc:Depends}
+Description: ASP.NET backend for FastCGI Process Manager - helper lib
+ mono-fpm-server contains the backend for FPM. It lets you run ASP.NET
+ web applications via HTTP servers such as Lighttpd or Apache.
+ The FastCGI webserver shouldbe configured to run fastcgi-mono-server to
+ parse and compile the aspx code.
+ .
+ This package contains a helper library needed by mono-fpm-server.
+
+Package: mono-fastcgi-server4
+Architecture: all
+Replaces: mono-fastcgi-server1
+Depends: ${misc:Depends}, ${cli:Depends}, mono-xsp4-base (= ${source:Version}), perl-modules
+Description: ASP.NET 4.0 backend for FastCGI webservers
+ mono-fastcgi-server contains the backend for FastCGI. It lets you run 
+ ASP.NET web applications via HTTP servers such as Lighttpd or Apache. 
+ The FastCGI webserver shouldbe configured to run fastcgi-mono-server to
+ parse and compile the aspx code.
+ .
+ This package requires you to install any FastCGI webserver, such as
+ Lighttpd or Apache (see libapache2-mod-fcgid).
+
+Package: mono-fastcgi-server2
+Architecture: all
+Conflicts: mono-server
+Replaces: mono-server
+Depends: ${misc:Depends}, ${cli:Depends}, mono-xsp2-base (= ${source:Version}), perl-modules
+Description: ASP.NET 2.0 backend for FastCGI webservers
+ mono-fastcgi-server contains the backend for FastCGI. It lets you run
+ ASP.NET web applications via HTTP servers such as Lighttpd or Apache.
+ The FastCGI webserver should be configured to run fastcgi-mono-server to
+ parse and compile the aspx code.
+ .
+ This package requires you to install any FastCGI webserver, such as
+ Lighttpd or Apache (see libapache2-mod-fcgid).
+
+Package: mono-fastcgi-server
+Architecture: all
+Conflicts: mono-server
+Replaces: mono-server
+Depends: mono-fastcgi-server4 (= ${source:Version}), ${misc:Depends}
+Description: ASP.NET backend for FastCGI webservers - default version
+ mono-fastcgi-server contains the backend for FastCGI. It lets you run
+ ASP.NET web applications via HTTP servers such as Lighttpd or Apache.
+ The FastCGI webserver should be configured to run fastcgi-mono-server to
+ parse and compile the aspx code.
+ .
+ This package pulls in the default version of the FastCGI backend.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7ae3214
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,60 @@
+This package was debianized by Pablo Fischer pablo at pablo.com.mx on
+Wed,  7 Jan 2004 12:49:46 -0600.
+
+It was downloaded from:
+http://www.mono-project.com/
+
+Author(s): 
+Gonzalo Paniagua Javier <gonzalo at ximian.com>
+
+Copyright:
+Copyright (c) 2002-2009 Novell, Inc. and the individuals listed
+on the ChangeLog entries and source files.
+
+src/Mono.WebServer/*.cs
+Copyright (c) Copyright 2002-2008 Novell, Inc
+
+src/Mono.WebServer/MonoWorkerRequest.cs
+Copyright (c) 2002 Daniel Lopez Ridruejo.
+(C) Copyright 2002-2004 Novell, Inc. (http://www.novell.com)
+
+src/Mono.WebServer.Apache/*
+(C) Copyright 2004-2009 Novell, Inc. (http://www.novell.com)
+
+src/Mono.WebServer.Apache/Request.cs
+src/Mono.WebServer.Apache/RequestReader.cs
+src/Mono.WebServer.Apache/WorkerRequest.cs
+src/Mono.WebServer.Apache/ModMonoRequest.cs
+src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs
+Copyright (c) 2002 Daniel Lopez Ridruejo.
+(C) Copyright 2002-2009 Novell, Inc. (http://www.novell.com)
+
+src/Mono.WebServer.FastCgi/*
+(C) Copyright 2007 Brian Nickel
+
+src/Mono.WebServer.FastCgi/main.cs
+(C) Copyright 2002-2004 Novell, Inc. (http://www.novell.com)
+(C) Copyright 2007 Brian Nickel
+
+License:
+
+MIT/X11
+-------
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/dh-xsp.install b/debian/dh-xsp.install
new file mode 100644
index 0000000..d94e1d6
--- /dev/null
+++ b/debian/dh-xsp.install
@@ -0,0 +1,6 @@
+debian/dh_installxsp /usr/bin
+debian/postrm-monoxsp4 /usr/share/debhelper/autoscripts
+debian/postrm-monoxsp2 /usr/share/debhelper/autoscripts
+debian/postinst-monoxsp4 /usr/share/debhelper/autoscripts
+debian/postinst-monoxsp2 /usr/share/debhelper/autoscripts
+debian/xsp.pm /usr/share/perl5/Debian/Debhelper/Sequence
diff --git a/debian/dh-xsp.manpages b/debian/dh-xsp.manpages
new file mode 100644
index 0000000..cfdf213
--- /dev/null
+++ b/debian/dh-xsp.manpages
@@ -0,0 +1 @@
+debian/dh_installxsp.1
diff --git a/debian/dh_installxsp b/debian/dh_installxsp
new file mode 100755
index 0000000..6afb627
--- /dev/null
+++ b/debian/dh_installxsp
@@ -0,0 +1,146 @@
+#!/usr/bin/perl -w
+
+=head1 NAME
+
+dh_installxsp - install host files into /etc/xsp/conf.d and 
+/etc/mono-server/conf.d
+
+=cut
+
+use strict;
+use Debian::Debhelper::Dh_Lib;
+
+=head1 SYNOPSIS
+
+B<dh_installxsp> [S<B<debhelper options>>] [B<--name=>I<name>] [B<-V >I<version(s)>]
+
+=head1 DESCRIPTION
+
+dh_installxsp is a debhelper program that will install host
+configuration files in /etc/xsp2/conf.d and /etc/mono-server2/conf.d
+(for XSP 2) or /etc/xsp4/conf.d and /etc/mono-server4/conf.d (for XSP
+4). So, if xsp 2 (or xsp 4) is install or will be installed, when xsp
+starts it automatically starts the daemon with the host file.
+
+The files debian/package.hostxsp2 are installed for XSP 2 while
+debian/package.hostxsp4 are used for XSP 4.
+
+In the debian/rules file, dh_installxsp needs to be called before
+dh_installdeb to make sure the files are properly marked as conffiles
+to avoid the lintian warnings. Otherwise, the files created in /etc/
+need to be marked as conffiles.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<--name=>I<name>
+
+Look for files named debian/package.hostxsp{2,4} and install them as
+/etc/xsp{2,4}/conf.d/package/hostfile.
+
+=item B<-V >I<version(s)>
+
+Installs the files for XSP 2.0 (B<-V 2>), XSP 4.0 (B<-V 4>), or both (B<-V
+2,4>). If this version is not specified (or just B<-V> is given), this
+only installed files for XSP 4, not XSP 2.
+
+=back
+
+=cut
+
+# Initialize debhelper
+init();
+
+# Figure out what versions we want to install
+my ($install_xsp_2, $install_xsp_4) = (0, 0);
+$install_xsp_2 = 1 if ($dh{V_FLAG_SET} && $dh{V_FLAG} =~ /2/);
+$install_xsp_4 = 1 if ($dh{V_FLAG_SET} && $dh{V_FLAG} =~ /4/);
+$install_xsp_4 = 1 if !$install_xsp_2 && !$install_xsp_4;
+$install_xsp_4 = 1 unless $dh{V_FLAG_SET};
+
+my $depname="cli:XspServer";
+
+# Go through the packages in this module and see if we need to install
+# each one. This also uses the above variables (install_xsp_*) in each
+# pass.
+foreach my $package (@{$dh{DOPACKAGES}})
+{
+    # Configure for both XSP 2 and/or XSP 4
+    process_xsp($package, "2") if $install_xsp_2;
+    process_xsp($package, "4") if $install_xsp_4;
+}
+
+# This handles the installation of the actual files. This assumes that
+# $version has "2" or "4" (or "5" at some point) and that determines
+# the path being installed into.
+sub process_xsp
+{
+    my ($package, $version) = @_;
+    my $tmp = tmpdir($package);
+    my $hostfile = pkgfile($package, "hostxsp$version");
+
+    # Check to see if we have a host file in the debian/ directory for
+    # this package.
+    if ($hostfile)
+    {
+	# Make sure we have the dependancies
+	my $depname = "cli:XspServer$version";
+	
+	# Delete it for idempotency
+	delsubstvar($package, $depname);
+	addsubstvar($package, $depname,
+		    "mono-xsp$version | mono-apache-server$version | mono-fastcgi-server$version");
+
+	# Check for the installation directory
+	for my $d1 (("xsp$version", "mono-server$version"))
+	{
+	    # Create the top-level directory
+	    if(! -d "$tmp/etc/$d1/conf.d")
+	    {
+		doit("install", "-d", "$tmp/etc/$d1/conf.d");
+	    }
+
+	    # Check for the configuration directory for this package
+	    if(! -d "$tmp/etc/$d1/conf.d/" . pkgfilename($package))
+	    {
+		doit("install", "-d",
+		     "$tmp/etc/$d1/conf.d/" . pkgfilename($package));
+	    }
+	    
+	    # Install this into the conf.d/packagename/10_packagename
+	    doit("install",
+		 "-m", 644,
+		 $hostfile,
+		 "$tmp/etc/$d1/conf.d/" . pkgfilename($package)
+		 . "/10_" . pkgfilename($package));
+	}
+
+	# Install the autoscripts for this version
+	if ($hostfile ne '')
+	{
+	    if (!$dh{NOSCRIPTS})
+	    {
+		autoscript($package, "postinst", "postinst-monoxsp$version",
+			   "s/#PACKAGE#/$package/");
+		autoscript($package, "postrm", "postrm-monoxsp$version",
+			   "s/#PACKAGE#/$package/");
+	    }
+	}
+    }	
+}
+
+=head1 SEE ALSO
+
+L<debhelper(7)>
+
+This program is a part of mono-utils.
+
+=head1 AUTHOR
+
+Originally written by Pablo Fischer <pablo at pablo.com.mx>. Modified by
+Dylan R. E. Moonfire <debian at mfgames.com> to handle XSP and XSP 2
+installation. Modified by Jo Shields <directhex at apebox.org> to drop XSP
+and add XSP 4.
+
+=cut
diff --git a/debian/libfpm-helper0.install b/debian/libfpm-helper0.install
new file mode 100644
index 0000000..aef7397
--- /dev/null
+++ b/debian/libfpm-helper0.install
@@ -0,0 +1 @@
+usr/lib/libfpm_helper.so.0
diff --git a/debian/mono-apache-server.links b/debian/mono-apache-server.links
new file mode 100644
index 0000000..39b7c6c
--- /dev/null
+++ b/debian/mono-apache-server.links
@@ -0,0 +1,4 @@
+usr/bin/mod-mono-server4 usr/bin/mod-mono-server
+usr/sbin/mono-server2-admin usr/sbin/mono-server-admin
+usr/sbin/mono-server2-update usr/sbin/mono-server-update
+usr/share/man/man1/mod-mono-server4.1.gz usr/share/man/man1/mod-mono-server.1.gz
diff --git a/debian/mono-apache-server2.README.Debian b/debian/mono-apache-server2.README.Debian
new file mode 100644
index 0000000..72f0fb2
--- /dev/null
+++ b/debian/mono-apache-server2.README.Debian
@@ -0,0 +1,53 @@
+mono-apache-server2 for Debian
+--------------------------
+
+mod-mono-server2 is a backend server2 that allows you to run ASP.NET web
+applications in conjunction with Apache and the mod_mono Apache module. 
+In Debian, mod-mono-server2 is provided in the package mono-apache-server2.
+
+mod-mono-server2 creates a socket in /tmp, and mod_mono communicates with
+mod-mono-server2 through that socket. Apache will pass the HTTP request via
+mod_mono to mod-mono-server2, and mod-mono-server2 will pass the result back
+to Apache via mod_mono.
+
+So you need this package to run mod_mono, and vice versa.
+
+When mod_mono is installed, it will create a link to
+/etc/mono-server2/mono-server2-hosts.conf. This file contains the configuration
+for mod_mono. Among other things, it makes sure that aspx pages are handled
+by mono_mono, and it defines all your ASP.NET web applications and the mappings
+between URIs and the file system.
+
+However, you should NOT EDIT THIS FILE by hand. Instead, you can manage the
+mono-server2-hosts.conf file with the administration scripts provided by
+mod-mono-server2. The administration scripts work on a directory structure in
+/etc/mono-server2 -- this is what it looks like:
+
+/etc/mono-server2                <- The root of the configuration structure
+/etc/mono-server2/conf.d         <- VirtualHosts Config Directories
+/etc/mono-server2/conf.d/monodoc <- MonoDoc Config Files
+
+To create an ASP.NET virtual host, you create a new directory under conf.d,
+such as the monodoc example above. Then, you place configuration files for
+that virtual host in the directory. Every file is marked by a number, an
+underscore, and the alias name for that ASP.NET application. For example:
+
+/etc/mono-server2/conf.d/monodoc/10_monodochttp
+
+You then need to run mono-server2-update, which will read the directory
+structure and rebuild the mono-server2-hosts.conf file. mod-mono-server2 will
+automatically detect the changes in the file, and adjust its configuration
+accordingly. The mono-server2-update script will also create a
+debian.webapp file, which is needed for the ASP.NET applications.
+
+Packages that wish to install ASP.NET web applications can just follow the
+above procedure. If mod-mono-server2 is running, the application will be
+automatically activated.
+
+You don't need to start mod-mono-server2. If it's not running when a request
+comes in, mod_mono will start it (unless you have disabled mod_mono). Note
+that mono-server2-update can start Apache.
+
+Happy Hacking!
+
+ -- Pablo Fischer <pablo at pablo.com.mx>, Wed Mar  2 11:08:17 2005
diff --git a/debian/mono-apache-server2.config b/debian/mono-apache-server2.config
new file mode 100644
index 0000000..6034ddf
--- /dev/null
+++ b/debian/mono-apache-server2.config
@@ -0,0 +1,62 @@
+#!/bin/bash -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+db_capb backup
+db_title ModMono Server
+
+# XSP1
+if [ -d /etc/mono-server/conf.d ] && [ "`ls /etc/mono-server/conf.d/ | grep -v ^asp.net-examples$ | grep -v ^monodoc-http$ | wc -l`" -gt 0 ]; then
+	set +e
+	db_fget monoserver4/monoserver1_upgrade_warning seen
+	seenflag=$?
+	set -e
+
+	case $seenflag in
+	0)
+		if [ "$RET" = false ]; then
+			db_input high monoserver2/monoserver1_upgrade_warning || true
+		fi
+		;;
+	10)
+		db_input high monoserver2/monoserver1_upgrade_warning || true
+		;;
+	*)
+		echo "db_fget exited with $seenflag" >&2
+                exit $err
+		;;
+	esac
+	db_fset monoserver2/monoserver1_upgrade_warning seen true || true
+	db_go || true
+fi
+
+# get existing values
+modmono_default="/etc/default/mono-apache-server2"
+if [ -e $modmono_default ]; then
+	. $modmono_default || true
+	db_set monoserver2/monoserver2_restartapache "$start_apache"
+fi
+
+STATE=1
+while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
+    case "$STATE" in
+	1) 
+	    db_input medium monoserver2/monoserver2_restartapache || true
+	    if db_go; then
+		db_get monoserver2/monoserver2_restartapache || true
+		if [ "$RET" = "true" ]; then
+		    STATE=2
+		else
+		    db_set  monoserver2/monoserver2_restartapache false || true
+		    STATE=2
+		fi
+	    else
+		STATE=0
+	    fi
+	    ;;
+	esac
+done
+
+if [ "$STATE" = 0 ]; then
+    exit 1
+fi
diff --git a/debian/mono-apache-server2.dirs b/debian/mono-apache-server2.dirs
new file mode 100644
index 0000000..c441df7
--- /dev/null
+++ b/debian/mono-apache-server2.dirs
@@ -0,0 +1 @@
+/etc/mono-server2/conf.d/
diff --git a/debian/mono-apache-server2.docs b/debian/mono-apache-server2.docs
new file mode 100644
index 0000000..eb9b151
--- /dev/null
+++ b/debian/mono-apache-server2.docs
@@ -0,0 +1,3 @@
+NEWS
+README
+AUTHORS
diff --git a/debian/mono-apache-server2.install b/debian/mono-apache-server2.install
new file mode 100644
index 0000000..ec52cd9
--- /dev/null
+++ b/debian/mono-apache-server2.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/lib/mono/2.0/mod-mono-server2.exe
+debian/tmp/usr/lib/mono/gac/mod-mono-server2
+debian/tmp/usr/bin/mod-mono-server2
+debian/mono-server2-admin	/usr/sbin/
+debian/mono-server2-update	/usr/sbin/
diff --git a/debian/mono-apache-server2.manpages b/debian/mono-apache-server2.manpages
new file mode 100644
index 0000000..fd9c05d
--- /dev/null
+++ b/debian/mono-apache-server2.manpages
@@ -0,0 +1,4 @@
+debian/mono-server2-admin.8
+debian/mono-server2-update.8
+debian/update-mono-server2.8
+debian/tmp/usr/share/man/man1/mod-mono-server2.1
diff --git a/debian/mono-apache-server2.postinst b/debian/mono-apache-server2.postinst
new file mode 100644
index 0000000..bc2015d
--- /dev/null
+++ b/debian/mono-apache-server2.postinst
@@ -0,0 +1,54 @@
+#!/bin/sh
+set -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+modmono_default="/etc/default/mono-apache-server2"
+
+# create file if it doesn't exist
+if [ ! -e $modmono_default ]; then
+	cat > $modmono_default <<-END
+	# Defaults for mono-apache-server2
+
+	# Should mono-apache-server2 start apache?
+	start_apache=false
+	END
+fi
+
+restart_apache_on() {
+    sed s/start_apache=false/start_apache=true/g $modmono_default > $tempfile
+    cp $tempfile $modmono_default
+}
+
+restart_apache_off() {
+    sed s/start_apache=true/start_apache=false/g $modmono_default > $tempfile
+    cp $tempfile $modmono_default
+}
+
+daemon_turn_off() {
+    if [ -x /etc/init.d/mono-server2 ]; then
+	update-rc.d -f mono-server2 remove > /dev/null
+    fi
+}
+
+case "$1" in
+    configure)
+	tempfile=$(/bin/tempfile)
+	
+	db_get monoserver2/monoserver2_restartapache || true
+	daemon_turn_off
+	if [ "$RET" = "true" ]; then
+	    restart_apache_on
+	else
+	    restart_apache_off
+	fi
+
+	mono-server2-update
+	rm $tempfile
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-apache-server2.postrm b/debian/mono-apache-server2.postrm
new file mode 100644
index 0000000..051edfe
--- /dev/null
+++ b/debian/mono-apache-server2.postrm
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "purge" ]; then
+	rm -f /etc/mono-server2/debian.webapp
+	rm -f /etc/mono-server2/mono-server2-hosts.conf
+	# remove default file created in postinst
+	rm -f /etc/default/mono-apache-server2
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-apache-server2.templates b/debian/mono-apache-server2.templates
new file mode 100644
index 0000000..7f41a0d
--- /dev/null
+++ b/debian/mono-apache-server2.templates
@@ -0,0 +1,21 @@
+Template: monoserver2/monoserver2_restartapache
+Type: boolean
+Default: true
+_Description: Let mono-apache-server2 restart Apache?
+ The Debian version of mono-apache-server2 includes a
+ mono-server2-update script that creates a configuration file for
+ Apache to start the ASP.NET applications, and mono-server2-update can
+ restart Apache if there's a new configuration file
+ (/etc/mono-server2/mono-server2-hosts.conf). If this is true, then
+ Apache will be restarted when there is a new mono-server2-hosts.conf file.
+
+Template: monoserver2/monoserver1_upgrade_warning
+Type: note
+_Description: ASP.NET 1.0 support removed
+ You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1.
+ Support for the 1.0 profile has been removed from Mono 2.8 and above, and
+ you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure
+ XSP to serve these sites using either 2.0 or 4.0 profiles, assuming your
+ application is compatible. Please see mono-server2-admin(8) or
+ mono-server4-admin(8) to see how to regenerate a configuration for use
+ with 2.0 or 4.0 profiles.
diff --git a/debian/mono-apache-server4.README.Debian b/debian/mono-apache-server4.README.Debian
new file mode 100644
index 0000000..2e72975
--- /dev/null
+++ b/debian/mono-apache-server4.README.Debian
@@ -0,0 +1,53 @@
+mono-apache-server4 for Debian
+--------------------------
+
+mod-mono-server4 is a backend server that allows you to run ASP.NET web
+applications in conjunction with Apache and the mod_mono Apache module. 
+In Debian, mod-mono-server4 is provided in the package mono-apache-server.
+
+mod-mono-server4 creates a socket in /tmp, and mod_mono communicates with
+mod-mono-server4 through that socket. Apache will pass the HTTP request via
+mod_mono to mod-mono-server, and mod-mono-server4 will pass the result back
+to Apache via mod_mono.
+
+So you need this package to run mod_mono, and vice versa.
+
+When mod_mono is installed, it will create a link to
+/etc/mono-server4/mono-server-hosts.conf. This file contains the configuration
+for mod_mono. Among other things, it makes sure that aspx pages are handled
+by mono_mono, and it defines all your ASP.NET web applications and the mappings
+between URIs and the file system.
+
+However, you should NOT EDIT THIS FILE by hand. Instead, you can manage the
+mono-server-hosts.conf file with the administration scripts provided by
+mod-mono-server. The administration scripts work on a directory structure in
+/etc/mono-server4 -- this is what it looks like:
+
+/etc/mono-server4                <- The root of the configuration structure
+/etc/mono-server4/conf.d         <- VirtualHosts Config Directories
+/etc/mono-server4/conf.d/monodoc <- MonoDoc Config Files
+
+To create an ASP.NET virtual host, you create a new directory under conf.d,
+such as the monodoc example above. Then, you place configuration files for
+that virtual host in the directory. Every file is marked by a number, an
+underscore, and the alias name for that ASP.NET application. For example:
+
+/etc/mono-server4/conf.d/monodoc/10_monodochttp
+
+You then need to run mono-server-update, which will read the directory
+structure and rebuild the mono-server-hosts.conf file. mod-mono-server4 will
+automatically detect the changes in the file, and adjust its configuration
+accordingly. The mono-server-update script will also create a
+debian.webapp file, which is needed for the ASP.NET applications.
+
+Packages that wish to install ASP.NET web applications can just follow the
+above procedure. If mod-mono-server4 is running, the application will be
+automatically activated.
+
+You don't need to start mod-mono-server. If it's not running when a request
+comes in, mod_mono will start it (unless you have disabled mod_mono). Note
+that mono-server-update can start Apache.
+
+Happy Hacking!
+
+ -- Pablo Fischer <pablo at pablo.com.mx>, Wed Mar  2 11:08:17 2005
diff --git a/debian/mono-apache-server4.config b/debian/mono-apache-server4.config
new file mode 100644
index 0000000..f926890
--- /dev/null
+++ b/debian/mono-apache-server4.config
@@ -0,0 +1,62 @@
+#!/bin/bash -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+db_capb backup
+db_title ModMono Server
+
+# XSP1
+if [ -d /etc/mono-server/conf.d ] && [ "`ls /etc/mono-server/conf.d/ | grep -v ^asp.net-examples$ | grep -v ^monodoc-http$ | wc -l`" -gt 0 ]; then
+	set +e
+	db_fget monoserver2/monoserver1_upgrade_warning seen
+	seenflag=$?
+	set -e
+
+	case $seenflag in
+	0)
+		if [ "$RET" = false ]; then
+			db_input high monoserver4/monoserver1_upgrade_warning || true
+		fi
+		;;
+	10)
+		db_input high monoserver4/monoserver1_upgrade_warning || true
+		;;
+	*)
+		echo "db_fget exited with $seenflag" >&2
+                exit $err
+		;;
+	esac
+	db_fset monoserver4/monoserver1_upgrade_warning seen true || true
+	db_go || true
+fi
+
+# get existing values
+modmono_default="/etc/default/mono-apache-server4"
+if [ -e $modmono_default ]; then
+	. $modmono_default || true
+	db_set monoserver4/monoserver4_restartapache "$start_apache"
+fi
+
+STATE=1
+while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
+    case "$STATE" in
+	1) 
+	    db_input medium monoserver4/monoserver4_restartapache || true
+	    if db_go; then
+		db_get monoserver4/monoserver4_restartapache || true
+		if [ "$RET" = "true" ]; then
+		    STATE=2
+		else
+		    db_set  monoserver4/monoserver4_restartapache false || true
+		    STATE=2
+		fi
+	    else
+		STATE=0
+	    fi
+	    ;;
+	esac
+done
+
+if [ "$STATE" = 0 ]; then
+    exit 1
+fi
diff --git a/debian/mono-apache-server4.dirs b/debian/mono-apache-server4.dirs
new file mode 100644
index 0000000..8c86e14
--- /dev/null
+++ b/debian/mono-apache-server4.dirs
@@ -0,0 +1 @@
+/etc/mono-server4/conf.d/
diff --git a/debian/mono-apache-server4.docs b/debian/mono-apache-server4.docs
new file mode 100644
index 0000000..eb9b151
--- /dev/null
+++ b/debian/mono-apache-server4.docs
@@ -0,0 +1,3 @@
+NEWS
+README
+AUTHORS
diff --git a/debian/mono-apache-server4.install b/debian/mono-apache-server4.install
new file mode 100644
index 0000000..1ae2510
--- /dev/null
+++ b/debian/mono-apache-server4.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/lib/mono/4.5/mod-mono-server4.exe
+debian/tmp/usr/lib/mono/gac/mod-mono-server4
+debian/tmp/usr/bin/mod-mono-server4
+debian/mono-server4-admin	/usr/sbin/
+debian/mono-server4-update	/usr/sbin/
diff --git a/debian/mono-apache-server4.manpages b/debian/mono-apache-server4.manpages
new file mode 100644
index 0000000..c9f1077
--- /dev/null
+++ b/debian/mono-apache-server4.manpages
@@ -0,0 +1,4 @@
+debian/mono-server4-admin.8
+debian/mono-server4-update.8
+debian/update-mono-server4.8
+debian/tmp/usr/share/man/man1/mod-mono-server4.1
diff --git a/debian/mono-apache-server4.postinst b/debian/mono-apache-server4.postinst
new file mode 100644
index 0000000..b8d295d
--- /dev/null
+++ b/debian/mono-apache-server4.postinst
@@ -0,0 +1,55 @@
+#!/bin/sh
+set -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+modmono_default="/etc/default/mono-apache-server4"
+
+# create file if it doesn't exist
+if [ ! -e $modmono_default ]; then
+	cat > $modmono_default <<-END
+	# Defaults for mono-apache-server4
+
+	# Should mono-apache-server4 start apache?
+	start_apache=false
+	END
+fi
+
+restart_apache_on() {
+    sed s/start_apache=false/start_apache=true/g $modmono_default > $tempfile
+    cp $tempfile $modmono_default
+}
+
+restart_apache_off() {
+    sed s/start_apache=true/start_apache=false/g $modmono_default > $tempfile
+    cp $tempfile $modmono_default
+}
+
+daemon_turn_off() {
+    if [ -x /etc/init.d/mono-server4 ]; then
+	update-rc.d -f mono-server4 remove > /dev/null
+    fi
+}
+
+case "$1" in
+    configure)
+	tempfile=$(/bin/tempfile)
+	
+	db_get monoserver4/monoserver4_restartapache || true
+	daemon_turn_off
+	if [ "$RET" = "true" ]; then
+	    restart_apache_on
+	else
+	    restart_apache_off
+	fi
+
+	mono-server4-update
+	
+	rm $tempfile
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-apache-server4.postrm b/debian/mono-apache-server4.postrm
new file mode 100644
index 0000000..b86f884
--- /dev/null
+++ b/debian/mono-apache-server4.postrm
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "purge" ]; then
+	rm -f /etc/mono-server4/debian.webapp
+	rm -f /etc/mono-server4/mono-server4-hosts.conf
+	# remove default file created in postinst
+	rm -f /etc/default/mono-apache-server4
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-apache-server4.templates b/debian/mono-apache-server4.templates
new file mode 100644
index 0000000..2ac5f84
--- /dev/null
+++ b/debian/mono-apache-server4.templates
@@ -0,0 +1,22 @@
+Template: monoserver4/monoserver4_restartapache
+Type: boolean
+Default: true
+_Description: Let mono-apache-server4 restart Apache?
+ The Debian version of mono-apache-server4 includes a
+ mono-server4-update script that creates a configuration file for
+ Apache to start the ASP.NET applications, and mono-server4-update can
+ restart Apache if there's a new configuration file
+ (/etc/mono-server4/mono-server-hosts.conf). If this is true, then
+ Apache will be restarted when there is a new mono-server4-hosts.conf file.
+
+Template: monoserver4/monoserver1_upgrade_warning
+Type: note
+_Description: ASP.NET 1.0 support removed
+ You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1.
+ Support for the 1.0 profile has been removed from Mono 2.8 and above, and
+ you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure
+ XSP to serve these sites using either 2.0 or 4.0 profiles, assuming your
+ application is compatible. Please see mono-server2-admin(8) or
+ mono-server4-admin(8) to see how to regenerate a configuration for use
+ with 2.0 or 4.0 profiles.
+
diff --git a/debian/mono-fastcgi-server.links b/debian/mono-fastcgi-server.links
new file mode 100644
index 0000000..a149662
--- /dev/null
+++ b/debian/mono-fastcgi-server.links
@@ -0,0 +1,2 @@
+usr/bin/fastcgi-mono-server4 usr/bin/fastcgi-mono-server
+usr/share/man/man1/fastcgi-mono-server4.1.gz usr/share/man/man1/fastcgi-mono-server.1.gz
diff --git a/debian/mono-fastcgi-server2.README.Debian b/debian/mono-fastcgi-server2.README.Debian
new file mode 100644
index 0000000..89a2fe6
--- /dev/null
+++ b/debian/mono-fastcgi-server2.README.Debian
@@ -0,0 +1,25 @@
+mono-fastcgi-server2 for Debian
+--------------------------
+
+mod-fastcgi-server2 is a backend server that allows you to run ASP.NET web
+applications in conjunction with the FastCGI server of your choice, such as
+Lighttpd. In Debian, fastcgi-mono-server2 is provided in the package
+mono-fastcgi-server2.
+
+fastcgi-mono-server2 creates a socket in /tmp, and FastCGI communicates with
+fastcgi-mono-server2 through that socket, in CGI format, using FastCGI records.
+
+So you need this package to use ASP.NET via FastCGI.
+
+In most cases, configuration of ASP.NET sites is handled via your HTTP server's
+configuration, rather than via fastcgi-mono-server2 itself. Therefore, no
+configuration files or examples have been included. Please see this link for
+general information on interaction between FastCGI and Mono:
+
+http://www.mono-project.com/FastCGI
+
+Please see this one for examples on configuration for Lighttpd:
+
+http://www.mono-project.com/FastCGI_Lighttpd
+
+ -- Jo Shields <directhex at apebox.org>, Thu Jul  3 10:05:17 2008
diff --git a/debian/mono-fastcgi-server2.docs b/debian/mono-fastcgi-server2.docs
new file mode 100644
index 0000000..eb9b151
--- /dev/null
+++ b/debian/mono-fastcgi-server2.docs
@@ -0,0 +1,3 @@
+NEWS
+README
+AUTHORS
diff --git a/debian/mono-fastcgi-server2.install b/debian/mono-fastcgi-server2.install
new file mode 100644
index 0000000..19b81ad
--- /dev/null
+++ b/debian/mono-fastcgi-server2.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/mono/2.0/fastcgi-mono-server2.exe
+debian/tmp/usr/lib/mono/gac/fastcgi-mono-server2
+debian/tmp/usr/bin/fastcgi-mono-server2
diff --git a/debian/mono-fastcgi-server2.manpages b/debian/mono-fastcgi-server2.manpages
new file mode 100644
index 0000000..7d773c5
--- /dev/null
+++ b/debian/mono-fastcgi-server2.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/fastcgi-mono-server2.1
diff --git a/debian/mono-fastcgi-server4.README.Debian b/debian/mono-fastcgi-server4.README.Debian
new file mode 100644
index 0000000..99e09b5
--- /dev/null
+++ b/debian/mono-fastcgi-server4.README.Debian
@@ -0,0 +1,25 @@
+mono-fastcgi-server4 for Debian
+--------------------------
+
+mod-fastcgi-server4 is a backend server that allows you to run ASP.NET web
+applications in conjunction with the FastCGI server of your choice, such as
+Lighttpd. In Debian, fastcgi-mono-server4 is provided in the package
+mono-fastcgi-server.
+
+fastcgi-mono-server4 creates a socket in /tmp, and FastCGI communicates with
+fastcgi-mono-server4 through that socket, in CGI format, using FastCGI records.
+
+So you need this package to use ASP.NET via FastCGI.
+
+In most cases, configuration of ASP.NET sites is handled via your HTTP server's
+configuration, rather than via fastcgi-mono-server4 itself. Therefore, no
+configuration files or examples have been included. Please see this link for
+general information on interaction between FastCGI and Mono:
+
+http://www.mono-project.com/FastCGI
+
+Please see this one for examples on configuration for Lighttpd:
+
+http://www.mono-project.com/FastCGI_Lighttpd
+
+ -- Jo Shields <directhex at apebox.org>, Thu Jul  3 10:05:17 2008
diff --git a/debian/mono-fastcgi-server4.docs b/debian/mono-fastcgi-server4.docs
new file mode 100644
index 0000000..eb9b151
--- /dev/null
+++ b/debian/mono-fastcgi-server4.docs
@@ -0,0 +1,3 @@
+NEWS
+README
+AUTHORS
diff --git a/debian/mono-fastcgi-server4.install b/debian/mono-fastcgi-server4.install
new file mode 100644
index 0000000..699752a
--- /dev/null
+++ b/debian/mono-fastcgi-server4.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/mono/4.5/fastcgi-mono-server4.exe
+debian/tmp/usr/lib/mono/gac/fastcgi-mono-server4
+debian/tmp/usr/bin/fastcgi-mono-server4
diff --git a/debian/mono-fastcgi-server4.manpages b/debian/mono-fastcgi-server4.manpages
new file mode 100644
index 0000000..8af8766
--- /dev/null
+++ b/debian/mono-fastcgi-server4.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/fastcgi-mono-server4.1
diff --git a/debian/mono-fpm-server.install b/debian/mono-fpm-server.install
new file mode 100644
index 0000000..7c7f46d
--- /dev/null
+++ b/debian/mono-fpm-server.install
@@ -0,0 +1,3 @@
+/usr/bin/mono-fpm
+/usr/lib/mono/gac/mono-fpm
+/usr/lib/mono/4.5/mono-fpm.exe*
diff --git a/debian/mono-server2-admin b/debian/mono-server2-admin
new file mode 100755
index 0000000..9064b07
--- /dev/null
+++ b/debian/mono-server2-admin
@@ -0,0 +1,203 @@
+#!/usr/bin/perl
+# mono-server22 hosts file creator
+#
+# With this script the user can create a host file in one step, 
+# these hosts file are installed in /etc/mono-server22/conf.d/package and 
+# then used in a 'big' host file (/etc/mono-server22/mono-server2*-hosts.conf) 
+# that will be used by mono-server22
+#
+# Under GPL, please read: 
+# http://www.gnu.org/copyleft/gpl.html
+#
+# Written by: Pablo Fischer
+
+=head1 NAME
+
+mono-server2-admin - mono-server2 hosts file creator, hosts file is part of the debianized mod_mono package
+    
+=head1 SYNOPSIS
+    
+mono-server2-admin.conf [action] [args]
+
+=head2 OPTIONS
+
+  Actions:
+    
+    add        Use 'add' if you want to create an application and want mono-server2 scripts to manage it
+    del        If you want to remove an application
+
+  Args:
+
+    --path     The path where you have your aspx files, MUST EXISTS!, required only with add action
+    --app      The name of your application
+    --libs     If you have dlls outside your path, you must use this!
+    --port     Needed if you are running multiple virtual hosts in different ports in Apache 
+    --vhost    If you want to add asp.net support to a virtualhost you must use this. Example: foobar.com
+
+=head1 DESCRIPTION
+
+ mono-server2-admin.conf is a perl tool to adminstrate your ASP.NET webapps that will be executed with 
+ mod_mono.
+
+ When you try to add an application, admin.conf will verify that your path exists, if it is, it will 
+ add a directory inside /etc/xsp/conf.d with the name of your app, and also as a file with the 
+ filename format: 10_appname. This file will have the information (path, app).
+
+ So, when mono-xsp-update.conf is executed it will read those dirs and create a debian.webapp in
+ /etc/xsp that the xsp daemon will read, also with a mono-server2-hosts.conf that will have your 
+ directory settings with apache directives. Apache will read mono-server2-hosts.conf!
+
+=head1 AUTHOR
+
+ Pablo Fischer <pablo at pablo.com.mx>
+
+=cut 
+
+use strict;
+
+my (%OPT);
+
+#Initializes vars
+$OPT{'port'} = "80";
+$OPT{'vhost'} = "*";
+
+my $confd_directory = "/etc/mono-server2/conf.d";
+
+#Read the opts
+foreach my $opt (@ARGV) {
+    if($opt =~ /^add/) {
+	$OPT{'action'} = "add";
+    }
+    
+    elsif($opt =~ /^del/) {
+	$OPT{'action'} = "del";
+    }	
+
+    elsif($opt =~ /--path/) {
+	$OPT{'path'} = $opt;
+    }    
+
+    elsif($opt =~ /--app/) {
+	$OPT{'app'} = $opt;
+    }   
+
+    elsif($opt =~ /--libs/) {
+	$OPT{'libs'} = $opt;
+    }
+
+    elsif($opt =~ /--port/) {
+	$OPT{'port'} = $opt;
+    }
+
+    elsif($opt =~ /--vhost/) {
+	$OPT{'vhost'} = $opt;
+    }
+}
+
+#clean strange chars, like ':', commas, etc.. I don't like those chars
+sub clean_opts() {
+    foreach my $key (keys %OPT) {	
+	next unless $key ne "action";
+	my $value = $OPT{$key};
+	$OPT{$key} = (split("=", $OPT{$key}))[1];
+	if($key ne "path" && $key ne "libs") {
+	    $OPT{$key} =~ s|/*||;
+	}
+	$OPT{$key} =~ s{/$}{}; 
+	$OPT{$key} =~ s|:*||;
+    }
+}
+
+#We have the path, app, name and the action?
+sub verify_neededopts() {
+    if($OPT{'action'} ne "add" && $OPT{'action'} ne "del") {
+	&help;
+	exit;
+    }
+
+    if(!$OPT{'path'} && $OPT{'action'} eq "add") {
+	print "I need the path of your asp.net application\n";
+	exit;
+    }
+
+    if(!$OPT{'app'}) {
+	print "You should declare the application name!\n";
+	exit;
+    }
+}
+
+#Add the Host file and directory    
+sub add_host() {
+    if( ! -d $OPT{'path'} ) {
+	print "$OPT{'path'} does not exists!\n";
+	exit;
+    }
+    #But what if the conf.d package directory already exists?
+    if ( -d "$confd_directory/$OPT{'app'}") {
+	print "Sorry but $confd_directory/$OPT{'app'} already exist, you might change your application name\n";
+	exit;
+    }
+    
+    #Ok, create the conf.d package directory
+    system("mkdir $confd_directory/$OPT{'app'}");
+    #And create the file
+    system("touch $confd_directory/$OPT{'app'}/10_$OPT{'app'}");
+    
+    open(PACKAGEFILE, "> $confd_directory/$OPT{'app'}/10_$OPT{'app'}");
+    print PACKAGEFILE "This is the configuration file \n";
+    print PACKAGEFILE "for the $OPT{'app'} virtualhost\n";
+    print PACKAGEFILE "path = $OPT{'path'}\n";
+    print PACKAGEFILE "alias = /$OPT{'app'}\n";
+    if($OPT{'libs'}) {
+	print PACKAGEFILE "libs = $OPT{'libs'}\n";
+    }
+    if($OPT{'vhost'}) {
+	print PACKAGEFILE "vhost = $OPT{'vhost'}\n";
+    } else {
+	print PACKAGEFILE "vhost = localhost\n";
+    }
+    if($OPT{'port'}) {
+	print PACKAGEFILE "port = $OPT{'port'}\n";
+    } else {
+	print PACKAGEFILE "port = 80\n";
+    }
+    close(PACKAGEFILE);
+    
+    system("/usr/sbin/mono-server2-update.conf");
+    print "done!\n";
+}
+
+#Remove the host directory
+sub del_host() {
+    
+    system("rm -Rf $confd_directory/$OPT{'app'}");
+    system("/usr/sbin/mono-server2-update.conf");
+    
+    print "done!\n";
+}
+    
+sub help() {
+    print "This script let the user to create a application host file in one step \n";
+    print "for mono-server2 (/etc/mono-server2/conf.d/application\n\n";
+    print "Use:\n";
+    print " mono-server2-admin.conf [action] --path=/real/path --app=/applicationame\n\n";
+    print "Where:\n";
+    print " action:\n";
+    print " add                   Creates an application\n";
+    print " del                   Delete an application (the directory /etc/mono-server2/conf.d/application\n";
+    print " --path=/real/path     A real and true path where you have your ASP.NET applicatio running\n";
+    print " --app=/application    The name of the application\n";
+    print " --libs=/libs          If you have your libs out of path\n";
+    print " --vhost=vhost         The VirtualHost you have in your apache config, Default: localhost\n";
+    print " --port=port           The port of your virtualhost. Default: 80\n";
+}
+
+&clean_opts;
+&verify_neededopts;
+
+if($OPT{'action'} eq "add") {
+    &add_host;
+}
+elsif($OPT{'action'} eq "del") {
+    &del_host;
+}
diff --git a/debian/mono-server2-update b/debian/mono-server2-update
new file mode 100755
index 0000000..f4202b4
--- /dev/null
+++ b/debian/mono-server2-update
@@ -0,0 +1,364 @@
+#!/usr/bin/perl -w
+# Automatic mono-server2 file generator
+#
+# With this script the user can update the host files 
+# that are installed in /etc/mono-server2/conf.d/package and create a 
+# 'big' host file (/etc/mono-server2/mono-server2*-hosts.conf) that will be used
+# by mono-server2 to setup the virtual hosts needed by 
+# the user.
+#
+# Under GPL, please read: 
+# http://www.gnu.org/copyleft/gpl.html
+#
+# Written by: Pablo Fischer
+
+=head1 NAME
+
+mono-server2-update - creates .webapp and .host file for mod_mono and mono-server2
+
+=head1 SYNOPSIS
+
+mono-server2-update
+
+=head1 DESCRIPTION
+
+ mono-server2-update is a perl tool to update/create a .webapp and a .host file in 
+ /etc/mono-server2.
+
+ These two files are needed by mod_mono (apache), they setup the alias, directory permissions, 
+ and ASP.NET applications.
+
+ Both files are created with other host configuration files that are in /etc/mono-server2/conf.d
+
+ For more information read the README.Debian of this package (/usr/share/doc/mono-server2/README.Debian).
+
+=head1 AUTHOR
+
+ Pablo Fischer <pablo at pablo.com.mx>
+
+=cut
+
+use strict; 
+use Digest::MD5;
+
+#Main vars..
+my ($monoserver2_dir, $monoserver2_confd, $monoserver2_hostfile, $monoserver2_webapp,
+    $daemon, $daemon_pid, $default_file,
+    $applications, $libs, $daemon2, $daemon2_pid);
+
+#Setup main vars
+$monoserver2_dir = "/etc/mono-server2";
+$monoserver2_confd = "$monoserver2_dir/conf.d";
+$monoserver2_webapp = "$monoserver2_dir/debian.webapp";
+$monoserver2_hostfile = "$monoserver2_dir/mono-server2-hosts.conf";
+$daemon = "/etc/init.d/apache";
+$daemon_pid = "/var/run/apache.pid";
+$daemon2 = "/etc/init.d/apache2";
+$daemon2_pid = "/var/run/apache2.pid";
+$applications = "";
+$default_file = "/etc/default/mono-apache-server2";
+$libs = "";
+
+my $restart = "yes";
+my $first_file = "yes";
+my ($orig_md5, $new_md5);
+
+#Check write access to $monoserver2_hostfile
+if( ( -e "$monoserver2_hostfile" && ! -w "$monoserver2_hostfile" ) || ! -w "$monoserver2_dir" ) {
+    print "mono-xsp-update requires write access to $monoserver2_hostfile or 
+be executed by root\n" ; 
+    exit 1 ;
+}
+
+#Read the default file
+&read_default_file;
+#Orig md5
+$orig_md5 = &get_md5;
+#Read directory..
+&read_dir;
+if(-f "$monoserver2_hostfile.tmp") {
+    #Prepare the application string
+    $applications =~ s/,$//;
+    #and the libs..
+    $libs = "/usr/lib/mono/2.0:/usr/lib:$libs"; 
+    $libs =~ s/:$//;
+    #sed the $monoserver2_hostfile to replace the Applications
+#    &replace_applications;
+    #Replace the MONOPATH
+    &replace_monopath;
+    &write_tempdefault_end;
+    #cp the temp file to the original one..    
+    system("cp -f $monoserver2_hostfile.tmp $monoserver2_hostfile");    
+    #rm the temp
+    system("rm -Rf $monoserver2_hostfile.tmp");
+    #Final md5
+    $new_md5 = &get_md5;
+    #Equal?
+    if(("$new_md5" ne "$orig_md5") && ($restart eq "yes")) {
+	if(( -f $daemon ) && ( -f $daemon_pid )) {
+	    system("$daemon reload");
+	    system("$daemon restart");
+	}
+	if(( -f $daemon2 ) && ( -f $daemon2_pid )) {
+	    system("$daemon2 reload");
+	    system("$daemon2 restart");
+	}
+    }
+}
+
+sub get_md5 {
+    if( -e $monoserver2_hostfile ) {
+	open(HOSTFILE, $monoserver2_hostfile);
+	binmode(HOSTFILE);
+	return Digest::MD5->new->addfile(*HOSTFILE)->hexdigest;
+	
+    }
+    else {
+	return "";
+    }
+}
+
+sub read_default_file {
+    
+    if(-e $default_file) {
+	open(DEFAULT_FILE, "$default_file");
+	while(my $line = <DEFAULT_FILE>) {
+	    if($line =~ /start_apache/i) {
+		if($line =~ /true/i) {
+		    $restart = "yes";
+		}
+		else {
+		    $restart = "no";
+		}
+	    }
+	}
+	close(DEFAULT_FILE);
+    }
+}
+
+
+sub read_dir {
+    opendir(DIR, $monoserver2_confd);
+    my @host_dirs = sort (grep { -d "$monoserver2_confd/$_" } readdir(DIR));
+    closedir(DIR);
+
+    #to verify that the cfg file is new.. we should create a new one
+    system("rm -Rf $monoserver2_hostfile");
+    system("touch $monoserver2_hostfile");
+    #also to the debian.webapp
+    system("rm -Rf $monoserver2_webapp");
+    system("touch $monoserver2_webapp");
+
+    #How many dirs?
+    if($#host_dirs ne "0") {
+	#Write default content
+	&write_tempdefault_start;
+	foreach my $dir (@host_dirs) {
+	    if(($dir ne "..") && ($dir ne ".")) {
+		#Ok, in the dir.. we have more files, so read them
+		opendir(DIR, "$monoserver2_confd/$dir");
+		my @host_files = sort (readdir(DIR));
+		closedir(DIR);
+		#Is it empty?		
+		if($#host_files ne "0") {
+		    #So, read it..
+		    foreach my $hostfile (@host_files) {
+			#Just remember.. we don't like directories inside directories!
+			if(($hostfile ne "..") && ($hostfile ne ".")) {
+			    $hostfile = "$monoserver2_confd/$dir/$hostfile";
+			    write_tempxsphostfile($hostfile);
+			}
+		    }
+		}
+	    }
+	}
+    }
+}
+
+sub replace_applications {
+    local $/;
+
+    open(TEMPHOST, "$monoserver2_hostfile.tmp");
+    my $content = <TEMPHOST>;
+    close(TEMPHOST);
+
+    if($applications) {
+	$content =~ s/MonoApplications .*/MonoApplications $applications/gi;
+    }
+    else {
+	$content =~ s/MonoApplications//gi;
+    }
+    
+    open(TEMPHOST, "> $monoserver2_hostfile.tmp");
+    print TEMPHOST $content;
+    close(TEMPHOST);
+}
+
+   
+sub replace_monopath {
+    local $/;
+
+    open(TEMPHOST, "$monoserver2_hostfile.tmp");
+    my $content = <TEMPHOST>;
+    close(TEMPHOST);
+
+    if($libs) {
+	$content =~ s/MonoPath .*/MonoPath default $libs/gi;
+    }
+    else {
+	$content =~ s/MonoPath default//gi;
+    }
+    
+    open(TEMPHOST, "> $monoserver2_hostfile.tmp");
+    print TEMPHOST $content;
+    close(TEMPHOST);
+}
+
+sub write_tempdefault_start {
+    open(TEMPHOST, ">> $monoserver2_hostfile.tmp");
+
+    print TEMPHOST "# Default configuration, don't edit it!\n";
+    print TEMPHOST "<IfModule mod_mono.c>\n";
+    print TEMPHOST "  MonoUnixSocket default /tmp/.mod_mono_server2\n";    
+    print TEMPHOST "  MonoServerPath default /usr/bin/mod-mono-server2\n";
+    print TEMPHOST "  AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx\n";
+    print TEMPHOST "  MonoApplicationsConfigDir default /etc/mono-server2\n";
+    print TEMPHOST "  MonoPath default \n";
+
+    close(TEMPHOST);
+
+    open(TEMPWEBAPP, ">> $monoserver2_webapp");
+    print TEMPWEBAPP "<apps>\n";
+    close(TEMPWEBAPP);
+    
+}
+
+sub write_tempdefault_end {
+    open(TEMPHOST, ">> $monoserver2_hostfile.tmp");
+    print TEMPHOST "</IfModule>\n";
+    close(TEMPHOST);
+
+    #Now the debian.webapp
+    open(TEMPWEBAPP, ">> $monoserver2_webapp");
+    print TEMPWEBAPP "</apps>\n";
+    close(TEMPWEBAPP);
+
+}   
+
+
+sub write_tempxsphostfile {
+    my $hostfile = shift;
+
+    #Write the content to a temp file..
+    open(TEMPHOST, ">> $monoserver2_hostfile.tmp");
+    open(TEMPWEBAPP, ">> $monoserver2_webapp");
+
+    #And open the hostfile..
+    open(HOSTFILE, "$hostfile");
+    #Read it..
+    my @content_hostfile = <HOSTFILE>;
+    #Close it..
+    close(HOSTFILE);
+    #Write the header to the monoserver2_hostfile
+    
+    my ($path, $alias, $vhost, $port, $name);
+
+    $vhost = "localhost";
+    $port = "80";
+    foreach my $line (@content_hostfile) {	
+	if($line =~ /path/i) {
+	    #Ok, the directory exists?
+	    my $dir = (split /\=/, $line)[1];
+	    #Remove blank spaces
+	    $dir =~ tr/\ //d;
+	    #remove that \n
+	    $dir =~ s/\n//;
+ 	    if ( ! -d "$dir" ) {
+		$dir = "";
+		last;
+ 	    }
+	    else {
+		$path = $dir;
+	    }
+	}
+
+	if($line =~ /alias/i) {
+	    $alias = (split /\=/, $line)[1];
+	    #Blank Spaces
+	    $alias =~ tr/\ //d;
+	    #New lines..
+	    $alias =~ s/\n//;
+	    #The name
+	    $name = $alias;
+	    $name =~ s|/*||;
+	}
+
+	if($line =~ /lib/i) {
+	    $libs = (split /\=/, $line)[1];
+	    #Blank spaces
+	    $libs =~ tr/\ //d;
+	    #New lines..
+	    $libs =~ s/\n//;
+	    #And remove the last and first ':'..
+	    $libs =~ s/:$//;
+        }    
+
+	if($line =~ /vhost/i) {
+	    $vhost = (split /\=/, $line)[1];
+	    #Blank spaces
+	    $vhost =~ tr/\ //d;
+	    #New lines..
+	    $vhost =~ s/\n//;
+	    #And remove the last and first ':'..
+	    $vhost =~ s/:$//;
+        }   
+
+	if($line =~ /port/i) {
+	    $port = (split /\=/, $line)[1];
+	    #Blank spaces
+	    $port =~ tr/\ //d;
+	    #New lines..
+	    $port =~ s/\n//;
+	    #And remove the last and first ':'..
+	    $port =~ s/:$//;
+        }  
+
+	if($line =~ /name/i) {
+	    $name = (split /\=/, $line)[1];
+	    #Blank spaces
+	    $name =~ tr/\ //d;
+	    #New lines..
+	    $name =~ s/\n//;
+	    #And remove the last and first ':'..
+	    $name =~ s/:$//;
+        }  
+	
+    }	
+    
+    if($path) {
+	$applications = "$applications$alias:$path,";
+	$libs = "$libs:";
+
+	print TEMPWEBAPP "  <web-application>\n";
+	print TEMPWEBAPP "    <name>$name</name>\n";
+	print TEMPWEBAPP "    <vpath>$alias</vpath>\n";       
+	print TEMPWEBAPP "    <path>$path</path>\n";
+	print TEMPWEBAPP "    <vhost>$vhost</vhost>\n";
+	print TEMPWEBAPP "    <port>$port</port>\n";
+	print TEMPWEBAPP "  </web-application>\n";
+
+	print TEMPHOST "# start $hostfile\n";
+	print TEMPHOST "     Alias $alias \"$path\"\n";
+	print TEMPHOST "     AddMonoApplications default \"$alias:$path\"\n";
+	print TEMPHOST "       <Directory $path>\n";
+	print TEMPHOST "         SetHandler mono\n";
+	print TEMPHOST "           <IfModule mod_dir.c>\n";
+	print TEMPHOST "              DirectoryIndex index.aspx\n";
+	print TEMPHOST "           </IfModule>\n";
+	print TEMPHOST "       </Directory>\n";
+	print TEMPHOST "# end $hostfile\n";
+	
+    }
+    close(TEMPHOST);
+    close(TEMPWEBAPP);
+}  
diff --git a/debian/mono-server4-admin b/debian/mono-server4-admin
new file mode 100755
index 0000000..7001bd1
--- /dev/null
+++ b/debian/mono-server4-admin
@@ -0,0 +1,203 @@
+#!/usr/bin/perl
+# mono-server4 hosts file creator
+#
+# With this script the user can create a host file in one step, 
+# these hosts file are installed in /etc/mono-server4/conf.d/package and 
+# then used in a 'big' host file (/etc/mono-server4/mono-server2-hosts.conf) 
+# that will be used by mono-server4
+#
+# Under GPL, please read: 
+# http://www.gnu.org/copyleft/gpl.html
+#
+# Written by: Pablo Fischer
+
+=head1 NAME
+
+mono-server4-admin - mono-server4 hosts file creator, hosts file is part of the debianized mod_mono package
+    
+=head1 SYNOPSIS
+    
+mono-server4-admin [action] [args]
+
+=head2 OPTIONS
+
+  Actions:
+    
+    add        Use 'add' if you want to create an application and want mono-server4 scripts to manage it
+    del        If you want to remove an application
+
+  Args:
+
+    --path     The path where you have your aspx files, MUST EXISTS!, required only with add action
+    --app      The name of your application
+    --libs     If you have dlls outside your path, you must use this!
+    --port     Needed if you are running multiple virtual hosts in different ports in Apache 
+    --vhost    If you want to add asp.net support to a virtualhost you must use this. Example: foobar.com
+
+=head1 DESCRIPTION
+
+ mono-server4-admin is a perl tool to adminstrate your ASP.NET webapps that will be executed with 
+ mod_mono.
+
+ When you try to add an application, mono-server4-admin  will verify that your path exists, if it is, 
+ it will add a directory inside /etc/xsp/conf.d with the name of your app, and also as a file with the 
+ filename format: 10_appname. This file will have the information (path, app).
+
+ So, when mono-xsp-update is executed it will read those dirs and create a debian.webapp in
+ /etc/xsp that the xsp daemon will read, also with a mono-server4-hosts that will have your 
+ directory settings with apache directives. Apache will read mono-server4-hosts.conf!
+
+=head1 AUTHOR
+
+ Pablo Fischer <pablo at pablo.com.mx>
+
+=cut 
+
+use strict;
+
+my (%OPT);
+
+#Initializes vars
+$OPT{'port'} = "80";
+$OPT{'vhost'} = "*";
+
+my $confd_directory = "/etc/mono-server4/conf.d";
+
+#Read the opts
+foreach my $opt (@ARGV) {
+    if($opt =~ /^add/) {
+	$OPT{'action'} = "add";
+    }
+    
+    elsif($opt =~ /^del/) {
+	$OPT{'action'} = "del";
+    }	
+
+    elsif($opt =~ /--path/) {
+	$OPT{'path'} = $opt;
+    }    
+
+    elsif($opt =~ /--app/) {
+	$OPT{'app'} = $opt;
+    }   
+
+    elsif($opt =~ /--libs/) {
+	$OPT{'libs'} = $opt;
+    }
+
+    elsif($opt =~ /--port/) {
+	$OPT{'port'} = $opt;
+    }
+
+    elsif($opt =~ /--vhost/) {
+	$OPT{'vhost'} = $opt;
+    }
+}
+
+#clean strange chars, like ':', commas, etc.. I don't like those chars
+sub clean_opts() {
+    foreach my $key (keys %OPT) {	
+	next unless $key ne "action";
+	my $value = $OPT{$key};
+	$OPT{$key} = (split("=", $OPT{$key}))[1];
+	if($key ne "path" && $key ne "libs") {
+	    $OPT{$key} =~ s|/*||;
+	}
+	$OPT{$key} =~ s{/$}{}; 
+	$OPT{$key} =~ s|:*||;
+    }
+}
+
+#We have the path, app, name and the action?
+sub verify_neededopts() {
+    if($OPT{'action'} ne "add" && $OPT{'action'} ne "del") {
+	&help;
+	exit;
+    }
+
+    if(!$OPT{'path'} && $OPT{'action'} eq "add") {
+	print "I need the path of your asp.net application\n";
+	exit;
+    }
+
+    if(!$OPT{'app'}) {
+	print "You should declare the application name!\n";
+	exit;
+    }
+}
+
+#Add the Host file and directory    
+sub add_host() {
+    if( ! -d $OPT{'path'} ) {
+	print "$OPT{'path'} does not exists!\n";
+	exit;
+    }
+    #But what if the conf.d package directory already exists?
+    if ( -d "$confd_directory/$OPT{'app'}") {
+	print "Sorry but $confd_directory/$OPT{'app'} already exist, you might change your application name\n";
+	exit;
+    }
+    
+    #Ok, create the conf.d package directory
+    system("mkdir $confd_directory/$OPT{'app'}");
+    #And create the file
+    system("touch $confd_directory/$OPT{'app'}/10_$OPT{'app'}");
+    
+    open(PACKAGEFILE, "> $confd_directory/$OPT{'app'}/10_$OPT{'app'}");
+    print PACKAGEFILE "This is the configuration file \n";
+    print PACKAGEFILE "for the $OPT{'app'} virtualhost\n";
+    print PACKAGEFILE "path = $OPT{'path'}\n";
+    print PACKAGEFILE "alias = /$OPT{'app'}\n";
+    if($OPT{'libs'}) {
+	print PACKAGEFILE "libs = $OPT{'libs'}\n";
+    }
+    if($OPT{'vhost'}) {
+	print PACKAGEFILE "vhost = $OPT{'vhost'}\n";
+    } else {
+	print PACKAGEFILE "vhost = localhost\n";
+    }
+    if($OPT{'port'}) {
+	print PACKAGEFILE "port = $OPT{'port'}\n";
+    } else {
+	print PACKAGEFILE "port = 80\n";
+    }
+    close(PACKAGEFILE);
+    
+    system("/usr/sbin/mono-server4-update");
+    print "done!\n";
+}
+
+#Remove the host directory
+sub del_host() {
+    
+    system("rm -Rf $confd_directory/$OPT{'app'}");
+    system("/usr/sbin/mono-server4-update");
+    
+    print "done!\n";
+}
+    
+sub help() {
+    print "This script let the user to create a application host file in one step \n";
+    print "for mono-server4 (/etc/mono-server4/conf.d/application\n\n";
+    print "Use:\n";
+    print " mono-server4-admin [action] --path=/real/path --app=/applicationame\n\n";
+    print "Where:\n";
+    print " action:\n";
+    print " add                   Creates an application\n";
+    print " del                   Delete an application (the directory /etc/mono-server4/conf.d/application\n";
+    print " --path=/real/path     A real and true path where you have your ASP.NET applicatio running\n";
+    print " --app=/application    The name of the application\n";
+    print " --libs=/libs          If you have your libs out of path\n";
+    print " --vhost=vhost         The VirtualHost you have in your apache config, Default: localhost\n";
+    print " --port=port           The port of your virtualhost. Default: 80\n";
+}
+
+&clean_opts;
+&verify_neededopts;
+
+if($OPT{'action'} eq "add") {
+    &add_host;
+}
+elsif($OPT{'action'} eq "del") {
+    &del_host;
+}
diff --git a/debian/mono-server4-update b/debian/mono-server4-update
new file mode 100755
index 0000000..cd4ed38
--- /dev/null
+++ b/debian/mono-server4-update
@@ -0,0 +1,364 @@
+#!/usr/bin/perl -w
+# Automatic mono-server4 file generator
+#
+# With this script the user can update the host files 
+# that are installed in /etc/mono-server4/conf.d/package and create a 
+# 'big' host file (/etc/mono-server4/mono-server4-hosts.conf) that will be used
+# by mono-server4 to setup the virtual hosts needed by 
+# the user.
+#
+# Under GPL, please read: 
+# http://www.gnu.org/copyleft/gpl.html
+#
+# Written by: Pablo Fischer
+
+=head1 NAME
+
+mono-server4-update - creates .webapp and .host file for mod_mono and mono-server4
+
+=head1 SYNOPSIS
+
+mono-server4-update
+
+=head1 DESCRIPTION
+
+ mono-server4-update is a perl tool to update/create a .webapp and a .host file in 
+ /etc/mono-server4.
+
+ These two files are needed by mod_mono (apache), they setup the alias, directory permissions, 
+ and ASP.NET applications.
+
+ Both files are created with other host configuration files that are in /etc/mono-server4/conf.d
+
+ For more information read the README.Debian of this package (/usr/share/doc/mono-server4/README.Debian).
+
+=head1 AUTHOR
+
+ Pablo Fischer <pablo at pablo.com.mx>
+
+=cut
+
+use strict; 
+use Digest::MD5;
+
+#Main vars..
+my ($monoserver4_dir, $monoserver4_confd, $monoserver4_hostfile, $monoserver4_webapp,
+    $daemon, $daemon_pid, $default_file,
+    $applications, $libs, $daemon4, $daemon4_pid);
+
+#Setup main vars
+$monoserver4_dir = "/etc/mono-server4";
+$monoserver4_confd = "$monoserver4_dir/conf.d";
+$monoserver4_webapp = "$monoserver4_dir/debian.webapp";
+$monoserver4_hostfile = "$monoserver4_dir/mono-server4-hosts.conf";
+$daemon = "/etc/init.d/apache";
+$daemon_pid = "/var/run/apache.pid";
+$daemon4 = "/etc/init.d/apache2";
+$daemon4_pid = "/var/run/apache2.pid";
+$applications = "";
+$default_file = "/etc/default/mono-apache-server4";
+$libs = "";
+
+my $restart = "yes";
+my $first_file = "yes";
+my ($orig_md5, $new_md5);
+
+#Check write access to $monoserver4_hostfile
+if( ( -e "$monoserver4_hostfile" && ! -w "$monoserver4_hostfile" ) || ! -w "$monoserver4_dir" ) {
+    print "mono-xsp-update requires write access to $monoserver4_hostfile or 
+be executed by root\n" ; 
+    exit 1 ;
+}
+
+#Read the default file
+&read_default_file;
+#Orig md5
+$orig_md5 = &get_md5;
+#Read directory..
+&read_dir;
+if(-f "$monoserver4_hostfile.tmp") {
+    #Prepare the application string
+    $applications =~ s/,$//;
+    #and the libs..
+    $libs = "/usr/lib/mono/4.0:/usr/lib:$libs"; 
+    $libs =~ s/:$//;
+    #sed the $monoserver4_hostfile to replace the Applications
+#    &replace_applications;
+    #Replace the MONOPATH
+    &replace_monopath;
+    &write_tempdefault_end;
+    #cp the temp file to the original one..    
+    system("cp -f $monoserver4_hostfile.tmp $monoserver4_hostfile");    
+    #rm the temp
+    system("rm -Rf $monoserver4_hostfile.tmp");
+    #Final md5
+    $new_md5 = &get_md5;
+    #Equal?
+    if(("$new_md5" ne "$orig_md5") && ($restart eq "yes")) {
+	if(( -f $daemon ) && ( -f $daemon_pid )) {
+	    system("$daemon reload");
+	    system("$daemon restart");
+	}
+	if(( -f $daemon4 ) && ( -f $daemon4_pid )) {
+	    system("$daemon4 reload");
+	    system("$daemon4 restart");
+	}
+    }
+}
+
+sub get_md5 {
+    if( -e $monoserver4_hostfile ) {
+	open(HOSTFILE, $monoserver4_hostfile);
+	binmode(HOSTFILE);
+	return Digest::MD5->new->addfile(*HOSTFILE)->hexdigest;
+	
+    }
+    else {
+	return "";
+    }
+}
+
+sub read_default_file {
+    
+    if(-e $default_file) {
+	open(DEFAULT_FILE, "$default_file");
+	while(my $line = <DEFAULT_FILE>) {
+	    if($line =~ /start_apache/i) {
+		if($line =~ /true/i) {
+		    $restart = "yes";
+		}
+		else {
+		    $restart = "no";
+		}
+	    }
+	}
+	close(DEFAULT_FILE);
+    }
+}
+
+
+sub read_dir {
+    opendir(DIR, $monoserver4_confd);
+    my @host_dirs = sort (grep { -d "$monoserver4_confd/$_" } readdir(DIR));
+    closedir(DIR);
+
+    #to verify that the cfg file is new.. we should create a new one
+    system("rm -Rf $monoserver4_hostfile");
+    system("touch $monoserver4_hostfile");
+    #also to the debian.webapp
+    system("rm -Rf $monoserver4_webapp");
+    system("touch $monoserver4_webapp");
+
+    #How many dirs?
+    if($#host_dirs ne "0") {
+	#Write default content
+	&write_tempdefault_start;
+	foreach my $dir (@host_dirs) {
+	    if(($dir ne "..") && ($dir ne ".")) {
+		#Ok, in the dir.. we have more files, so read them
+		opendir(DIR, "$monoserver4_confd/$dir");
+		my @host_files = sort (readdir(DIR));
+		closedir(DIR);
+		#Is it empty?		
+		if($#host_files ne "0") {
+		    #So, read it..
+		    foreach my $hostfile (@host_files) {
+			#Just remember.. we don't like directories inside directories!
+			if(($hostfile ne "..") && ($hostfile ne ".")) {
+			    $hostfile = "$monoserver4_confd/$dir/$hostfile";
+			    write_tempxsphostfile($hostfile);
+			}
+		    }
+		}
+	    }
+	}
+    }
+}
+
+sub replace_applications {
+    local $/;
+
+    open(TEMPHOST, "$monoserver4_hostfile.tmp");
+    my $content = <TEMPHOST>;
+    close(TEMPHOST);
+
+    if($applications) {
+	$content =~ s/MonoApplications .*/MonoApplications $applications/gi;
+    }
+    else {
+	$content =~ s/MonoApplications//gi;
+    }
+    
+    open(TEMPHOST, "> $monoserver4_hostfile.tmp");
+    print TEMPHOST $content;
+    close(TEMPHOST);
+}
+
+   
+sub replace_monopath {
+    local $/;
+
+    open(TEMPHOST, "$monoserver4_hostfile.tmp");
+    my $content = <TEMPHOST>;
+    close(TEMPHOST);
+
+    if($libs) {
+	$content =~ s/MonoPath .*/MonoPath default $libs/gi;
+    }
+    else {
+	$content =~ s/MonoPath default//gi;
+    }
+    
+    open(TEMPHOST, "> $monoserver4_hostfile.tmp");
+    print TEMPHOST $content;
+    close(TEMPHOST);
+}
+
+sub write_tempdefault_start {
+    open(TEMPHOST, ">> $monoserver4_hostfile.tmp");
+
+    print TEMPHOST "# Default configuration, don't edit it!\n";
+    print TEMPHOST "<IfModule mod_mono.c>\n";
+    print TEMPHOST "  MonoUnixSocket default /tmp/.mod_mono_server4\n";    
+    print TEMPHOST "  MonoServerPath default /usr/bin/mod-mono-server4\n";
+    print TEMPHOST "  AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx\n";
+    print TEMPHOST "  MonoApplicationsConfigDir default /etc/mono-server4\n";
+    print TEMPHOST "  MonoPath default \n";
+
+    close(TEMPHOST);
+
+    open(TEMPWEBAPP, ">> $monoserver4_webapp");
+    print TEMPWEBAPP "<apps>\n";
+    close(TEMPWEBAPP);
+    
+}
+
+sub write_tempdefault_end {
+    open(TEMPHOST, ">> $monoserver4_hostfile.tmp");
+    print TEMPHOST "</IfModule>\n";
+    close(TEMPHOST);
+
+    #Now the debian.webapp
+    open(TEMPWEBAPP, ">> $monoserver4_webapp");
+    print TEMPWEBAPP "</apps>\n";
+    close(TEMPWEBAPP);
+
+}   
+
+
+sub write_tempxsphostfile {
+    my $hostfile = shift;
+
+    #Write the content to a temp file..
+    open(TEMPHOST, ">> $monoserver4_hostfile.tmp");
+    open(TEMPWEBAPP, ">> $monoserver4_webapp");
+
+    #And open the hostfile..
+    open(HOSTFILE, "$hostfile");
+    #Read it..
+    my @content_hostfile = <HOSTFILE>;
+    #Close it..
+    close(HOSTFILE);
+    #Write the header to the monoserver4_hostfile
+    
+    my ($path, $alias, $vhost, $port, $name);
+
+    $vhost = "localhost";
+    $port = "80";
+    foreach my $line (@content_hostfile) {	
+	if($line =~ /path/i) {
+	    #Ok, the directory exists?
+	    my $dir = (split /\=/, $line)[1];
+	    #Remove blank spaces
+	    $dir =~ tr/\ //d;
+	    #remove that \n
+	    $dir =~ s/\n//;
+ 	    if ( ! -d "$dir" ) {
+		$dir = "";
+		last;
+ 	    }
+	    else {
+		$path = $dir;
+	    }
+	}
+
+	if($line =~ /alias/i) {
+	    $alias = (split /\=/, $line)[1];
+	    #Blank Spaces
+	    $alias =~ tr/\ //d;
+	    #New lines..
+	    $alias =~ s/\n//;
+	    #The name
+	    $name = $alias;
+	    $name =~ s|/*||;
+	}
+
+	if($line =~ /lib/i) {
+	    $libs = (split /\=/, $line)[1];
+	    #Blank spaces
+	    $libs =~ tr/\ //d;
+	    #New lines..
+	    $libs =~ s/\n//;
+	    #And remove the last and first ':'..
+	    $libs =~ s/:$//;
+        }    
+
+	if($line =~ /vhost/i) {
+	    $vhost = (split /\=/, $line)[1];
+	    #Blank spaces
+	    $vhost =~ tr/\ //d;
+	    #New lines..
+	    $vhost =~ s/\n//;
+	    #And remove the last and first ':'..
+	    $vhost =~ s/:$//;
+        }   
+
+	if($line =~ /port/i) {
+	    $port = (split /\=/, $line)[1];
+	    #Blank spaces
+	    $port =~ tr/\ //d;
+	    #New lines..
+	    $port =~ s/\n//;
+	    #And remove the last and first ':'..
+	    $port =~ s/:$//;
+        }  
+
+	if($line =~ /name/i) {
+	    $name = (split /\=/, $line)[1];
+	    #Blank spaces
+	    $name =~ tr/\ //d;
+	    #New lines..
+	    $name =~ s/\n//;
+	    #And remove the last and first ':'..
+	    $name =~ s/:$//;
+        }  
+	
+    }	
+    
+    if($path) {
+	$applications = "$applications$alias:$path,";
+	$libs = "$libs:";
+
+	print TEMPWEBAPP "  <web-application>\n";
+	print TEMPWEBAPP "    <name>$name</name>\n";
+	print TEMPWEBAPP "    <vpath>$alias</vpath>\n";       
+	print TEMPWEBAPP "    <path>$path</path>\n";
+	print TEMPWEBAPP "    <vhost>$vhost</vhost>\n";
+	print TEMPWEBAPP "    <port>$port</port>\n";
+	print TEMPWEBAPP "  </web-application>\n";
+
+	print TEMPHOST "# start $hostfile\n";
+	print TEMPHOST "     Alias $alias \"$path\"\n";
+	print TEMPHOST "     AddMonoApplications default \"$alias:$path\"\n";
+	print TEMPHOST "       <Directory $path>\n";
+	print TEMPHOST "         SetHandler mono\n";
+	print TEMPHOST "           <IfModule mod_dir.c>\n";
+	print TEMPHOST "              DirectoryIndex index.aspx\n";
+	print TEMPHOST "           </IfModule>\n";
+	print TEMPHOST "       </Directory>\n";
+	print TEMPHOST "# end $hostfile\n";
+	
+    }
+    close(TEMPHOST);
+    close(TEMPWEBAPP);
+}  
diff --git a/debian/mono-xsp.links b/debian/mono-xsp.links
new file mode 100644
index 0000000..d2cef30
--- /dev/null
+++ b/debian/mono-xsp.links
@@ -0,0 +1,7 @@
+usr/bin/asp-state4 usr/bin/asp-state
+usr/bin/dbsessmgr4 usr/bin/dbsessmgr
+usr/bin/xsp4 usr/bin/xsp
+usr/share/man/man1/xsp4.1.gz usr/share/man/man1/xsp.1.gz
+usr/share/man/man1/dbsessmgr4.1.gz usr/share/man/man1/dbsessmgr.1.gz
+usr/share/man/man1/asp-state4.1.gz usr/share/man/man1/asp-state.1.gz
+
diff --git a/debian/mono-xsp2-admin b/debian/mono-xsp2-admin
new file mode 100755
index 0000000..e990b93
--- /dev/null
+++ b/debian/mono-xsp2-admin
@@ -0,0 +1,173 @@
+#!/usr/bin/perl
+# mono-xsp2 hosts file creator
+#
+# With this script the user can create a host file in one step, 
+# these hosts file are installed in /etc/xsp2/conf.d/package and 
+# then used in a 'big' host file (/etc/xsp2/mono-server*-hosts.conf) 
+# that will be used by XSP2
+#
+# Under GPL, please read: 
+# http://www.gnu.org/copyleft/gpl.html
+#
+# Written by: Pablo Fischer
+
+=head1 NAME
+
+mono-xsp2-admin.conf - mono-xsp2 hosts file creator
+    
+=head1 SYNOPSIS
+    
+mono-xsp2-admin.conf [action] [args]
+
+=head2 OPTIONS
+
+  Actions:
+    
+    add        Use 'add' if you want to create an application and want mono-xsp2 scripts to manage it
+    del        If you want to remove an application
+
+  Args:
+
+    --path     The path where you have your aspx files, MUST EXISTS!, required only with add action
+    --app      The name of your application
+
+=head1 DESCRIPTION
+
+ mono-xsp2-admin.conf is a perl tool to adminstrate your ASP.NET webapps that will be executed with 
+ xsp2.
+
+ When you try to add an application, admin.conf will verify that your path exists, if it is, it will 
+ add a directory inside /etc/xsp2/conf.d with the name of your app, and also as a file with the 
+ filename format: 10_appname. This file will have the information (path, app).
+
+ So, when mono-xsp2-update.conf is executed it will read those dirs and create a debian.webapp in
+ /etc/xsp2 that the xsp2 daemon will read.
+
+=head1 AUTHOR
+
+ Pablo Fischer <pablo at pablo.com.mx>
+
+=cut 
+
+use strict;
+
+my (%OPT);
+
+my $confd_directory = "/etc/xsp2/conf.d";
+
+#Read the opts
+foreach my $opt (@ARGV) {
+    if($opt =~ /^add/) {
+	$OPT{'action'} = "add";
+    }
+    
+    elsif($opt =~ /^del/) {
+	$OPT{'action'} = "del";
+    }	
+
+    elsif($opt =~ /--path/) {
+	$OPT{'path'} = $opt;
+    }    
+
+    elsif($opt =~ /--app/) {
+	$OPT{'app'} = $opt;
+    }   
+}
+
+
+#clean strange chars, like ':', commas, etc.. I don't like those chars
+sub clean_opts() {
+    foreach my $key (keys %OPT) {	
+	next unless $key ne "action";
+	my $value = $OPT{$key};
+	$OPT{$key} = (split("=", $OPT{$key}))[1];
+	if($key ne "path") {
+	    $OPT{$key} =~ s|/*||;
+	}
+	$OPT{$key} =~ s{/$}{}; 
+			$OPT{$key} =~ s|:*||;
+		    }
+    }
+
+#We have the path, app, name and the action?
+    sub verify_neededopts() {
+	if($OPT{'action'} ne "add" && $OPT{'action'} ne "del") {
+	    &help;
+	    exit;
+	}
+
+	if(!$OPT{'path'}) {
+	    print "I need the path of your asp.net application\n";
+	    exit;
+	}
+
+	if(!$OPT{'app'}) {
+	    print "You should declare the application name!\n";
+	    exit;
+	}
+    }
+
+#Add the Host file and directory    
+    sub add_host() {
+	if( ! -d $OPT{'path'} ) {
+	    print "$OPT{'path'} does not exists!\n";
+	    exit;
+	}
+	#But what if the conf.d package directory already exists?
+	if ( -d "$confd_directory/$OPT{'app'}") {
+	    print "Sorry but $confd_directory/$OPT{'app'} already exist, you might change your application name\n";
+	    exit;
+	}
+	
+	#Ok, create the conf.d package directory
+	system("mkdir $confd_directory/$OPT{'app'}");
+	#And create the file
+	system("touch $confd_directory/$OPT{'app'}/10_$OPT{'app'}");
+	
+	open(PACKAGEFILE, "> $confd_directory/$OPT{'app'}/10_$OPT{'app'}");
+	print PACKAGEFILE "This is the configuration file \n";
+	print PACKAGEFILE "for the $OPT{'app'} virtualhost\n";
+	print PACKAGEFILE "path = $OPT{'path'}\n";
+	print PACKAGEFILE "alias = /$OPT{'app'}\n";
+	close(PACKAGEFILE);
+	
+	system("/usr/sbin/mono-xsp2-update.conf");
+	print "done!\n";
+    }
+
+#Remove the host directory
+    sub del_host() {
+	
+	system("rm -Rf $confd_directory/$OPT{'app'}");
+	system("/usr/sbin/mono-xsp2-update.conf");
+	
+	print "done!\n";
+    }
+    
+    sub help() {
+	print "This script let the user to create a application host file in one step \n";
+	print "for XSP2 (/etc/xsp2/conf.d/application\n\n";
+	print "Use:\n";
+	print " mono-xsp2-admin.conf [action] --path=/real/path --app=/applicationame\n\n";
+	print "Where:\n";
+	print " action:\n";
+	print " add                   Creates an application\n";
+	print " del                   Delete an application (the directory /etc/mono-server/conf.d/application\n";
+	print " --path=/real/path     A real and true path where you have your ASP.NET applicatio running\n";
+	print " --app=/application    The name of the application\n";
+    }
+
+    &clean_opts;
+    &verify_neededopts;
+
+    if($OPT{'action'} eq"add") {
+	&add_host;
+    }
+    elsif($OPT{'action'} eq "del") {
+	&del_host;
+    }
+
+    
+
+
+
diff --git a/debian/mono-xsp2-base.install b/debian/mono-xsp2-base.install
new file mode 100644
index 0000000..26f093b
--- /dev/null
+++ b/debian/mono-xsp2-base.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/mono/2.0/Mono.WebServer2.dll
+debian/tmp/usr/lib/mono/gac/Mono.WebServer2/0.2*
+debian/tmp/usr/lib/pkgconfig/xsp-2.pc
diff --git a/debian/mono-xsp2-update b/debian/mono-xsp2-update
new file mode 100755
index 0000000..52e3f2c
--- /dev/null
+++ b/debian/mono-xsp2-update
@@ -0,0 +1,225 @@
+#!/usr/bin/perl -w
+# Automatic mono-server file generator
+#
+# With this script the user can update the host files 
+# that are installed in /etc/mono-server/conf.d/package and create a 
+# 'big' host file (/etc/mono-server/mono-server*-hosts.conf) that will be used
+# by mono-server to setup the virtual hosts needed by 
+# the user.
+#
+# Under GPL, please read: 
+# http://www.gnu.org/copyleft/gpl.html
+#
+# Written by: Pablo Fischer
+
+=head1 NAME
+
+mono-xsp2-update.conf - creates .webapp needed by xsp2
+
+=head1 SYNOPSIS
+
+mono-xsp2-update.conf
+
+=head1 DESCRIPTION
+
+ mono-xsp2-update.conf is a perl tool to update/create a .webapp in /etc/xsp2
+
+ This file is needed by xsp2 cause it has all each ASP.NET application with a path and alias, needed 
+ by xsp2 to setup these applications.
+
+ The .webapp is created with other host configuration files that are in /etc/xsp2/conf.d
+
+ For more information read the README.Debian of this package (/usr/share/doc/mono-xsp2/README.Debian).
+
+=head1 AUTHOR
+
+ Pablo Fischer <pablo at pablo.com.mx>
+
+=cut
+
+use strict; 
+use Digest::MD5;
+
+#Main vars..
+my ($monoxsp2_dir, $monoxsp2_confd, $monoxsp2_hostfile, $monoxsp2_webapp,
+    $daemon, $daemon_pid, $default_file,
+    $applications, $libs);
+
+#Setup main vars
+$monoxsp2_dir = "/etc/xsp2";
+$monoxsp2_confd = "$monoxsp2_dir/conf.d";
+$monoxsp2_webapp = "$monoxsp2_dir/debian.webapp";
+$daemon = "/etc/init.d/mono-xsp2";
+$daemon_pid = "/var/run/mono-xsp2.pid";
+$applications = "";
+$default_file = "/etc/default/mono-xsp2";
+
+my $restart = "yes";
+my $first_file = "yes";
+my ($orig_md5, $new_md5);
+
+#Check write access to $monoxsp2_hostfile
+if( ( -e "$monoxsp2_webapp" && ! -w "$monoxsp2_webapp" ) || ! -w "$monoxsp2_dir" ) {
+    print "mono-xsp2-update.conf requires write access to $monoxsp2_webapp or 
+be executed by root\n" ; 
+    exit 1 ;
+}
+
+#Read the default file
+&read_default_file;
+#Orig md5
+$orig_md5 = &get_md5;
+#Read directory..
+&read_dir;
+#The tail
+&write_tempdefault_end;
+#Prepare the application string
+$applications =~ s/,$//;
+#Final md5
+$new_md5 = &get_md5;
+#Equal?
+if(("$new_md5" ne "$orig_md5") && ($restart eq "yes")) {
+    if(( -f $daemon ) && ( -f $daemon_pid )) {
+	system("$daemon restart");
+    }
+}
+
+
+sub get_md5 {
+    if( -e $monoxsp2_webapp ) {
+	open(WEBAPP, $monoxsp2_webapp);
+	binmode(WEBAPP);
+	return Digest::MD5->new->addfile(*WEBAPP)->hexdigest;
+	
+    }
+    else {
+	return "";
+    }
+}
+
+sub read_default_file {
+    
+    if(-e $default_file) {
+	open(DEFAULT_FILE, "$default_file");
+	while(my $line = <DEFAULT_FILE>) {
+	    if($line =~ /start_boot/i) {
+		if($line =~ /true/i) {
+		    $restart = "yes";
+		}
+		else {
+		    $restart = "no";
+		}
+	    }
+	}
+	close(DEFAULT_FILE);
+    }
+}
+
+
+sub read_dir {
+    opendir(DIR, $monoxsp2_confd);
+    my @host_dirs = sort (grep { -d "$monoxsp2_confd/$_" } readdir(DIR));
+    closedir(DIR);
+
+    system("rm -Rf $monoxsp2_webapp");
+    system("touch $monoxsp2_webapp");
+
+    #How many dirs?
+    if($#host_dirs ne "0") {
+	#The head
+	&write_tempdefault_start;
+	foreach my $dir (@host_dirs) {
+	    if(($dir ne "..") && ($dir ne ".")) {
+		#Ok, in the dir.. we have more files, so read them
+		opendir(DIR, "$monoxsp2_confd/$dir");
+		my @host_files = sort (readdir(DIR));
+		closedir(DIR);
+		#Is it empty?		
+		if($#host_files ne "0") {
+		    #So, read it..
+		    foreach my $hostfile (@host_files) {
+			#Just remember.. we don't like directories inside directories!
+			if(($hostfile ne "..") && ($hostfile ne ".")) {
+			    $hostfile = "$monoxsp2_confd/$dir/$hostfile";
+			    write_tempxsp2hostfile($hostfile);
+			}
+		    }
+		}
+	    }
+	}
+    }
+}
+
+sub write_tempdefault_start {
+
+    open(TEMPWEBAPP, ">> $monoxsp2_webapp");
+    print TEMPWEBAPP "<apps>\n";
+    close(TEMPWEBAPP);
+    
+}
+
+
+sub write_tempdefault_end {
+
+    open(TEMPWEBAPP, ">> $monoxsp2_webapp");
+    print TEMPWEBAPP "</apps>\n";
+    close(TEMPWEBAPP);
+
+}  
+
+sub write_tempxsp2hostfile {
+    my $hostfile = shift;
+
+    #Write the content to a temp file..
+    open(TEMPWEBAPP, ">> $monoxsp2_webapp");
+    #And open the hostfile..
+    open(HOSTFILE, "$hostfile");
+    #Read it..
+    my @content_hostfile = <HOSTFILE>;
+    #Close it..
+    close(HOSTFILE);
+    #Write the header to the monoxsp2_hostfile
+    
+    my ($path, $alias, $name);
+
+    foreach my $line (@content_hostfile) {	
+	if($line =~ /path/i) {
+	    #Ok, the directory exists?
+	    my $dir = (split /\=/, $line)[1];
+	    #Remove blank spaces
+	    $dir =~ tr/\ //d;
+	    #remove that \n
+	    $dir =~ s/\n//;
+ 	    if ( ! -d "$dir" ) {
+		$dir = "";
+		last;
+ 	    }
+	    else {
+		$path = $dir;
+	    }
+	}
+
+	if($line =~ /alias/i) {
+	    $alias = (split /\=/, $line)[1];
+	    #Blank Spaces
+	    $alias =~ tr/\ //d;
+	    #New lines..
+	    $alias =~ s/\n//;
+	    #The name
+	    $name = $alias;
+	    $name =~ s|/*||;
+	}	
+    }	
+    
+    if($path) {
+	$applications = "$applications$alias:$path,";
+	$libs = "$libs:";
+
+	print TEMPWEBAPP "  <web-application>\n";
+	print TEMPWEBAPP "    <name>$name</name>\n";
+	print TEMPWEBAPP "    <vpath>$alias</vpath>\n";       
+	print TEMPWEBAPP "    <path>$path</path>\n";
+	print TEMPWEBAPP "  </web-application>\n";
+    }
+    close(TEMPWEBAPP);
+}  
diff --git a/debian/mono-xsp2.README.Debian b/debian/mono-xsp2.README.Debian
new file mode 100644
index 0000000..7e05a37
--- /dev/null
+++ b/debian/mono-xsp2.README.Debian
@@ -0,0 +1,45 @@
+xsp2 for Debian
+--------------
+
+The mono-xsp2 package contains a standalone WebServer to run ASP.NET, developed
+by the Mono hackers, it should run in port 8080 or 8081, the scripts detects which port
+to use.
+
+For example, if you have a mail proxy (or http proxy) using 8080 it should run in 8081.
+
+To change the port, you need to kill your http/mail proxy or move them to other port, and then
+reconfigure xsp2 as root:
+
+# dpkg-reconfigure mono-xsp2
+
+The way that xsp2 manage the /alias (virtual hosts) is like exim does. We have a directory in 
+/etc called xsp2, inside it we have a conf.d directory, were we have directories for each 
+'virtualhost'.
+
+For example, we have monodoc-http, so we have:
+
+/etc/xsp2 		<- Mono XSP 2 Config Dir
+/etc/xsp2/conf.d 	<- Mono XSP 2 VirtualHosts Config Directories
+/etc/xsp2/conf.d/monodoc <- MonoDoc Config Files for XSP 2
+
+Every file is marked by a number, an underscore and the alias name, for example:
+
+/etc/xsp2/conf.d/monodoc/10_monodochttp
+
+If you want to install a new virtualhost to XSP 2, you just need to apt-get it, and if 
+XSP 2 is running it should be started normally, if it's the first virtualhost and you configured
+mono-xsp2 to be started automatically it will start xsp2 by default.
+
+If you configured mono-xsp2 to NOT be started automatically, you should start mono-xsp2 manually:
+
+/etc/init.d/mono-xsp2 start
+
+Also, if you are installing YOUR OWN VirtualHost, you should use mono-xsp2-admin (and also the manpage)
+
+NOTE: In some cases you can find that /etc/mono-server|/etc/xsp2 exists with other virtualhosts and you  
+don't have mono-server|mono-xsp2 installed, don't get in panic, some virtualhosts installs host configuration 
+files in both server (xsp2 and mono-server).
+
+Happy Hacking
+
+ -- Pablo Fischer <pablo at pablo.com.mx>, Mon, 15 Mar 2004 18:52:30 -0600
diff --git a/debian/mono-xsp2.config b/debian/mono-xsp2.config
new file mode 100644
index 0000000..ce19434
--- /dev/null
+++ b/debian/mono-xsp2.config
@@ -0,0 +1,106 @@
+#!/bin/bash -e
+
+# Initialization
+. /usr/share/debconf/confmodule
+db_version 2.0
+db_capb backup
+db_title XSP2 WebServer
+
+# XSP1
+if [ -d /etc/xsp/conf.d ] && [ "`ls /etc/xsp/conf.d/ | grep -v ^asp.net-examples$ | grep -v ^monodoc-http$ | wc -l`" -gt 0 ]; then
+	set +e
+	db_fget xsp4/xsp1_upgrade_warning seen
+	seenflag=$?
+	set -e
+
+	case $seenflag in
+	0)
+		if [ "$RET" = false ]; then
+			db_input high xsp2/xsp1_upgrade_warning || true
+		fi
+		;;
+	10)
+		db_input high xsp2/xsp1_upgrade_warning || true
+		;;
+	*)
+		echo "db_fget exited with $seenflag" >&2
+                exit $err
+		;;
+	esac
+	db_fset xsp2/xsp1_upgrade_warning seen true || true
+	db_go || true
+fi
+
+# get existing values
+xsp2_default="/etc/default/mono-xsp2"
+if [ -e $xsp2_default ]; then
+	. $xsp2_default || true
+	db_set xsp2/xsp2_autostart "$start_boot"
+	db_set xsp2/xsp2_bind      "$address"
+	db_set xsp2/xsp2_port      "$port"
+fi
+
+# Autostart
+STATE=1
+while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
+    case "$STATE" in
+	1) 
+	    db_input medium xsp2/xsp2_autostart || true
+	    if db_go; then
+		db_get xsp2/xsp2_autostart || true
+		if [ "$RET" = "true" ]; then
+		    STATE=2
+		else
+		    db_set  xsp2/xsp2_autostart false || true
+		    STATE=2
+		fi
+	    else
+		STATE=0
+	    fi
+	    ;;
+	esac
+done
+
+if [ "$STATE" = 0 ]; then
+    exit 1
+fi
+
+# Bind
+STATE=1
+while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
+    case "$STATE" in
+	1) 
+	    db_input medium xsp2/xsp2_bind || true
+	    if db_go; then
+		db_get xsp2/xsp2_bind || true
+		STATE=2
+	    else
+		STATE=0
+	    fi
+	    ;;
+	esac
+done
+
+if [ "$STATE" = 0 ]; then
+    exit 1
+fi
+
+# Port
+STATE=1
+while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
+    case "$STATE" in
+	1) 
+	    db_input medium xsp2/xsp2_port || true
+	    if db_go; then
+		db_get xsp2/xsp2_port || true
+		STATE=2
+	    else
+		STATE=0
+	    fi
+	    ;;
+	esac
+done
+
+if [ "$STATE" = 0 ]; then
+    exit 1
+fi
diff --git a/debian/mono-xsp2.dirs b/debian/mono-xsp2.dirs
new file mode 100644
index 0000000..367bf08
--- /dev/null
+++ b/debian/mono-xsp2.dirs
@@ -0,0 +1 @@
+/etc/xsp2/conf.d
diff --git a/debian/mono-xsp2.docs b/debian/mono-xsp2.docs
new file mode 100644
index 0000000..eb9b151
--- /dev/null
+++ b/debian/mono-xsp2.docs
@@ -0,0 +1,3 @@
+NEWS
+README
+AUTHORS
diff --git a/debian/mono-xsp2.init b/debian/mono-xsp2.init
new file mode 100755
index 0000000..1c42f49
--- /dev/null
+++ b/debian/mono-xsp2.init
@@ -0,0 +1,102 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          mono-xsp2
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Should-Start:      
+# Should-Stop:
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Mono XSP2
+# Description:       Debian init script for Mono XSP2.
+### END INIT INFO
+#
+# Written by Pablo Fischer <pablo at pablo.com.mx>
+#            Dylan R. E. Moonfire <debian at mfgames.com>
+# Modified for Debian GNU/Linux
+#
+# Version:	@(#)mono-xsp2 pablo at pablo.com.mx
+#
+
+# Variables
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/bin/xsp2
+NAME=mono-xsp2
+DESC="XSP 2.0 WebServer"
+DEFAULT=/etc/default/$NAME
+CFGDIR=/etc/xsp2
+VIRTUALFILE=$CFGDIR/debian.webapp
+MONO_SHARED_DIR=/var/run/$NAME
+start_boot=false
+
+# Use LSB
+. /lib/lsb/init-functions
+
+# If we don't have the basics, don't bother
+test -x $DAEMON || exit 0
+test -f $DEFAULT && . $DEFAULT	
+
+if [ "x$start_boot" != "xtrue" ] ; then
+    exit 0
+fi
+
+if [ ! -e $MONO_SHARED_DIR ]; then
+	mkdir $MONO_SHARED_DIR   
+	chown $user:$group $MONO_SHARED_DIR
+fi
+                
+should_start() {
+    if [ ! -e $VIRTUALFILE -o `cat $VIRTUALFILE | wc -l` = "2" ]; then
+	log_action_msg "You have an incomplete $VIRTUALFILE"
+	log_action_msg "To fix it, you need to install at least one package for xsp2 (like asp.net2-examples)"	
+	return 1
+    fi 
+    
+    if [ -f /var/run/$NAME.pid ]; then
+	# Are we really running xsp2?
+	xsp2_pid=`cat /var/run/$NAME.pid`
+	xsp2_ps=`ps -p $xsp2_pid | wc -l`
+	if [ "$xsp2_ps" != "1" ]; then
+	    log_action_msg "Sorry, there is already a xsp2 running, stop it first"
+	    return 1		
+	fi
+    fi
+    
+    return 0
+	
+}
+
+case "$1" in
+    start)
+	if should_start ; then
+	    log_daemon_msg "Starting $DESC" "$NAME"
+	    export MONO_SHARED_DIR
+	    start-stop-daemon --start --background --make-pidfile \
+		--quiet --pidfile /var/run/$NAME.pid \
+		--user $user --group $group --chuid $user \
+		--exec $DAEMON -- \
+		--port $port --address $address --appconfigdir \
+		$CFGDIR --nonstop
+	    log_end_msg $?
+	fi
+	;;
+    stop)
+	log_daemon_msg "Stopping $DESC" "$NAME"
+        for i in $(ps aux | grep -v grep | grep 'xsp2.exe' | cut -c 10-15)
+        do
+                kill $i > /dev/null 2>&1
+        done
+	log_end_msg $?
+	;;
+    restart|force-reload)
+	$0 stop
+	$0 start
+	;;
+    *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
diff --git a/debian/mono-xsp2.install b/debian/mono-xsp2.install
new file mode 100644
index 0000000..2bd737b
--- /dev/null
+++ b/debian/mono-xsp2.install
@@ -0,0 +1,11 @@
+debian/tmp/usr/bin/asp-state2
+debian/tmp/usr/bin/dbsessmgr2
+debian/tmp/usr/bin/xsp2
+debian/tmp/usr/lib/xsp/2.0/asp-state2.exe
+debian/tmp/usr/lib/xsp/2.0/asp-state2.exe.config
+debian/tmp/usr/lib/xsp/2.0/dbsessmgr2.exe
+debian/tmp/usr/lib/xsp/2.0/dbsessmgr2.exe.config
+debian/tmp/usr/lib/mono/2.0/xsp2.exe
+debian/tmp/usr/lib/mono/gac/xsp2
+debian/mono-xsp2-update	/usr/sbin/
+debian/mono-xsp2-admin	/usr/sbin/
diff --git a/debian/mono-xsp2.manpages b/debian/mono-xsp2.manpages
new file mode 100644
index 0000000..12a9463
--- /dev/null
+++ b/debian/mono-xsp2.manpages
@@ -0,0 +1,5 @@
+debian/tmp/usr/share/man/man1/xsp2.1
+debian/tmp/usr/share/man/man1/dbsessmgr2.1
+debian/tmp/usr/share/man/man1/asp-state2.1
+debian/mono-xsp2-update.8
+debian/mono-xsp2-admin.8
diff --git a/debian/mono-xsp2.postinst b/debian/mono-xsp2.postinst
new file mode 100644
index 0000000..118cc1c
--- /dev/null
+++ b/debian/mono-xsp2.postinst
@@ -0,0 +1,122 @@
+#!/bin/bash
+set -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+xsp2_default="/etc/default/mono-xsp2"
+NAME=mono-xsp2
+DESC="XSP 2 WebServer"
+CFGDIR=/etc/xsp2
+VIRTUALFILE=$CFGDIR/debian.webapp
+
+# create file if it doesn't exist
+if [ ! -e $xsp2_default ]; then
+	cat > $xsp2_default <<-END
+	# Defaults for mono-xsp2, official version
+	# sourced by /etc/init.d/mono-xsp2
+	
+	# Should we start it?
+	start_boot=true
+	
+	# User and group by default
+	user=www-data
+	group=www-data
+	
+	# Default port
+	port=8081
+	address=0.0.0.0
+	
+	# Directory for config files
+	config_files=/etc/xsp2
+	END
+fi
+
+update_port() {
+    db_get xsp2/xsp2_port || true
+    R=$RET
+    echo "Using Mono XSP 2 port: $R"
+    sed "s/port=.*/port=$R/g" $xsp2_default > $tempfile
+    cp -f $tempfile $xsp2_default
+}
+
+update_bind() {
+    db_get xsp2/xsp2_bind || true
+    R=$RET
+    echo "Binding Mono XSP 2 address: $R"
+    sed "s/address=.*/address=$R/g" $xsp2_default > $tempfile
+    cp -f $tempfile $xsp2_default
+}
+
+should_start() {
+    if [ -e $xsp2_default ]; then
+	. $xsp2_default
+        if [ "$start_boot" != "true" ]; then
+	    return 1
+        fi
+    else
+        echo "mono-xsp2: Not started, you need a valid and complete $xsp2_default"
+        return 1
+    fi
+
+    if [ ! -e $VIRTUALFILE -o `cat $VIRTUALFILE | wc -l` = "2" ]; then
+	echo "mono-xsp2: Not started, you need asp.net-examples/monodoc-http or an ASP.NET application"
+	return 1
+    fi 
+    
+    if [ -f /var/run/$NAME.pid ]; then
+	# Are we really running xsp2?
+	xsp2_pid=`cat /var/run/$NAME.pid`
+	xsp2_ps=`ps -p $xsp2_pid | wc -l`
+	if [ "$xsp2_ps" != "2" ]; then
+	    return 0
+	else
+	    return 1
+	fi
+    else
+	return 1
+    fi
+    
+    return 1
+}
+
+case "$1" in
+    configure)
+	tempfile=$(/bin/tempfile)
+	
+	# Configure autostart, but don't prevent the init script
+	# from starting it manually.
+	autostart="true"
+	db_get xsp2/xsp2_autostart || true
+	if [ "$RET" = "true" ]; then	    
+	    if [ -x "/etc/init.d/mono-xsp2" ]; then
+		update-rc.d mono-xsp2 defaults > /dev/null 2>&1 || true
+	    fi
+	else
+	    update-rc.d -f mono-xsp2 remove > /dev/null 2>&1  || true
+	fi
+
+	# If default file exists, configure the port and address
+	if [ -f $xsp2_default ]; then
+	    update_port
+	    update_bind
+	fi
+
+	mono-xsp2-update
+	if [ "$RET" = "true" ]; then
+	    if should_start -a $autostart = "true" ; then
+		if which invoke-rc.d >/dev/null 2>&1; then
+		    invoke-rc.d mono-xsp2 start
+		else
+		    /etc/init.d/mono-xsp2 start
+		fi
+	    fi
+	fi
+
+	rm $tempfile
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-xsp2.postrm b/debian/mono-xsp2.postrm
new file mode 100644
index 0000000..ebf3931
--- /dev/null
+++ b/debian/mono-xsp2.postrm
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "purge" ]; then
+	rm -f /etc/xsp2/debian.webapp
+	# purge init.d script
+	update-rc.d -f mono-xsp2 remove > /dev/null 2>&1
+	# remove default file created in postinst
+	rm -f /etc/default/mono-xsp2
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-xsp2.preinst b/debian/mono-xsp2.preinst
new file mode 100644
index 0000000..2cd1997
--- /dev/null
+++ b/debian/mono-xsp2.preinst
@@ -0,0 +1,21 @@
+#!/bin/sh
+set -e
+
+NAME=mono-xsp2
+DESC="XSP WebServer"
+
+case "$1" in
+   upgrade|install)
+	if [ -f /etc/init.d/mono-xsp2 ]; then
+	    if which invoke-rc.d > /dev/null 2>&1; then
+		invoke-rc.d mono-xsp2 stop
+	    else
+		/etc/init.d/mono-xsp2 stop
+	    fi
+	fi
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-xsp2.prerm b/debian/mono-xsp2.prerm
new file mode 100644
index 0000000..655d12d
--- /dev/null
+++ b/debian/mono-xsp2.prerm
@@ -0,0 +1,39 @@
+#!/bin/sh
+set -e
+
+NAME=mono-xsp2
+DESC="XSP WebServer"
+
+#0 : false
+#1 : true
+should_stop() {
+    if [ -f /var/run/$NAME.pid ]; then
+	# Are we really running xsp2?
+	xsp2_pid=`cat /var/run/$NAME.pid`
+	xsp2_ps=`ps -p $xsp2_pid | wc -l`
+	# Are there any process running by that pid?
+	if [ "$xsp2_ps" = "2" ]; then
+	    return 0
+	else
+	    return 1
+	fi
+    fi  
+    return 0
+}
+
+case "$1" in
+    remove)
+	# should we stop the server?
+	if should_stop ; then
+	    if which invoke-rc.d >/dev/null 2>&1; then
+		invoke-rc.d mono-xsp2 stop
+	    else
+		/etc/init.d/mono-xsp2 stop
+	    fi
+	fi
+	;;
+    esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-xsp2.templates b/debian/mono-xsp2.templates
new file mode 100644
index 0000000..8d4ca35
--- /dev/null
+++ b/debian/mono-xsp2.templates
@@ -0,0 +1,34 @@
+Template: xsp2/xsp2_autostart
+Type: boolean
+Default: true
+_Description: Start on boot?
+ If this is true, then XSP2 will automatically start when the computer
+ is turned on.
+
+Template: xsp2/xsp2_bind
+Type: string
+Default: 0.0.0.0
+_Description: Bind to address:
+ To function properly, XSP2 needs to be bound to an IP address. The
+ default ("0.0.0.0") binds to all addresses of the server, but a
+ specific port can be selected. To use XSP2 only locally, use
+ "127.0.0.1" for the address.
+
+Template: xsp2/xsp2_port
+Type: string
+Default: 8082
+_Description: Bind to port:
+ XSP is bound to a specific port on the server. Common values are 80,
+ 8080, or 8081.
+
+Template: xsp2/xsp1_upgrade_warning
+Type: note
+_Description: ASP.NET 1.0 support removed
+ You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1.
+ Support for the 1.0 profile has been removed from Mono 2.8 and above, and
+ you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure
+ XSP to serve these sites using either 2.0 or 4.0 profiles, assuming your
+ application is compatible. Please see mono-xsp2-admin(8) or
+ mono-xsp4-admin(8) to see how to regenerate a configuration for use
+ with 2.0 or 4.0 profiles.
+
diff --git a/debian/mono-xsp4-admin b/debian/mono-xsp4-admin
new file mode 100755
index 0000000..430df33
--- /dev/null
+++ b/debian/mono-xsp4-admin
@@ -0,0 +1,173 @@
+#!/usr/bin/perl
+# mono-xsp4 hosts file creator
+#
+# With this script the user can create a host file in one step, 
+# these hosts file are installed in /etc/xsp4/conf.d/package and 
+# then used in a 'big' host file (/etc/xsp4/mono-server4-hosts) 
+# that will be used by XSP4
+#
+# Under GPL, please read: 
+# http://www.gnu.org/copyleft/gpl.html
+#
+# Written by: Pablo Fischer
+
+=head1 NAME
+
+mono-xsp4-admin - mono-xsp4 hosts file creator
+    
+=head1 SYNOPSIS
+    
+mono-xsp4-admin [action] [args]
+
+=head4 OPTIONS
+
+  Actions:
+    
+    add        Use 'add' if you want to create an application and want mono-xsp4 scripts to manage it
+    del        If you want to remove an application
+
+  Args:
+
+    --path     The path where you have your aspx files, MUST EXISTS!, required only with add action
+    --app      The name of your application
+
+=head1 DESCRIPTION
+
+ mono-xsp4-admin is a perl tool to adminstrate your ASP.NET webapps that will be executed with 
+ xsp4.
+
+ When you try to add an application, mono-xsp4-admin will verify that your path exists, if it is, it will 
+ add a directory inside /etc/xsp4/conf.d with the name of your app, and also as a file with the 
+ filename format: 10_appname. This file will have the information (path, app).
+
+ So, when mono-xsp4-update is executed it will read those dirs and create a debian.webapp in
+ /etc/xsp4 that the xsp4 daemon will read.
+
+=head1 AUTHOR
+
+ Pablo Fischer <pablo at pablo.com.mx>
+
+=cut 
+
+use strict;
+
+my (%OPT);
+
+my $confd_directory = "/etc/xsp4/conf.d";
+
+#Read the opts
+foreach my $opt (@ARGV) {
+    if($opt =~ /^add/) {
+	$OPT{'action'} = "add";
+    }
+    
+    elsif($opt =~ /^del/) {
+	$OPT{'action'} = "del";
+    }	
+
+    elsif($opt =~ /--path/) {
+	$OPT{'path'} = $opt;
+    }    
+
+    elsif($opt =~ /--app/) {
+	$OPT{'app'} = $opt;
+    }   
+}
+
+
+#clean strange chars, like ':', commas, etc.. I don't like those chars
+sub clean_opts() {
+    foreach my $key (keys %OPT) {	
+	next unless $key ne "action";
+	my $value = $OPT{$key};
+	$OPT{$key} = (split("=", $OPT{$key}))[1];
+	if($key ne "path") {
+	    $OPT{$key} =~ s|/*||;
+	}
+	$OPT{$key} =~ s{/$}{}; 
+			$OPT{$key} =~ s|:*||;
+		    }
+    }
+
+#We have the path, app, name and the action?
+    sub verify_neededopts() {
+	if($OPT{'action'} ne "add" && $OPT{'action'} ne "del") {
+	    &help;
+	    exit;
+	}
+
+	if(!$OPT{'path'}) {
+	    print "I need the path of your asp.net application\n";
+	    exit;
+	}
+
+	if(!$OPT{'app'}) {
+	    print "You should declare the application name!\n";
+	    exit;
+	}
+    }
+
+#Add the Host file and directory    
+    sub add_host() {
+	if( ! -d $OPT{'path'} ) {
+	    print "$OPT{'path'} does not exists!\n";
+	    exit;
+	}
+	#But what if the conf.d package directory already exists?
+	if ( -d "$confd_directory/$OPT{'app'}") {
+	    print "Sorry but $confd_directory/$OPT{'app'} already exist, you might change your application name\n";
+	    exit;
+	}
+	
+	#Ok, create the conf.d package directory
+	system("mkdir $confd_directory/$OPT{'app'}");
+	#And create the file
+	system("touch $confd_directory/$OPT{'app'}/10_$OPT{'app'}");
+	
+	open(PACKAGEFILE, "> $confd_directory/$OPT{'app'}/10_$OPT{'app'}");
+	print PACKAGEFILE "This is the configuration file \n";
+	print PACKAGEFILE "for the $OPT{'app'} virtualhost\n";
+	print PACKAGEFILE "path = $OPT{'path'}\n";
+	print PACKAGEFILE "alias = /$OPT{'app'}\n";
+	close(PACKAGEFILE);
+	
+	system("/usr/sbin/mono-xsp4-update");
+	print "done!\n";
+    }
+
+#Remove the host directory
+    sub del_host() {
+	
+	system("rm -Rf $confd_directory/$OPT{'app'}");
+	system("/usr/sbin/mono-xsp4-update");
+	
+	print "done!\n";
+    }
+    
+    sub help() {
+	print "This script let the user to create a application host file in one step \n";
+	print "for XSP4 (/etc/xsp4/conf.d/application\n\n";
+	print "Use:\n";
+	print " mono-xsp4-admin [action] --path=/real/path --app=/applicationame\n\n";
+	print "Where:\n";
+	print " action:\n";
+	print " add                   Creates an application\n";
+	print " del                   Delete an application (the directory /etc/mono-server/conf.d/application\n";
+	print " --path=/real/path     A real and true path where you have your ASP.NET applicatio running\n";
+	print " --app=/application    The name of the application\n";
+    }
+
+    &clean_opts;
+    &verify_neededopts;
+
+    if($OPT{'action'} eq"add") {
+	&add_host;
+    }
+    elsif($OPT{'action'} eq "del") {
+	&del_host;
+    }
+
+    
+
+
+
diff --git a/debian/mono-xsp4-base.install b/debian/mono-xsp4-base.install
new file mode 100644
index 0000000..ff987bd
--- /dev/null
+++ b/debian/mono-xsp4-base.install
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/mono/4.5/Mono.WebServer2.dll
+debian/tmp/usr/lib/mono/gac/Mono.WebServer2/0.4*
+debian/tmp/usr/lib/pkgconfig/xsp-4.pc
diff --git a/debian/mono-xsp4-update b/debian/mono-xsp4-update
new file mode 100755
index 0000000..f9d30eb
--- /dev/null
+++ b/debian/mono-xsp4-update
@@ -0,0 +1,225 @@
+#!/usr/bin/perl -w
+# Automatic mono-server file generator
+#
+# With this script the user can update the host files 
+# that are installed in /etc/mono-server/conf.d/package and create a 
+# 'big' host file (/etc/mono-server/mono-server4-hosts) that will be used
+# by mono-server to setup the virtual hosts needed by 
+# the user.
+#
+# Under GPL, please read: 
+# http://www.gnu.org/copyleft/gpl.html
+#
+# Written by: Pablo Fischer
+
+=head1 NAME
+
+mono-xsp4-update - creates .webapp needed by xsp4
+
+=head1 SYNOPSIS
+
+mono-xsp4-update
+
+=head1 DESCRIPTION
+
+ mono-xsp4-update is a perl tool to update/create a .webapp in /etc/xsp4
+
+ This file is needed by xsp4 cause it has all each ASP.NET application with a path and alias, needed 
+ by xsp4 to setup these applications.
+
+ The .webapp is created with other host configuration files that are in /etc/xsp4/conf.d
+
+ For more information read the README.Debian of this package (/usr/share/doc/mono-xsp4/README.Debian).
+
+=head1 AUTHOR
+
+ Pablo Fischer <pablo at pablo.com.mx>
+
+=cut
+
+use strict; 
+use Digest::MD5;
+
+#Main vars..
+my ($monoxsp4_dir, $monoxsp4_confd, $monoxsp4_hostfile, $monoxsp4_webapp,
+    $daemon, $daemon_pid, $default_file,
+    $applications, $libs);
+
+#Setup main vars
+$monoxsp4_dir = "/etc/xsp4";
+$monoxsp4_confd = "$monoxsp4_dir/conf.d";
+$monoxsp4_webapp = "$monoxsp4_dir/debian.webapp";
+$daemon = "/etc/init.d/mono-xsp4";
+$daemon_pid = "/var/run/mono-xsp4.pid";
+$applications = "";
+$default_file = "/etc/default/mono-xsp4";
+
+my $restart = "yes";
+my $first_file = "yes";
+my ($orig_md5, $new_md5);
+
+#Check write access to $monoxsp4_hostfile
+if( ( -e "$monoxsp4_webapp" && ! -w "$monoxsp4_webapp" ) || ! -w "$monoxsp4_dir" ) {
+    print "mono-xsp4-update requires write access to $monoxsp4_webapp or 
+be executed by root\n" ; 
+    exit 1 ;
+}
+
+#Read the default file
+&read_default_file;
+#Orig md5
+$orig_md5 = &get_md5;
+#Read directory..
+&read_dir;
+#The tail
+&write_tempdefault_end;
+#Prepare the application string
+$applications =~ s/,$//;
+#Final md5
+$new_md5 = &get_md5;
+#Equal?
+if(("$new_md5" ne "$orig_md5") && ($restart eq "yes")) {
+    if(( -f $daemon ) && ( -f $daemon_pid )) {
+	system("$daemon restart");
+    }
+}
+
+
+sub get_md5 {
+    if( -e $monoxsp4_webapp ) {
+	open(WEBAPP, $monoxsp4_webapp);
+	binmode(WEBAPP);
+	return Digest::MD5->new->addfile(*WEBAPP)->hexdigest;
+	
+    }
+    else {
+	return "";
+    }
+}
+
+sub read_default_file {
+    
+    if(-e $default_file) {
+	open(DEFAULT_FILE, "$default_file");
+	while(my $line = <DEFAULT_FILE>) {
+	    if($line =~ /start_boot/i) {
+		if($line =~ /true/i) {
+		    $restart = "yes";
+		}
+		else {
+		    $restart = "no";
+		}
+	    }
+	}
+	close(DEFAULT_FILE);
+    }
+}
+
+
+sub read_dir {
+    opendir(DIR, $monoxsp4_confd);
+    my @host_dirs = sort (grep { -d "$monoxsp4_confd/$_" } readdir(DIR));
+    closedir(DIR);
+
+    system("rm -Rf $monoxsp4_webapp");
+    system("touch $monoxsp4_webapp");
+
+    #How many dirs?
+    if($#host_dirs ne "0") {
+	#The head
+	&write_tempdefault_start;
+	foreach my $dir (@host_dirs) {
+	    if(($dir ne "..") && ($dir ne ".")) {
+		#Ok, in the dir.. we have more files, so read them
+		opendir(DIR, "$monoxsp4_confd/$dir");
+		my @host_files = sort (readdir(DIR));
+		closedir(DIR);
+		#Is it empty?		
+		if($#host_files ne "0") {
+		    #So, read it..
+		    foreach my $hostfile (@host_files) {
+			#Just remember.. we don't like directories inside directories!
+			if(($hostfile ne "..") && ($hostfile ne ".")) {
+			    $hostfile = "$monoxsp4_confd/$dir/$hostfile";
+			    write_tempxsp4hostfile($hostfile);
+			}
+		    }
+		}
+	    }
+	}
+    }
+}
+
+sub write_tempdefault_start {
+
+    open(TEMPWEBAPP, ">> $monoxsp4_webapp");
+    print TEMPWEBAPP "<apps>\n";
+    close(TEMPWEBAPP);
+    
+}
+
+
+sub write_tempdefault_end {
+
+    open(TEMPWEBAPP, ">> $monoxsp4_webapp");
+    print TEMPWEBAPP "</apps>\n";
+    close(TEMPWEBAPP);
+
+}  
+
+sub write_tempxsp4hostfile {
+    my $hostfile = shift;
+
+    #Write the content to a temp file..
+    open(TEMPWEBAPP, ">> $monoxsp4_webapp");
+    #And open the hostfile..
+    open(HOSTFILE, "$hostfile");
+    #Read it..
+    my @content_hostfile = <HOSTFILE>;
+    #Close it..
+    close(HOSTFILE);
+    #Write the header to the monoxsp4_hostfile
+    
+    my ($path, $alias, $name);
+
+    foreach my $line (@content_hostfile) {	
+	if($line =~ /path/i) {
+	    #Ok, the directory exists?
+	    my $dir = (split /\=/, $line)[1];
+	    #Remove blank spaces
+	    $dir =~ tr/\ //d;
+	    #remove that \n
+	    $dir =~ s/\n//;
+ 	    if ( ! -d "$dir" ) {
+		$dir = "";
+		last;
+ 	    }
+	    else {
+		$path = $dir;
+	    }
+	}
+
+	if($line =~ /alias/i) {
+	    $alias = (split /\=/, $line)[1];
+	    #Blank Spaces
+	    $alias =~ tr/\ //d;
+	    #New lines..
+	    $alias =~ s/\n//;
+	    #The name
+	    $name = $alias;
+	    $name =~ s|/*||;
+	}	
+    }	
+    
+    if($path) {
+	$applications = "$applications$alias:$path,";
+	$libs = "$libs:";
+
+	print TEMPWEBAPP "  <web-application>\n";
+	print TEMPWEBAPP "    <name>$name</name>\n";
+	print TEMPWEBAPP "    <vpath>$alias</vpath>\n";       
+	print TEMPWEBAPP "    <path>$path</path>\n";
+	print TEMPWEBAPP "  </web-application>\n";
+    }
+    close(TEMPWEBAPP);
+}  
diff --git a/debian/mono-xsp4.README.Debian b/debian/mono-xsp4.README.Debian
new file mode 100644
index 0000000..7802016
--- /dev/null
+++ b/debian/mono-xsp4.README.Debian
@@ -0,0 +1,45 @@
+xsp4 for Debian
+--------------
+
+The mono-xsp4 package contains a standalone WebServer to run ASP.NET, developed
+by the Mono hackers, it should run in port 8080 or 8081, the scripts detects which port
+to use.
+
+For example, if you have a mail proxy (or http proxy) using 8080 it should run in 8081.
+
+To change the port, you need to kill your http/mail proxy or move them to other port, and then
+reconfigure xsp4 as root:
+
+# dpkg-reconfigure mono-xsp4
+
+The way that xsp4 manage the /alias (virtual hosts) is like exim does. We have a directory in 
+/etc called xsp4, inside it we have a conf.d directory, were we have directories for each 
+'virtualhost'.
+
+For example, we have monodoc-http, so we have:
+
+/etc/xsp4 		<- Mono XSP 4 Config Dir
+/etc/xsp4/conf.d 	<- Mono XSP 4 VirtualHosts Config Directories
+/etc/xsp4/conf.d/monodoc <- MonoDoc Config Files for XSP 4
+
+Every file is marked by a number, an underscore and the alias name, for example:
+
+/etc/xsp4/conf.d/monodoc/10_monodochttp
+
+If you want to install a new virtualhost to XSP 4, you just need to apt-get it, and if 
+XSP 4 is running it should be started normally, if it's the first virtualhost and you configured
+mono-xsp4 to be started automatically it will start xsp4 by default.
+
+If you configured mono-xsp4 to NOT be started automatically, you should start mono-xsp4 manually:
+
+/etc/init.d/mono-xsp4 start
+
+Also, if you are installing YOUR OWN VirtualHost, you should use mono-xsp4-admin (and also the manpage)
+
+NOTE: In some cases you can find that /etc/mono-server|/etc/xsp4 exists with other virtualhosts and you  
+don't have mono-server|mono-xsp4 installed, don't get in panic, some virtualhosts installs host configuration 
+files in both server (xsp4 and mono-server).
+
+Happy Hacking
+
+ -- Pablo Fischer <pablo at pablo.com.mx>, Mon, 15 Mar 2004 18:52:30 -0600
diff --git a/debian/mono-xsp4.config b/debian/mono-xsp4.config
new file mode 100755
index 0000000..bb7e606
--- /dev/null
+++ b/debian/mono-xsp4.config
@@ -0,0 +1,106 @@
+#!/bin/bash -e
+
+# Initialization
+. /usr/share/debconf/confmodule
+db_version 2.0
+db_capb backup
+db_title XSP4 WebServer
+
+# XSP1
+if [ -d /etc/xsp/conf.d ] && [ "`ls /etc/xsp/conf.d/ | grep -v ^asp.net-examples$ | grep -v ^monodoc-http$ | wc -l`" -gt 0 ]; then
+	set +e
+	db_fget xsp2/xsp1_upgrade_warning seen
+	seenflag=$?
+	set -e
+
+	case $seenflag in
+	0)
+		if [ "$RET" = false ]; then
+			db_input high xsp4/xsp1_upgrade_warning || true
+		fi
+		;;
+	10)
+		db_input high xsp4/xsp1_upgrade_warning || true
+		;;
+	*)
+		echo "db_fget exited with $seenflag" >&2
+                exit $err
+		;;
+	esac
+	db_fset xsp4/xsp1_upgrade_warning seen true || true
+	db_go || true
+fi
+
+# get existing values
+xsp4_default="/etc/default/mono-xsp4"
+if [ -e $xsp4_default ]; then
+	. $xsp4_default || true
+	db_set xsp4/xsp4_autostart "$start_boot"
+	db_set xsp4/xsp4_bind      "$address"
+	db_set xsp4/xsp4_port      "$port"
+fi
+
+# Autostart
+STATE=1
+while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
+    case "$STATE" in
+	1) 
+	    db_input medium xsp4/xsp4_autostart || true
+	    if db_go; then
+		db_get xsp4/xsp4_autostart || true
+		if [ "$RET" = "true" ]; then
+		    STATE=2
+		else
+		    db_set  xsp4/xsp4_autostart false || true
+		    STATE=2
+		fi
+	    else
+		STATE=0
+	    fi
+	    ;;
+	esac
+done
+
+if [ "$STATE" = 0 ]; then
+    exit 1
+fi
+
+# Bind
+STATE=1
+while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
+    case "$STATE" in
+	1) 
+	    db_input medium xsp4/xsp4_bind || true
+	    if db_go; then
+		db_get xsp4/xsp4_bind || true
+		STATE=2
+	    else
+		STATE=0
+	    fi
+	    ;;
+	esac
+done
+
+if [ "$STATE" = 0 ]; then
+    exit 1
+fi
+
+# Port
+STATE=1
+while [ "$STATE"  != 0 -a "$STATE" != 2 ]; do
+    case "$STATE" in
+	1) 
+	    db_input medium xsp4/xsp4_port || true
+	    if db_go; then
+		db_get xsp4/xsp4_port || true
+		STATE=2
+	    else
+		STATE=0
+	    fi
+	    ;;
+	esac
+done
+
+if [ "$STATE" = 0 ]; then
+    exit 1
+fi
diff --git a/debian/mono-xsp4.dirs b/debian/mono-xsp4.dirs
new file mode 100644
index 0000000..8bc65c9
--- /dev/null
+++ b/debian/mono-xsp4.dirs
@@ -0,0 +1 @@
+/etc/xsp4/conf.d
diff --git a/debian/mono-xsp4.docs b/debian/mono-xsp4.docs
new file mode 100644
index 0000000..eb9b151
--- /dev/null
+++ b/debian/mono-xsp4.docs
@@ -0,0 +1,3 @@
+NEWS
+README
+AUTHORS
diff --git a/debian/mono-xsp4.init b/debian/mono-xsp4.init
new file mode 100755
index 0000000..b6ec20e
--- /dev/null
+++ b/debian/mono-xsp4.init
@@ -0,0 +1,102 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          mono-xsp4
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Should-Start:      
+# Should-Stop:
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Mono XSP4
+# Description:       Debian init script for Mono XSP4.
+### END INIT INFO
+#
+# Written by Pablo Fischer <pablo at pablo.com.mx>
+#            Dylan R. E. Moonfire <debian at mfgames.com>
+# Modified for Debian GNU/Linux
+#
+# Version:	@(#)mono-xsp4 pablo at pablo.com.mx
+#
+
+# Variables
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/bin/xsp4
+NAME=mono-xsp4
+DESC="XSP 4.0 WebServer"
+DEFAULT=/etc/default/$NAME
+CFGDIR=/etc/xsp4
+VIRTUALFILE=$CFGDIR/debian.webapp
+MONO_SHARED_DIR=/var/run/$NAME
+start_boot=false
+
+# Use LSB
+. /lib/lsb/init-functions
+
+# If we don't have the basics, don't bother
+test -x $DAEMON || exit 0
+test -f $DEFAULT && . $DEFAULT	
+
+if [ "x$start_boot" != "xtrue" ] ; then
+    exit 0
+fi
+
+if [ ! -e $MONO_SHARED_DIR ]; then
+	mkdir $MONO_SHARED_DIR   
+	chown $user:$group $MONO_SHARED_DIR
+fi
+                
+should_start() {
+    if [ ! -e $VIRTUALFILE -o `cat $VIRTUALFILE | wc -l` = "2" ]; then
+	log_action_msg "You have an incomplete $VIRTUALFILE"
+	log_action_msg "To fix it, you need to install at least one package for xsp4 (like asp.net-examples)"	
+	return 1
+    fi 
+    
+    if [ -f /var/run/$NAME.pid ]; then
+	# Are we really running xsp4?
+	xsp4_pid=`cat /var/run/$NAME.pid`
+	xsp4_ps=`ps -p $xsp4_pid | wc -l`
+	if [ "$xsp4_ps" != "1" ]; then
+	    log_action_msg "Sorry, there is already a xsp4 running, stop it first"
+	    return 1		
+	fi
+    fi
+    
+    return 0
+	
+}
+
+case "$1" in
+    start)
+	if should_start ; then
+	    log_daemon_msg "Starting $DESC" "$NAME"
+	    export MONO_SHARED_DIR
+	    start-stop-daemon --start --background --make-pidfile \
+		--quiet --pidfile /var/run/$NAME.pid \
+		--user $user --group $group --chuid $user \
+		--exec $DAEMON -- \
+		--port $port --address $address --appconfigdir \
+		$CFGDIR --nonstop
+	    log_end_msg $?
+	fi
+	;;
+    stop)
+	log_daemon_msg "Stopping $DESC" "$NAME"
+        for i in $(ps aux | grep -v grep | grep 'xsp4.exe' | cut -c 10-15)
+        do
+                kill $i > /dev/null 2>&1
+        done
+	log_end_msg $?
+	;;
+    restart|force-reload)
+	$0 stop
+	$0 start
+	;;
+    *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
diff --git a/debian/mono-xsp4.install b/debian/mono-xsp4.install
new file mode 100644
index 0000000..8559762
--- /dev/null
+++ b/debian/mono-xsp4.install
@@ -0,0 +1,11 @@
+debian/tmp/usr/bin/asp-state4
+debian/tmp/usr/bin/dbsessmgr4
+debian/tmp/usr/bin/xsp4
+debian/tmp/usr/lib/xsp/4.0/asp-state4.exe
+debian/tmp/usr/lib/xsp/4.0/asp-state4.exe.config
+debian/tmp/usr/lib/xsp/4.0/dbsessmgr4.exe
+debian/tmp/usr/lib/xsp/4.0/dbsessmgr4.exe.config
+debian/tmp/usr/lib/mono/4.5/xsp4.exe
+debian/tmp/usr/lib/mono/gac/xsp4
+debian/mono-xsp4-update	/usr/sbin/
+debian/mono-xsp4-admin	/usr/sbin/
diff --git a/debian/mono-xsp4.manpages b/debian/mono-xsp4.manpages
new file mode 100644
index 0000000..6f112e0
--- /dev/null
+++ b/debian/mono-xsp4.manpages
@@ -0,0 +1,5 @@
+debian/tmp/usr/share/man/man1/xsp4.1
+debian/tmp/usr/share/man/man1/dbsessmgr4.1
+debian/tmp/usr/share/man/man1/asp-state4.1
+debian/mono-xsp4-update.8
+debian/mono-xsp4-admin.8
diff --git a/debian/mono-xsp4.postinst b/debian/mono-xsp4.postinst
new file mode 100644
index 0000000..53cd252
--- /dev/null
+++ b/debian/mono-xsp4.postinst
@@ -0,0 +1,122 @@
+#!/bin/bash
+set -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+xsp4_default="/etc/default/mono-xsp4"
+NAME=mono-xsp4
+DESC="XSP 4 WebServer"
+CFGDIR=/etc/xsp4
+VIRTUALFILE=$CFGDIR/debian.webapp
+
+# create file if it doesn't exist
+if [ ! -e $xsp4_default ]; then
+	cat > $xsp4_default <<-END
+	# Defaults for mono-xsp4, official version
+	# sourced by /etc/init.d/mono-xsp4
+	
+	# Should we start it?
+	start_boot=true
+	
+	# User and group by default
+	user=www-data
+	group=www-data
+	
+	# Default port
+	port=8084
+	address=0.0.0.0
+	
+	# Directory for config files
+	config_files=/etc/xsp4
+	END
+fi
+
+update_port() {
+    db_get xsp4/xsp4_port || true
+    R=$RET
+    echo "Using Mono XSP 4 port: $R"
+    sed "s/port=.*/port=$R/g" $xsp4_default > $tempfile
+    cp -f $tempfile $xsp4_default
+}
+
+update_bind() {
+    db_get xsp4/xsp4_bind || true
+    R=$RET
+    echo "Binding Mono XSP 4 address: $R"
+    sed "s/address=.*/address=$R/g" $xsp4_default > $tempfile
+    cp -f $tempfile $xsp4_default
+}
+
+should_start() {
+    if [ -e $xsp4_default ]; then
+	. $xsp4_default
+        if [ "$start_boot" != "true" ]; then
+	    return 1
+        fi
+    else
+        echo "mono-xsp4: Not started, you need a valid and complete $xsp4_default"
+        return 1
+    fi
+
+    if [ ! -e $VIRTUALFILE -o `cat $VIRTUALFILE | wc -l` = "2" ]; then
+	echo "mono-xsp4: Not started, you need asp.net-examples/monodoc-http or an ASP.NET application"
+	return 1
+    fi 
+    
+    if [ -f /var/run/$NAME.pid ]; then
+	# Are we really running xsp4?
+	xsp4_pid=`cat /var/run/$NAME.pid`
+	xsp4_ps=`ps -p $xsp4_pid | wc -l`
+	if [ "$xsp4_ps" != "2" ]; then
+	    return 0
+	else
+	    return 1
+	fi
+    else
+	return 1
+    fi
+    
+    return 1
+}
+
+case "$1" in
+    configure)
+	tempfile=$(/bin/tempfile)
+	
+	# Configure autostart, but don't prevent the init script
+	# from starting it manually.
+	autostart="true"
+	db_get xsp4/xsp4_autostart || true
+	if [ "$RET" = "true" ]; then	    
+	    if [ -x "/etc/init.d/mono-xsp4" ]; then
+		update-rc.d mono-xsp4 defaults > /dev/null 2>&1 || true
+	    fi
+	else
+	    update-rc.d -f mono-xsp4 remove > /dev/null 2>&1  || true
+	fi
+
+	# If default file exists, configure the port and address
+	if [ -f $xsp4_default ]; then
+	    update_port
+	    update_bind
+	fi
+
+	mono-xsp4-update
+	if [ "$RET" = "true" ]; then
+	    if should_start -a $autostart = "true" ; then
+		if which invoke-rc.d >/dev/null 2>&1; then
+		    invoke-rc.d mono-xsp4 start
+		else
+		    /etc/init.d/mono-xsp4 start
+		fi
+	    fi
+	fi
+
+	rm $tempfile
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-xsp4.postrm b/debian/mono-xsp4.postrm
new file mode 100644
index 0000000..95b307d
--- /dev/null
+++ b/debian/mono-xsp4.postrm
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "purge" ]; then
+	rm -f /etc/xsp4/debian.webapp
+	# purge init.d script
+	update-rc.d -f mono-xsp4 remove > /dev/null 2>&1
+	# remove default file created in postinst
+	rm -f /etc/default/mono-xsp4
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-xsp4.preinst b/debian/mono-xsp4.preinst
new file mode 100644
index 0000000..e61c879
--- /dev/null
+++ b/debian/mono-xsp4.preinst
@@ -0,0 +1,21 @@
+#!/bin/sh
+set -e
+
+NAME=mono-xsp4
+DESC="XSP WebServer"
+
+case "$1" in
+   upgrade|install)
+	if [ -f /etc/init.d/mono-xsp4 ]; then
+	    if which invoke-rc.d > /dev/null 2>&1; then
+		invoke-rc.d mono-xsp4 stop
+	    else
+		/etc/init.d/mono-xsp4 stop
+	    fi
+	fi
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-xsp4.prerm b/debian/mono-xsp4.prerm
new file mode 100644
index 0000000..e61c879
--- /dev/null
+++ b/debian/mono-xsp4.prerm
@@ -0,0 +1,21 @@
+#!/bin/sh
+set -e
+
+NAME=mono-xsp4
+DESC="XSP WebServer"
+
+case "$1" in
+   upgrade|install)
+	if [ -f /etc/init.d/mono-xsp4 ]; then
+	    if which invoke-rc.d > /dev/null 2>&1; then
+		invoke-rc.d mono-xsp4 stop
+	    else
+		/etc/init.d/mono-xsp4 stop
+	    fi
+	fi
+	;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/mono-xsp4.templates b/debian/mono-xsp4.templates
new file mode 100644
index 0000000..c3777be
--- /dev/null
+++ b/debian/mono-xsp4.templates
@@ -0,0 +1,34 @@
+Template: xsp4/xsp4_autostart
+Type: boolean
+Default: true
+_Description: Start on boot?
+ If this is true, then XSP4 will automatically start when the computer
+ is turned on.
+
+Template: xsp4/xsp4_bind
+Type: string
+Default: 0.0.0.0
+_Description: Bind to address:
+ To function properly, XSP4 needs to be bound to an IP address. The
+ default ("0.0.0.0") binds to all addresses of the server, but a
+ specific port can be selected. To use XSP4 only locally, use
+ "127.0.0.1" for the address.
+
+Template: xsp4/xsp4_port
+Type: string
+Default: 8084
+_Description: Bind to port:
+ XSP is bound to a specific port on the server. Common values are 80,
+ 8080, or 8081.
+
+Template: xsp4/xsp1_upgrade_warning
+Type: note
+_Description: ASP.NET 1.0 support removed
+ You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1.
+ Support for the 1.0 profile has been removed from Mono 2.8 and above, and
+ you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure
+ XSP to serve these sites using either 2.0 or 4.0 profiles, assuming your
+ application is compatible. Please see mono-xsp2-admin(8) or
+ mono-xsp4-admin(8) to see how to regenerate a configuration for use
+ with 2.0 or 4.0 profiles.
+
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 0000000..4b7cd18
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1,4 @@
+[type: gettext/rfc822deb] mono-apache-server4.templates
+[type: gettext/rfc822deb] mono-apache-server2.templates
+[type: gettext/rfc822deb] mono-xsp4.templates
+[type: gettext/rfc822deb] mono-xsp2.templates
diff --git a/debian/po/cs.po b/debian/po/cs.po
new file mode 100644
index 0000000..63d80f4
--- /dev/null
+++ b/debian/po/cs.po
@@ -0,0 +1,242 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-04-10 10:38+0200\n"
+"Last-Translator: Miroslav Kure <kurem at debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech at lists.debian.org>\n"
+"Language: cs\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Má mono-apache-server4 restartovat Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"mono-apache-server4 v Debianu obsahuje skript mono-server4-update, který "
+"slouží pro vytvoření konfiguračního souboru pro Apache, aby mohl Apache "
+"spouštět aplikace v ASP.NET. Skript mono-server4-update umí rozpoznat, zda "
+"je vytvořen nový konfigurační soubor /etc/mono-server4/mono-server-hosts."
+"conf a případně  restartovat Apache, aby se změny projevily. Chcete "
+"restartovat Apache v případě nového konfiguračního souboru mono-server4-"
+"hosts.conf?"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Odstraněna podpora ASP.NET 1.0"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Zdá se, že v /etc/mono-server1 jsou nakonfigurovány nějaké weby pro ASP.NET "
+"1.0. Podpora pro profil 1.0 byla z Mona 2.8 odstraněna, což znamená, že již "
+"nemůžete hostovat weby pro ASP.NET 1.0. Pokud je aplikace kompatibilní, "
+"stačí přenastavit XSP tak, aby tyto weby hostovalo pomocí profilu 2.0 nebo "
+"4.0. Postup, jak upravit nastavení pro profily 2.0 resp. 4.0, naleznete v "
+"manuálové stránce mono-server2-admin(8) resp. mono-server4-admin(8)."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Má mono-apache-server2 restartovat Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"mono-apache-server2 v Debianu obsahuje skript mono-server2-update, který "
+"slouží pro vytvoření konfiguračního souboru pro Apache, aby mohl Apache "
+"spouštět aplikace v ASP.NET. Skript mono-server2-update umí rozpoznat, zda "
+"je vytvořen nový konfigurační soubor /etc/mono-server2/mono-server2-hosts."
+"conf a případně  restartovat Apache, aby se změny projevily. Chcete "
+"restartovat Apache v případě nového konfiguračního souboru mono-server2-"
+"hosts.conf?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Spustit při zavádění systému?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Odpovíte-li kladně, bude se XSP4 spouštět automaticky po zapnutí počítače."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Navázat na adresu:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Aby XSP4 pracoval správně, musí se navázat na IP adresu. Výchozí „0.0.0.0“ "
+"se naváže na všechny adresy na serveru, nicméně stále si můžete zvolit port. "
+"Chcete-li XSP4 používat pouze lokálně, použijte adresu „127.0.0.1“."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Navázat na port:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP je na serveru navázán na konkrétní port. Běžné hodnoty jsou 80, 8080 "
+"nebo 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Zdá se, že v /etc/mono-server1 jsou nakonfigurovány nějaké weby pro ASP.NET "
+"1.0. Podpora pro profil 1.0 byla z Mona 2.8 odstraněna, což znamená, že již "
+"nemůžete hostovat weby pro ASP.NET 1.0. Pokud je aplikace kompatibilní, "
+"stačí přenastavit XSP tak, aby tyto weby hostovalo pomocí profilu 2.0 nebo "
+"4.0. Postup, jak upravit nastavení pro profily 2.0 resp. 4.0, naleznete v "
+"manuálové stránce mono-xsp2-admin(8) resp. mono-xsp4-admin(8)."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Odpovíte-li kladně, bude se XSP2 spouštět automaticky po zapnutí počítače."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Aby XSP2 pracoval správně, musí se navázat na IP adresu. Výchozí „0.0.0.0“ "
+"se naváže na všechny adresy na serveru, nicméně stále si můžete zvolit port. "
+"Chcete-li XSP2 používat pouze lokálně, použijte adresu „127.0.0.1“."
+
+#~ msgid ""
+#~ "You appear to have some ASP.NET 1.0 sites configured in /etc/mono-"
+#~ "server1. Support for the 1.0 profile has been removed from Mono 2.8 and "
+#~ "above, and you are no longer able to serve ASP.NET 1.0 sites. You must "
+#~ "reconfigure XSP to serve these sites using either 2.0 or 4.0 profiles, "
+#~ "assuming your application is compatible. Please see mono-server2-admin(8) "
+#~ "or  mono-server4-admin(8) to see how to regenerate a configuration for "
+#~ "use   with 2.0 or 4.0 profiles."
+#~ msgstr ""
+#~ "Zdá se, že v /etc/mono-server1 jsou nakonfigurovány nějaké weby pro ASP."
+#~ "NET 1.0. Podpora pro profil 1.0 byla z Mona 2.8 odstraněna, což znamená, "
+#~ "že již nemůžete hostovat weby pro ASP.NET 1.0. Pokud je aplikace "
+#~ "kompatibilní, stačí přenastavit XSP tak, aby tyto weby hostovalo pomocí "
+#~ "profilu 2.0 nebo 4.0. Postup, jak upravit nastavení pro profily 2.0 resp. "
+#~ "4.0, naleznete v manuálové stránce mono-server2-admin(8) resp. mono-"
+#~ "server4-admin(8)."
+
+#~ msgid "Autostart XSP?"
+#~ msgstr "Spouštět XSP automaticky?"
+
+#~ msgid ""
+#~ "Would you like to autostart the XSP process when you start your computer?"
+#~ msgstr "Chcete XSP spouštět automaticky při startu počítače?"
+
+#~ msgid ""
+#~ "What address would you like XSP to bind to? To bind to all of them, enter "
+#~ "0.0.0.0."
+#~ msgstr ""
+#~ "Na kterou adresu se má XSP navázat? Pokud se má svázat se všemi adresami, "
+#~ "zadejte 0.0.0.0."
+
+#~ msgid "Autostart XSP 2?"
+#~ msgstr "Spouštět XSP 2 automaticky?"
+
+#~ msgid ""
+#~ "Would you like to autostart the XSP2 process when you start your computer?"
+#~ msgstr "Chcete XSP 2 spouštět automaticky při startu počítače?"
+
+#~ msgid ""
+#~ "What address would you like XSP 2 to bind to? To bind to all of them, "
+#~ "enter 0.0.0.0."
+#~ msgstr ""
+#~ "Na kterou adresu se má XSP 2 navázat? Pokud se má svázat se všemi "
+#~ "adresami, zadejte 0.0.0.0."
+
+#~ msgid ""
+#~ "What port would you like the XSP 2 process to bind to on start? Common "
+#~ "values are 80, 8080, or 8081."
+#~ msgstr ""
+#~ "Na který port se má XSP 2 při startu navázat? Běžné hodnoty jsou 80, 8080 "
+#~ "nebo 8081."
diff --git a/debian/po/da.po b/debian/po/da.po
new file mode 100644
index 0000000..3989681
--- /dev/null
+++ b/debian/po/da.po
@@ -0,0 +1,186 @@
+# Danish messages for the xsp.
+# Copyright (C) 2011 xsp & nedenstående oversættere.
+# This file is distributed under the same license as the xsp package.
+# Joe Hansen <joedalton2 at yahoo.dk>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-12-22 17:30+01:00\n"
+"Last-Translator: Joe Hansen <joedalton2 at yahoo.dk>\n"
+"Language-Team: Danish <debian-l10n-danish at lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Lad mono-apache-server4 genstarte Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Debianversionen af mono-apache-server4 inkluderer et skript for mono-server4-"
+"update, som opretter en konfigurationsfil for Apache til at starte ASP.NET-"
+"programmer, og mono-server4-update kan genstarte Apache hvis der er en ny "
+"konfigurationsfil (/etc/mono-server4/mono-server-hosts.conf). Hvis dette er "
+"sandt, så vil Apache blive genstartet, når der er en ny mono-server4-hosts."
+"conf-fil."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Understøttelse for ASP.NET 1.0 fjernet"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Du ser ud til at have nogle ASP.NET 1.0-sider konfigureret i /etc/mono-"
+"server1. Understøttelse for 1.0-profilen er blevet fjernet fra Mono 2.8 og "
+"senere, og du kan ikke længere betjene ASP.NET 1-0-sider. Du skal "
+"omkonfigurere XSP for at betjene disse sider med brug af enten 2.0- eller "
+"4.0-profiler, under antagelse af at dit program er kompatibelt. Se venligst "
+"mono-server2-admin(8) eller mono-server4-admin(8) for at se hvordan en "
+"konfiguration gendannes for brug med 2.0- eller 4.0-profiler."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Lad mono-apache-server2 genstarte Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Debianversionen af mono-apache-server2 inkluderer et skript for mono-server2-"
+"update, som opretter en konfigurationsfil for Apache til at starte ASP.NET-"
+"programmer, og mono-server2-update kan genstarte Apache hvis der er en ny "
+"konfigurationsfil (/etc/mono-server2/mono-server-hosts.conf). Hvis dette er "
+"sandt, så vil Apache blive genstartet, når der er en ny mono-server2-hosts."
+"conf-fil."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Igangsæt ved opstart?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Hvis denne er sat til true (sand), så vil XSP4 automatisk starte når "
+"computeren tændes."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Bind til adresse:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"For at fungere korrekt så kræves det, at XSP4 er bundet til en IP-adresse. "
+"Standarden (»0.0.0.0«) binder til alle adresser for serveren, men en "
+"specifik port kan vælges. For kun at bruge XSP4 lokalt så brug »127.0.0.1« "
+"for adressen."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Bind til port:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP er bundet til en specifik port på serveren. Gængse værdier er 80, 8080 "
+"eller 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Du ser ud til at have nogle ASP.NET 1.0-sider konfigureret i /etc/mono-"
+"server1. Understøttelse for 1.0-profilen er blevet fjernet fra Mono 2.8 og "
+"senere, og du kan ikke længere betjene ASP.NET 1-0-sider. Du skal "
+"omkonfigurere XSP for at betjene disse sider med brug af enten 2.0- eller "
+"4.0-profiler, under antagelse af at dit program er kompatibelt. Se venligst "
+"mono-xsp2-admin(8) eller mono-xsp4-admin(8) for at se hvordan en "
+"konfiguration gendannes for brug med 2.0- eller 4.0-profiler."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Hvis denne er sat til true (sand), så vil XSP2 automatisk starte, når "
+"computeren tændes."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"For at fungere korrekt så kræves det, at XSP2 er bundet til en IP-adresse. "
+"Standarden (»0.0.0.0«) binder til alle adresser for serveren, men en "
+"specifik port kan vælges. For kun at bruge XSP2 lokalt så brug »127.0.0.1« "
+"for adressen."
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644
index 0000000..188c689
--- /dev/null
+++ b/debian/po/de.po
@@ -0,0 +1,207 @@
+# Translation of xsp debconf templates to German
+# Copyright (C) Helge Kreutzmann <debian at helgefjell.de>, 2007-2009, 2011.
+# This file is distributed under the same license as the xsp package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp 2.10-1\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-04-04 19:13+0200\n"
+"Last-Translator: Helge Kreutzmann <debian at helgefjell.de>\n"
+"Language-Team: de <debian-l10n-german at lists.debian.org>\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
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Soll mono-apache-server4 Apache neustarten?"
+
+# FIXME Superflous whitespaces
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Die Debian-Version von mono-apache-server4 enth�lt ein Skript mono-server-"
+"update, das eine Konfigurationsdatei f�r Apache erstellt, um die ASP.NET-"
+"Anwendungen zu starten. mono-server-update kann Apache neustarten, falls es "
+"eine neue Konfigurationsdatei (/etc/mono-server/mono-server-hosts.conf) "
+"gibt. Falls dies stimmt, dann wird Apache neu gestartet, wenn es eine neue "
+"mono-server-hosts.conf-Datei gibt."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "ASP.NET 1.0-Unterst�tzung wurde entfernt"
+
+# FIXME Identical to above, only whitespace differences
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Es scheint, dass Sie einige ASP.NET-1.0-Sites in /etc/mono-server1 "
+"konfiguriert haben. Die Unterst�tzung f�r 1.0-Profile wurde aus Mono 2.8 und "
+"neuer entfernt und damit k�nnen ASP.NET-1.0-Sites nicht l�nger bedient "
+"werden. Sie m�ssen XSP neu konfigurieren, damit diese Sites mit entweder "
+"2.0- oder 4.0-Profilen bedient werden (wenn Ihre Anwendung kompatibel ist). "
+"Bitte lesen Sie mono-server2-admin(8) oder mono-server4-admin(8), um zu "
+"erfahren, wie Sie eine Konfiguration f�r 2.0- oder 4.0-Profile regenerieren."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Soll mono-apache-server2 Apache neustarten?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Die Debian-Version von mono-apache-server2 enth�lt ein Skript mono-server2-"
+"update, das eine Konfigurationsdatei f�r Apache erstellt, um die ASP.NET-"
+"Anwendungen zu starten. mono-server2-update kann Apache neustarten, falls es "
+"eine neue Konfigurationsdatei (/etc/mono-server2/mono-server2-hosts.conf) "
+"gibt. Falls dies stimmt, dann wird Apache neu gestartet, wenn es eine neue "
+"mono-server2-hosts.conf-Datei gibt."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Beim Systemstart starten?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Falls dies stimmt, wird XSP4 automatisch gestartet, wenn der Computer "
+"eingeschaltet wird."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "An Adresse binden:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Um korrekt zu funktionieren, muss XSP4 sich an eine IP-Adresse binden. Der "
+"Standard (�0.0.0.0�) bindet sich an alle Adressen auf dem Server, aber ein "
+"spezieller Port kann ausgew�hlt werden. Um XSP4 lokal zu verwenden, "
+"verwenden Sie �127.0.0.1� als Adresse."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "An Port binden:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP wird an einen speziellen Port auf dem Server gebunden. Typische Werte "
+"sind 80, 8080 oder 8081."
+
+# FIXME: Superflous space
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Es scheint, dass Sie einige ASP.NET-1.0-Sites in /etc/mono-server1 "
+"konfiguriert haben. Die Unterst�tzung f�r 1.0-Profile wurde aus Mono 2.8 und "
+"neuer entfernt und damit k�nnen ASP.NET-1.0-Sites nicht l�nger bedient "
+"werden. Sie m�ssen XSP neu konfigurieren, damit diese Sites mit entweder "
+"2.0- oder 4.0-Profilen bedient werden (wenn Ihre Anwendung kompatibel ist). "
+"Bitte lesen Sie mono-xsp2-admin(8) oder mono-xsp4-admin(8), um zu erfahren, "
+"wie Sie eine Konfiguration f�r 2.0- oder 4.0-Profile regenerieren."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Falls dies stimmt, wird XSP2 automatisch gestartet, wenn Ihr Computer "
+"eingeschaltet wird."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Um korrekt zu funktionieren, muss XSP2 sich an eine IP-Adresse binden. Der "
+"Standard (�0.0.0.0�) bindet sich an alle Adressen auf dem Server, aber ein "
+"spezieller Port kann ausgew�hlt werden. Um XSP2 lokal zu verwenden, "
+"verwenden Sie �127.0.0.1� f�r diese Adresse."
+
+# FIXME: Several superflous whitespaces
+#~ msgid ""
+#~ "You appear to have some ASP.NET 1.0 sites configured in /etc/mono-"
+#~ "server1. Support for the 1.0 profile has been removed from Mono 2.8 and "
+#~ "above, and you are no longer able to serve ASP.NET 1.0 sites. You must "
+#~ "reconfigure XSP to serve these sites using either 2.0 or 4.0 profiles, "
+#~ "assuming your application is compatible. Please see mono-server2-admin(8) "
+#~ "or  mono-server4-admin(8) to see how to regenerate a configuration for "
+#~ "use   with 2.0 or 4.0 profiles."
+#~ msgstr ""
+#~ "Es scheint, dass Sie einige ASP.NET-1.0-Sites in /etc/mono-server1 "
+#~ "konfiguriert haben. Die Unterst�tzung f�r 1.0-Profile wurde aus Mono 2.8 "
+#~ "und neuer entfernt und damit k�nnen ASP.NET-1.0-Sites nicht l�nger "
+#~ "bedient werden. Sie m�ssen XSP neu konfigurieren, damit diese Sites mit "
+#~ "entweder 2.0- oder 4.0-Profilen bedient werden (wenn Ihre Anwendung "
+#~ "kompatibel ist). Bitte lesen Sie mono-server2-admin(8) oder mono-server4-"
+#~ "admin(8), um zu erfahren, wie Sie eine Konfiguration f�r 2.0- oder 4.0-"
+#~ "Profile regenerieren."
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644
index 0000000..10df0eb
--- /dev/null
+++ b/debian/po/es.po
@@ -0,0 +1,227 @@
+# xsp po-debconf translation to Spanish
+# Copyright (C) 2007, 2009, 2011 Software in the Public Interest, SPI Inc.
+# This file is distributed under the same license as the xsp package.
+#
+# Changes:
+#   - Initial translation
+#       Steve Lord Flaubert <stonescenter at gmail.com>, 2007
+#
+#   - Updates
+#       Francisco Javier Cuadrado <fcocuadrado at gmail.com>, 2009, 2011
+#
+# 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 y normas 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: xsp2.10-1\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-04-04 20:41+0100\n"
+"Last-Translator: Francisco Javier Cuadrado <fcocuadrado at gmail.com>\n"
+"Language-Team: Debian l10n Spanish <debian-l10n-spanish at lists.debian.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "¿Desea permitir a mono-apache-server4 reiniciar Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"La versión debian de mono-apache-server4 contiene el script «mono-server4-"
+"update» que crea un archivo de configuración para apache para iniciar "
+"aplicaciones de ASP.NET, además «mono-server4-update» puede reiniciar apache "
+"si hay un nuevo archivo de configuración («/etc/mono-server4/mono-server-"
+"host.conf»). Si es así, apache se reiniciará cuando haya un nuevo archivo de "
+"configuración «mono-server4-hosts.conf»."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Se ha eliminado el soporte de ASP.NET 1.0"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Parece que tiene algunos sitios de ASP.NET 1.0 configurados en «/etc/mono-"
+"server1». El soporte de la versión 1.0 se ha eliminado a partir de la "
+"versión 2.8 de Mono, de modo que no se pueden servir sitios de ASP.NET 1.0. "
+"Debe reconfigurar XSP para servir estos sitios utilizando la versión 2.0 ó "
+"4.0, asumiendo que su aplicación es compatible. Por favor, consulte mono-"
+"server2-admin(8) o mono-server4-admin(8) para saber cómo regenerar la "
+"configuración para utilizar la versión 2.0 ó 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "¿Desea permitir a mono-apache-server2 reiniciar Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"La versión debian de mono-apache-server2 contiene el script «mono-server2-"
+"update» que crea un archivo de configuración para apache para iniciar "
+"aplicaciones de ASP.NET, además «mono-server2-update» puede reiniciar apache "
+"si hay un nuevo archivo de configuración («/etc/mono-server2/mono-server2-"
+"host.conf»). Si es así, apache se reiniciará cuando haya un nuevo archivo de "
+"configuración «mono-server2-hosts.conf»."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "¿Desea que se inicie en el arranque?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Si contesta afirmativamente, XSP4 se iniciará automáticamente cuando se "
+"encienda el equipo."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Enlazar a la dirección:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Para que funcione adecuadamente, XSP4 necesita enlazarse a una dirección IP. "
+"La dirección predeterminada («0.0.0.0») enlaza a todas las direcciones del "
+"servidor, pero también puede seleccionar un puerto en específico. Para usar "
+"XSP4 localmente, utilice la dirección «127.0.0.1»."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Enlazar al puerto:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP se enlaza a un puerto específico en el servidor. Normalmente son los "
+"valores 80, 8080, ó 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Parece que tiene algunos sitios de ASP.NET 1.0 configurados en «/etc/mono-"
+"server1». El soporte de la versión 1.0 se ha eliminado a partir de la "
+"versión 2.8 de Mono, de modo que no se pueden servir sitios de ASP.NET 1.0. "
+"Debe reconfigurar XSP para servir estos sitios utilizando la versión 2.0 ó "
+"4.0, asumiendo que su aplicación es compatible. Por favor, consulte mono-"
+"xsp2-admin(8) o mono-xsp4-admin(8) para saber cómo regenerar la "
+"configuración para utilizar la versión 2.0 ó 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Si contesta afirmativamente, XSP2 se iniciará automáticamente cuando el "
+"equipo se encienda."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Para que funcione adecuadamente, XSP2 necesita enlazarse a una dirección IP. "
+"La dirección predeterminada («0.0.0.0») enlaza a todas las direcciones del "
+"servidor, pero también puede seleccionar un puerto en específico. Para usar "
+"XSP2 localmente, utilice la dirección «127.0.0.1»."
+
+#~ msgid ""
+#~ "You appear to have some ASP.NET 1.0 sites configured in /etc/mono-"
+#~ "server1. Support for the 1.0 profile has been removed from Mono 2.8 and "
+#~ "above, and you are no longer able to serve ASP.NET 1.0 sites. You must "
+#~ "reconfigure XSP to serve these sites using either 2.0 or 4.0 profiles, "
+#~ "assuming your application is compatible. Please see mono-server2-admin(8) "
+#~ "or  mono-server4-admin(8) to see how to regenerate a configuration for "
+#~ "use   with 2.0 or 4.0 profiles."
+#~ msgstr ""
+#~ "Parece que tiene algunos sitios de ASP.NET 1.0 configurados en «/etc/mono-"
+#~ "server1». El soporte de la versión 1.0 se ha eliminado a partir de la "
+#~ "versión 2.8 de Mono, de modo que no se pueden servir sitios de ASP.NET "
+#~ "1.0. Debe reconfigurar XSP para servir estos sitios utilizando la versión "
+#~ "2.0 ó 4.0, asumiendo que su aplicación es compatible. Por favor, consulte "
+#~ "mono-server2-admin(8) o mono-server4-admin(8) para saber cómo regenerar "
+#~ "la configuración para utilizar la versión 2.0 ó 4.0."
diff --git a/debian/po/eu.po b/debian/po/eu.po
new file mode 100644
index 0000000..198cfd1
--- /dev/null
+++ b/debian/po/eu.po
@@ -0,0 +1,208 @@
+# translation of xsp_2.10-1_eu.po to Basque
+# translation of xsp debconf template to Basque
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Xabier Bilbao <xabidu at gmail.com>, 2008.
+# Piarres Beobide <pi at beobide.net>, 2008.
+# Iñaki Larrañaga Murgoitio <dooteo at euskalgnu.org>, 2009, 2011.
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp_2.10-1_eu\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-04-07 15:37+0200\n"
+"Last-Translator: Iñaki Larrañaga Murgoitio <dooteo at euskalgnu.org>\n"
+"Language-Team: Basque <debian-l10n-basque at lists.debian.org>\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"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Utzi mono-apache-server4-ri Apache berrabiarazten?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Debianeko mono-apache-server4 bertsioak apache-rentzat konfigurazio "
+"fitxategi bat sortzen duen mono-server4-update script-a dakar, ASP.NET "
+"aplikazioak abiarazteko. Script honek apache berrabiaraz dezake konfigurazio "
+"fitxategi berria baldin badago (/etc/mono-server4/mono-server-hosts.conf). "
+"Hau onartzen baduzu, apache berrabiaraziko da mono-server4-hosts.conf "
+"fitxategi berri bat dagoenean."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "ASP.NET 1.0 euskarria kenduta"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Badirudi ASP.NET 1.0 gune batzuk dituzula konfiguratuta /etc/mono-server1 "
+"direktorio pean. 1.0 profilaren euskarria kendu egin da Mono 2.8 bertsiotik "
+"gorantz, eta ezingo dituzu ASP.NET 1.0 guneak gehiago zerbitzatuko. XSP "
+"berriro konfiguratu beharko duzu gune hauek zerbitzatu ahal izateko 2.0 edo "
+"4.0 profilak erabiliz (zure aplikazioa bateragarria dela suposatuz). Ikus "
+"mono-server2-admin(8) edo mono-server4-admin(8) konfigurazio bat 2.0 edo 4.0 "
+"profilekin erabiltzeko nola birsor daitekeen jakiteko."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Utzi mono-apache-server2-ri Apache berrabiarazten?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Debianeko mono-apache-server2 bertsioak apache-rentzat konfigurazio "
+"fitxategi bat sortzen duen mono-server2-update script-a dakar, ASP.NET "
+"aplikazioak abiarazteko. Script honek apache berrabiaraz dezake konfigurazio "
+"fitxategi berria baldin badago (/etc/mono-server2/mono-server2-hosts.conf). "
+"Hau onartzen baduzu, apache berrabiaraziko da mono-server2-hosts.conf "
+"fitxategi berri bat dagoenean."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Ordenagailuaren abioan abiarazi?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr "Egia bada, XSP4 automatikoki abiatuko da ordenagailua pizten denean."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "IP helbide honi lotu:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Behar bezala funtzionatzeko, XSP4-k IP helbide bati loturik egon behar du. "
+"Aukera lehenetsiak (\"0.0.0.0\") zerbitzariaren helbide guztiekin lotzen du, "
+"baina ataka zehatz bat hauta daiteke. XSP4 lokalean erabiltzeko, ezar ezazu "
+"\"127.0.0.1\" helbide gisa."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Ataka honi lotu:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP zerbitzariko ataka zehatz bati lotzen zaio. Balio arruntak 80, 8080, edo "
+"8081 dira."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Badirudi ASP.NET 1.0 gune batzuk dituzula konfiguratuta /etc/mono-server1 "
+"direktorio pean. 1.0 profilaren euskarria kendu egin da Mono 2.8 bertsiotik "
+"gorantz, eta ezingo dituzu ASP.NET 1.0 guneak gehiago zerbitzatuko. XSP "
+"berriro konfiguratu beharko duzu gune hauek zerbitzatu ahal izateko 2.0 edo "
+"4.0 profilak erabiliz (zure aplikazioa bateragarria dela suposatuz). Ikus "
+"mono-xsp2-admin(8) edo mono-xsp4-admin(8) konfigurazio bat 2.0 edo 4.0 "
+"profilekin erabiltzeko nola birsor daitekeen jakiteko."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Hau aukeratzen baduzu, XSP2 automatikoki abiaraziko da ordenagailua pizten "
+"denean."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Behar bezala funtzionatzeko, XSP2k IP helbide bati loturik egon behar du. "
+"Aukera lehenetsiak (\"0.0.0.0\") zerbitzariaren helbide guztiekin lotzen du, "
+"baina ataka zehatz bat hauta daiteke. XSP2 lokalean erabiltzeko, ezar ezazu "
+"\"127.0.0.1\" helbide gisa."
+
+#~ msgid ""
+#~ "You appear to have some ASP.NET 1.0 sites configured in /etc/mono-"
+#~ "server1. Support for the 1.0 profile has been removed from Mono 2.8 and "
+#~ "above, and you are no longer able to serve ASP.NET 1.0 sites. You must "
+#~ "reconfigure XSP to serve these sites using either 2.0 or 4.0 profiles, "
+#~ "assuming your application is compatible. Please see mono-server2-admin(8) "
+#~ "or  mono-server4-admin(8) to see how to regenerate a configuration for "
+#~ "use   with 2.0 or 4.0 profiles."
+#~ msgstr ""
+#~ "Badirudi ASP.NET 1.0 gune batzuk dituzula konfiguratuta /etc/mono-server1 "
+#~ "direktorio pean. 1.0 profilaren euskarria kendu egin da Mono 2.8 "
+#~ "bertsiotik gorantz, eta ezingo dituzu ASP.NET 1.0 guneak gehiago "
+#~ "zerbitzatuko. XSP berriro konfiguratu beharko duzu gune hauek zerbitzatu "
+#~ "ahal izateko 2.0 edo 4.0 profilak erabiliz (zure aplikazioa bateragarria "
+#~ "dela suposatuz). Ikus mono-server2-admin(8) edo mono-server4-admin(8) "
+#~ "konfigurazio bat 2.0 edo 4.0 profilekin erabiltzeko nola birsor daitekeen "
+#~ "jakiteko."
diff --git a/debian/po/fi.po b/debian/po/fi.po
new file mode 100644
index 0000000..c616ef2
--- /dev/null
+++ b/debian/po/fi.po
@@ -0,0 +1,203 @@
+# Esko Arajärvi <edu at iki.fi>, 2009, 2011.
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-04-05 22:26+0300\n"
+"Last-Translator: Esko Arajärvi <edu at iki.fi>\n"
+"Language-Team: debian-10n-finnish at lists.debian.org\n"
+"Language: fi\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.6.1\n"
+"X-Poedit-Language: Finnish\n"
+"X-Poedit-Country: FINLAND\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Saako mono-apache-server4 käynnistää Apachen uudelleen?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Paketin mono-apache-server4 Debian-versio sisältää komentosarjan mono-"
+"server4-update, joka luo Apachelle asetustiedoston ASP.NET-ohjelmien "
+"käynnistämistä varten. Komentosarja mono-server4-update voi käynnistää "
+"Apachen uudelleen, kun asetustiedosto (/etc/mono-server4/mono-server4-hosts."
+"conf) uudistuu. Valitse tämä, jos haluat, että Apache käynnistetään tällöin "
+"uudelleen."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "ASP.NET 1.0:n tuki poistettu"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Tiedostossa /etc/mono-server1 on joitain ASP.NET 1.0 -sivustojen asetuksia. "
+"1.0-profiilien tuki on poistettu Monon versiosta 2.8 alkaen, eikä näistä ASP."
+"NET 1.0 -sivustoja enää näytetä. XSP:n asetuksia tulee muuttaa niin, että "
+"nämä sivustot näytetään käyttäen 2.0- tai 4.0-profiileja, olettaen että "
+"ohjelmat ovat yhteensopivia. Ohjesivuilta mono-server2-admin(8) ja mono-"
+"server4-admin(8) löytyy tietoja siitä kuinka asetukset voidaan luoda "
+"uudelleen käyttäen 2.0- tai 4.0-profiileja."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Saako mono-apache-server2 käynnistää Apachen uudelleen?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Paketin mono-apache-server2 Debian-versio sisältää komentosarjan mono-"
+"server2-update, joka luo Apachelle asetustiedoston ASP.NET-ohjelmien "
+"käynnistämistä varten. Komentosarja mono-server2-update voi käynnistää "
+"Apachen uudelleen, kun asetustiedosto (/etc/mono-server2/mono-server2-hosts."
+"conf) uudistuu. Valitse tämä, jos haluat, että Apache käynnistetään tällöin "
+"uudelleen."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Käynnistetäänkö ohjelma käynnistettäessä järjestelmä?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Jos valitset tämän vaihtoehdon, XSP4 käynnistetään automaattisesti, kun "
+"järjestelmää käynnistetään."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Kuunneltava osoite:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Toimiakseen oikein XSP2:n täytyy kuunnella jotain IP-osoitetta. "
+"Oletusarvoisesti (”0.0.0.0”) kuunnellaan palvelimen kaikkia osoitteita, "
+"mutta tietty portti voidaan valita. Valinnalla ”127.0.0.1” XSP2 toimii vain "
+"paikallisesti."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Kuunneltava portti:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP kuuntelee tiettyä palvelimen porttia. Yleisiä arvoja ovat 80, 8080 ja "
+"8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Tiedostossa /etc/mono-server1 on joitain ASP.NET 1.0 -sivustojen asetuksia. "
+"1.0-profiilien tuki on poistettu Monon versiosta 2.8 alkaen, eikä näistä ASP."
+"NET 1.0 -sivustoja enää näytetä. XSP:n asetuksia tulee muuttaa niin, että "
+"nämä sivustot näytetään käyttäen 2.0- tai 4.0-profiileja, olettaen että "
+"ohjelmat ovat yhteensopivia. Ohjesivuilta mono-xsp2-admin(8) ja mono-xsp4-"
+"admin(8) löytyy tietoja siitä kuinka asetukset voidaan luoda uudelleen "
+"käyttäen 2.0- tai 4.0-profiileja."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Jos valitset tämän vaihtoehdon, XSP2 käynnistetään automaattisesti, kun "
+"järjestelmä käynnistyy."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Toimiakseen oikein XSP2:n täytyy kuunnella jotain IP-osoitetta. "
+"Oletusarvoisesti (”0.0.0.0”) kuunnellaan palvelimen kaikkia osoitteita, "
+"mutta tietty portti voidaan valita. Valinnalla ”127.0.0.1” XSP2 toimii vain "
+"paikallisesti."
+
+#~ msgid ""
+#~ "You appear to have some ASP.NET 1.0 sites configured in /etc/mono-"
+#~ "server1. Support for the 1.0 profile has been removed from Mono 2.8 and "
+#~ "above, and you are no longer able to serve ASP.NET 1.0 sites. You must "
+#~ "reconfigure XSP to serve these sites using either 2.0 or 4.0 profiles, "
+#~ "assuming your application is compatible. Please see mono-server2-admin(8) "
+#~ "or  mono-server4-admin(8) to see how to regenerate a configuration for "
+#~ "use   with 2.0 or 4.0 profiles."
+#~ msgstr ""
+#~ "Tiedostossa /etc/mono-server1 on joitain ASP.NET 1.0 -sivustojen "
+#~ "asetuksia. 1.0-profiilien tuki on poistettu Monon versiosta 2.8 alkaen, "
+#~ "eikä näistä ASP.NET 1.0 -sivustoja enää näytetä. XSP:n asetuksia tulee "
+#~ "muuttaa niin, että nämä sivustot näytetään käyttäen 2.0- tai 4.0-"
+#~ "profiileja, olettaen että ohjelmat ovat yhteensopivia. Ohjesivuilta mono-"
+#~ "server2-admin(8) ja mono-server4-admin(8) löytyy tietoja siitä kuinka "
+#~ "asetukset voidaan luoda uudelleen käyttäen 2.0- tai 4.0-profiileja."
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644
index 0000000..6cfba2d
--- /dev/null
+++ b/debian/po/fr.po
@@ -0,0 +1,183 @@
+# Translation of ddclient debconf templates to French
+# Copyright (C) 2005-2009, 2011 Debian French l10n team <debian-l10n-french at lists.debian.org>
+# This file is distributed under the same license as the ddclient package.
+#
+# Translators:
+# Jean-Luc Coulon (f5ibh) <jean-luc.coulon at wanadoo.fr>, 2005-2009.
+# Christian Perrier <bubulle at debian.org>, 2009.
+# David Prévot <david at tilapin.org>, 2011.
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-12-21 10:03-0400\n"
+"Last-Translator: David Prévot <david at tilapin.org>\n"
+"Language-Team: French <debian-l10n-french at lists.debian.org>\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.2\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Faut-il laisser mono-apache-server4 redémarrer Apache ?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"La version Debian de mono-apache-server4 contient le script mono-server4-"
+"update qui crée un fichier de configuration pour Apache, servant à lancer "
+"les applications ASP.NET. Ce script peut redémarrer Apache s'il existe un "
+"nouveau fichier de configuration /etc/mono-server/mono-server4-hosts.conf."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Prise en charge d'ASP.NET 1.0 supprimée"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Certains sites ASP.NET 1.0 semblent configurés dans /etc/mono-server1. La "
+"prise en charge du profil 1.0 a été supprimée de Mono depuis la version 2.8, "
+"et les sites ASP.NET 1.0 ne peuvent plus être servis. XSP doit être "
+"reconfiguré pour servir ces sites en utilisant les profils 2.0 ou 4.0, si "
+"les applications sont compatibles. Veuillez consulter mono-server2-admin(8) "
+"ou mono-server4-admin(8) pour une explication sur la façon de remettre en "
+"place une configuration utilisable avec les profils 2.0 ou 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Faut-il laisser mono-apache-server2 redémarrer Apache ?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"La version Debian de mono-apache-server2 contient le script mono-server2-"
+"update qui crée un fichier de configuration pour Apache, servant à lancer "
+"les applications ASP.NET. Ce script peut redémarrer Apache s'il existe un "
+"nouveau fichier de configuration /etc/mono-server2/mono-server2-hosts.conf."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Faut-il le lancer au démarrage ?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr "Lancement automatique de XSP4"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Adresse à laquelle le processus doit être lié :"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Afin de fonctionner correctement, XSP4 doit être lié à une adresse IP. La "
+"valeur par défaut (0.0.0.0) le lie à toutes les adresses du serveur, mais un "
+"port spécifique peut être choisi. Pour n'utiliser XSP4 que localement, "
+"veuillez indiquer l'adresse 127.0.0.1."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Port auquel le processus doit être lié :"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP doit être lié à un port particulier du serveur. Des valeurs courantes "
+"sont 80, 8080 et 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Certains sites ASP.NET 1.0 semblent configurés dans /etc/mono-server1. La "
+"prise en charge du profil 1.0 a été supprimée de Mono depuis la version 2.8, "
+"et les sites ASP.NET 1.0 ne peuvent plus être servis. XSP doit être "
+"reconfiguré pour servir ces sites en utilisant les profils 2.0 ou 4.0, si "
+"les applications sont compatibles. Veuillez consulter mono-xsp2-admin(8) ou "
+"mono-xsp4-admin(8) pour une explication sur la façon de remettre en place "
+"une configuration utilisable avec les profils 2.0 ou 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr "Lancement automatique de XSP2"
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Afin de fonctionner correctement, XSP2 doit être lié à une adresse IP. La "
+"valeur par défaut (0.0.0.0) le lie à toutes les adresses du serveur, mais un "
+"port spécifique peut être choisi. Pour n'utiliser XSP2 que localement, "
+"veuillez indiquer l'adresse 127.0.0.1."
diff --git a/debian/po/gl.po b/debian/po/gl.po
new file mode 100644
index 0000000..9097a66
--- /dev/null
+++ b/debian/po/gl.po
@@ -0,0 +1,204 @@
+# Galician translation of xsp's debconf templates
+# This file is distributed under the same license as the xsp package.
+#
+# Jacobo Tarrio <jtarrio at debian.org>, 2007, 2008.
+# Marce Villarino <mvillarino at gmail.com>, 2009.
+# Miguel Anxo Bouzada <mbouzada at gmail.com>, 2011.
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-04-03 13:09+0100\n"
+"Last-Translator: Miguel Anxo Bouzada <mbouzada at gmail.com>\n"
+"Language-Team: Galician <proxecto at trasno.net>\n"
+"Language: gl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Desexa permitir que mono-apache-server4 reinicie Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"A versión de Debian do mono-apache-server4 inclúe un script mono-server4-"
+"update que crea un ficheiro de configuración para que Apache inicie os "
+"programas ASP.NET, e mono-server4-update pode reiniciar Apache se hai un "
+"novo ficheiro de configuración (/etc/mono-server4/mono-server-hosts.conf). "
+"Se acepta isto, hase reiniciar Apache cando haxa un novo ficheiro mono-"
+"server4-hosts.conf."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "A compatibilidade con ASP.NET 1.0 foi retirada"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Polo que parece, ten algúns sitios ASP.NET 1.0 configurados en /etc/mono-"
+"server1. A compatibilidade para o perfil 1.0 foi retirada de Mono 2.8 e "
+"anteriores, e xa que non son quen de servir sitios ASP.NET 1.0, Vostede ten "
+"que volver a configurar XSP para servir a estes sitios que empregando perfís "
+"2.0 ou 4.0, asumindo que o seu aplicativo é compatíbel. Vexa mono-server2-"
+"admin(8) ou mono-server4-admin(8) para ver como volver a xerar unha "
+"configuración para o uso con perfís 2.0 ou 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Desexa permitir que mono-apache-server reinicie Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"A versión de Debian de mono-apache-server2 inclúe un script mono-server2-"
+"update que crea un ficheiro de configuración para que Apache inicie os "
+"aplicativos ASP.NET, e mono-server2-update pode reiniciar Apache se hai un "
+"novo ficheiro de configuración (/etc/mono-server2/mono-server2-hosts.conf). "
+"Se acepta isto, hase reiniciar Apache cando haxa un novo ficheiro mono-"
+"server2-hosts.conf."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Desexa inicialo co computador?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Se acepta isto, XSP4 iniciarase automaticamente ao arrancar o computador."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Asociar ao enderezo:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Para que funcione correctamente, hai que ligar XSP4 a un enderezo IP. O "
+"valor predeterminado («0.0.0.0») serve para o ligar a todos os enderezos do "
+"servidor, mais pódese escoller un porto determinado. Para empregar XSP4 só "
+"localmente, empregue «127.0.0.1» como enderezo."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Asociar ao porto:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP vai asociado a un porto determinado do servidor. Os valores habituais "
+"son 80, 8080 ou 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Polo que parece, ten algúns sitios ASP.NET 1.0 configurados en /etc/mono-"
+"server1. A compatibilidade para o perfil 1.0 foi retirada de Mono 2.8 e "
+"anteriores, e xa que non son quen de servir sitios ASP.NET 1.0, Vostede ten "
+"que volver a configurar XSP para servir a estes sitios que empregando perfís "
+"2.0 ou 4.0, asumindo que o seu aplicativo é compatíbel. Vexa mono-xsp2-admin"
+"(8) ou mono-xsp4-admin(8) para ver como volver a xerar unha configuración "
+"para o uso   con perfís 2.0 ou 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Se acepta isto, XSP2 iniciarase automaticamente ao arrancar o ordenador."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Para que funcione correctamente, hai que asociar XSP2 a un enderezo IP. O "
+"valor predeterminado («0.0.0.0») serve para o ligar a todos os enderezos do "
+"servidor, pero pódese escoller un porto determinado. Para empregar XSP2 só "
+"localmente, empregue «127.0.0.1» como enderezo."
+
+#~ msgid ""
+#~ "You appear to have some ASP.NET 1.0 sites configured in /etc/mono-"
+#~ "server1. Support for the 1.0 profile has been removed from Mono 2.8 and "
+#~ "above, and you are no longer able to serve ASP.NET 1.0 sites. You must "
+#~ "reconfigure XSP to serve these sites using either 2.0 or 4.0 profiles, "
+#~ "assuming your application is compatible. Please see mono-server2-admin(8) "
+#~ "or  mono-server4-admin(8) to see how to regenerate a configuration for "
+#~ "use   with 2.0 or 4.0 profiles."
+#~ msgstr ""
+#~ "Polo que parece, ten algúns sitios ASP.NET 1.0 configurados en /etc/mono-"
+#~ "server1. A compatibilidade para o perfil 1.0 foi retirada de Mono 2.8 e "
+#~ "anteriores, e xa que non son quen de servir sitios ASP.NET 1.0, Vostede "
+#~ "ten que volver a configurar XSP para servir a estes sitios que empregando "
+#~ "perfís 2.0 ou 4.0, asumindo que o seu aplicativo é compatíbel. Vexa mono-"
+#~ "server2-admin(8) ou mono-server4-admin(8) para ver como volver a xerar "
+#~ "unha configuración para o uso   con perfís 2.0 ou 4.0."
diff --git a/debian/po/it.po b/debian/po/it.po
new file mode 100644
index 0000000..6cb1b7c
--- /dev/null
+++ b/debian/po/it.po
@@ -0,0 +1,210 @@
+# Italian translation of XSP po-debconf.
+# Copyright (C) 2012 Debian Italian l10n team <debian-l10n-italian at lists.debian.org>
+# This file is distributed under the same license as the XSP package.
+#
+# Vincenzo Campanella <vinz65 at gmail.com>, 2008, 2009, 2010.
+# Fabio Pirola <rola.hack at gmail.com>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp 2.4.3-3\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2012-12-21 22:40+0100\n"
+"Last-Translator: Fabio Pirola <rola.hack at gmail.com>\n"
+"Language-Team: Italian <debian-l10n-italian at lists.debian.org>\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+#| msgid "Let mono-apache-server restart Apache?"
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Permettere a mono-apache-server4 di riavviare Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+#| msgid ""
+#| "The Debian version of mono-apache-server includes a mono-server-update "
+#| "script that creates a configuration file for apache to start the ASP.NET "
+#| "applications, and mono-server-update can restart apache if there's a new "
+#| "configuration file (/etc/mono-server/mono-server-hosts.conf). If this is "
+#| "true, then apache will be restarted when there is a new mono-server-hosts."
+#| "conf file."
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"La versione Debian di mono-apache-server4 include uno script mono-server4-update "
+"che crea un file di configurazione per Apache per avviare applicazioni "
+"ASP.NET, e mono-server4-update può riavviare Apache se è presente un nuovo "
+"file di configurazione (/etc/mono-server4/mono-server-hosts.conf). Se "
+"questa opzione è confermata, Apache sarà riavviato quando c'è "
+"un nuovo file mono-server4-hosts.conf."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Supporto a ASP.NET 1.0 rimosso"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Sembra essere presente qualche sito ASP.NET 1.0 configurato in /etc/mono-server1. "
+"Il supporto al profilo 1.0 è stato rimosso da Mono 2.8 e versioni successive quindi "
+"non è più possibile servire siti ASP.NET 1.0. È necessario riconfigurare XSP "
+"per servire questi siti usando il profilo 2.0 oppure 4.0, assumendo "
+"che l'applicazione sia compatibile. Vedere mono-server2-admin(8) oppure "
+"mono-server4-admin(8) per informazioni su come rigenerare una configurazione "
+"utilizzabile con il profilo 2.0 oppure 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Permettere a mono-apache-server2 di riavviare Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+#| msgid ""
+#| "The Debian version of mono-apache-server2 includes a mono-server2-update "
+#| "script that creates a configuration file for apache to start the ASP.NET "
+#| "applications, and mono-server2-update can restart apache if there's a new "
+#| "configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this "
+#| "is true, then apache will be restarted when there is a new mono-server2-"
+#| "hosts.conf file."
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"La versione Debian di mono-apache-server2 include uno script mono-server2-update "
+"che crea un file di configurazione per Apache per avviare applicazioni "
+"ASP.NET, e mono-server2-update può riavviare Apache se è presente un nuovo "
+"file di configurazione (/etc/mono-server2/mono-server2-hosts.conf). Se "
+"questa opzione è confermata, Apache sarà riavviato quando c'è "
+"un nuovo file mono-server2-hosts.conf."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Far partire il programma all'avvio del sistema?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+#| msgid ""
+#| "If this is true, then XSP will automatically start when the computer is "
+#| "turned on."
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Se questa opzione è confermata, allora XSP4 sarà fatto partire automaticamente "
+"all'avvio del computer."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Associare all'indirizzo:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+#| msgid ""
+#| "To function properly, XSP needs to be bound to an IP address. The default "
+#| "(\"0.0.0.0\") binds to all addresses of the server, but a specific port "
+#| "can be selected. To use XSP only locally, use \"127.0.0.1\" for the "
+#| "address."
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Per funzionare correttamente, XSP4 deve essere associato ad un indirizzo IP. Il "
+"valore predefinito («0.0.0.0») è associato a tutti gli indirizzi del server, "
+"ma è possibile selezionare una porta specifica. Per usare XSP4 solo localmente "
+"usare l'indirizzo «127.0.0.1»."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Associare alla porta:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP è associato ad una porta specifica sul server. I valori comuni sono 80, 8080 "
+"o 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Sembra essere presente qualche sito ASP.NET 1.0 configurato in /etc/mono-server1. "
+"Il supporto al profilo 1.0 è stato rimosso da Mono 2.8 e versioni successive quindi "
+"non è più possibile servire siti ASP.NET 1.0. È necessario riconfigurare XSP "
+"per servire questi siti usando il profilo 2.0 oppure 4.0, assumendo "
+"che l'applicazione sia compatibile. Vedere mono-xsp2-admin(8) oppure "
+"mono-xsp4-admin(8) per informazioni su come rigenerare una configurazione "
+"utilizzabile con il profilo 2.0 oppure 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Se questa opzione è confermata, allora XSP2 sarà fatto partire automaticamente "
+"all'avvio del computer."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Per funzionare correttamente, XSP2 deve essere associato ad un indirizzo IP. Il "
+"valore predefinito («0.0.0.0») è associato a tutti gli indirizzi del server, "
+"ma è possibile selezionare una porta specifica. Per usare XSP2 solo localmente "
+"usare l'indirizzo «127.0.0.1»."
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644
index 0000000..c9a16bc
--- /dev/null
+++ b/debian/po/ja.po
@@ -0,0 +1,182 @@
+# Copyright (C) 2009 Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>
+# This file is distributed under the same license as xsp package.
+# Hideki Yamane <henrich at debian.org>, 2009-2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp 2.10-1\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-12-21 15:13+0900\n"
+"Last-Translator: Hideki Yamane <henrich at debian.org>\n"
+"Language-Team: Japanese <debian-japanese at lists.debian.org>\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
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "mono-apache-server4 に Apache を再起動させますか?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Debian 版の mono-apache-server4 は、Apache で ASP.NET アプリケーションを起動"
+"させるための設定ファイルを作成する mono-server4-update スクリプトを含んでお"
+"り、新しい設定ファイル (/etc/mono-server4/mono-server-hosts.conf) がある場合"
+"には mono-server4-update は Apache を再起動できます。これを有効にすると、新し"
+"い mono-server4-hosts.conf ファイルがある場合に Apache が再起動されます。"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "ASP.NET 1.0 のサポートが削除されました"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"/etc/mono-server1 に ASP.NET 1.0 のサイトが設定されているようです。1.0 のプロ"
+"ファイルへのサポートは Mono 2.8 以上で削除されているので、ASP.NET 1.0 のサイ"
+"トを提供することはもうできなくなります。アプリケーションに互換性がある場合に"
+"は、XSP を再設定してサイトが 2.0 あるいは 4.0 のプロファイルを使うようにする"
+"必要があります。2.0、あるいは 4.0 のプロファイルで利用するように設定を再生成"
+"する方法は、mono-server2-admin(8) あるいは mono-server4-admin(8) を参照してく"
+"ださい。"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "mono-apache-server2 に Apache を再起動させますか?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Debian 版の mono-apache-server2 は、Apache で ASP.NET アプリケーションを起動"
+"させるための設定ファイルを作成する mono-server2-update スクリプトを含んでお"
+"り、新しい設定ファイル (/etc/mono-server2/mono-server2-hosts.conf) がある場合"
+"には mono-server2-update は Apache を再起動できます。これを有効にすると、新し"
+"い mono-server2-hosts.conf ファイルがある場合に Apache が再起動されます。"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "起動時に開始しますか?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"これを有効にすると、XSP4 はコンピュータの電源が入れられた際に自動的に起動しま"
+"す。"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "バインドするアドレス:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"正しく動作させるには、XSP4 は IP アドレスにバインドする必要があります。デフォ"
+"ルト値 (\"0.0.0.0\") ではサーバの全てのアドレスにバインドしますが、特定のポー"
+"トを選ぶこともできます。XSP4 をローカルだけで使うには、アドレスに "
+"\"127.0.0.1\" を使います。"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "バインドするポート:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP はサーバの特定のポートにバインドされます。一般的な値は 80, 8080, 8081 で"
+"す。"
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"/etc/mono-server1 に ASP.NET 1.0 のサイトが設定されているようです。1.0 のプロ"
+"ファイルへのサポートは Mono 2.8 以上で削除されているので、ASP.NET 1.0 のサイト"
+"を提供することはもうできなくなります。アプリケーションに互換性がある場合には、"
+"XSP を再設定してサイトが 2.0 あるいは 4.0 のプロファイルを使うようにする必要が"
+"あります。2.0、あるいは 4.0 のプロファイルで利用するように設定を再生成する方法"
+"は、mono-xsp2-admin(8) あるいは mono-xsp4-admin(8) を参照してください。"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"これを有効にすると、コンピュータの電源を入れた際に XSP2 は自動的に起動しま"
+"す。"
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"正しく動作させるには、XSP2 は IP アドレスにバインドする必要があります。デフォ"
+"ルト値 (\"0.0.0.0\") ではサーバの全てのアドレスにバインドしますが、特定のポー"
+"トを選ぶこともできます。XSP2 をローカルだけで使うには、アドレスに "
+"\"127.0.0.1\" を使います。"
diff --git a/debian/po/nl.po b/debian/po/nl.po
new file mode 100644
index 0000000..6b64f53
--- /dev/null
+++ b/debian/po/nl.po
@@ -0,0 +1,188 @@
+# Dutch translation of xsp debconf templates.
+# Copyright (C) 2008-2011 THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the xsp package.
+# Bart Cornelis <cobaco at skolelinux.no>, 2008.
+# Paul Gevers <paul at climbing.nl>, 2009.
+# Jeroen Schot <schot at a-eskwadraat.nl>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp 2.10-1\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-12-21 12:29+0100\n"
+"Last-Translator: Jeroen Schot <schot at a-eskwadraat.nl>\n"
+"Language-Team: Debian l10n Dutch <debian-l10n-dutch at lists.debian.org>\n"
+"Language: nl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Wilt u mono-apache-server4 Apache laten herstarten?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"De Debian-versie van mono-apache-server4 bevat het script mono-server4-"
+"update. Dit script maakt een configuratiebestand aan voor Apache dat de ASP."
+"NET-applicaties start, en kan Apache herstarten als er een nieuw "
+"configuratiebestand is (/etc/mono-server/mono-server-hosts.conf). Als u hier "
+"aanvaard wordt Apache herstart wanneer er een nieuw bestand mono-server4-"
+"hosts.conf aanwezig is."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Ondersteuning voor ASP.NET 1.0 verwijderd"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Zo te zien heeft u een aantal ASP.NET 1.0-sites ingesteld in /etc/mono-"
+"server1. Ondersteuning voor het 1.0-profiel is verwijderd uit Mono 2.8 en "
+"hoger, waardoor u niet langer ASP.NET 1.0-sites kan aanbieden. U dient XSP "
+"opnieuw in te stellen zodat deze sites een 2.0- of 4.0-profiel gebruiken, "
+"indien uw toepassing hiermee compatibel is. In de man-pagina's mono-server2-"
+"admin(8) en mono-server4-admin(8) kunt u vinden hoe u een configuratie voor "
+"de 2.0- en 4.0-profielen kunt aanmaken."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Wilt u mono-apache-server2 Apache laten herstarten?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"De Debian-versie van mono-apache-server2 bevat het script mono-server2-"
+"update. Dit script maakt een configuratiebestand aan voor Apache dat de ASP."
+"NET-applicaties start, en kan Apache herstarten als er een nieuw "
+"configuratiebestand is (/etc/mono-server2/mono-server2-hosts.conf). Als u "
+"hier aanvaard wordt Apache herstart wanneer er een nieuw bestand mono-"
+"server2-hosts.conf aanwezig is."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Starten bij de systeemstart?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Als u dit aanvaard wordt XSP4 automatisch opgestart telkens wanneer de "
+"computer opstart."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Adres waaraan te binden:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Om juist te werken dient XSP4 zich te binden aan een IP-adres. De "
+"standaardwaarde (\"0.0.0.0\") bindt aan alle adressen op de server, maar een "
+"specifieke poort kan geselecteerd worden. Als u XSP4 enkel lokaal wilt "
+"gebruiken, kiest u best \"127.0.0.1\" voor het adres."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Poort waaraan te binden:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP bindt zich aan een specifieke poort op de server. Veelgebruikte waardes "
+"zijn 80, 8080, en 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Zo te zien heeft u een aantal ASP.NET 1.0-sites ingesteld in /etc/mono-"
+"server1. Ondersteuning voor het 1.0-profiel is verwijderd uit Mono 2.8 en "
+"hoger, waardoor u niet langer ASP.NET 1.0-sites kan aanbieden. U dient XSP "
+"opnieuw in te stellen zodat deze sites een 2.0- of 4.0-profiel gebruiken, "
+"indien uw toepassing hiermee compatibel is. In de man-pagina's mono-xsp2-"
+"admin(8) en mono-xsp4-admin(8) kunt u vinden hoe u een configuratie voor de "
+"2.0- en 4.0-profielen kunt aanmaken."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Als u dit aanvaard zal XSP2 automatisch starten telkens wanneer de computer "
+"opstart."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Om juist te werken dient XSP2 zich te binden aan een IP-adres. De "
+"standaardwaarde (\"0.0.0.0\") bindt aan alle adressen op de server, maar een "
+"specifieke poort kan geselecteerd worden. Als u XSPs enkel lokaal wilt "
+"gebruiken, kiest u best \"127.0.0.1\" voor het adres."
diff --git a/debian/po/pl.po b/debian/po/pl.po
new file mode 100644
index 0000000..0fb4d5e
--- /dev/null
+++ b/debian/po/pl.po
@@ -0,0 +1,191 @@
+# Translation of xsp debconf templates to Polish.
+# Copyright (C) 2011
+# This file is distributed under the same license as the xsp package.
+#
+# Michał Kułach <michal.kulach at gmail.com>, 2012.
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2012-03-07 10:16+0100\n"
+"Last-Translator: Michał Kułach <michal.kulach at gmail.com>\n"
+"Language-Team: Polish <debian-l10n-polish at lists.debian.org>\n"
+"Language: pl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.2\n"
+"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
+"|| n%100>=20) ? 1 : 2);\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Zrestartować Apache za pomocą mono-apache-server4?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Debianowa wersja mono-apache-server4 zawiera skrypt mono-server4-update, "
+"który tworzy plik konfiguracyjny do Apache, służący do uruchamiania "
+"aplikacji ASP.NET. Skrypt może zrestartować Apache, jeśli istnieje nowy plik "
+"konfiguracyjny (/etc/mono-server4/mono-server-hosts.conf). Jeśli tak jest, "
+"to Apache zostanie zrestartowane, gdy istnieje nowy plik konfiguracyjny mono-"
+"server4-hosts."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Obsługa ASP.NET 1.0 została usunięta"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Wygląda na to, że istnieją strony w ASP.NET 1.0 skonfigurowane w /etc/mono-"
+"server1. Obsługa profilu 1.0 została usunięta z Mono 2.8 i nowszych wersji, "
+"dlatego dalsze udostępnianie stron ASP.NET 1.0 przez ten system będzie "
+"niemożliwe. Konieczna jest ponowna konfiguracja XSP tak, aby te strony "
+"używały profili 2.0 lub 4.0 zakładając, że aplikacja użytkownika jest "
+"kompatybilna. Proszę zapoznać się z mono-server2-admin(8) lub mono-server4-"
+"admin(8), aby dowiedzieć się jak utworzyć konfigurację ponownie, używając "
+"profili 2.0 lub 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Zrestartować Apache za pomocą mono-apache-server2?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Debianowa wersja mono-apache-server2 zawiera skrypt mono-server2-update, "
+"który tworzy plik konfiguracyjny do Apache, służący do uruchamiania "
+"aplikacji ASP.NET. Skrypt może zrestartować Apache, jeśli istnieje nowy plik "
+"konfiguracyjny (/etc/mono-server2/mono-server-hosts.conf). Jeśli tak jest, "
+"to Apache zostanie zrestartowane, gdy istnieje nowy plik konfiguracyjny mono-"
+"server2-hosts."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Uruchomić w czasie rozruchu?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Jeśli opcja zostanie wybrana, to XSP4 będzie się uruchamiał automatycznie "
+"wraz ze startem systemu."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Przypisz do adresu:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"W celu poprawnego funkcjonowania, XSP4 musi zostać powiązany z adresem IP. "
+"Domyślne ustawienie (\"0.0.0.0\") przypisuje do serwera wszystkie adresy, "
+"ale konieczne jest wybranie konkretnego portu. Aby użyć XSP4 jedynie "
+"lokalnie, proszę wpisać \"127.0.0.1\"."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Przypisz do portu:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP jest związany z konkretnym portem serwera. Najczęstsze wartości to: 80, "
+"8080 lub 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Wygląda na to, że istnieją strony w ASP.NET 1.0 skonfigurowane w /etc/mono-"
+"server1. Obsługa profilu 1.0 została usunięta z Mono .8 i nowszych wersji, "
+"dlatego dalsze udostępnianie stron ASP.NET 1.0 przez ten system będzie "
+"niemożliwe. Konieczna jest ponowna konfiguracja XSP tak, aby te strony "
+"używały profili 2.0 lub .0 zakładając, że aplikacja użytkownika jest "
+"kompatybilna. Proszę zapoznać się z mono-xsp2-admin(8) lub mono-xsp4-admin"
+"(8), aby dowiedzieć się jak utworzyć konfigurację ponownie, używając profili "
+"2.0 lub 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Jeśli opcja zostanie wybrana, to XSP2 będzie się uruchamiał automatycznie "
+"wraz ze startem systemu."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"W celu poprawnego funkcjonowania, XSP2 musi zostać powiązany z adresem IP. "
+"Domyślne ustawienie (\"0.0.0.0\") przypisuje do serwera wszystkie adresy, "
+"ale konieczne jest wybranie konkretnego portu. Aby użyć XSP2 jedynie "
+"lokalnie, proszę wpisać \"127.0.0.1\"."
diff --git a/debian/po/pt.po b/debian/po/pt.po
new file mode 100644
index 0000000..0e96aa6
--- /dev/null
+++ b/debian/po/pt.po
@@ -0,0 +1,208 @@
+# Portuguese translation of xsp's debconf messages.
+# 2005, Luís Ferreira <anarka at gmail.com>
+#
+# 31-10-2005 - Luís Ferreira <anarka at gmail.com>- Initial translation
+# Miguel Figueiredo <elmig at debianpt.org>, 2007-2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-04-03 11:27+0100\n"
+"Last-Translator: Miguel Figueiredo <elmig at debianpt.org>\n"
+"Language-Team: Portuguese <traduz at debianpt.org>\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
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Permitir que o mono-apache-server4 reinicie o Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"A versão Debian do mono-apache-server4 inclui um script mono-server-update "
+"que cria um ficheiro de configuração para o apache iniciar as aplicações ASP."
+"NET, e o mono-server-update pode reiniciar o apache se existir um novo "
+"ficheiro de configuração (/etc/mono-server4/mono-server-hosts.conf). Se isto "
+"for verdade, então o apache irá ser reiniciado quando existir um novo "
+"ficheiro mono-server4-hosts.conf."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Foi removido o suporte a ASP.NET 1.0"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Parece ter alguns sítios ASP.NET 1.0 configurados em /etc/mono-server1. O "
+"suporte para o perfil 1.0 foi removido nas versões 2.8 e superiores do Mono, "
+"e já não é possível servir sítios ASP.NET 1.0. Tem de reconfigurar o XSP "
+"para servir estes sítios utilizando os perfis 2.0 ou 4.0, assumindo que a "
+"sua aplicação é compatível. Por favor veja mono-server2-admin(8) ou mono-"
+"server4-admin(8) para ver como gerar novamente uma configuração para "
+"utilizar com os perfis 2.0 ou 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Permitir que o mono-apache-server2 reinicie o Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"A versão Debian do mono-apache-server2 inclui um script mono-server-update "
+"que cria um ficheiro de configuração para o apache iniciar as aplicações ASP."
+"NET, e o mono-server-update pode reiniciar o apache se existir um novo "
+"ficheiro de configuração (/etc/mono-server/mono-server2-hosts.conf). Se isto "
+"for verdade, então o apache irá ser reiniciado quando existir um novo "
+"ficheiro mono-server2-hosts.conf."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Iniciar no arranque?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Se isto for verdade, então o XSP irá iniciar automaticamente quando o "
+"computador for ligado."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Ligar ao endereço:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Para funcionar correctamente, o XSP4 necessita de ser ligado a um endereço "
+"IP. O endereço predefinido (\"0.0.0.0\") liga a todos os endereços do "
+"servidor, mas pode ser escolhido um porto especifico. Para utilizar o XSP4 "
+"apenas localmente, utilize \"127.0.0.1\" como endereço."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Ligar ao porto:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"O XSP é ligado a um porto especifico no servidor. Os valores usuais são 80, "
+"8080 ou 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Parece ter alguns sítios ASP.NET 1.0 configurados em /etc/mono-server1. O "
+"suporte para o perfil 1.0 foi removido nas versões 2.8 e superiores do Mono, "
+"e já não é possível servir sítios ASP.NET 1.0. Tem de reconfigurar o XSP "
+"para servir estes sítios utilizando os perfis 2.0 ou 4.0, assumindo que a "
+"sua aplicação é compatível. Por favor veja mono-server2-admin(8) ou mono-"
+"server4-admin(8) para ver como gerar novamente uma configuração para "
+"utilizar com os perfis 2.0 ou 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Se isto for verdade, então o XSP2 irá iniciar automaticamente quando o "
+"computador for ligado."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Para funcionar correctamente, o XSP2 necessita de ser ligado a um endereço "
+"IP. A pré-definição (\"0.0.0.0\") liga a todos os endereços do servidor, mas "
+"pode ser escolhido um porto especifico. Para utilizar o XSP2 apenas "
+"localmente, utilize \"127.0.0.1\" como endereço."
+
+#~ msgid ""
+#~ "You appear to have some ASP.NET 1.0 sites configured in /etc/mono-"
+#~ "server1. Support for the 1.0 profile has been removed from Mono 2.8 and "
+#~ "above, and you are no longer able to serve ASP.NET 1.0 sites. You must "
+#~ "reconfigure XSP to serve these sites using either 2.0 or 4.0 profiles, "
+#~ "assuming your application is compatible. Please see mono-server2-admin(8) "
+#~ "or  mono-server4-admin(8) to see how to regenerate a configuration for "
+#~ "use   with 2.0 or 4.0 profiles."
+#~ msgstr ""
+#~ "Parece ter alguns sítios ASP.NET 1.0 configurados em /etc/mono-server1. O "
+#~ "suporte para o perfil 1.0 foi removido nas versões 2.8 e superiores do "
+#~ "Mono, e já não é possível servir sítios ASP.NET 1.0. Tem de reconfigurar "
+#~ "o XSP para servir estes sítios utilizando os perfis 2.0 ou 4.0, assumindo "
+#~ "que a sua aplicação é compatível. Por favor veja mono-server2-admin(8) ou "
+#~ "mono-server4-admin(8) para ver como gerar novamente uma configuração para "
+#~ "utilizar com os perfis 2.0 ou 4.0."
+
+#~ msgid ""
+#~ "Would you like to autostart the XSP process when you start your computer?."
+#~ msgstr "Deseja iniciar automaticamente o XSP quando inicia o computador?"
diff --git a/debian/po/ru.po b/debian/po/ru.po
new file mode 100644
index 0000000..b3adec5
--- /dev/null
+++ b/debian/po/ru.po
@@ -0,0 +1,207 @@
+# translation of ru.po to Russian
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the xsp package.
+#
+# Yuri Kozlov <kozlov.y at gmail.com>, 2008.
+# Yuri Kozlov <yuray at komyakino.ru>, 2009, 2011.
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp 2.10-1\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-04-03 14:36+0400\n"
+"Last-Translator: Yuri Kozlov <yuray at komyakino.ru>\n"
+"Language-Team: Russian <debian-l10n-russian at lists.debian.org>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Lokalize 1.0\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
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Позволять mono-apache-server4 перезапускать Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Debian-версия mono-apache-server4 включает сценарий mono-server4-update, "
+"который создаёт файл настройки apache для запуска приложений ASP.NET, а mono-"
+"server4-update позволяет перезапускать apache, если появляется новый файл "
+"настройки (/etc/mono-server4/mono-server-hosts.conf). Если вы ответите "
+"утвердительно, то apache будет перезапущен при появлении нового файла mono-"
+"server4-hosts.conf."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Удалена поддержка ASP.NET 1.0"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Возможно, для некоторых ваших сайтов в /etc/mono-server1 был настроен ASP."
+"NET 1.0. Поддержка профиля 1.0 была удалена из Mono 2.8 и выше, и вы больше "
+"не сможете обслуживать сайты с ASP.NET 1.0. Вы должны перенастроить XSP для "
+"обслуживания сайтов с помощью профиля 2.0 или 4.0, предполагая, что "
+"приложения с ними совместимо. О пересоздании настройки с использованием "
+"профилей  2.0 или 4.0 смотрите страницы mono-server2-admin(8) или mono-"
+"server4-admin(8)."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Позволять mono-apache-server2 перезапускать Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Debian-версия mono-apache-server2 включает сценарий mono-server2-update, "
+"который создаёт файл настройки apache для запуска приложений ASP.NET, а mono-"
+"server2-update позволяет перезапускать apache, если появляется новый файл "
+"настройки (/etc/mono-server2/mono-server2-hosts.conf). Если вы ответите "
+"утвердительно, то apache будет перезапущен при появлении нового файла mono-"
+"server2-hosts.conf."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Запускать XSP при включении компьютера?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Если вы ответите утвердительно, то XSP4 будет запускаться автоматически при "
+"включении компьютера."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Привязка к адресу:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Для правильной работы XSP4 нужно привязать к IP-адресу. По умолчанию "
+"используется «0.0.0.0», что означает привязку ко всем адресам сервера, но "
+"можно указать определённый порт. При использовании XSP4 только для локальной "
+"работы, введите «127.0.0.1»."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Привязка к порту:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP привязывается к определённому порту сервера. Обычно используются порты "
+"80, 8080 или 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Возможно, для некоторых ваших сайтов в /etc/mono-server1 был настроен ASP."
+"NET 1.0. Поддержка профиля 1.0 была удалена из Mono 2.8 и выше, и вы больше "
+"не сможете обслуживать сайты с ASP.NET 1.0. Вы должны перенастроить XSP для "
+"обслуживания сайтов с помощью профиля 2.0 или .0, предполагая, что "
+"приложения с ними совместимо. О пересоздании настройки с использованием "
+"профилей  2.0 или 4.0 смотрите страницы mono-xsp2-admin(8) или mono-xsp4-"
+"admin(8)."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Если вы ответите утвердительно, то XSP2 будет запускаться автоматически при "
+"включении компьютера."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Для правильной работы, XSP2 нужно привязать к IP-адресу. По умолчанию "
+"используется «0.0.0.0», что означает привязку ко всем адресам сервера, но "
+"можно указать определённый порт. При использовании XSP2 только для локальной "
+"работы, введите «127.0.0.1»."
+
+#~ msgid ""
+#~ "You appear to have some ASP.NET 1.0 sites configured in /etc/mono-"
+#~ "server1. Support for the 1.0 profile has been removed from Mono 2.8 and "
+#~ "above, and you are no longer able to serve ASP.NET 1.0 sites. You must "
+#~ "reconfigure XSP to serve these sites using either 2.0 or 4.0 profiles, "
+#~ "assuming your application is compatible. Please see mono-server2-admin(8) "
+#~ "or  mono-server4-admin(8) to see how to regenerate a configuration for "
+#~ "use   with 2.0 or 4.0 profiles."
+#~ msgstr ""
+#~ "Возможно, для некоторых ваших сайтов в /etc/mono-server1 был настроен ASP."
+#~ "NET 1.0. Поддержка профиля 1.0 была удалена из Mono 2.8 и выше, и вы "
+#~ "больше не сможете обслуживать сайты с ASP.NET 1.0. Вы должны "
+#~ "перенастроить XSP для обслуживания сайтов с помощью профиля 2.0 или 4.0, "
+#~ "предполагая, что приложения с ними совместимо. О пересоздании настройки с "
+#~ "использованием профилей  2.0 или 4.0 смотрите страницы mono-server2-admin"
+#~ "(8) или mono-server4-admin(8)."
diff --git a/debian/po/sl.po b/debian/po/sl.po
new file mode 100644
index 0000000..38868fe
--- /dev/null
+++ b/debian/po/sl.po
@@ -0,0 +1,200 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# Jan Kraljič <jan.kraljic at patware.si>, 2008, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp 1.2.5-2.2\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2011-04-04 08:04+0100\n"
+"Last-Translator: Jan Kraljič <jan.kraljic at patware.si>\n"
+"Language-Team: Slovene <LL at li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Ali naj mono-apache-server4 znova zažene Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Debian-ova verzija mono-apache-server4 vsebuje mono-server4-update skripto, "
+"ki ustvari konfiguracijsko datoteko za apache za zagon ASP.NET aplikacij, in "
+"mono-server-update, ki lahko resetira apache v primeru nove oziroma "
+"spremenjene konfiguracijske datoteke (/etc/mono-server/mono-server-hosts."
+"conf). V tem primeru je nato apache resetiran, ko so novosti v "
+"konfiguracijski datoteki"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "Podpora za ASP.NET 1.0 je bila umaknjena"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Zdi se da so nekatere ASP.NET 1.0 strani nastavljene za /etc/mono-server1. "
+"Podpora za 1.0 profil je bila ukinjena z verzijo Mono 2.8, in s tem uporaba "
+"ASP.NET 1.0 strani ni več možna. Vaš XSP strežnik morate ponovno nastaviti s "
+"profilom 2.0 ali 4.0, v kolikor je spletna aplikacija kompatibilna. Oglejte "
+"si mono-server2-admin(8) ali  mono-server4-admin(8)  za pomoč pri ponovni "
+"vzpostavitvi nastavitev s profilom 2.0 ali 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Dovolim ponovni zagon Apache zaradi mono-apache-server2?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Debian-ova verzija mono-apache-server2 vsebuje mono-server2-update skripto, "
+"ki ustvari konfiguracijsko datoteko za apache za zagon ASP.NET aplikacij, in "
+"mono-server2-update, ki lahko resetira apache v primeru nove oziroma "
+"spremenjene konfiguracijske datoteke (/etc/mono-server2/mono-server2-hosts."
+"conf). V tem primeru je nato apache resetiran, ko so novosti v "
+"konfiguracijski datoteki"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Zaženem XSP ob zagonu računalnika"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"V kolikor je odgovor pritrdilen se bo XSP4 avtomatično zagnal ob zagonu "
+"računalnika"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Povezan na naslov"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Da bi deloval pravilno mora biti XSP4 povezan na IP naslov. Privzeta "
+"vrednost  (\"0.0.0.0\") se povezuje na vse naslove strežnika vendar na "
+"sprecifična vrata, ki so izbrana. Za povezovanje XSP samo lokalno uporabite "
+"\"127.0.0.1\" za naslov."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Povezan na vrata:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP je povezan na specifična vrata na strežniku. Najbogostejša vrata so 80, "
+"8080 ali 8081"
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Zdi se da so nekatere ASP.NET 1.0 strani nastavljene za /etc/mono-server1. "
+"Podpora za 1.0 profil je bila ukinjena z verzijo Mono 2.8, in s tem uporaba "
+"ASP.NET 1.0 strani ni več možna. Vaš XSP strežnik morate ponovno nastaviti s "
+"profilom 2.0 ali 4.0, v kolikor je spletna aplikacija kompatibilna. Oglejte "
+"si mono-xsp2-admin(8) ali  mono-xsp4-admin(8) za pomoč pri ponovni "
+"vzpostavitvi nastavitev s profilom 2.0 ali 4.0."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"V kolikor je odgovor pritrdilen se bo XSP avtomatično zagnal ob zagonu "
+"računalnika"
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Da bi deloval pravilno mora biti XSP povezan na IP naslov. Privzeta "
+"vrednost  (\"0.0.0.0\") se povezuje na vse naslove strežnika vendar na "
+"sprecifična vrata, ki so izbrana. Za povezovanje XSP samo lokalno uporabite "
+"\"127.0.0.1\" za naslov."
+
+#~ msgid ""
+#~ "You appear to have some ASP.NET 1.0 sites configured in /etc/mono-"
+#~ "server1. Support for the 1.0 profile has been removed from Mono 2.8 and "
+#~ "above, and you are no longer able to serve ASP.NET 1.0 sites. You must "
+#~ "reconfigure XSP to serve these sites using either 2.0 or 4.0 profiles, "
+#~ "assuming your application is compatible. Please see mono-server2-admin(8) "
+#~ "or  mono-server4-admin(8) to see how to regenerate a configuration for "
+#~ "use   with 2.0 or 4.0 profiles."
+#~ msgstr ""
+#~ "Zdi se da so nekatere ASP.NET 1.0 strani nastavljene za /etc/mono-"
+#~ "server1. Podpora za 1.0 profil je bila ukinjena z verzijo Mono 2.8, in s "
+#~ "tem uporaba ASP.NET 1.0 strani ni več možna. Vaš XSP strežnik morate "
+#~ "ponovno nastaviti s profilom 2.0 ali 4.0, v kolikor je spletna aplikacija "
+#~ "kompatibilna. Oglejte si mono-server2-admin(8) ali  mono-server4-admin"
+#~ "(8)  za pomoč pri ponovni vzpostavitvi nastavitev s profilom 2.0 ali 4.0."
diff --git a/debian/po/sv.po b/debian/po/sv.po
new file mode 100644
index 0000000..d5d484d
--- /dev/null
+++ b/debian/po/sv.po
@@ -0,0 +1,183 @@
+# Translation of xsp debconf template to Swedish
+# Copyright (C) 2009, 2012 Martin Bagge <brother at bsnet.se>
+# This file is distributed under the same license as the xsp package.
+#
+# Martin Bagge <brother at bsnet.se>, 2009, 2012
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp_1.2.5-2.1_sv\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2012-03-04 23:58+0100\n"
+"Last-Translator: Martin Bagge / brother <brother at bsnet.se>\n"
+"Language-Team: swedish <debian-l10n-swedish at lists.debian.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Swedish\n"
+"X-Poedit-Country: Sweden\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Ska mono-apache-server4 starta om Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Debian-versionen av mono-apache-server4 inkluderar ett skript, mono-server4-"
+"update,som skapar en konfigurationsfil för Apache för att starta ASP.NET-"
+"applikationer. Skriptet mono-server4-update kan starta om Apache om det "
+"finns en ny konfigurationsfil (/etc/mono-server4/mono-server-hosts.conf). "
+"Apache kommer att startas om när det finns en ny mono-server4-hosts.conf-fil."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr "ASP.NET 1.0 stöd borttaget"
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Det verkar som att du har några ASP.NET 1.0-platser angivna i /etc/mono-"
+"server1. Stöd för 1.0-profilen har tagits bort i och med Mono 2.8 och senare "
+"och du kan inte längre servera ASP-NET 1.0-platser. DU måste ställa in XSP "
+"att servera dessa platser antingen som 2.0- eller 4.0-profiler, under "
+"förutsättning att din applikation är kompatibel. Läs mer i manualsidan mono-"
+"server2-admin(8) eller mono-server4-admin(8) för instruktioner om hur "
+"inställningen för 2.0- eller 4.0-profilerna kan skapas."
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Ska mono-apache-server2 starta om Apache?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Debian-versionen av mono-apache-server2 inkluderar ett skript, mono-server2-"
+"update,som skapar en konfigurationsfil för Apache för att starta ASP.NET-"
+"applikationer. Skriptet mono-server2-update kan starta om Apache om det "
+"finns en ny konfigurationsfil (/etc/mono-server2/mono-server-hosts.conf). "
+"Apache kommer att startas om när det finns en ny mono-server2-hosts.conf-fil."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Starta vid uppstart av systemet?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+"Om detta inträffar kommer XSP4 att starta automatiskt när datorn startar."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Vvilken adress ska användas?"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"För att XSP4 ska fungera korrekt måste den binads mot en IP-adress. "
+"Standardvärdet (\"0.0.0.0\") binder till alla adresser för servern men "
+"specifika portar kan användas. För att endast använda XSP4 lokalt använd "
+"\"127.0.0.1\" som adress."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Vilken port ska användas?"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"Vilken port vill du att XSP-processen ska använda sig av? Vanliga värden är "
+"80, 8080 eller 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+"Det verkar som att du har några ASP.NET 1.0-platser angivna i /etc/mono-"
+"server1. Stöd för 1.0-profilen har tagits bort i och med Mono 2.8 och senare "
+"och du kan inte längre servera ASP-NET 1.0-platser. DU måste ställa in XSP "
+"att servera dessa platser antingen som 2.0- eller 4.0-profiler, under "
+"förutsättning att din applikation är kompatibel. Läs mer i manualsidan mono-"
+"xsp2-admin(8) eller mono-xsp4-admin(8) för instruktioner om hur "
+"inställningen för 2.0- eller 4.0-profilerna kan skapas."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr "I så fall kommer XSP2 starta automatiskt när datorn startar."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"XSP2 fungerar inte korrekt utan att ställas in för att använda en särskild "
+"IP-adress. Standardvärdet är \"0.0.0.0\" och motsvarar alla förekommande IP-"
+"adresser i datorn för att sedan begränsa det till en särskild port. För att "
+"endast använda XSP2 lokalt anger du 2127.0.0.1\"."
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..1909f8b
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,147 @@
+# 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 <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
diff --git a/debian/po/vi.po b/debian/po/vi.po
new file mode 100644
index 0000000..dc4ea15
--- /dev/null
+++ b/debian/po/vi.po
@@ -0,0 +1,197 @@
+# Vietnamese translation for XSP.
+# Copyright © 2009 Free Software Foundation, Inc.
+# Clytie Siddall <clytie at riverland.net.au>, 2005-2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xsp 2.4.2-1.1\n"
+"Report-Msgid-Bugs-To: xsp at packages.debian.org\n"
+"POT-Creation-Date: 2011-12-21 07:13+0100\n"
+"PO-Revision-Date: 2009-10-08 18:00+0930\n"
+"Last-Translator: Clytie Siddall <clytie at riverland.net.au>\n"
+"Language-Team: Vietnamese <vi-VN at googlegroups.com>\n"
+"Language: vi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: LocFactoryEditor 1.8\n"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+#, fuzzy
+#| msgid "Let mono-apache-server restart Apache?"
+msgid "Let mono-apache-server4 restart Apache?"
+msgstr "Cho phép mono-apache-server khởi chạy lại Apache không?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server4.templates:1001
+#, fuzzy
+#| msgid ""
+#| "The Debian version of mono-apache-server includes a mono-server-update "
+#| "script that creates a configuration file for apache to start the ASP.NET "
+#| "applications, and mono-server-update can restart apache if there's a new "
+#| "configuration file (/etc/mono-server/mono-server-hosts.conf). If this is "
+#| "true, then apache will be restarted when there is a new mono-server-hosts."
+#| "conf file."
+msgid ""
+"The Debian version of mono-apache-server4 includes a mono-server4-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server4-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server4/mono-server-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server4-hosts."
+"conf file."
+msgstr ""
+"Phiên bản Debian của trình phục vụ mono-apache-server bao gồm một văn lệnh "
+"nâng cấp mono-server-update mà tạo một tập tin cấu hình cho apache để khởi "
+"chạy các ứng dụng ASP.NET, và mono-server-update cũng có thể khởi chạy lại "
+"apache nếu có một tập tin cấu hình mới (/etc/mono-server/mono-server-hosts."
+"conf). Có thì apache sẽ được khởi chạy lại khi có một tập tin cấu hình mono-"
+"server-hosts mới."
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid "ASP.NET 1.0 support removed"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../mono-apache-server4.templates:2001 ../mono-apache-server2.templates:2001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-server2-admin(8) or mono-server4-"
+"admin(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+msgid "Let mono-apache-server2 restart Apache?"
+msgstr "Cho phép mono-apache-server2 khởi chạy lại Apache ?"
+
+#. Type: boolean
+#. Description
+#: ../mono-apache-server2.templates:1001
+#, fuzzy
+#| msgid ""
+#| "The Debian version of mono-apache-server2 includes a mono-server2-update "
+#| "script that creates a configuration file for apache to start the ASP.NET "
+#| "applications, and mono-server2-update can restart apache if there's a new "
+#| "configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this "
+#| "is true, then apache will be restarted when there is a new mono-server2-"
+#| "hosts.conf file."
+msgid ""
+"The Debian version of mono-apache-server2 includes a mono-server2-update "
+"script that creates a configuration file for Apache to start the ASP.NET "
+"applications, and mono-server2-update can restart Apache if there's a new "
+"configuration file (/etc/mono-server2/mono-server2-hosts.conf). If this is "
+"true, then Apache will be restarted when there is a new mono-server2-hosts."
+"conf file."
+msgstr ""
+"Phiên bản Debian của trình phục vụ mono-apache-server2 bao gồm một văn lệnh "
+"nâng cấp mono-server2-update mà tạo một tập tin cấu hình cho apache để khởi "
+"chạy các ứng dụng ASP.NET, và mono-server2-update cũng có thể khởi chạy lại "
+"apache nếu có một tập tin cấu hình mới (/etc/mono-server2/mono-server2-hosts."
+"conf). Có thì apache được khởi chạy lại khi nào có một tập tin cấu hình mono-"
+"server2-hosts mới."
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001 ../mono-xsp2.templates:1001
+msgid "Start on boot?"
+msgstr "Khởi chạy khi khởi động ?"
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp4.templates:1001
+#, fuzzy
+#| msgid ""
+#| "If this is true, then XSP will automatically start when the computer is "
+#| "turned on."
+msgid ""
+"If this is true, then XSP4 will automatically start when the computer is "
+"turned on."
+msgstr "Bật tùy chọn này thì XPS sẽ tự động khởi chạy khi máy tính được mở."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001 ../mono-xsp2.templates:2001
+msgid "Bind to address:"
+msgstr "Đóng kết tới địa chỉ:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:2001
+#, fuzzy
+#| msgid ""
+#| "To function properly, XSP needs to be bound to an IP address. The default "
+#| "(\"0.0.0.0\") binds to all addresses of the server, but a specific port "
+#| "can be selected. To use XSP only locally, use \"127.0.0.1\" for the "
+#| "address."
+msgid ""
+"To function properly, XSP4 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP4 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Để chạy đúng, XSP cần được đóng kết tới một địa chỉ IP. Địa chỉ mặc định "
+"(0.0.0.0) thì đóng kết tới tất cả các địa chỉ của máy phục vụ, nhưng cũng có "
+"thể chọn một cổng cụ thể. Để sử dụng XSP chỉ một cách cục bộ, hãy dùng địa "
+"chỉ « 127.0.0.0 »."
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid "Bind to port:"
+msgstr "Đóng kết tới cổng:"
+
+#. Type: string
+#. Description
+#: ../mono-xsp4.templates:3001 ../mono-xsp2.templates:3001
+msgid ""
+"XSP is bound to a specific port on the server. Common values are 80, 8080, "
+"or 8081."
+msgstr ""
+"XSP được đóng kết tới một cổng cụ thể trên máy phục vụ. Các giá trị thường "
+"dùng là 80, 8080 hay 8081."
+
+#. Type: note
+#. Description
+#: ../mono-xsp4.templates:4001 ../mono-xsp2.templates:4001
+msgid ""
+"You appear to have some ASP.NET 1.0 sites configured in /etc/mono-server1. "
+"Support for the 1.0 profile has been removed from Mono 2.8 and above, and "
+"you are no longer able to serve ASP.NET 1.0 sites. You must reconfigure XSP "
+"to serve these sites using either 2.0 or 4.0 profiles, assuming your "
+"application is compatible. Please see mono-xsp2-admin(8) or mono-xsp4-admin"
+"(8) to see how to regenerate a configuration for use with 2.0 or 4.0 "
+"profiles."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mono-xsp2.templates:1001
+msgid ""
+"If this is true, then XSP2 will automatically start when the computer is "
+"turned on."
+msgstr "Bật tùy chọn này thì XSP2 sẽ tự động khởi chạy khi máy tính được mở."
+
+#. Type: string
+#. Description
+#: ../mono-xsp2.templates:2001
+msgid ""
+"To function properly, XSP2 needs to be bound to an IP address. The default "
+"(\"0.0.0.0\") binds to all addresses of the server, but a specific port can "
+"be selected. To use XSP2 only locally, use \"127.0.0.1\" for the address."
+msgstr ""
+"Để chạy đúng, XSP2 cần được đóng kết tới một địa chỉ IP. Địa chỉ mặc định "
+"(0.0.0.0) thì đóng kết tới tất cả các địa chỉ của máy phục vụ, nhưng cũng có "
+"thể chọn một cổng cụ thể. Để sử dụng XSP2 chỉ một cách cục bộ, hãy dùng địa "
+"chỉ « 127.0.0.0 »."
diff --git a/debian/postinst-monoxsp2 b/debian/postinst-monoxsp2
new file mode 100644
index 0000000..a41b688
--- /dev/null
+++ b/debian/postinst-monoxsp2
@@ -0,0 +1,8 @@
+if [ "$1" = "configure" ]; then
+    if [ -x /usr/sbin/mono-xsp2-update ]; then
+	/usr/sbin/mono-xsp2-update || true
+    fi
+    if [ -x /usr/sbin/mono-server2-update ]; then
+	/usr/sbin/mono-server2-update || true
+    fi
+fi
diff --git a/debian/postinst-monoxsp4 b/debian/postinst-monoxsp4
new file mode 100644
index 0000000..6a34b7c
--- /dev/null
+++ b/debian/postinst-monoxsp4
@@ -0,0 +1,8 @@
+if [ "$1" = "configure" ]; then
+    if [ -x /usr/sbin/mono-xsp4-update ]; then
+	/usr/sbin/mono-xsp4-update || true
+    fi
+    if [ -x /usr/sbin/mono-server4-update ]; then
+	/usr/sbin/mono-server4-update || true
+    fi
+fi
diff --git a/debian/postrm-monoxsp2 b/debian/postrm-monoxsp2
new file mode 100644
index 0000000..3322976
--- /dev/null
+++ b/debian/postrm-monoxsp2
@@ -0,0 +1,8 @@
+if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
+    if [ -x /usr/sbin/mono-xsp2-update ]; then
+	/usr/sbin/mono-xsp2-update || true
+    fi
+    if [ -x /usr/sbin/mono-server2-update ]; then
+	/usr/sbin/mono-server2-update || true
+    fi
+fi
diff --git a/debian/postrm-monoxsp4 b/debian/postrm-monoxsp4
new file mode 100644
index 0000000..8ac1a99
--- /dev/null
+++ b/debian/postrm-monoxsp4
@@ -0,0 +1,8 @@
+if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
+    if [ -x /usr/sbin/mono-xsp4-update ]; then
+	/usr/sbin/mono-xsp4-update || true
+    fi
+    if [ -x /usr/sbin/mono-server4-update ]; then
+	/usr/sbin/mono-server4-update || true
+    fi
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c5d9648
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,115 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export MONO_SHARED_DIR=$(CURDIR)
+
+MONO_ABI_COMP_VERSION = 2.10.1
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+DEBIAN_DIR = $(dir $(MAKEFILE))
+SOURCE_DIR = $(DEBIAN_DIR)/..
+
+# Perl code to figure out the current version and the next "potential" version
+VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Vers | cut -d\  -f2)
+UPVERSION = $(shell echo $(VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,')
+NEXT_UPVERSION = $(shell perl -e '$$_=pop; s/(\d+)$$/$$1+1/e; print' $(UPVERSION))
+DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2)
+
+override_dh_auto_build:
+	dh_auto_build
+	pod2man --section=8 \
+		$(CURDIR)/debian/mono-server4-admin \
+		> $(CURDIR)/debian/mono-server4-admin.8
+	pod2man --section=8 $(CURDIR)/debian/mono-server4-update \
+		> $(CURDIR)/debian/mono-server4-update.8
+	pod2man --section=8 \
+		$(CURDIR)/debian/mono-server2-admin \
+		> $(CURDIR)/debian/mono-server2-admin.8
+	pod2man --section=8 $(CURDIR)/debian/mono-server2-update \
+		> $(CURDIR)/debian/mono-server2-update.8
+	pod2man --section=8 $(CURDIR)/debian/mono-xsp4-admin \
+		> $(CURDIR)/debian/mono-xsp4-admin.8
+	pod2man --section=8 $(CURDIR)/debian/mono-xsp4-update \
+		> $(CURDIR)/debian/mono-xsp4-update.8
+	pod2man --section=8 $(CURDIR)/debian/mono-xsp2-admin \
+		> $(CURDIR)/debian/mono-xsp2-admin.8
+	pod2man --section=8 $(CURDIR)/debian/mono-xsp2-update \
+		> $(CURDIR)/debian/mono-xsp2-update.8
+
+	pod2man --section=1 $(CURDIR)/debian/dh_installxsp \
+		> $(CURDIR)/debian/dh_installxsp.1
+
+	cp $(CURDIR)/debian/mono-server4-update.8 \
+		$(CURDIR)/debian/update-mono-server4.8
+	cp $(CURDIR)/debian/mono-server2-update.8 \
+		$(CURDIR)/debian/update-mono-server2.8
+	cp $(CURDIR)/debian/mono-xsp4-update.8 \
+		$(CURDIR)/debian/update-mono-xsp4.8
+	cp $(CURDIR)/debian/mono-xsp2-update.8 \
+		$(CURDIR)/debian/update-mono-xsp2.8
+
+	touch build-stamp
+
+override_dh_clean:
+	rm -f $(CURDIR)/debian/*.8 $(CURDIR)/debian/*.1
+	dh_clean 
+
+override_dh_installman:
+	# Make version three variants on the manpages
+	cat debian/tmp/usr/share/man/man1/xsp.1 \
+		| sed 's/xsp/xsp2/g' \
+		> debian/tmp/usr/share/man/man1/xsp2.1
+	cat debian/tmp/usr/share/man/man1/xsp.1 \
+		| sed 's/xsp/xsp4/g' \
+		> debian/tmp/usr/share/man/man1/xsp4.1
+	cat debian/tmp/usr/share/man/man1/dbsessmgr.1 \
+		| sed 's/dbsessmgr/dbsessmgr2/g' \
+		> debian/tmp/usr/share/man/man1/dbsessmgr2.1
+	cat debian/tmp/usr/share/man/man1/dbsessmgr.1 \
+		| sed 's/dbsessmgr/dbsessmgr4/g' \
+		> debian/tmp/usr/share/man/man1/dbsessmgr4.1
+	cat debian/tmp/usr/share/man/man1/asp-state.1 \
+		| sed 's/asp-state/asp-state2/g' \
+		> debian/tmp/usr/share/man/man1/asp-state2.1
+	cat debian/tmp/usr/share/man/man1/asp-state.1 \
+		| sed 's/asp-state/asp-state4/g' \
+		> debian/tmp/usr/share/man/man1/asp-state4.1
+	cat debian/tmp/usr/share/man/man1/mod-mono-server.1 \
+		| sed 's/mono-server/mono-server2/g' \
+		> debian/tmp/usr/share/man/man1/mod-mono-server2.1
+	cat debian/tmp/usr/share/man/man1/mod-mono-server.1 \
+		| sed 's/mono-server/mono-server4/g' \
+		> debian/tmp/usr/share/man/man1/mod-mono-server4.1
+	cat debian/tmp/usr/share/man/man1/fastcgi-mono-server.1 \
+		| sed 's/mono-server/mono-server2/g' \
+		> debian/tmp/usr/share/man/man1/fastcgi-mono-server2.1
+	cat debian/tmp/usr/share/man/man1/fastcgi-mono-server.1 \
+		| sed 's/mono-server/mono-server4/g' \
+		> debian/tmp/usr/share/man/man1/fastcgi-mono-server4.1
+	DH_AUTOSCRIPTDIR=$(CURDIR)/debian/ debian/dh_installxsp -i -V 2
+	dh_installman
+
+override_dh_makeclilibs:
+	dh_makeclilibs -V
+
+override_dh_clideps:
+	dh_clideps -d
+
+override_dh_gencontrol:
+	dh_gencontrol -- -Vmono-abi-comp-version=$(MONO_ABI_COMP_VERSION)
+
+%:
+	dh $@ --with cli
+
+get-orig-source:
+	uscan \
+		--package $(DEB_SOURCE_NAME) \
+		--watchfile $(DEBIAN_DIR)/watch \
+		--upstream-version $(VERSION) \
+		--download-version $(VERSION) \
+		--destdir . \
+		--force-download \
+		--rename
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..241622c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://ftp.novell.com/pub/mono/sources/xsp/xsp-(.*)\.(?:zip|(?:tar\.(?:bz2|gz)))
diff --git a/debian/xsp.pm b/debian/xsp.pm
new file mode 100644
index 0000000..93d77a3
--- /dev/null
+++ b/debian/xsp.pm
@@ -0,0 +1,12 @@
+#!/usr/bin/perl
+# debhelper sequence file for xsp scripts
+
+use warnings;
+use strict;
+use Debian::Debhelper::Dh_Lib;
+
+# have to use dh_installdeb as those scripts need to run for
+# binary-arch and binary-indep packages
+insert_before("dh_installdeb", "dh_installxsp");
+
+1;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mono/packages/xsp.git



More information about the Pkg-mono-svn-commits mailing list