[Pkg-mono-svn-commits] rev 1009 - xsp/trunk/debian

Pablo Fischer pabl0-guest@haydn.debian.org
Mon, 14 Jun 2004 23:18:40 -0600


Author: pabl0-guest
Date: 2004-06-14 23:18:38 -0600 (Mon, 14 Jun 2004)
New Revision: 1009

Modified:
   xsp/trunk/debian/mono-server-admin.conf
   xsp/trunk/debian/mono-server-update.conf
   xsp/trunk/debian/mono-server.manpages
   xsp/trunk/debian/mono-xsp-admin.conf
   xsp/trunk/debian/mono-xsp-update.conf
   xsp/trunk/debian/mono-xsp.manpages
Log:
Added some pretty stuff to manpages, like AUTHOR, format.

Also added manpage for -update.conf scripts (lintian says!)



Modified: xsp/trunk/debian/mono-server-admin.conf
===================================================================
--- xsp/trunk/debian/mono-server-admin.conf	2004-06-15 05:10:59 UTC (rev 1008)
+++ xsp/trunk/debian/mono-server-admin.conf	2004-06-15 05:18:38 UTC (rev 1009)
@@ -47,8 +47,10 @@
  /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!
 
- mono-server-admin.conf is written by Pablo Fischer <pablo@pablo.com.mx>
+=head1 AUTHOR
 
+ Pablo Fischer <pablo@pablo.com.mx>
+
 =cut 
 
 use strict;

Modified: xsp/trunk/debian/mono-server-update.conf
===================================================================
--- xsp/trunk/debian/mono-server-update.conf	2004-06-15 05:10:59 UTC (rev 1008)
+++ xsp/trunk/debian/mono-server-update.conf	2004-06-15 05:18:38 UTC (rev 1009)
@@ -12,6 +12,32 @@
 #
 # Written by: Pablo Fischer
 
+=head1 NAME
+
+mono-server-update.conf - creates .webapp and .host file for mod_mono and mono-server
+
+=head1 SYNOPSIS
+
+mono-server-update.conf
+
+=head1 DESCRIPTION
+
+ mono-server-update.conf 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 <pablo@pablo.com.mx>
+
+=cut
+
 use strict; 
 use Digest::MD5;
 
@@ -29,6 +55,7 @@
 $daemon_pid = "/var/run/apache.pid";
 $applications = "";
 $default_file = "/etc/default/mono-server";
+$libs = "";
 
 my $restart = "yes";
 my $first_file = "yes";
@@ -52,9 +79,6 @@
     #Prepare the application string
     $applications =~ s/,$//;
     #and the libs..
-    #PATCH: If we don't have ANY virtual host (any libs, any.. nothing!)
-    if (!$libs) 
-	$libs = "";
     $libs = "/usr/share/dotnet/lib:/usr/lib:$libs"; 
     $libs =~ s/:$//;
     #sed the $monoserver_hostfile to replace the Applications

Modified: xsp/trunk/debian/mono-server.manpages
===================================================================
--- xsp/trunk/debian/mono-server.manpages	2004-06-15 05:10:59 UTC (rev 1008)
+++ xsp/trunk/debian/mono-server.manpages	2004-06-15 05:18:38 UTC (rev 1009)
@@ -1,3 +1,4 @@
-debian/mono-server-admin.conf.1
+debian/mono-server-admin.conf.8
+debian/mono-server-update.conf.8
 doc/mod-mono-server.1
 

Modified: xsp/trunk/debian/mono-xsp-admin.conf
===================================================================
--- xsp/trunk/debian/mono-xsp-admin.conf	2004-06-15 05:10:59 UTC (rev 1008)
+++ xsp/trunk/debian/mono-xsp-admin.conf	2004-06-15 05:18:38 UTC (rev 1009)
@@ -43,8 +43,10 @@
  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.
 
- mono-xsp-admin.conf is written by Pablo Fischer <pablo@pablo.com.mx>
+=head1 AUTHOR
 
+ Pablo Fischer <pablo@pablo.com.mx>
+
 =cut 
 
 use strict;

Modified: xsp/trunk/debian/mono-xsp-update.conf
===================================================================
--- xsp/trunk/debian/mono-xsp-update.conf	2004-06-15 05:10:59 UTC (rev 1008)
+++ xsp/trunk/debian/mono-xsp-update.conf	2004-06-15 05:18:38 UTC (rev 1009)
@@ -12,6 +12,31 @@
 #
 # 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 <pablo@pablo.com.mx>
+
+=cut
+
 use strict; 
 use Digest::MD5;
 

Modified: xsp/trunk/debian/mono-xsp.manpages
===================================================================
--- xsp/trunk/debian/mono-xsp.manpages	2004-06-15 05:10:59 UTC (rev 1008)
+++ xsp/trunk/debian/mono-xsp.manpages	2004-06-15 05:18:38 UTC (rev 1009)
@@ -1,4 +1,5 @@
-debian/mono-xsp-admin.conf.1
+debian/mono-xsp-admin.conf.8
+debian/mono-xsp-update.conf.8
 doc/xsp.1
 doc/dbsessmgr.1
 doc/asp_state.1