[Pkg-mono-svn-commits] rev 779 - libapache-mod-mono/trunk/debian

Pablo Fischer pabl0-guest@haydn.debian.org
Fri, 21 May 2004 14:39:43 -0600


Author: pabl0-guest
Date: 2004-05-21 14:39:40 -0600 (Fri, 21 May 2004)
New Revision: 779

Modified:
   libapache-mod-mono/trunk/debian/changelog
   libapache-mod-mono/trunk/debian/copyright
   libapache-mod-mono/trunk/debian/files
   libapache-mod-mono/trunk/debian/libapache-mod-mono.postinst
   libapache-mod-mono/trunk/debian/libapache-mod-mono.prerm
Log:
Fixed a comma in a comment.

The apache module needs to be saved with the SAME name as was compiled,
I can not rename it or modules-config will crash (it reads the realname in .so).



Modified: libapache-mod-mono/trunk/debian/changelog
===================================================================
--- libapache-mod-mono/trunk/debian/changelog	2004-05-21 20:37:17 UTC (rev 778)
+++ libapache-mod-mono/trunk/debian/changelog	2004-05-21 20:39:40 UTC (rev 779)
@@ -1,3 +1,10 @@
+libapache-mod-mono (0.8-3) unstable; urgency=low
+
+  * Fixed a comma in a comment.. 
+  * A if rule was giving me problems (restart in postinst)	
+
+ -- Pablo Fischer <pablo@pablo.com.mx>  Fri, 21 May 2004 14:27:12 -0600	
+
 libapache-mod-mono (0.8-2) unstable; urgency=low
 
   * The apache module needs to be saved with the SAME name as was compiled, I can not 

Modified: libapache-mod-mono/trunk/debian/copyright
===================================================================
--- libapache-mod-mono/trunk/debian/copyright	2004-05-21 20:37:17 UTC (rev 778)
+++ libapache-mod-mono/trunk/debian/copyright	2004-05-21 20:39:40 UTC (rev 779)
@@ -1,10 +1,49 @@
-This package was debianized by Pablo Fischer <pablo@pablo.com.mx> on
-Sat, 28 Feb 2004 14:55:56 -0600.
+/* ====================================================================
+ * The Apache Software License, Version 1.1
+ *
+ * Copyright (c) 2002 Daniel Lopez Ridruejo.  All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in
+ *    the documentation and/or other materials provided with the
+ *    distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ *    if any, must include the following acknowledgment:
+ *       "This product includes software developed by 
+ *        Daniel Lopez Ridruejo (daniel@rawbyte.com)."
+ *    Alternately, this acknowledgment may appear in the software itself,
+ *    if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The name "mod_mono" must not be used to endorse or promote products 
+ *    derived from this software without prior written permission. For written
+ *    permission, please contact daniel@rawbyte.com.
+ *
+ * 5. Products derived from this software may not be called "mod_mono",
+ *    nor may "mod_mono" appear in their name, without prior written
+ *    permission of Daniel Lopez Ridruejo.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED.  IN NO EVENT SHALL DANIEL LOPEZ RIDRUEJO OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ */
 
-It was downloaded from <fill in ftp site>
-
-Upstream Author(s): <put author(s) name and email here>
-
-Copyright:
-
-<Must follow here>

Modified: libapache-mod-mono/trunk/debian/files
===================================================================
--- libapache-mod-mono/trunk/debian/files	2004-05-21 20:37:17 UTC (rev 778)
+++ libapache-mod-mono/trunk/debian/files	2004-05-21 20:39:40 UTC (rev 779)
@@ -1 +1 @@
-libapache-mod-mono_0.7-2_i386.deb unknown optional
+libapache-mod-mono_0.8-3_i386.deb web optional

Modified: libapache-mod-mono/trunk/debian/libapache-mod-mono.postinst
===================================================================
--- libapache-mod-mono/trunk/debian/libapache-mod-mono.postinst	2004-05-21 20:37:17 UTC (rev 778)
+++ libapache-mod-mono/trunk/debian/libapache-mod-mono.postinst	2004-05-21 20:39:40 UTC (rev 779)
@@ -36,12 +36,14 @@
 add_monoserver_conf() {
    webservers="apache-ssl apache"
 
-    #wwwconfig way!, I love it!
+   # wwwconfig way! I love it!
    for server in $webservers; do
-       includefile=/etc/apache/conf.d/demonmail.conf
+       includefile=/etc/mono-server/mono-server-hosts.conf
        conffile=/etc/apache/httpd.conf
        . /usr/share/wwwconfig-common/apache-include.sh
-       [ "$status" = "uncomment" -o "$status" = "include" ] && restart="$server $restart"
+       if [ "$status" = "uncomment" -o "$status" = "include" ]; then
+	   restart="$restart $server"
+       fi
    done
 }
 

Modified: libapache-mod-mono/trunk/debian/libapache-mod-mono.prerm
===================================================================
--- libapache-mod-mono/trunk/debian/libapache-mod-mono.prerm	2004-05-21 20:37:17 UTC (rev 778)
+++ libapache-mod-mono/trunk/debian/libapache-mod-mono.prerm	2004-05-21 20:39:40 UTC (rev 779)
@@ -14,26 +14,21 @@
 
 }
 
-
 remove_monoserver_conf() {
    webservers="apache-ssl apache"
 
-    #wwwconfig way!, I love it!
+    #wwwconfig way! I love it!
    for server in $webservers; do
-       includefile=/etc/apache/conf.d/demonmail.conf
+       includefile=/etc/mono-server/mono-server-hosts.conf
        conffile=/etc/apache/httpd.conf
        . /usr/share/wwwconfig-common/apache-uninclude.sh
-       [ "$status" = "uncomment" -o "$status" = "include" ] && restart="$server $restart"
+       if [ "$status" = "purge" ]; then
+	   restart="$restart $server"
+       fi
    done
 }
 
 restart_apache() {
-    webservers="apache-ssl apache"
-
-    #wwwconfig way!, I love it!
-    for server in $webservers; do
-	restart="$server $restart"
-    done
     servers="apache-ssl apache"
     . /usr/share/wwwconfig-common/restart.sh
 }