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

Pablo Fischer pabl0-guest@costa.debian.org
Wed, 02 Mar 2005 18:35:33 +0100


Author: pabl0-guest
Date: 2005-03-02 18:35:32 +0100 (Wed, 02 Mar 2005)
New Revision: 1525

Modified:
   xsp/trunk/debian/changelog
   xsp/trunk/debian/index.aspx
   xsp/trunk/debian/mono-apache-server.README.Debian
   xsp/trunk/debian/mono-xsp.init
Log:
prepare the next release


Modified: xsp/trunk/debian/changelog
===================================================================
--- xsp/trunk/debian/changelog	2005-03-02 17:05:54 UTC (rev 1524)
+++ xsp/trunk/debian/changelog	2005-03-02 17:35:32 UTC (rev 1525)
@@ -1,7 +1,11 @@
-xsp (1.0.4-0pre1) unstable; urgency=low
+xsp (1.0.5-0pre1) 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 take read the default file to verify that the daemon can be 
+      started (closes: #276994)
+    + index.aspx of demos was printing bad links to examples. Its already fixed (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)

Modified: xsp/trunk/debian/index.aspx
===================================================================
--- xsp/trunk/debian/index.aspx	2005-03-02 17:05:54 UTC (rev 1524)
+++ xsp/trunk/debian/index.aspx	2005-03-02 17:35:32 UTC (rev 1525)
@@ -6,7 +6,7 @@
 </head>
 <body>
 <h1>Welcome to Mono XSP!</h1>
-<a href="http://www.mono-project.com"><img src="mono.png" alt="http://www.mono-project.com"></a>
+<a href="http://www.mono-project.com"><img src="/mono.png" alt="http://www.mono-project.com"></a>
 <p>Here are some ASP.NET examples:</p>
 <%
 DirectoryInfo dir = new DirectoryInfo (Path.GetDirectoryName (Request.PhysicalPath));
@@ -20,7 +20,7 @@
 	string fileName = Path.GetFileName(files[i].FullName);
 	string extension = Path.GetExtension (files[i].FullName);
 	if (styles.Contains (extension)) {
-		sb.AppendFormat ("<li><a style=\"{1}\" href=\"{0}\">{0}</a></li>\n", fileName, styles [extension]);
+		sb.AppendFormat ("<li><a style=\"{1}\" href=\"/{0}\">{0}</a></li>\n", fileName, styles [extension]);
 	}
 }
 FileList.Text = sb.ToString ();

Modified: xsp/trunk/debian/mono-apache-server.README.Debian
===================================================================
--- xsp/trunk/debian/mono-apache-server.README.Debian	2005-03-02 17:05:54 UTC (rev 1524)
+++ xsp/trunk/debian/mono-apache-server.README.Debian	2005-03-02 17:35:32 UTC (rev 1525)
@@ -51,4 +51,4 @@
 
 Happy Hacking!
 
- -- Fabian Fagerholm <fabbe@paniq.net>, Fri,  6 Aug 2004 12:29:01 +0300
+ -- Pablo Fischer <pablo@pablo.com.mx>, Wed Mar  2 11:08:17 2005

Modified: xsp/trunk/debian/mono-xsp.init
===================================================================
--- xsp/trunk/debian/mono-xsp.init	2005-03-02 17:05:54 UTC (rev 1524)
+++ xsp/trunk/debian/mono-xsp.init	2005-03-02 17:35:32 UTC (rev 1525)
@@ -18,6 +18,7 @@
 MONO_SHARED_DIR=/var/run/$NAME
 
 test -x $DAEMON || exit 0
+test -f $DEFAULT && . $DEFAULT	
 
 should_start() {
     if [ ! -e $VIRTUALFILE -o `cat $VIRTUALFILE | wc -l` = "2" ]; then
@@ -35,6 +36,12 @@
 	    return 1		
 	fi
     fi
+    
+    if [ $start_boot != true ]; then
+       echo "Set start_boot=true in /etc/default/mono-xsp to enable mono-xsp."
+       return 1
+    fi
+    
     return 0
 	
 }
@@ -58,7 +65,6 @@
 case "$1" in
     start)
 	if should_start ; then
-	    . $DEFAULT	
 	    echo -n "Starting $DESC: $NAME"
 	    export MONO_SHARED_DIR
 	    start-stop-daemon --start --background --make-pidfile \