--- xsp-2.6.5.orig/debian/mono-apache-server1.install +++ xsp-2.6.5/debian/mono-apache-server1.install @@ -0,0 +1,5 @@ +debian/tmp/usr/lib/mono/1.0/mod-mono-server.exe +debian/tmp/usr/lib/mono/gac/mod-mono-server +debian/tmp/usr/bin/mod-mono-server1 +debian/tmp/usr/sbin/mono-server-admin +debian/tmp/usr/sbin/mono-server-update --- xsp-2.6.5.orig/debian/asp.net2-examples.hostxsp2 +++ xsp-2.6.5/debian/asp.net2-examples.hostxsp2 @@ -0,0 +1,5 @@ +# This is the configuration file +# for the aspnet-examples virtualhost +path = /usr/share/asp.net2-demos +alias = /samples +libs = /usr/lib/mono/2.0 --- xsp-2.6.5.orig/debian/mono-xsp1.preinst +++ xsp-2.6.5/debian/mono-xsp1.preinst @@ -0,0 +1,21 @@ +#!/bin/sh +set -e + +NAME=mono-xsp1 +DESC="XSP 1.1 WebServer" + +case "$1" in + upgrade|install) + if [ -f /etc/init.d/mono-xsp1 ]; then + if which invoke-rc.d >/dev/null 2>&1; then + invoke-rc.d mono-xsp1 stop + else + /etc/init.d/mono-xsp1 stop + fi + fi + ;; +esac + +#DEBHELPER# + +exit 0 --- xsp-2.6.5.orig/debian/postinst-monoxsp1 +++ xsp-2.6.5/debian/postinst-monoxsp1 @@ -0,0 +1,8 @@ +if [ "$1" = "configure" ]; then + if [ -x /usr/sbin/mono-xsp-update ]; then + /usr/sbin/mono-xsp-update || true + fi + if [ -x /usr/sbin/mono-server-update ]; then + /usr/sbin/mono-server-update || true + fi +fi --- xsp-2.6.5.orig/debian/mono-xsp2.postrm +++ xsp-2.6.5/debian/mono-xsp2.postrm @@ -0,0 +1,12 @@ +#!/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 +fi + +#DEBHELPER# + +exit 0 --- xsp-2.6.5.orig/debian/control +++ xsp-2.6.5/debian/control @@ -0,0 +1,155 @@ +Source: xsp +Section: web +Priority: optional +Maintainer: Debian Mono Group +Uploaders: Dylan R. E. Moonfire , Mirco Bauer , Jo Shields +Build-Depends: debhelper (>= 5.0.0), po-debconf, autotools-dev +Build-Depends-Indep: cli-common-dev (>= 0.5.4), + mono-devel (>= 2.4.3), + mono-1.0-devel (>= 2.4), + libmono-dev (>= 2.4), + 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: mono-xsp-base +Architecture: all +Depends: ${misc:Depends}, ${cli:Depends}, mono-devel, mono-1.0-devel, libmono-system-web1.0-cil (>= ${mono-abi-comp-version}) +Conflicts: mono-utils (<= 1.1.9.2-1) +Description: base libraries for XSP 1.1 + This is the core libraries needed to install the XSP application, + either through the standalone XSP version (mono-xsp) or the Apache module + (mono-apache-server). + +Package: mono-xsp2-base +Architecture: all +Depends: ${misc:Depends}, ${cli:Depends}, mono-devel, 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-xsp1 +Architecture: all +Depends: ${misc:Depends}, ${cli:Depends}, mono-xsp-base (= ${source:Version}), procps +Replaces: mono-xsp (<= 2.4) +Description: simple web server to run ASP.NET 1.1 applications + XSP is a simple web server written in C# that can be used to run your + ASP.NET 1.1 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-xsp2 (= ${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 1.1 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:XspServer1} +Description: demo pages for ASP.NET 1.1 infrastructure + Sample set of .aspx pages to test the XSP server or the mod_mono Apache + module. This does not include the ASP.NET 2.0 examples. + +Package: asp.net2-examples +Architecture: all +Depends: ${misc:Depends}, ${cli:Depends}, ${cli:XspServer2} +Description: demo pages for ASP.NET 1.1 and 2.0 infrastructure + Sample set of .aspx pages to test the XSP server or the mod_mono Apache + module. This is for the xsp2 and includes the 2.0 modules. + +Package: mono-apache-server1 +Architecture: all +Conflicts: mono-server +Replaces: mono-server, mono-apache-server (<= 2.4) +Depends: ${misc:Depends}, ${cli:Depends}, mono-xsp-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 +Replaces: mono-server +Depends: mono-apache-server2 (= ${source:Version}), ${misc:Depends} +Description: ASP.NET backend for mod_mono2 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-fastcgi-server1 +Architecture: all +Conflicts: mono-server +Replaces: mono-server, mono-fastcgi-server (<= 2.4) +Depends: ${misc:Depends}, ${cli:Depends}, mono-xsp-base (= ${source:Version}), perl-modules +Description: ASP.NET 1.1 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-server2 (= ${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. --- xsp-2.6.5.orig/debian/mono-xsp-reader.conf +++ xsp-2.6.5/debian/mono-xsp-reader.conf @@ -0,0 +1,109 @@ +#!/usr/bin/perl -w +# Automatic XSP file generator +# +# With this script the user (or daemon) can check if the 'big' XPS host +# file is ok and in the right sintax, if there is an error it will exit +# and print the reason in the format: *SORRY*: message. +# +# Under GPL, please read: +# http://www.gnu.org/copyleft/gpl.html +# +# Written by: Pablo Fischer + +use strict; + +#Main vars.. +my ($xsp_dir, $xsp_confd, $xsp_hostfile); + +#Setup main vars +$xsp_dir = "/etc/xsp"; +$xsp_confd = "$xsp_dir/conf.d"; +$xsp_hostfile = "$xsp_dir/mono-xsp-hosts.conf"; + + +#Check if the user have write access to $xsp_hostfile +if( ( -e "$xsp_hostfile" && ! -w "$xsp_hostfile" ) || ! -w "$xsp_dir" ) { + print "mono-host-reader requires to be executed as root\n" ; + exit 1 ; +} + +if( ! -f "$xsp_hostfile" ) { + print "Sorry\, but you don't have $xsp_hostfile\n"; + exit 0; +} + + +my $opened_section = 0; +my $applications = ""; + +my ($path, $alias); +#1 -> true +#0 -> false +#Ok, open the file for read mode +open(HOSTFILE, $xsp_hostfile); +#.. read it! +#Line counter +my $counter = 0; +while(my $line = ) { + $counter++; + if($line =~ /begin/i) { + if($opened_section eq "1") { + print "Sorry\, but you are opening a section before closing the last one (line $counter)\n"; + last; + } + else { + $opened_section = "1"; + } + } + + if($line =~ /end/i) { + if($opened_section eq "0") { + print "Sorry\, but you are closing an unopened section (line $counter)\n"; + } + else { + $opened_section = "0"; + $applications = "$applications$alias:$path,"; + } + } + + if($line =~ /path/i) { + if($opened_section eq "0") { + print "Sorry\, but you have a path in a unopened section (line $counter)\n"; + last; + } + else { + #Ok, the directory exists? + my $dir = (split /\=/, $line)[1]; + #Remove blank spaces + $dir =~ tr/\ //d; + #remove that \n + $dir =~ s/\n//; + if ( ! -d "$dir" ) { + print "Sorry\, but you have a path that doesn't exists in your system! (line $counter)\n"; + last; + } + else { + $path = $dir; + } + } + } + + if($line =~ /alias/i) { + if($opened_section eq "0") { + print "Sorry\, but you have an alias in a unopened section (line $counter)\n"; + last; + } + else { + $alias = (split /\=/, $line)[1]; + #Blank Spaces + $alias =~ tr/\ //d; + #New lines.. + $alias =~ s/\n//; + + } + } +} + +close(HOSTFILE); +$applications =~ s/,$//; +print $applications; --- xsp-2.6.5.orig/debian/mono-xsp2.dirs +++ xsp-2.6.5/debian/mono-xsp2.dirs @@ -0,0 +1,3 @@ +usr/bin +etc/xsp2 +etc/xsp2/conf.d --- xsp-2.6.5.orig/debian/mono-apache-server1.default +++ xsp-2.6.5/debian/mono-apache-server1.default @@ -0,0 +1,4 @@ +# Defaults for mono-apache-server + +# Should mono-apache-server start apache? +start_apache=false --- xsp-2.6.5.orig/debian/mono-server-update.conf +++ xsp-2.6.5/debian/mono-server-update.conf @@ -0,0 +1,364 @@ +#!/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-server-update - creates .webapp and .host file for mod_mono and mono-server + +=head1 SYNOPSIS + +mono-server-update + +=head1 DESCRIPTION + + mono-server-update is a perl tool to update/create a .webapp and a .host file in + /etc/mono-server. + + 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-server/conf.d + + For more information read the README.Debian of this package (/usr/share/doc/mono-server/README.Debian). + +=head1 AUTHOR + + Pablo Fischer + +=cut + +use strict; +use Digest::MD5; + +#Main vars.. +my ($monoserver_dir, $monoserver_confd, $monoserver_hostfile, $monoserver_webapp, + $daemon, $daemon_pid, $default_file, + $applications, $libs, $daemon2, $daemon2_pid); + +#Setup main vars +$monoserver_dir = "/etc/mono-server"; +$monoserver_confd = "$monoserver_dir/conf.d"; +$monoserver_webapp = "$monoserver_dir/debian.webapp"; +$monoserver_hostfile = "$monoserver_dir/mono-server-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-server"; +$libs = ""; + +my $restart = "yes"; +my $first_file = "yes"; +my ($orig_md5, $new_md5); + +#Check write access to $monoserver_hostfile +if( ( -e "$monoserver_hostfile" && ! -w "$monoserver_hostfile" ) || ! -w "$monoserver_dir" ) { + print "mono-xsp-update requires write access to $monoserver_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 "$monoserver_hostfile.tmp") { + #Prepare the application string + $applications =~ s/,$//; + #and the libs.. + $libs = "/usr/lib/mono/1.0:/usr/lib:$libs"; + $libs =~ s/:$//; + #sed the $monoserver_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 $monoserver_hostfile.tmp $monoserver_hostfile"); + #rm the temp + system("rm -Rf $monoserver_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 $monoserver_hostfile ) { + open(HOSTFILE, $monoserver_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 = ) { + if($line =~ /start_apache/i) { + if($line =~ /true/i) { + $restart = "yes"; + } + else { + $restart = "no"; + } + } + } + close(DEFAULT_FILE); + } +} + + +sub read_dir { + opendir(DIR, $monoserver_confd); + my @host_dirs = sort (grep { -d "$monoserver_confd/$_" } readdir(DIR)); + closedir(DIR); + + #to verify that the cfg file is new.. we should create a new one + system("rm -Rf $monoserver_hostfile"); + system("touch $monoserver_hostfile"); + #also to the debian.webapp + system("rm -Rf $monoserver_webapp"); + system("touch $monoserver_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, "$monoserver_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 = "$monoserver_confd/$dir/$hostfile"; + write_tempxsphostfile($hostfile); + } + } + } + } + } + } +} + +sub replace_applications { + local $/; + + open(TEMPHOST, "$monoserver_hostfile.tmp"); + my $content = ; + close(TEMPHOST); + + if($applications) { + $content =~ s/MonoApplications .*/MonoApplications $applications/gi; + } + else { + $content =~ s/MonoApplications//gi; + } + + open(TEMPHOST, "> $monoserver_hostfile.tmp"); + print TEMPHOST $content; + close(TEMPHOST); +} + + +sub replace_monopath { + local $/; + + open(TEMPHOST, "$monoserver_hostfile.tmp"); + my $content = ; + close(TEMPHOST); + + if($libs) { + $content =~ s/MonoPath .*/MonoPath default $libs/gi; + } + else { + $content =~ s/MonoPath default//gi; + } + + open(TEMPHOST, "> $monoserver_hostfile.tmp"); + print TEMPHOST $content; + close(TEMPHOST); +} + +sub write_tempdefault_start { + open(TEMPHOST, ">> $monoserver_hostfile.tmp"); + + print TEMPHOST "# Default configuration, don't edit it!\n"; + print TEMPHOST "\n"; + print TEMPHOST " MonoUnixSocket default /tmp/.mod_mono_server\n"; + print TEMPHOST " MonoServerPath default /usr/bin/mod-mono-server\n"; + print TEMPHOST " AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx\n"; + print TEMPHOST " MonoApplicationsConfigDir default /etc/mono-server\n"; + print TEMPHOST " MonoPath default \n"; + + close(TEMPHOST); + + open(TEMPWEBAPP, ">> $monoserver_webapp"); + print TEMPWEBAPP "\n"; + close(TEMPWEBAPP); + +} + +sub write_tempdefault_end { + open(TEMPHOST, ">> $monoserver_hostfile.tmp"); + print TEMPHOST "\n"; + close(TEMPHOST); + + #Now the debian.webapp + open(TEMPWEBAPP, ">> $monoserver_webapp"); + print TEMPWEBAPP "\n"; + close(TEMPWEBAPP); + +} + + +sub write_tempxsphostfile { + my $hostfile = shift; + + #Write the content to a temp file.. + open(TEMPHOST, ">> $monoserver_hostfile.tmp"); + open(TEMPWEBAPP, ">> $monoserver_webapp"); + + #And open the hostfile.. + open(HOSTFILE, "$hostfile"); + #Read it.. + my @content_hostfile = ; + #Close it.. + close(HOSTFILE); + #Write the header to the monoserver_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 " \n"; + print TEMPWEBAPP " $name\n"; + print TEMPWEBAPP " $alias\n"; + print TEMPWEBAPP " $path\n"; + print TEMPWEBAPP " $vhost\n"; + print TEMPWEBAPP " $port\n"; + print TEMPWEBAPP " \n"; + + print TEMPHOST "# start $hostfile\n"; + print TEMPHOST " Alias $alias \"$path\"\n"; + print TEMPHOST " AddMonoApplications default \"$alias:$path\"\n"; + print TEMPHOST " \n"; + print TEMPHOST " SetHandler mono\n"; + print TEMPHOST " \n"; + print TEMPHOST " DirectoryIndex index.aspx\n"; + print TEMPHOST " \n"; + print TEMPHOST " \n"; + print TEMPHOST "# end $hostfile\n"; + + } + close(TEMPHOST); + close(TEMPWEBAPP); +} --- xsp-2.6.5.orig/debian/mono-fastcgi-server2.docs +++ xsp-2.6.5/debian/mono-fastcgi-server2.docs @@ -0,0 +1,3 @@ +NEWS +README +AUTHORS --- xsp-2.6.5.orig/debian/asp.net2-examples.install +++ xsp-2.6.5/debian/asp.net2-examples.install @@ -0,0 +1 @@ +debian/tmp/usr/share/asp.net2-demos --- xsp-2.6.5.orig/debian/mono-apache-server1.dirs +++ xsp-2.6.5/debian/mono-apache-server1.dirs @@ -0,0 +1,3 @@ +usr/bin +etc/mono-server +etc/mono-server/conf.d --- xsp-2.6.5.orig/debian/dirs +++ xsp-2.6.5/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/sbin +usr/share/man/man8 +usr/share/man/man1 --- xsp-2.6.5.orig/debian/asp.net2-examples.dirs +++ xsp-2.6.5/debian/asp.net2-examples.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/asp.net2-demos --- xsp-2.6.5.orig/debian/mono-xsp1.init +++ xsp-2.6.5/debian/mono-xsp1.init @@ -0,0 +1,102 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: mono-xsp +# 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 XSP +# Description: Debian init script for Mono XSP. +### END INIT INFO +# +# Written by Pablo Fischer +# Dylan R. E. Moonfire +# Modified for Debian GNU/Linux +# +# Version: @(#)mono-xsp pablo@pablo.com.mx +# + +# Variables +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/bin/xsp1 +NAME=mono-xsp1 +DESC="XSP 1.1 WebServer" +DEFAULT=/etc/default/$NAME +CFGDIR=/etc/xsp +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 xsp (like asp.net-examples)" + return 1 + fi + + if [ -f /var/run/$NAME.pid ]; then + # Are we really running xsp? + xsp_pid=`cat /var/run/$NAME.pid` + xsp_ps=`ps -p $xsp_pid | wc -l` + if [ "$xsp_ps" != "1" ]; then + log_action_msg "Sorry, there is already a xsp 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 'xsp.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 --- xsp-2.6.5.orig/debian/mono-server2-admin.conf +++ xsp-2.6.5/debian/mono-server2-admin.conf @@ -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 + +=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; +} --- xsp-2.6.5.orig/debian/asp.net-examples.dirs +++ xsp-2.6.5/debian/asp.net-examples.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/asp.net-demos/1.1 --- xsp-2.6.5.orig/debian/mono-xsp2.manpages +++ xsp-2.6.5/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 --- xsp-2.6.5.orig/debian/mono-apache-server1.config +++ xsp-2.6.5/debian/mono-apache-server1.config @@ -0,0 +1,30 @@ +#!/bin/bash -e + +. /usr/share/debconf/confmodule +db_version 2.0 +db_capb backup +db_title ModMono Server + +STATE=1 +while [ "$STATE" != 0 -a "$STATE" != 2 ]; do + case "$STATE" in + 1) + db_input medium monoserver/monoserver_restartapache || true + if db_go; then + db_get monoserver/monoserver_restartapache || true + if [ "$RET" = "true" ]; then + STATE=2 + else + db_set monoserver/monoserver_restartapache false || true + STATE=2 + fi + else + STATE=0 + fi + ;; + esac +done + +if [ "$STATE" = 0 ]; then + exit 1 +fi --- xsp-2.6.5.orig/debian/mono-xsp.links +++ xsp-2.6.5/debian/mono-xsp.links @@ -0,0 +1,7 @@ +usr/bin/asp-state2 usr/bin/asp-state +usr/bin/dbsessmgr2 usr/bin/dbsessmgr +usr/bin/xsp2 usr/bin/xsp +usr/share/man/man1/xsp2.1.gz usr/share/man/man1/xsp.1.gz +usr/share/man/man1/dbsessmgr2.1.gz usr/share/man/man1/dbsessmgr.1.gz +usr/share/man/man1/asp-state2.1.gz usr/share/man/man1/asp-state.1.gz + --- xsp-2.6.5.orig/debian/mono-xsp-base.install +++ xsp-2.6.5/debian/mono-xsp-base.install @@ -0,0 +1,8 @@ +debian/tmp/usr/lib/mono/1.0/Mono.WebServer.dll +debian/tmp/usr/lib/mono/gac/Mono.WebServer +debian/tmp/usr/lib/pkgconfig/xsp.pc +debian/dh_installxsp /usr/bin +debian/postrm-monoxsp1 /usr/share/debhelper/autoscripts +debian/postrm-monoxsp2 /usr/share/debhelper/autoscripts +debian/postinst-monoxsp1 /usr/share/debhelper/autoscripts +debian/postinst-monoxsp2 /usr/share/debhelper/autoscripts --- xsp-2.6.5.orig/debian/dh_installxsp +++ xsp-2.6.5/debian/dh_installxsp @@ -0,0 +1,145 @@ +#!/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 [S>] [B<--name=>I] [B<-V >I] + +=head1 DESCRIPTION + +dh_installxsp is a debhelper program that will install host +configuration files in /etc/xsp/conf.d and /etc/mono-server/conf.d +(for XSP) or /etc/xsp2/conf.d and /etc/mono-server2/conf.d (for XSP +2). So, if xsp (or xsp 2) is install or will be installed, when xsp +starts it automatically starts the daemon with the host file. + +The files debian/package.hostxsp are installed for XSP while +debian/package.hostxsp2 are used for XSP 2. + +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 + +Look for files named debian/package.hostxsp and install them as +/etc/xsp/conf.d/package/hostfile. + +=item B<-V >I + +Installs the files for XSP (B<-V 1>), XSP 2.0 (B<-V 2>), or both (B<-V +1,2>). If this version is not specified (or just B<-V> is given), this +only installed files for XSP, not XSP 2. + +=back + +=cut + +# Initialize debhelper +init(); + +# Figure out what versions we want to install +my ($install_xsp_1, $install_xsp_2) = (0, 0); +$install_xsp_1 = 1 if ($dh{V_FLAG_SET} && $dh{V_FLAG} =~ /1/); +$install_xsp_2 = 1 if ($dh{V_FLAG_SET} && $dh{V_FLAG} =~ /2/); +$install_xsp_1 = 1 if !$install_xsp_1 && !$install_xsp_2; +$install_xsp_1 = 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 and/or XSP 2 + process_xsp($package, "1") if $install_xsp_1; + process_xsp($package, "2") if $install_xsp_2; +} + +# This handles the installation of the actual files. This assumes that +# $version has "" or "2" (or "3" 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"); + + # 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 + +This program is a part of mono-utils. + +=head1 AUTHOR + +Originally written by Pablo Fischer . Modified by +Dylan R. E. Moonfire to handle XSP and XSP 2 +installation. + +=cut --- xsp-2.6.5.orig/debian/mono-fastcgi-server2.README.Debian +++ xsp-2.6.5/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 , Thu Jul 3 10:05:17 2008 --- xsp-2.6.5.orig/debian/mono-fastcgi-server.links +++ xsp-2.6.5/debian/mono-fastcgi-server.links @@ -0,0 +1,2 @@ +usr/bin/fastcgi-mono-server2 usr/bin/fastcgi-mono-server +usr/share/man/man1/fastcgi-mono-server2.1.gz usr/share/man/man1/fastcgi-mono-server.1.gz --- xsp-2.6.5.orig/debian/mono-apache-server2.dirs +++ xsp-2.6.5/debian/mono-apache-server2.dirs @@ -0,0 +1,3 @@ +usr/bin/ +etc/mono-server2 +etc/mono-server2/conf.d --- xsp-2.6.5.orig/debian/mono-xsp1.default +++ xsp-2.6.5/debian/mono-xsp1.default @@ -0,0 +1,16 @@ +# Defaults for mono-xsp, official version +# sourced by /etc/init.d/mono-xsp + +# Should we start it? +start_boot=true + +# User and group by default +user=www-data +group=www-data + +# Default port +port=8080 +address=0.0.0.0 + +# Directory for config files +config_files=/etc/xsp --- xsp-2.6.5.orig/debian/mono-server2-update.conf +++ xsp-2.6.5/debian/mono-server2-update.conf @@ -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 + +=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 = ) { + 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 = ; + 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 = ; + 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 "\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 "\n"; + close(TEMPWEBAPP); + +} + +sub write_tempdefault_end { + open(TEMPHOST, ">> $monoserver2_hostfile.tmp"); + print TEMPHOST "\n"; + close(TEMPHOST); + + #Now the debian.webapp + open(TEMPWEBAPP, ">> $monoserver2_webapp"); + print TEMPWEBAPP "\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 = ; + #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 " \n"; + print TEMPWEBAPP " $name\n"; + print TEMPWEBAPP " $alias\n"; + print TEMPWEBAPP " $path\n"; + print TEMPWEBAPP " $vhost\n"; + print TEMPWEBAPP " $port\n"; + print TEMPWEBAPP " \n"; + + print TEMPHOST "# start $hostfile\n"; + print TEMPHOST " Alias $alias \"$path\"\n"; + print TEMPHOST " AddMonoApplications default \"$alias:$path\"\n"; + print TEMPHOST " \n"; + print TEMPHOST " SetHandler mono\n"; + print TEMPHOST " \n"; + print TEMPHOST " DirectoryIndex index.aspx\n"; + print TEMPHOST " \n"; + print TEMPHOST " \n"; + print TEMPHOST "# end $hostfile\n"; + + } + close(TEMPHOST); + close(TEMPWEBAPP); +} --- xsp-2.6.5.orig/debian/mono-apache-server2.default +++ xsp-2.6.5/debian/mono-apache-server2.default @@ -0,0 +1,4 @@ +# Defaults for mono-apache-server2 + +# Should mono-apache-server2 start apache? +start_apache=false --- xsp-2.6.5.orig/debian/mono-xsp1.install +++ xsp-2.6.5/debian/mono-xsp1.install @@ -0,0 +1,11 @@ +debian/tmp/usr/bin/asp-state1 +debian/tmp/usr/bin/dbsessmgr1 +debian/tmp/usr/bin/xsp1 +debian/tmp/usr/lib/xsp/1.0/asp-state.exe +debian/tmp/usr/lib/xsp/1.0/asp-state.exe.config +debian/tmp/usr/lib/xsp/1.0/dbsessmgr.exe +debian/tmp/usr/lib/xsp/1.0/dbsessmgr.exe.config +debian/tmp/usr/lib/mono/1.0/xsp.exe +debian/tmp/usr/lib/mono/gac/xsp +debian/tmp/usr/sbin/mono-xsp-update +debian/tmp/usr/sbin/mono-xsp-admin --- xsp-2.6.5.orig/debian/mono-xsp2.templates +++ xsp-2.6.5/debian/mono-xsp2.templates @@ -0,0 +1,22 @@ +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. --- xsp-2.6.5.orig/debian/README.Debian +++ xsp-2.6.5/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 , 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 , Thu, 3 Jul 2008 09:25:00 +0100 --- xsp-2.6.5.orig/debian/compat +++ xsp-2.6.5/debian/compat @@ -0,0 +1 @@ +5 --- xsp-2.6.5.orig/debian/mono-fastcgi-server2.install +++ xsp-2.6.5/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 --- xsp-2.6.5.orig/debian/mono-xsp1.postrm +++ xsp-2.6.5/debian/mono-xsp1.postrm @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +if [ "$1" = "purge" ]; then + rm -f /etc/xsp/debian.webapp + #update-rc.d + update-rc.d -f mono-xsp1 remove > /dev/null 2>&1 +fi + +#DEBHELPER# + +exit 0 --- xsp-2.6.5.orig/debian/mono-xsp2.init +++ xsp-2.6.5/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 +# Dylan R. E. Moonfire +# Modified for Debian GNU/Linux +# +# Version: @(#)mono-xsp2 pablo@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 --- xsp-2.6.5.orig/debian/rules +++ xsp-2.6.5/debian/rules @@ -0,0 +1,191 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 +export MONO_SHARED_DIR=$(CURDIR) + +MONO_ABI_COMP_VERSION = 2.6 + +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)/.. + +DEB_VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Version | cut -d" " -f2) +DEB_SOURCE_NAME = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | grep ^Source | cut -d" " -f2) +VERSION = $(shell echo $(DEB_VERSION) | cut -d"-" -f1 | sed 's/+dfsg.*//') + +# Perl code to figure out the current version and the next "potential" version +DPKG_VERSION ?= $(shell head -n 1 debian/changelog | cut -f 2 -d '(' | cut -f 1 -d ')') +PKG_VERSION ?= $(shell echo $(DPKG_VERSION) | cut -f 1 -d '-' | cut -f 1-3 -d '.') +NEXT_PKG_VERSION ?= $(shell echo $(PKG_VERSION) | perl -e '$$_=<>;/\.(\d+)$$/;$$a=$$1+1;s/\.(\d+)$$/.$$a/;print;') + +configure: configure-stamp templates.pot +configure-stamp: + dh_testdir + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/xsp.sgml > xsp.1 + pod2man --section=8 \ + $(CURDIR)/debian/mono-server-admin.conf \ + > $(CURDIR)/debian/mono-server-admin.8 + pod2man --section=8 $(CURDIR)/debian/mono-server-update.conf \ + > $(CURDIR)/debian/mono-server-update.8 + pod2man --section=8 \ + $(CURDIR)/debian/mono-server2-admin.conf \ + > $(CURDIR)/debian/mono-server2-admin.8 + pod2man --section=8 $(CURDIR)/debian/mono-server2-update.conf \ + > $(CURDIR)/debian/mono-server2-update.8 + pod2man --section=8 $(CURDIR)/debian/mono-xsp-admin.conf \ + > $(CURDIR)/debian/mono-xsp-admin.8 + pod2man --section=8 $(CURDIR)/debian/mono-xsp-update.conf \ + > $(CURDIR)/debian/mono-xsp-update.8 + pod2man --section=8 $(CURDIR)/debian/mono-xsp2-admin.conf \ + > $(CURDIR)/debian/mono-xsp2-admin.8 + pod2man --section=8 $(CURDIR)/debian/mono-xsp2-update.conf \ + > $(CURDIR)/debian/mono-xsp2-update.8 + + cp $(CURDIR)/debian/mono-server-update.8 \ + $(CURDIR)/debian/update-mono-server.8 + cp $(CURDIR)/debian/mono-server2-update.8 \ + $(CURDIR)/debian/update-mono-server2.8 + cp $(CURDIR)/debian/mono-xsp-update.8 \ + $(CURDIR)/debian/update-mono-xsp.8 + cp $(CURDIR)/debian/mono-xsp2-update.8 \ + $(CURDIR)/debian/update-mono-xsp.8 + + touch build-stamp + +templates.pot: $(wildcard debian/*.templates) + debconf-updatepo + +clean: clean-patched +clean-patched: + dh_testdir + dh_testroot + rm -f config.log + [ ! -f Makefile ] || $(MAKE) distclean + rm -rf server + # moved below the clean so the configured-stuff cleans properly + rm -rf $$MONO_SHARED_DIR/.wapi + rm -f $(CURDIR)/debian/*.8 $(CURDIR)/debian/*.1 + debconf-updatepo + rm -f build-stamp configure-stamp config.status + find . -name "*.exe" -exec rm {} \; + find . -name "*.exe.mdb" -exec rm {} \; + find . -name "*.dll" -exec rm {} \; + find . -name "*.dll.mdb" -exec rm {} \; + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + +# Fix permissions + find debian/tmp -name "*.config" -or -name "*.gif" \ + | xargs chmod a-x + +# Move things into Debian-specific places + cp -r debian/tmp/usr/lib/xsp/test \ + debian/tmp/usr/share/asp.net2-demos + mv debian/tmp/usr/lib/xsp/test \ + debian/tmp/usr/share/asp.net-demos + rm -rf debian/tmp/usr/share/asp.net-demos/2.0 + + # Make version two 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 + cp debian/tmp/usr/share/man/man1/xsp.1 debian/tmp/usr/share/man/man1/xsp1.1 + cat debian/tmp/usr/share/man/man1/dbsessmgr.1 \ + | sed 's/dbsessmgr/dbsessmgr2/g' \ + > debian/tmp/usr/share/man/man1/dbsessmgr2.1 + cp debian/tmp/usr/share/man/man1/dbsessmgr.1 debian/tmp/usr/share/man/man1/dbsessmgr1.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 + cp debian/tmp/usr/share/man/man1/asp-state.1 debian/tmp/usr/share/man/man1/asp-state1.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 + cp debian/tmp/usr/share/man/man1/mod-mono-server.1 debian/tmp/usr/share/man/man1/mod-mono-server1.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 + cp debian/tmp/usr/share/man/man1/fastcgi-mono-server.1 debian/tmp/usr/share/man/man1/fastcgi-mono-server1.1 + +# Make dh_installxsp man pages + cd debian && \ + for x in dh_installxsp; \ + do chmod +x $$x; pod2man $$x > $$x.1 ; done + +# Debian control files + mkdir -p debian/tmp/usr/sbin + for f in mono-xsp-update mono-xsp-admin \ + mono-xsp2-update mono-xsp2-admin \ + mono-server-admin mono-server-update \ + mono-server2-admin mono-server2-update; \ + do \ + install -m 755 debian/$$f.conf \ + debian/tmp/usr/sbin/$$f; \ + done + +binary: binary-arch binary-indep + +binary-arch: + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs -i ChangeLog + dh_installdocs -i + dh_installexamples -i + dh_installdirs -i + dh_install -i + dh_installdebconf -i + # auto-start we handle ourself using debconf + dh_installinit -i --noscripts + # We are using our local version along with our local copies of the + # file to make sure asp.net gets the proper version. + DH_AUTOSCRIPTDIR=$(CURDIR)/debian/ debian/dh_installxsp -i -V 1,2 + dh_installman -i + dh_link -i + dh_strip -i + dh_clistrip -i + dh_compress -i + dh_fixperms -i + dh_clifixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_makeclilibs -i -V + dh_clideps -i -d + dh_gencontrol -i -- -Vmono-abi-comp-version=$(MONO_ABI_COMP_VERSION) + dh_md5sums -i + dh_builddeb -i + +get-orig-source: + uscan \ + --package $(DEB_SOURCE_NAME) \ + --watchfile $(DEBIAN_DIR)/watch \ + --upstream-version $(VERSION) \ + --download-version $(VERSION) \ + --destdir . \ + --force-download \ + --rename + bzcat ./$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 | \ + gzip -9fn -c - > ./$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.gz + rm ./$(DEB_SOURCE_NAME)_$(VERSION).orig.tar.bz2 + + +.PHONY: build clean binary-arch binary-indep binary install --- xsp-2.6.5.orig/debian/TODO +++ xsp-2.6.5/debian/TODO @@ -0,0 +1,14 @@ +TODO for xsp +------------ + +* Look for beta testers. +* Add a way for regular users to activate XSP applications without having + to gain root access. Of course, users' web apps must be completely isolated + in every way. +* Check the daemons of both packages and write a function to check if the + daemon is already running (a new function, the last was fucked). +* Review the asp.net-examples package, the postinst and prerm, when I do: + dpkg-reconfigure asp.net-examples it removes ALL the lines of the + virtual.conf file, and is strange cause I'm just using echo >> (to add at + the end of a file) +* Add more items to this list :) --- xsp-2.6.5.orig/debian/mono-apache-server2.install +++ xsp-2.6.5/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/tmp/usr/sbin/mono-server2-admin +debian/tmp/usr/sbin/mono-server2-update --- xsp-2.6.5.orig/debian/mono-xsp2-update.conf +++ xsp-2.6.5/debian/mono-xsp2-update.conf @@ -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 + +=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 = ) { + 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 "\n"; + close(TEMPWEBAPP); + +} + + +sub write_tempdefault_end { + + open(TEMPWEBAPP, ">> $monoxsp2_webapp"); + print TEMPWEBAPP "\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 = ; + #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 " \n"; + print TEMPWEBAPP " $name\n"; + print TEMPWEBAPP " $alias\n"; + print TEMPWEBAPP " $path\n"; + print TEMPWEBAPP " \n"; + } + close(TEMPWEBAPP); +} --- xsp-2.6.5.orig/debian/asp.net-examples.menu +++ xsp-2.6.5/debian/asp.net-examples.menu @@ -0,0 +1,2 @@ +?package(asp.net-examples):needs=text section=Apps/Programming \ + title="ASP.NET demo pages" command="/usr/bin/asp.net-examples-server" --- xsp-2.6.5.orig/debian/mono-server-admin.conf +++ xsp-2.6.5/debian/mono-server-admin.conf @@ -0,0 +1,208 @@ +#!/usr/bin/perl +# mono-server hosts file creator +# +# With this script the user can create a host file in one step, +# these hosts file are installed in /etc/mono-server/conf.d/package and +# then used in a 'big' host file (/etc/mono-server/mono-server*-hosts.conf) +# that will be used by mono-server +# +# Under GPL, please read: +# http://www.gnu.org/copyleft/gpl.html +# +# Written by: Pablo Fischer + +=head1 NAME + +mono-server-admin - mono-server hosts file creator, hosts file is part of the debianized mod_mono package + +=head1 SYNOPSIS + +mono-server-admin.conf [action] [args] + +=head2 OPTIONS + + Actions: + + add Use 'add' if you want to create an application and want mono-server 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-server-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-server-hosts.conf that will have your + directory settings with apache directives. Apache will read mono-server-hosts.conf! + +=head1 AUTHOR + + Pablo Fischer + +=cut + +use strict; + +my (%OPT); + +#Initializes vars +$OPT{'port'} = "80"; +$OPT{'vhost'} = "*"; + +my $confd_directory = "/etc/mono-server/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-server-update.conf"); + print "done!\n"; +} + +#Remove the host directory +sub del_host() { + + system("rm -Rf $confd_directory/$OPT{'app'}"); + system("/usr/sbin/mono-server-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-server (/etc/mono-server/conf.d/application\n\n"; + print "Use:\n"; + print " mono-server-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"; + 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; +} + + + + + --- xsp-2.6.5.orig/debian/index.aspx +++ xsp-2.6.5/debian/index.aspx @@ -0,0 +1,33 @@ +<%@ language="C#" %> +<%@ Import namespace="System.IO" %> + + +Welcome to Mono XSP! + + +

Welcome to Mono XSP!

+http://www.mono-project.com +

Here are some ASP.NET examples:

+<% +DirectoryInfo dir = new DirectoryInfo (Path.GetDirectoryName (Request.PhysicalPath)); +FileInfo[] files = dir.GetFiles (); +StringBuilder sb = new StringBuilder (); +Hashtable styles = new Hashtable (); +styles [".aspx"] = "background: #ffffff"; +styles [".ashx"] = "background: #00cccc"; +styles [".asmx"] = "background: #eeee00"; +for (int i=0; i < files.Length; i++) { + string fileName = Path.GetFileName(files[i].FullName); + string extension = Path.GetExtension (files[i].FullName); + if (styles.Contains (extension)) { + sb.AppendFormat ("
  • {0}
  • \n", fileName, styles [extension]); + } +} +FileList.Text = sb.ToString (); +%> +
      + +
    +
    +Generated: <%= DateTime.Now %> + --- xsp-2.6.5.orig/debian/mono-server-reader.conf +++ xsp-2.6.5/debian/mono-server-reader.conf @@ -0,0 +1,109 @@ +#!/usr/bin/perl -w +# Automatic mono-server file generator +# +# With this script the user (or daemon) can check if the 'big' mono-server host +# file is ok and in the right sintax, if there is an error it will exit +# and print the reason in the format: *SORRY*: message. +# +# Under GPL, please read: +# http://www.gnu.org/copyleft/gpl.html +# +# Written by: Pablo Fischer + +use strict; + +#Main vars.. +my ($monoserver_dir, $monoserver_confd, $monoserver_hostfile); + + +#Setup main vars +$monoserver_dir = "/etc/mono-server"; +$monoserver_confd = "$monoserver_dir/conf.d"; +$monoserver_hostfile = "$monoserver_dir/mono-server-hosts.conf"; + + +#Check if the user have write access to $monoserver_hostfile +if( ( -e "$monoserver_hostfile" && ! -w "$monoserver_hostfile" ) || ! -w "$monoserver_dir" ) { + print "mono-host-reader requires to be executed as root\n" ; + exit 1 ; +} + +if( ! -f "$monoserver_hostfile" ) { + print "Sorry\, but you don't have $monoserver_hostfile\n"; + exit 0; +} + +my $opened_section = 0; +my $applications = ""; + +my ($path, $alias); +#1 -> true +#0 -> false +#Ok, open the file for read mode + +open(HOSTFILE, $monoserver_hostfile); +#.. read it! +#Line counter +my $counter = 0; +while(my $line = ) { + $counter++; + if($line =~ /begin/i) { + if($opened_section eq "1") { + print "Sorry\, but you are opening a section before closing the last one (line $counter)\n"; + last; + } + else { + $opened_section = "1"; + } + } + + if($line =~ /end/i) { + if($opened_section eq "0") { + print "Sorry\, but you are closing an unopened section (line $counter)\n"; + } + else { + $opened_section = "0"; + $applications = "$applications$alias:$path,"; + } + } + + if($line =~ /path/i) { + if($opened_section eq "0") { + print "Sorry\, but you have a path in a unopened section (line $counter)\n"; + last; + } + else { + #Ok, the directory exists? + my $dir = (split /\=/, $line)[1]; + #Remove blank spaces + $dir =~ tr/\ //d; + #remove that \n + $dir =~ s/\n//; + if ( ! -d "$dir" ) { + print "Sorry\, but you have a path that doesn't exists in your system! (line $counter)\n"; + last; + } + else { + $path = $dir; + } + } + } + + if($line =~ /alias/i) { + if($opened_section eq "0") { + print "Sorry\, but you have an alias in a unopened section (line $counter)\n"; + last; + } + else { + $alias = (split /\=/, $line)[1]; + #Blank Spaces + $alias =~ tr/\ //d; + #New lines.. + $alias =~ s/\n//; + } + } +} + +close(HOSTFILE); +$applications =~ s/,$//; +print $applications; --- xsp-2.6.5.orig/debian/mono-fastcgi-server1.manpages +++ xsp-2.6.5/debian/mono-fastcgi-server1.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/fastcgi-mono-server1.1 --- xsp-2.6.5.orig/debian/mono-apache-server2.manpages +++ xsp-2.6.5/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 --- xsp-2.6.5.orig/debian/mono-xsp1.config +++ xsp-2.6.5/debian/mono-xsp1.config @@ -0,0 +1,72 @@ +#!/bin/bash -e + +# Initialization +. /usr/share/debconf/confmodule +db_version 2.0 +db_capb backup +db_title XSP WebServer + +# Autostart +STATE=1 +while [ "$STATE" != 0 -a "$STATE" != 2 ]; do + case "$STATE" in + 1) + db_input medium xsp/xsp_autostart || true + if db_go; then + db_get xsp/xsp_autostart || true + if [ "$RET" = "true" ]; then + STATE=2 + else + db_set xsp/xsp_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 xsp/xsp_bind || true + if db_go; then + db_get xsp/xsp_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 xsp/xsp_port || true + if db_go; then + db_get xsp/xsp_port || true + STATE=2 + else + STATE=0 + fi + ;; + esac +done + +if [ "$STATE" = 0 ]; then + exit 1 +fi --- xsp-2.6.5.orig/debian/mono-fastcgi-server2.dirs +++ xsp-2.6.5/debian/mono-fastcgi-server2.dirs @@ -0,0 +1 @@ +usr/bin/ --- xsp-2.6.5.orig/debian/mono-xsp1.manpages +++ xsp-2.6.5/debian/mono-xsp1.manpages @@ -0,0 +1,6 @@ +debian/mono-xsp-update.8 +debian/mono-xsp-admin.8 +debian/update-mono-xsp.8 +debian/tmp/usr/share/man/man1/xsp1.1 +debian/tmp/usr/share/man/man1/dbsessmgr1.1 +debian/tmp/usr/share/man/man1/asp-state1.1 --- xsp-2.6.5.orig/debian/postrm-monoxsp1 +++ xsp-2.6.5/debian/postrm-monoxsp1 @@ -0,0 +1,9 @@ +if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then + if [ -x /usr/sbin/mono-xsp-update ]; then + /usr/sbin/mono-xsp-update || true + fi + if [ -x /usr/sbin/mono-server-update ]; then + /usr/sbin/mono-server-update || true + fi +fi + --- xsp-2.6.5.orig/debian/mono-xsp2.postinst +++ xsp-2.6.5/debian/mono-xsp2.postinst @@ -0,0 +1,104 @@ +#!/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 + +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 + + # chmod the working directories + if [ -f /var/run/$NAME.pid ]; then + chown -R www-data:www-data /var/run/mono-xsp2 + 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 --- xsp-2.6.5.orig/debian/mono-apache-server2.templates +++ xsp-2.6.5/debian/mono-apache-server2.templates @@ -0,0 +1,10 @@ +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. --- xsp-2.6.5.orig/debian/mono-apache-server2.docs +++ xsp-2.6.5/debian/mono-apache-server2.docs @@ -0,0 +1,3 @@ +NEWS +README +AUTHORS --- xsp-2.6.5.orig/debian/mono-apache-server1.templates +++ xsp-2.6.5/debian/mono-apache-server1.templates @@ -0,0 +1,9 @@ +Template: monoserver/monoserver_restartapache +Type: boolean +Default: true +_Description: Let mono-apache-server restart Apache? + 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. --- xsp-2.6.5.orig/debian/mono-xsp2.preinst +++ xsp-2.6.5/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 --- xsp-2.6.5.orig/debian/mono-xsp1.dirs +++ xsp-2.6.5/debian/mono-xsp1.dirs @@ -0,0 +1,3 @@ +usr/bin +etc/xsp +etc/xsp/conf.d --- xsp-2.6.5.orig/debian/asp.net-examples.hostxsp1 +++ xsp-2.6.5/debian/asp.net-examples.hostxsp1 @@ -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/1.0 --- xsp-2.6.5.orig/debian/mono-fastcgi-server1.dirs +++ xsp-2.6.5/debian/mono-fastcgi-server1.dirs @@ -0,0 +1 @@ +usr/bin/ --- xsp-2.6.5.orig/debian/mono-xsp1.docs +++ xsp-2.6.5/debian/mono-xsp1.docs @@ -0,0 +1,3 @@ +NEWS +README +AUTHORS --- xsp-2.6.5.orig/debian/mono-apache-server2.README.Debian +++ xsp-2.6.5/debian/mono-apache-server2.README.Debian @@ -0,0 +1,54 @@ +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 (1.3 or 2.0) 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 , Wed Mar 2 11:08:17 2005 --- xsp-2.6.5.orig/debian/web.config +++ xsp-2.6.5/debian/web.config @@ -0,0 +1,42 @@ + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- xsp-2.6.5.orig/debian/mono-xsp1.postinst +++ xsp-2.6.5/debian/mono-xsp1.postinst @@ -0,0 +1,105 @@ +#!/bin/bash +set -e + +. /usr/share/debconf/confmodule +db_version 2.0 + +xsp_default="/etc/default/mono-xsp1" +NAME=mono-xsp1 +DESC="XSP 1.1 WebServer" +CFGDIR=/etc/xsp +VIRTUALFILE=$CFGDIR/debian.webapp + +update_port() { + db_get xsp/xsp_port || true + R=$RET + echo "Using Mono XSP 1.1 port: $R" + sed "s/port=.*/port=$R/g" $xsp_default > $tempfile + cp $tempfile $xsp_default +} + +update_bind() { + db_get xsp/xsp_bind || true + R=$RET + echo "Binding Mono XSP 1.1 address: $R" + sed "s/address=.*/address=$R/g" $xsp_default > $tempfile + cp $tempfile $xsp_default +} + +should_start() { + if [ -e $xsp_default ]; then + . $xsp_default + if [ "$start_boot" != "true" ]; then + return 1 + fi + else + echo "mono-xsp1: Not started, you need a valid and complete $xsp_default" + return 1 + fi + + if [ ! -e $VIRTUALFILE -o `cat $VIRTUALFILE | wc -l` = "2" ]; then + echo "mono-xsp1: 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 xsp? + xsp_pid=`cat /var/run/$NAME.pid` + xsp_ps=`ps -p $xsp_pid | wc -l` + if [ "$xsp_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 xsp/xsp_autostart || true + if [ "$RET" = "true" ]; then + if [ -x "/etc/init.d/mono-xsp1" ]; then + update-rc.d mono-xsp1 defaults > /dev/null 2>&1 || true + fi + else + update-rc.d -f mono-xsp1 remove > /dev/null 2>&1 || true + fi + + # If default file exists, configure the port and address + if [ -f $xsp_default ]; then + update_port + update_bind + fi + + # chmod the working directories + if [ -f /var/run/$NAME.pid ]; then + chown -R www-data:www-data /var/run/mono-xsp1 + fi + mono-xsp-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-xsp1 start + else + /etc/init.d/mono-xsp1 start + fi + fi + fi + + rm $tempfile + ;; +esac + +#DEBHELPER# + +exit 0 --- xsp-2.6.5.orig/debian/asp.net-examples.install +++ xsp-2.6.5/debian/asp.net-examples.install @@ -0,0 +1 @@ +debian/tmp/usr/share/asp.net-demos --- xsp-2.6.5.orig/debian/mono-xsp1.prerm +++ xsp-2.6.5/debian/mono-xsp1.prerm @@ -0,0 +1,38 @@ +#!/bin/sh -e + +NAME=mono-xsp1 +DESC="XSP 1.1 WebServer" + +#0 : false +#1 : true +should_stop() { + if [ -f /var/run/$NAME.pid ]; then + # Are we really running xsp? + xsp_pid=`cat /var/run/$NAME.pid` + xsp_ps=`ps -p $xsp_pid | wc -l` + # Are there any process running by that pid? + if [ "$xsp_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-xsp1 stop + else + /etc/init.d/mono-xsp1 stop + fi + fi + ;; + esac + +#DEBHELPER# + +exit 0 --- xsp-2.6.5.orig/debian/asp.net2-examples.README.Debian +++ xsp-2.6.5/debian/asp.net2-examples.README.Debian @@ -0,0 +1,16 @@ +asp.net-examples for Debian +---------------------------- + +This package contains example ASP.NET 2.0 applications. The examples are +installed in /usr/share/asp.net2-demos/. + +If you are using the standalone XSP2 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 + +Be sure to make sure xsp2 is running instead of xsp or you will +encounter errors. + + -- Dylan R. E. Moonfire , Thu, 21 Jul 2005 11:49:29 -0500 --- xsp-2.6.5.orig/debian/mono-xsp2-reader.conf +++ xsp-2.6.5/debian/mono-xsp2-reader.conf @@ -0,0 +1,109 @@ +#!/usr/bin/perl -w +# Automatic XSP2 file generator +# +# With this script the user (or daemon) can check if the 'big' XPS host +# file is ok and in the right sintax, if there is an error it will exit +# and print the reason in the format: *SORRY*: message. +# +# Under GPL, please read: +# http://www.gnu.org/copyleft/gpl.html +# +# Written by: Pablo Fischer + +use strict; + +#Main vars.. +my ($xsp2_dir, $xsp2_confd, $xsp2_hostfile); + +#Setup main vars +$xsp2_dir = "/etc/xsp2"; +$xsp2_confd = "$xsp2_dir/conf.d"; +$xsp2_hostfile = "$xsp2_dir/mono-xsp2-hosts.conf"; + + +#Check if the user have write access to $xsp2_hostfile +if( ( -e "$xsp2_hostfile" && ! -w "$xsp2_hostfile" ) || ! -w "$xsp2_dir" ) { + print "mono-host-reader requires to be executed as root\n" ; + exit 1 ; +} + +if( ! -f "$xsp2_hostfile" ) { + print "Sorry\, but you don't have $xsp2_hostfile\n"; + exit 0; +} + + +my $opened_section = 0; +my $applications = ""; + +my ($path, $alias); +#1 -> true +#0 -> false +#Ok, open the file for read mode +open(HOSTFILE, $xsp2_hostfile); +#.. read it! +#Line counter +my $counter = 0; +while(my $line = ) { + $counter++; + if($line =~ /begin/i) { + if($opened_section eq "1") { + print "Sorry\, but you are opening a section before closing the last one (line $counter)\n"; + last; + } + else { + $opened_section = "1"; + } + } + + if($line =~ /end/i) { + if($opened_section eq "0") { + print "Sorry\, but you are closing an unopened section (line $counter)\n"; + } + else { + $opened_section = "0"; + $applications = "$applications$alias:$path,"; + } + } + + if($line =~ /path/i) { + if($opened_section eq "0") { + print "Sorry\, but you have a path in a unopened section (line $counter)\n"; + last; + } + else { + #Ok, the directory exists? + my $dir = (split /\=/, $line)[1]; + #Remove blank spaces + $dir =~ tr/\ //d; + #remove that \n + $dir =~ s/\n//; + if ( ! -d "$dir" ) { + print "Sorry\, but you have a path that doesn't exists in your system! (line $counter)\n"; + last; + } + else { + $path = $dir; + } + } + } + + if($line =~ /alias/i) { + if($opened_section eq "0") { + print "Sorry\, but you have an alias in a unopened section (line $counter)\n"; + last; + } + else { + $alias = (split /\=/, $line)[1]; + #Blank Spaces + $alias =~ tr/\ //d; + #New lines.. + $alias =~ s/\n//; + + } + } +} + +close(HOSTFILE); +$applications =~ s/,$//; +print $applications; --- xsp-2.6.5.orig/debian/mono-xsp2.config +++ xsp-2.6.5/debian/mono-xsp2.config @@ -0,0 +1,72 @@ +#!/bin/bash -e + +# Initialization +. /usr/share/debconf/confmodule +db_version 2.0 +db_capb backup +db_title XSP2 WebServer + +# 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 --- xsp-2.6.5.orig/debian/mono-fastcgi-server1.docs +++ xsp-2.6.5/debian/mono-fastcgi-server1.docs @@ -0,0 +1,3 @@ +NEWS +README +AUTHORS --- xsp-2.6.5.orig/debian/watch +++ xsp-2.6.5/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://ftp.novell.com/pub/mono/sources/xsp/xsp-(.*)\.(?:zip|(?:tar\.(?:bz2|gz))) --- xsp-2.6.5.orig/debian/asp.net-examples.README.Debian +++ xsp-2.6.5/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/asp/ + +If you are using the standalone XSP 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 + + -- Fabian Fagerholm , Fri, 6 Aug 2004 12:00:12 +0300 --- xsp-2.6.5.orig/debian/postinst-monoxsp2 +++ xsp-2.6.5/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 --- xsp-2.6.5.orig/debian/mono-fastcgi-server1.install +++ xsp-2.6.5/debian/mono-fastcgi-server1.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/mono/1.0/fastcgi-mono-server.exe +debian/tmp/usr/lib/mono/gac/fastcgi-mono-server +debian/tmp/usr/bin/fastcgi-mono-server1 --- xsp-2.6.5.orig/debian/changelog +++ xsp-2.6.5/debian/changelog @@ -0,0 +1,881 @@ +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 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 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 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 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 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 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 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 Mon, 13 Jul 2009 01:11:52 +0100 + +xsp (2.0-2) unstable; urgency=low + + * Upload to unstable. + + -- Mirco Bauer 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Wed, 17 May 2006 20:32:00 +0200 + +xsp (1.1.13-1) unstable; urgency=low + + * New upstream release + * Dylan R. E. Moonfire + + 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 Wed, 25 Jan 2006 13:54:22 -0600 + +xsp (1.1.10-1) unstable; urgency=low + + * New upstream release + * Dylan R. E. Moonfire + + 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) + . There was a secondary French + translation from Steve but it was slightly + older, so the newest one was taken. (Closes: #318882, #300349) + - Added a partial Czech translation from Miroslav Kure + . (Closes: #314769) + - Added a partial Vietnamese translation from Clytie Siddal + . (Closes: #324272) + - Added a partial Swedish translation from Daniel Nylander + . (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 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 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 (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 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 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 Sun, 4 Jul 2004 14:22:45 -0600 + +xsp (1.0-1) unstable; urgency=low + + * NEW Release + + -- Debian Mono Group 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 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 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 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 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 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 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 Sat, 12 Jun 2004 13:31:12 -0600 + +xsp (0.14-1) unstable; urgency=low + + * New Release + + -- Pablo Fischer 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Mon, 9 Feb 2004 22:49:47 +0100 + +xsp (0.8-2) unstable; urgency=low + + * set alternative dependency on cli-virtual-machine + + -- Eduard Bloch 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 Thu, 22 Jan 2004 23:10:37 +0100 + +xsp (0.9) unstable; urgency=low + + * NOT RELEASED YET + + -- Pablo Fischer Wed, 28 Jan 2004 21:18:52 -0600 --- xsp-2.6.5.orig/debian/mono-xsp2.prerm +++ xsp-2.6.5/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 --- xsp-2.6.5.orig/debian/mono-apache-server1.postinst +++ xsp-2.6.5/debian/mono-apache-server1.postinst @@ -0,0 +1,45 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule +db_version 2.0 + +modmono_default="/etc/default/mono-apache-server1" + +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-server ]; then + update-rc.d -f mono-server remove > /dev/null + fi +} + +case "$1" in + configure) + tempfile=$(/bin/tempfile) + + db_get monoserver/monoserver_restartapache || true + daemon_turn_off + if [ "$RET" = "true" ]; then + restart_apache_on + else + restart_apache_off + fi + + mono-server-update + + rm $tempfile + ;; +esac + +#DEBHELPER# + +exit 0 --- xsp-2.6.5.orig/debian/mono-xsp2-base.install +++ xsp-2.6.5/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 +debian/tmp/usr/lib/pkgconfig/xsp-2.pc --- xsp-2.6.5.orig/debian/mono-apache-server2.postinst +++ xsp-2.6.5/debian/mono-apache-server2.postinst @@ -0,0 +1,44 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule +db_version 2.0 + +modmono_default="/etc/default/mono-apache-server2" + +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 --- xsp-2.6.5.orig/debian/mono-apache-server.links +++ xsp-2.6.5/debian/mono-apache-server.links @@ -0,0 +1,2 @@ +usr/bin/mod-mono-server2 usr/bin/mod-mono-server +usr/share/man/man1/mod-mono-server2.1.gz usr/share/man/man1/mod-mono-server.1.gz --- xsp-2.6.5.orig/debian/copyright +++ xsp-2.6.5/debian/copyright @@ -0,0 +1,60 @@ +This package was debianized by Pablo Fischer pablo@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 + +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. --- xsp-2.6.5.orig/debian/postrm-monoxsp2 +++ xsp-2.6.5/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 --- xsp-2.6.5.orig/debian/gbp.conf +++ xsp-2.6.5/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +debian-branch = master-experimental +upstream-branch = upstream-experimental --- xsp-2.6.5.orig/debian/mono-xsp2.default +++ xsp-2.6.5/debian/mono-xsp2.default @@ -0,0 +1,16 @@ +# 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 --- xsp-2.6.5.orig/debian/mono-apache-server2.config +++ xsp-2.6.5/debian/mono-apache-server2.config @@ -0,0 +1,30 @@ +#!/bin/bash -e + +. /usr/share/debconf/confmodule +db_version 2.0 +db_capb backup +db_title ModMono Server + +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 --- xsp-2.6.5.orig/debian/mono-xsp-update.conf +++ xsp-2.6.5/debian/mono-xsp-update.conf @@ -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-xsp-update.conf - creates .webapp needed by xsp + +=head1 SYNOPSIS + +mono-xsp-update.conf + +=head1 DESCRIPTION + + mono-xsp-update.conf is a perl tool to update/create a .webapp in /etc/xsp + + This file is needed by xsp cause it has all each ASP.NET application with a path and alias, needed + by xsp to setup these applications. + + The .webapp is created with other host configuration files that are in /etc/xsp/conf.d + + For more information read the README.Debian of this package (/usr/share/doc/mono-xsp/README.Debian). + +=head1 AUTHOR + + Pablo Fischer + +=cut + +use strict; +use Digest::MD5; + +#Main vars.. +my ($monoxsp_dir, $monoxsp_confd, $monoxsp_hostfile, $monoxsp_webapp, + $daemon, $daemon_pid, $default_file, + $applications, $libs); + +#Setup main vars +$monoxsp_dir = "/etc/xsp"; +$monoxsp_confd = "$monoxsp_dir/conf.d"; +$monoxsp_webapp = "$monoxsp_dir/debian.webapp"; +$daemon = "/etc/init.d/mono-xsp1"; +$daemon_pid = "/var/run/mono-xsp1.pid"; +$applications = ""; +$default_file = "/etc/default/mono-xsp1"; + +my $restart = "yes"; +my $first_file = "yes"; +my ($orig_md5, $new_md5); + +#Check write access to $monoxsp_hostfile +if( ( -e "$monoxsp_webapp" && ! -w "$monoxsp_webapp" ) || ! -w "$monoxsp_dir" ) { + print "mono-xsp-update.conf requires write access to $monoxsp_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 $monoxsp_webapp ) { + open(WEBAPP, $monoxsp_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 = ) { + if($line =~ /start_boot/i) { + if($line =~ /true/i) { + $restart = "yes"; + } + else { + $restart = "no"; + } + } + } + close(DEFAULT_FILE); + } +} + + +sub read_dir { + opendir(DIR, $monoxsp_confd); + my @host_dirs = sort (grep { -d "$monoxsp_confd/$_" } readdir(DIR)); + closedir(DIR); + + system("rm -Rf $monoxsp_webapp"); + system("touch $monoxsp_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, "$monoxsp_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 = "$monoxsp_confd/$dir/$hostfile"; + write_tempxsphostfile($hostfile); + } + } + } + } + } + } +} + +sub write_tempdefault_start { + + open(TEMPWEBAPP, ">> $monoxsp_webapp"); + print TEMPWEBAPP "\n"; + close(TEMPWEBAPP); + +} + + +sub write_tempdefault_end { + + open(TEMPWEBAPP, ">> $monoxsp_webapp"); + print TEMPWEBAPP "\n"; + close(TEMPWEBAPP); + +} + +sub write_tempxsphostfile { + my $hostfile = shift; + + #Write the content to a temp file.. + open(TEMPWEBAPP, ">> $monoxsp_webapp"); + #And open the hostfile.. + open(HOSTFILE, "$hostfile"); + #Read it.. + my @content_hostfile = ; + #Close it.. + close(HOSTFILE); + #Write the header to the monoxsp_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 " \n"; + print TEMPWEBAPP " $name\n"; + print TEMPWEBAPP " $alias\n"; + print TEMPWEBAPP " $path\n"; + print TEMPWEBAPP " \n"; + } + close(TEMPWEBAPP); +} --- xsp-2.6.5.orig/debian/mono-apache-server1.manpages +++ xsp-2.6.5/debian/mono-apache-server1.manpages @@ -0,0 +1,4 @@ +debian/mono-server-admin.8 +debian/mono-server-update.8 +debian/update-mono-server.8 +debian/tmp/usr/share/man/man1/mod-mono-server1.1 --- xsp-2.6.5.orig/debian/mono-xsp-admin.conf +++ xsp-2.6.5/debian/mono-xsp-admin.conf @@ -0,0 +1,173 @@ +#!/usr/bin/perl +# mono-xsp hosts file creator +# +# With this script the user can create a host file in one step, +# these hosts file are installed in /etc/xsp/conf.d/package and +# then used in a 'big' host file (/etc/xsp/mono-server*-hosts.conf) +# that will be used by XSP +# +# Under GPL, please read: +# http://www.gnu.org/copyleft/gpl.html +# +# Written by: Pablo Fischer + +=head1 NAME + +mono-xsp-admin.conf - mono-xsp hosts file creator + +=head1 SYNOPSIS + +mono-xsp-admin.conf [action] [args] + +=head2 OPTIONS + + Actions: + + add Use 'add' if you want to create an application and want mono-xsp 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-xsp-admin.conf is a perl tool to adminstrate your ASP.NET webapps that will be executed with + xsp. + + 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. + +=head1 AUTHOR + + Pablo Fischer + +=cut + +use strict; + +my (%OPT); + +my $confd_directory = "/etc/xsp/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-xsp-update.conf"); + print "done!\n"; + } + +#Remove the host directory + sub del_host() { + + system("rm -Rf $confd_directory/$OPT{'app'}"); + system("/usr/sbin/mono-xsp-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 XSP (/etc/xsp/conf.d/application\n\n"; + print "Use:\n"; + print " mono-xsp-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; + } + + + + + --- xsp-2.6.5.orig/debian/mono-xsp2.install +++ xsp-2.6.5/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/tmp/usr/sbin/mono-xsp2-update +debian/tmp/usr/sbin/mono-xsp2-admin --- xsp-2.6.5.orig/debian/mono-fastcgi-server1.README.Debian +++ xsp-2.6.5/debian/mono-fastcgi-server1.README.Debian @@ -0,0 +1,25 @@ +mono-fastcgi-server for Debian +-------------------------- + +mod-fastcgi-server 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-server is provided in the package +mono-fastcgi-server. + +fastcgi-mono-server creates a socket in /tmp, and FastCGI communicates with +fastcgi-mono-server 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-server 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 , Thu Jul 3 10:05:17 2008 --- xsp-2.6.5.orig/debian/mono-xsp2-admin.conf +++ xsp-2.6.5/debian/mono-xsp2-admin.conf @@ -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 + +=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; + } + + + + + --- xsp-2.6.5.orig/debian/mono-xsp1.templates +++ xsp-2.6.5/debian/mono-xsp1.templates @@ -0,0 +1,22 @@ +Template: xsp/xsp_autostart +Type: boolean +Default: true +_Description: Start on boot? + If this is true, then XSP will automatically start when the computer + is turned on. + +Template: xsp/xsp_bind +Type: string +Default: 0.0.0.0 +_Description: Bind to address: + 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. + +Template: xsp/xsp_port +Type: string +Default: 8081 +_Description: Bind to port: + XSP is bound to a specific port on the server. Common values are 80, + 8080, or 8081. --- xsp-2.6.5.orig/debian/mono-xsp1.README.Debian +++ xsp-2.6.5/debian/mono-xsp1.README.Debian @@ -0,0 +1,45 @@ +xsp for Debian +-------------- + +The mono-xsp 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 xsp as root: + +# dpkg-reconfigure mono-xsp + +The way that xsp manage the /alias (virtual hosts) is like exim does. We have a directory in +/etc called xsp, 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/xsp <- Mono XSP Config Dir +/etc/xsp/conf.d <- Mono XSP VirtualHosts Config Directories +/etc/xsp/conf.d/monodoc <- MonoDoc Config Files for XSP + +Every file is marked by a number, an underscore and the alias name, for example: + +/etc/xsp/conf.d/monodoc/10_monodochttp + +If you want to install a new virtualhost to XSP, you just need to apt-get it, and if +XSP is running it should be started normally, if it's the first virtualhost and you configured +mono-xsp to be started automatically it will start xsp by default. + +If you configured mono-xsp to NOT be started automatically, you should start mono-xsp manually: + +/etc/init.d/mono-xsp start + +Also, if you are installing YOUR OWN VirtualHost, you should use mono-xsp-admin.conf (and also the manpage) + +NOTE: In some cases you can find that /etc/mono-server|/etc/xsp exists with other virtualhosts and you +don't have mono-server|mono-xsp installed, don't get in panic, some virtualhosts installs host configuration +files in both server (xsp and mono-server). + +Happy Hacking + + -- Pablo Fischer , Mon, 15 Mar 2004 18:52:30 -0600 --- xsp-2.6.5.orig/debian/mono-apache-server1.README.Debian +++ xsp-2.6.5/debian/mono-apache-server1.README.Debian @@ -0,0 +1,54 @@ +mono-apache-server for Debian +-------------------------- + +mod-mono-server is a backend server that allows you to run ASP.NET web +applications in conjunction with Apache (1.3 or 2.0) and the mod_mono Apache +module. In Debian, mod-mono-server is provided in the package +mono-apache-server. + +mod-mono-server creates a socket in /tmp, and mod_mono communicates with +mod-mono-server through that socket. Apache will pass the HTTP request via +mod_mono to mod-mono-server, and mod-mono-server 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-server/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-server -- this is what it looks like: + +/etc/mono-server <- The root of the configuration structure +/etc/mono-server/conf.d <- VirtualHosts Config Directories +/etc/mono-server/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-server/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-server 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-server 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 , Wed Mar 2 11:08:17 2005 --- xsp-2.6.5.orig/debian/mono-fastcgi-server2.manpages +++ xsp-2.6.5/debian/mono-fastcgi-server2.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/fastcgi-mono-server2.1 --- xsp-2.6.5.orig/debian/mono-apache-server1.docs +++ xsp-2.6.5/debian/mono-apache-server1.docs @@ -0,0 +1,3 @@ +NEWS +README +AUTHORS --- xsp-2.6.5.orig/debian/mono-xsp-base.manpages +++ xsp-2.6.5/debian/mono-xsp-base.manpages @@ -0,0 +1 @@ +debian/dh_installxsp.1 --- xsp-2.6.5.orig/debian/source/format +++ xsp-2.6.5/debian/source/format @@ -0,0 +1 @@ +1.0 --- xsp-2.6.5.orig/debian/po/sv.po +++ xsp-2.6.5/debian/po/sv.po @@ -0,0 +1,135 @@ +# Translation of xsp debconf template to Swedish +# Copyright (C) 2009 Martin Bagge +# This file is distributed under the same license as the xsp package. +# +# Martin Bagge , 2009 +msgid "" +msgstr "" +"Project-Id-Version: xsp_1.2.5-2.1_sv\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-07-28 22:29+0100\n" +"Last-Translator: Martin Bagge \n" +"Language-Team: swedish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Swedish\n" +"X-Poedit-Country: Sweden\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Låta mono-apache-servern starta om Apache?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"Debian-versionen av mono-apache-servern inkluderar ett skript, mono-server-" +"update som skapar en konfigurationsfil för apache för att starta ASP.NET-" +"applikationer. Skriptet mono-server-update kan starta om Apache om det finns " +"en ny konfigurationsfil (/etc/mono-server/mono-server-hosts.conf). Vill du " +"starta om Apache om det finns en ny mono-server-hosts.conf fil?" + +#. 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-server/mono-server2-hosts.conf). " +"Vill du starta om Apache om det finns en ny mono-server2-hosts.conf fil?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Starta vid uppstart av systemet?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "I så fall kommer XSP starta automatiskt när datorn startar." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Vvilken adress ska användas?" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"XSP 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 XSP lokalt anger du 2127.0.0.1\"." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Vilken port ska användas?" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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\"." --- xsp-2.6.5.orig/debian/po/cs.po +++ xsp-2.6.5/debian/po/cs.po @@ -0,0 +1,179 @@ +# +# 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@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-09-13 09:16+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \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-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Má mono-apache-server restartovat Apache?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"mono-apache-server v Debianu obsahuje skript mono-server-update, který " +"slouží pro vytvoření konfiguračního souboru pro Apache, aby mohl Apache " +"spouštět aplikace v ASP.NET. Skript mono-server-update umí rozpoznat, zda je " +"vytvořen nový konfigurační soubor /etc/mono-server/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-server-hosts.conf?" + +#. 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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Spustit při zavádění systému?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Odpovíte-li kladně, bude se XSP spouštět automaticky po zapnutí počítače." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Navázat na adresu:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Aby XSP 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 XSP používat pouze lokálně, použijte adresu „127.0.0.1“." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Navázat na port:" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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 "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." --- xsp-2.6.5.orig/debian/po/nl.po +++ xsp-2.6.5/debian/po/nl.po @@ -0,0 +1,141 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Bart Cornelis , 2008 +# Paul Gevers , 2009 +msgid "" +msgstr "" +"Project-Id-Version: xsp\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-10-14 08:54+0100\n" +"Last-Translator: Paul Gevers \n" +"Language-Team: debian-l10n-dutch \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Dutch\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Wilt u mono-apache-server Apache laten herstarten?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"De Debian-versie van mono-apache-server bevat het script mono-server-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 'mono-server-hosts.conf'-" +"bestand aanwezig is." + +#. 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 'mono-server2-hosts." +"conf'-bestand aanwezig is." + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Wilt u XSP opstarten tijdens het opstarten van het systeem?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Als u dit aanvaard wordt XSP automatisch opgestart telkens wanneer de " +"computer opstart." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Adres waaraan te binden:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Om juist te werken dient XSP 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 XSP enkel lokaal wilt " +"gebruiken, kiest u best '127.0.0.1' voor het adres." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Poort waaraan te binden:" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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. " --- xsp-2.6.5.orig/debian/po/sl.po +++ xsp-2.6.5/debian/po/sl.po @@ -0,0 +1,139 @@ +# 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č , 2008, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: xsp 1.2.5-2.2\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-10-09 08:09+0100\n" +"Last-Translator: Jan Kraljič \n" +"Language-Team: Slovene \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-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Dovolim ponovni zagon Apache zaradi mono-apache-server?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"Debian-ova verzija mono-apache-server vsebuje mono-server-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: 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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Zaženem XSP ob zagonu računalnika" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP 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-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Povezan na naslov" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +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." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Povezan na vrata" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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." --- xsp-2.6.5.orig/debian/po/de.po +++ xsp-2.6.5/debian/po/de.po @@ -0,0 +1,138 @@ +# Translation of xsp debconf templates to German +# Copyright (C) Helge Kreutzmann , 2007-2009. +# This file is distributed under the same license as the xsp package. +# +msgid "" +msgstr "" +"Project-Id-Version: xsp 2.4.2-1\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-07-24 11:09+0200\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: de \n" +"Language: \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-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Soll mono-apache-server Apache neustarten?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"Die Debian-Version von mono-apache-server enthlt ein Skript mono-server-" +"update, das eine Konfigurationsdatei fr Apache erstellt, um die ASP.NET-" +"Anwendungen zu starten und 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: 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 enthlt ein Skript mono-server2-" +"update, das eine Konfigurationsdatei fr Apache erstellt, um die ASP.NET-" +"Anwendungen zu starten und 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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Beim Systemstart starten?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Falls dies stimmt, dann wird XSP automatisch gestartet, wenn Ihr Computer " +"eingeschaltet wird." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Binde an Adresse:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Um korrekt zu funktionieren, muss XSP 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 ausgewhlt werden. Um XSP lokal zu verwenden, verwenden " +"Sie 127.0.0.1 fr diese Adresse." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Binde an Port:" + +#. Type: string +#. Description +#: ../mono-xsp1.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 bindet sich an einen speziellen Port auf dem Server. Typische Werte sind " +"80, 8080 oder 8081." + +#. 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 ausgewhlt werden. Um XSP2 lokal zu verwenden, " +"verwenden Sie 127.0.0.1 fr diese Adresse." --- xsp-2.6.5.orig/debian/po/fr.po +++ xsp-2.6.5/debian/po/fr.po @@ -0,0 +1,135 @@ +# Translation of ddclient debconf templates to French +# Copyright (C) 2005-2009 Debian French l10n team +# This file is distributed under the same license as the ddclient package. +# +# Translators: +# Jean-Luc Coulon (f5ibh) , 2005-2009 +# Christian Perrier , 2009. +msgid "" +msgstr "" +"Project-Id-Version: xsp\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2006-10-14 10:31+0200\n" +"Last-Translator: Jean-Luc Coulon (f5ibh) \n" +"Language-Team: French \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Faut-il laisser mono-apache-server redémarrer Apache ?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"La version Debian de mono-apache-server comporte le script mono-server-" +"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-server-hosts.conf." + +#. 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 comporte 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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Faut-il le lancer au démarrage ?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Si vous acceptez ici, XSP sera lancé automatiquement au démarrage du système" + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Adresse à laquelle le processus doit être lié :" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Afin de fonctionner correctement, XSP 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 XSP que localement, " +"veuillez indiquer l'adresse 127.0.0.1." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Port auquel le processus doit être lié :" + +#. Type: string +#. Description +#: ../mono-xsp1.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é a un port particulier du serveur. Des valeurs courantes " +"sont 80, 8080 et 8081." + +#. 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 vous acceptez ici, XSP2 sera lancé automatiquement au démarrage du système" + +#. 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." --- xsp-2.6.5.orig/debian/po/ja.po +++ xsp-2.6.5/debian/po/ja.po @@ -0,0 +1,136 @@ +# Copyright (C) 2009 Debian Mono Group +# This file is distributed under the same license as xsp package. +# Hideki Yamane (Debian-JP) , 2009-2010. +# +msgid "" +msgstr "" +"Project-Id-Version: xsp 2.4.3-2\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2010-01-10 03:26+0900\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "mono-apache-server によって Apache を再起動させますか?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"Debian 版の mono-apache-server は、apache で ASP.NET アプリケーションを起動さ" +"せるための設定ファイルを作成する mono-server-update スクリプトを含んでおり、" +"新しい設定ファイル (/etc/mono-server/mono-server-hosts.conf) がある場合には " +"mono-server-update は apache を再起動できます。これを有効にすると、新しい " +"mono-server-hosts.conf ファイルがある場合に apache が再起動されます。" + +#. 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-server-hosts.conf) がある場合" +"には mono-server2-update は apache を再起動できます。これを有効にすると、新し" +"い mono-server2-hosts.conf ファイルがある場合に apache が再起動されます。" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "起動時に開始しますか?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"これを有効にすると、XSP はコンピュータの電源が入れられた際に自動的に起動しま" +"す。" + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "バインドするアドレス:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"正しく動作させるには、XSP は IP アドレスにバインドする必要があります。デフォ" +"ルト値 (\"0.0.0.0\") ではサーバの全てのアドレスにバインドしますが、特定のポー" +"トを選ぶ必要があります。XSP をローカルだけで使うには、アドレスに " +"\"127.0.0.1\" を使います。" + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "バインドするポート:" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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\" を使います。" --- xsp-2.6.5.orig/debian/po/eu.po +++ xsp-2.6.5/debian/po/eu.po @@ -0,0 +1,143 @@ +# translation of xsp_2.4.2-1.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 , 2008. +# Piarres Beobide , 2008. +# Iñaki Larrañaga Murgoitio , 2009. +msgid "" +msgstr "" +"Project-Id-Version: xsp_2.4.2-1.1_eu\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-10-08 17:22+0200\n" +"Last-Translator: Iñaki Larrañaga Murgoitio \n" +"Language-Team: Euskara \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" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Utzi mono-apache-server-i Apache berrabiarazten?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"Debianeko mono-apache-server bertsioak apache-rentzat konfigurazio fitxategi " +"bat sortzen duen mono-server-update script-a dakar, ASP.NET aplikazioak " +"abiarazteko. Script honek apache berrabiaraz dezake konfigurazio fitxategi " +"berria baldin badago (/etc/mono-server/mono-server-hosts.conf). Hau onartzen " +"baduzu, apache berrabiaraziko da mono-server-hosts.conf fitxategi berri bat " +"dagoenean." + +#. 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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Ordenagailuaren abioan abiarazi?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Hau onartzen baduzu, XSP automatikoki abiatuko da ordenagailua pizten denean." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "IP helbide honi lotu:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Behar bezala funtzionatzeko, XSPk IP helbide bati loturik egon behar du. " +"Aukera lehenetsiak (\"0.0.0.0\") zerbitzariaren helbide guztiekin lotzen du, " +"baina ataka zehatz bat hauta daiteke. XSP lokalean erabiltzeko, ezar ezazu " +"\"127.0.0.1\" helbide gisa." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Ataka honi lotu:" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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." --- xsp-2.6.5.orig/debian/po/POTFILES.in +++ xsp-2.6.5/debian/po/POTFILES.in @@ -0,0 +1,4 @@ +[type: gettext/rfc822deb] mono-apache-server1.templates +[type: gettext/rfc822deb] mono-apache-server2.templates +[type: gettext/rfc822deb] mono-xsp1.templates +[type: gettext/rfc822deb] mono-xsp2.templates --- xsp-2.6.5.orig/debian/po/pt.po +++ xsp-2.6.5/debian/po/pt.po @@ -0,0 +1,144 @@ +# Portuguese translation of xsp's debconf messages. +# 2005, Luís Ferreira +# +# 31-10-2005 - Luís Ferreira - Initial translation +# Miguel Figueiredo , 2007-2009. +# +msgid "" +msgstr "" +"Project-Id-Version: xsp\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-10-12 23:17+0100\n" +"Last-Translator: Miguel Figueiredo \n" +"Language-Team: Portuguese \n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Permitir que o mono-apache-server reinicie o Apache?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"A versão Debian do mono-apache-server 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-server-hosts.conf). Se isto " +"for verdade, então o apache irá ser reiniciado quando existir um novo " +"ficheiro mono-server-hosts.conf." + +#. 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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Iniciar no arranque?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP 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-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Ligar ao endereço:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Para funcionar correctamente, o XSP 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 XSP apenas " +"localmente, utilize \"127.0.0.1\" como endereço." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Ligar ao porto:" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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 "" +#~ "Would you like to autostart the XSP process when you start your computer?." +#~ msgstr "Deseja iniciar automaticamente o XSP quando inicia o computador?" --- xsp-2.6.5.orig/debian/po/vi.po +++ xsp-2.6.5/debian/po/vi.po @@ -0,0 +1,136 @@ +# Vietnamese translation for XSP. +# Copyright © 2009 Free Software Foundation, Inc. +# Clytie Siddall , 2005-2009. +# +msgid "" +msgstr "" +"Project-Id-Version: xsp 2.4.2-1.1\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-10-08 18:00+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \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-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Cho phép mono-apache-server khởi chạy lại Apache không?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +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: 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 +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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Khởi chạy khi khởi động ?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP 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-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Đóng kết tới địa chỉ:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +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-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Đóng kết tới cổng:" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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 »." --- xsp-2.6.5.orig/debian/po/ru.po +++ xsp-2.6.5/debian/po/ru.po @@ -0,0 +1,143 @@ +# translation of ru.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2008. +# Yuri Kozlov , 2009. +msgid "" +msgstr "" +"Project-Id-Version: xsp 2.4.2-1\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-07-21 22:18+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Позволять mono-apache-server перезапускать Apache?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"Debian-версия mono-apache-server включает сценарий mono-server-update, " +"который создаёт файл настройки apache для запуска приложений ASP.NET, а mono-" +"server-update позволяет перезапускать apache, если появляется новый файл " +"настройки (/etc/mono-server/mono-server-hosts.conf). Если вы ответите " +"утвердительно, то apache будет перезапущен при появлении нового файла mono-" +"server-hosts.conf." + +#. 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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Запускать XSP при включении компьютера?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Если вы ответите утвердительно, то XSP будет запускаться автоматически при " +"включении компьютера." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Привязка к адресу:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Для правильной работы, XSP нужно привязать к IP-адресу. По умолчанию " +"используется \"0.0.0.0\", что означает привязку ко всем адресам сервера, но " +"можно указать определённый порт. При использовании XSP только для локальной " +"работы, введите \"127.0.0.1\"." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Привязка к порту:" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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\"." --- xsp-2.6.5.orig/debian/po/es.po +++ xsp-2.6.5/debian/po/es.po @@ -0,0 +1,163 @@ +# xsp po-debconf translation to Spanish +# Copyright (C) 2007, 2009 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 , 2007 +# +# - Updates +# Francisco Javier Cuadrado , 2009 +# +# 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: xsp 2.4.2-1\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-07-25 20:13+0100\n" +"Last-Translator: Francisco Javier Cuadrado \n" +"Language-Team: Debian l10n Spanish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "¿Permitir a mono-apache-server reiniciar apache?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"La versión debian de mono-apache-server contiene el script «mono-server-" +"update» que crea un archivo de configuración para apache cuando se inician " +"aplicaciones de ASP.NET, y «mono-server-update» puede reiniciar apache si " +"hay un nuevo archivo de configuración («/etc/mono-server/mono-server-host." +"conf»). Si esto es correcto, apache se reiniciará cuando haya un nuevo " +"archivo de configuración «mono-server-hosts.conf»." + +#. Type: boolean +#. Description +#: ../mono-apache-server2.templates:1001 +msgid "Let mono-apache-server2 restart Apache?" +msgstr "¿Desea permitir a mono-apache-server 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-server contiene el script «mono-server-" +"update» que crea un archivo de configuración para apache cuando se inician " +"aplicaciones de ASP.NET, y «mono-server-update» puede reiniciar apache si " +"hay un nuevo archivo de configuración («/etc/mono-server/mono-server2-host." +"conf»). Si esto es correcto, apache se reiniciará cuando haya un nuevo " +"archivo de configuración «mono-server2-hosts.conf»." + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "¿Iniciar en el arranque?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Si contesta afirmativamente, XSP se iniciará automáticamente cuando se " +"encienda la máquina." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Enlazar a la dirección:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Para que funcione adecuadamente, XSP necesita enlazarse a una dirección IP. " +"La predeterminada («0.0.0.0») enlaza a todas las direcciones del servidor, " +"pero también puede seleccionar un puerto en específico. Para usar XSP " +"localmente, ponga la dirección «127.0.0.1»." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Enlazar al puerto:" + +#. Type: string +#. Description +#: ../mono-xsp1.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 está enlazado a un puerto específico en el servidor, Normalmente son los " +"valores 80, 8080, ó 8081." + +#. 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 la " +"máquina 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 correctamente, XSP2 necesita enlazarse a una dirección IP. " +"La dirección predeterminada («0.0.0.0») enlaza a todas las direcciones del " +"servidor, pero puede seleccionar un puerto en específico. Para usar XSP2 de " +"manera local, use la dirección «127.0.0.1»." --- xsp-2.6.5.orig/debian/po/fi.po +++ xsp-2.6.5/debian/po/fi.po @@ -0,0 +1,138 @@ +# Esko Arajärvi , 2009. +msgid "" +msgstr "" +"Project-Id-Version: xsp\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-10-07 21:27+0300\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \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-Poedit-Language: Finnish\n" +"X-Poedit-Country: FINLAND\n" +"X-Generator: Lokalize 1.0\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Saako mono-apache-server käynnistää Apachen uudelleen?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"Paketin mono-apache-server Debian-versio sisältää komentosarjan mono-server-" +"update, joka luo Apachelle asetustiedoston ASP.NET-ohjelmien käynnistämistä " +"varten. Komentosarja mono-server-update voi käynnistää Apachen uudelleen, " +"kun asetustiedosto (/etc/mono-server/mono-server-hosts.conf) uudistuu. " +"Valitse tämä, jos haluat, että Apache käynnistetään tällöin uudelleen." + +#. 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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Käynnistetäänkö ohjelma käynnistettäessä järjestelmä?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Jos valitset tämän vaihtoehdon, XSP käynnistetään automaattisesti, kun " +"järjestelmää käynnistetään." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Kuunneltava osoite:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Toimiakseen oikein XSP: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” XSP toimii vain " +"paikallisesti." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Kuunneltava portti:" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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." --- xsp-2.6.5.orig/debian/po/templates.pot +++ xsp-2.6.5/debian/po/templates.pot @@ -0,0 +1,113 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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 "" --- xsp-2.6.5.orig/debian/po/it.po +++ xsp-2.6.5/debian/po/it.po @@ -0,0 +1,140 @@ +# ITALIAN TRANSLATION OF XSP'S PO-DEBCONF FILE +# Copyright (C) 2008 XSP'S COPYRIGHT HOLDER +# This file is distributed under the same license as the XSP package. +# +# +# Vincenzo Campanella , 2008, 2009, 2010. +msgid "" +msgstr "" +"Project-Id-Version: xsp 2.4.3-3\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2010-04-09 08:26+0200\n" +"Last-Translator: Vincenzo Campanella \n" +"Language-Team: Italian \n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Lasciare che mono-apache-server riavvii Apache?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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." +msgstr "" +"La versione Debian di mono-apache-server include uno script di " +"aggiornamento, \"mono-server-update\", che crea un file di configurazione " +"per Apache per fargli avviare le applicazioni ASP.NET e che può riavviare " +"Apache se c'è un nuovo file di configurazione («/etc/mono-server/mono-server-" +"hosts.conf»). Se questa opzione è confermata, Apache sarà riavviato non " +"appena c'è un nuovo file di configurazione «mono-server-hosts.conf»." + +#. Type: boolean +#. Description +#: ../mono-apache-server2.templates:1001 +msgid "Let mono-apache-server2 restart Apache?" +msgstr "Lasciare che mono-apache-server2 riavvii 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 versione Debian di mono-apache-server2 include uno script di " +"aggiornamento, «mono-server2-update», che crea un file di configurazione per " +"Apache per fargli avviare le applicazioni ASP.NET e che può riavviare Apache " +"se c'è un nuovo file di configurazione («/etc/mono-server2/mono-server2-" +"hosts.conf»). Se questa opzione è confermata, Apache sarà riavviato non " +"appena c'è un nuovo file di configurazione «mono-server-hosts.conf»." + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Lanciare il programma all'avvio del sistema?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Se questa opzione è confermata, XSP si avvierà automaticamente " +"all'accensione del computer." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Legarsi all'indirizzo:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Per poter funzionare correttamente, XSP deve legarsi ad un indirizzo IP. Il " +"valore predefinito (\"0.0.0.0\") si lega a tutti gli indirizzi del server, " +"ma si può selezionare una porta specifica. Per usare XSP solo localmente, " +"usare l'indirizzo \"127.0.0.1\"." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Legarsi alla porta:" + +#. Type: string +#. Description +#: ../mono-xsp1.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 è legato a una porta specifica sul server. I valori comuni sono 80, 8080 " +"o 8081." + +#. 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, XSP2 si avvierà automaticamente " +"all'accensione 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 poter funzionare correttamente, XSP2 deve legarsi ad un indirizzo IP. Il " +"valore predefinito (\"0.0.0.0\") si lega a tutti gli indirizzi del server, " +"ma si può selezionare una porta specifica. Per usare XSP solo localmente, " +"usare l'indirizzo \"127.0.0.1\"." --- xsp-2.6.5.orig/debian/po/gl.po +++ xsp-2.6.5/debian/po/gl.po @@ -0,0 +1,155 @@ +# Galician translation of xsp's debconf templates +# This file is distributed under the same license as the xsp package. +# +# Jacobo Tarrio , 2007, 2008. +# Marce Villarino , 2009. +msgid "" +msgstr "" +"Project-Id-Version: xsp\n" +"Report-Msgid-Bugs-To: xsp@packages.debian.org\n" +"POT-Creation-Date: 2010-04-04 19:34+0200\n" +"PO-Revision-Date: 2009-11-03 20:56+0100\n" +"Last-Translator: Marce Villarino \n" +"Language-Team: Galician \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-server1.templates:1001 +msgid "Let mono-apache-server restart Apache?" +msgstr "Desexa permitir que mono-apache-server reinicie Apache?" + +#. Type: boolean +#. Description +#: ../mono-apache-server1.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-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." +msgstr "" +"A versión de Debian do mono-apache-server inclúe un script mono-server-" +"update que crea un ficheiro de configuración para que Apache inicie os " +"programas ASP.NET, e mono-server-update pode reiniciar Apache se hai un novo " +"ficheiro de configuración (/etc/mono-server/mono-server-hosts.conf). Se " +"acepta isto, hase reiniciar Apache cando haxa un novo ficheiro mono-server-" +"hosts.conf." + +#. 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 +#, 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-server-" +#| "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 "" +"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 as " +"aplicacións 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-xsp1.templates:1001 ../mono-xsp2.templates:1001 +msgid "Start on boot?" +msgstr "Desexa inicialo co ordenador?" + +#. Type: boolean +#. Description +#: ../mono-xsp1.templates:1001 +msgid "" +"If this is true, then XSP will automatically start when the computer is " +"turned on." +msgstr "" +"Se acepta isto, XSP hase iniciar automaticamente ao arrincar o ordenador." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:2001 ../mono-xsp2.templates:2001 +msgid "Bind to address:" +msgstr "Asociar ao enderezo:" + +#. Type: string +#. Description +#: ../mono-xsp1.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." +msgstr "" +"Para que funcione correctamente, hai que ligar XSP 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 XSP só " +"localmente, empregue «127.0.0.1» como enderezo." + +#. Type: string +#. Description +#: ../mono-xsp1.templates:3001 ../mono-xsp2.templates:3001 +msgid "Bind to port:" +msgstr "Asociar ao porto:" + +#. Type: string +#. Description +#: ../mono-xsp1.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: 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 hase iniciar automaticamente ao arrincar 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."