[Pkg-mono-svn-commits] rev 826 - in libapache-mod-mono/branches: . 0.8-3

Pablo Fischer pabl0-guest@haydn.debian.org
Tue, 25 May 2004 08:54:18 -0600


Author: pabl0-guest
Date: 2004-05-25 08:54:15 -0600 (Tue, 25 May 2004)
New Revision: 826

Added:
   libapache-mod-mono/branches/0.8-3/
   libapache-mod-mono/branches/0.8-3/500mod_mono.info
   libapache-mod-mono/branches/0.8-3/README.Debian
   libapache-mod-mono/branches/0.8-3/TODO
   libapache-mod-mono/branches/0.8-3/changelog
   libapache-mod-mono/branches/0.8-3/compat
   libapache-mod-mono/branches/0.8-3/control
   libapache-mod-mono/branches/0.8-3/copyright
   libapache-mod-mono/branches/0.8-3/dirs
   libapache-mod-mono/branches/0.8-3/docs
   libapache-mod-mono/branches/0.8-3/files
   libapache-mod-mono/branches/0.8-3/libapache-mod-mono.config
   libapache-mod-mono/branches/0.8-3/libapache-mod-mono.dirs
   libapache-mod-mono/branches/0.8-3/libapache-mod-mono.postinst
   libapache-mod-mono/branches/0.8-3/libapache-mod-mono.postrm.debhelper
   libapache-mod-mono/branches/0.8-3/libapache-mod-mono.prerm
   libapache-mod-mono/branches/0.8-3/libapache-mod-mono.substvars
   libapache-mod-mono/branches/0.8-3/libapache-mod-mono.templates
   libapache-mod-mono/branches/0.8-3/mono.conf
   libapache-mod-mono/branches/0.8-3/postrm.debhelper
   libapache-mod-mono/branches/0.8-3/rules
Log:
a Stable release, the 0.8-3


Added: libapache-mod-mono/branches/0.8-3/500mod_mono.info
===================================================================
--- libapache-mod-mono/branches/0.8-3/500mod_mono.info	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/500mod_mono.info	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,2 @@
+LoadModule: mono_module /usr/lib/apache/1.3/libmod_mono.so
+Description: Run ASP.NET Pages on UNIX with Apache and Mono

Added: libapache-mod-mono/branches/0.8-3/README.Debian
===================================================================
--- libapache-mod-mono/branches/0.8-3/README.Debian	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/README.Debian	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,14 @@
+libapache-mod-mono for Debian
+-----------------------------
+
+libapache-mod-mono contains the mod_mono module for Apache that is needed to run 
+asp.net applications in Apache.
+
+libapache-mod-mono depends on mono-server, cause mod_mono needs a socket to be connected, and
+mono-server (mod-mono-server) has it.
+
+If you want use apache as your webserver to run asp.net applications and want to test your
+own application, I suggest you to add a new alias in /etc/apache/conf.d/mono.conf and read the
+README.Debian of mono-server.
+
+ -- Pablo Fischer <pablo@pablo.com.mx>, Sat, 28 Feb 2004 14:55:56 -0600

Added: libapache-mod-mono/branches/0.8-3/TODO
===================================================================
--- libapache-mod-mono/branches/0.8-3/TODO	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/TODO	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,3 @@
+29 feb 2004 02:52:24
+
+* Look for beta testers :)

Added: libapache-mod-mono/branches/0.8-3/changelog
===================================================================
--- libapache-mod-mono/branches/0.8-3/changelog	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/changelog	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,69 @@
+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 
+    rename it or modules-config will crashs (it reads the realname in .so).
+
+ -- Pablo Fischer <pablo@pablo.com.mx>  Fri, 21 May 2004 14:11:21 -0600	
+
+libapache-mod-mono (0.8-1) unstable; urgency=low
+
+  * NEW RELEASE
+  * Also, the /etc/init.d/mono-server calls should be removed, mono-server daemon dissapears in this version
+  * The mono.conf dissapear, we will manage the mono.conf with the mono-server package
+  * We'll use the wwwconfig scripts to add/remove configuration files from apache
+	
+ -- Pablo Fischer <pablo@pablo.com.mx>  Wed, 28 Apr 2004 07:30:11 -0600	
+
+libapache-mod-mono (0.7-4) unstable; urgency=low
+
+  * Fixed inst and removal scripts, now we check if we should start the mono-server 
+    daemon, so we show the user a 'cleaner' way to install libapache-mod-mono :-)
+
+ -- Pablo Fischer <pablo@pablo.com.mx>  Fri, 9 Apr 2004 18:41:36 -0600
+	
+libapache-mod-mono (0.7-3) unstable; urgency=low
+
+  * libapache-mod-mono.prerm
+    + Fixed the apachecfg dir, I was using apache2.. and eww.. we are using apache 1.3, Fixed!
+  * control
+    + Removed libapache-mod-mono from the mono-server dependencies. When we are uninstalling 
+      mod_mono we need mono-server to stop the daemon, removing it, fixes the problem
+  * libapache-mod-mono.postinst: 
+    + A fix in the rules, in the != ones, I should do: "$var" != "cond", instead of 
+      $var != "cond"  
+    + Removed the turn on and turn off options, we don't need them, just with modules-config, and that's 
+      all what we need to activate the mod_mono module, and added a disable functiont to disable  
+      the module
+  * README.Debian  
+    + Added with a brief explanation of what is the package and what is mod_mono.
+  * mono.conf:     
+    + Added a new alias, /monodoc, for /monodoc application	
+	
+ -- Pablo Fischer <pablo@pablo.com.mx>  Tue, 16 Mar 2004 12:31:57 -0600
+
+libapache-mod-mono (0.7-2) unstable; urgency=low
+
+  * Initial Release.
+  * Pablo Fischer:	
+    + to the postinst: added two functions: restart_apache and 
+      restart_monoserver.
+    + mono.conf: Added the DirectoryIndex. If we are running apache 
+      with mod_mono, the best idea is to show first the index.aspx 
+      as the index page.	
+    + rules: We create the full parent directories to /etc/apache/conf.d.
+	
+ -- Pablo Fischer <pablo@pablo.com.mx>  Sun, 29 Feb 2004 03:35:16 -0600
+	
+libapache-mod-mono (0.7-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Pablo Fischer <pablo@pablo.com.mx>  Sat, 28 Feb 2004 14:55:56 -0600
+

Added: libapache-mod-mono/branches/0.8-3/compat
===================================================================
--- libapache-mod-mono/branches/0.8-3/compat	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/compat	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1 @@
+4

Added: libapache-mod-mono/branches/0.8-3/control
===================================================================
--- libapache-mod-mono/branches/0.8-3/control	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/control	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,13 @@
+Source: libapache-mod-mono
+Section: web
+Priority: optional
+Maintainer: Pablo Fischer <pablo@pablo.com.mx>
+Build-Depends: debhelper (>= 4.0.0), apache-dev, libmono-dev
+Standards-Version: 3.6.0
+
+Package: libapache-mod-mono
+Architecture: any
+Section: web
+Depends: ${shlibs:Depends}, apache (>= 1.3.27-0.1), mono-jit (>= 0.31-2), mono-server (>= 0.12), wwwconfig-common
+Description: Run ASP.NET Pages on UNIX with Apache and Mono
+ Run ASP.NET pages on Unix with Apache and Mono!

Added: libapache-mod-mono/branches/0.8-3/copyright
===================================================================
--- libapache-mod-mono/branches/0.8-3/copyright	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/copyright	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,49 @@
+/* ====================================================================
+ * 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.
+ * ====================================================================
+ *
+ */
+

Added: libapache-mod-mono/branches/0.8-3/dirs
===================================================================
--- libapache-mod-mono/branches/0.8-3/dirs	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/dirs	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin

Added: libapache-mod-mono/branches/0.8-3/docs
===================================================================
--- libapache-mod-mono/branches/0.8-3/docs	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/docs	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,4 @@
+FAQ-old.txt
+FAQ-old.txt
+NEWS
+README

Added: libapache-mod-mono/branches/0.8-3/files
===================================================================
--- libapache-mod-mono/branches/0.8-3/files	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/files	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1 @@
+libapache-mod-mono_0.8-3_i386.deb web optional

Added: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.config
===================================================================
--- libapache-mod-mono/branches/0.8-3/libapache-mod-mono.config	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/libapache-mod-mono.config	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,36 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+db_capb backup
+db_title Mod Mono
+
+apachecfg="/etc/apache"
+
+STATE=1
+while [ "$STATE"  != 0 -a "$STATE" != 3 ]; do
+    case "$STATE" in
+        1) 
+            db_input medium libapache-mod-mono/wellcome || true
+            if db_go; then
+                db_get libapache-mod-mono/wellcome || true
+                STATE=2
+            else
+                STATE=0
+            fi
+            ;;
+        2)
+            db_input medium libapache-mod-mono/activate || true
+            if db_go; then
+                db_get libapache-mod-mono/activate || true
+                STATE=3
+            else
+                STATE=1
+            fi
+            ;;
+    esac
+done
+
+if [ "$STATE" = 0 ]; then
+    exit 1
+fi


Property changes on: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.config
___________________________________________________________________
Name: svn:executable
   + *

Added: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.dirs
===================================================================
--- libapache-mod-mono/branches/0.8-3/libapache-mod-mono.dirs	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/libapache-mod-mono.dirs	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,2 @@
+usr/lib
+usr/lib/apache/1.3

Added: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.postinst
===================================================================
--- libapache-mod-mono/branches/0.8-3/libapache-mod-mono.postinst	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/libapache-mod-mono.postinst	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,87 @@
+#!/bin/sh -e
+
+set -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+
+apachecfg="/etc/apache"
+modmono_conf="$apachecfg/conf.d/mono.conf"
+tempfile=`/bin/tempfile`
+restart=""
+
+activate_module() {
+for i in apache apache-ssl; do
+        if [ -e $apachecfg ]; then
+            if [ -d /etc/$i ]; then
+                modules-config $i enable libmod_mono
+            fi
+        fi
+done
+
+}
+
+disable_module() {
+for i in apache apache-ssl; do
+        if [ -e $apachecfg ]; then
+            if [ -d /etc/$i ]; then
+                modules-config $i disable libmod_mono
+            fi
+	fi
+done
+       
+}
+
+add_monoserver_conf() {
+   webservers="apache-ssl apache"
+
+   # wwwconfig way! I love it!
+   for server in $webservers; do
+       includefile=/etc/mono-server/mono-server-hosts.conf
+       conffile=/etc/apache/httpd.conf
+       . /usr/share/wwwconfig-common/apache-include.sh
+       if [ "$status" = "uncomment" -o "$status" = "include" ]; then
+	   restart="$restart $server"
+       fi
+   done
+}
+
+
+restart_apache() {
+    servers="apache-ssl apache"
+    . /usr/share/wwwconfig-common/restart.sh
+}
+
+
+case "$1" in
+    configure)
+    db_get libapache-mod-mono/activate
+    modmono_activate="$RET"
+
+    if [ $modmono_activate = "true" ]; then
+        activate_module
+    else
+	disable_module
+    fi
+
+    add_monoserver_conf
+    restart_apache
+    
+    rm -Rf $tempfile
+
+    
+    # Should we restart Apache?
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+        #Do nothing..
+    ;;
+
+    *)
+        echo "postinst failed \`$1'" >&2
+        exit 0
+        ;;
+esac
+
+exit 0


Property changes on: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.postinst
___________________________________________________________________
Name: svn:executable
   + *

Added: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.postrm.debhelper
===================================================================
--- libapache-mod-mono/branches/0.8-3/libapache-mod-mono.postrm.debhelper	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/libapache-mod-mono.postrm.debhelper	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,6 @@
+# Automatically added by dh_installdebconf
+if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
+	. /usr/share/debconf/confmodule
+	db_purge
+fi
+# End automatically added section

Added: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.prerm
===================================================================
--- libapache-mod-mono/branches/0.8-3/libapache-mod-mono.prerm	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/libapache-mod-mono.prerm	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,51 @@
+#!/bin/sh -e
+
+apachecfg="/etc/apache"
+restart=""
+
+turnoff_module() {
+for i in apache apache-ssl; do
+        if [ -e $apachecfg ]; then
+            if [ -d /etc/$i ]; then
+                modules-config $i disable libmod_mono quiet
+            fi
+        fi
+done
+
+}
+
+remove_monoserver_conf() {
+   webservers="apache-ssl apache"
+
+    #wwwconfig way! I love it!
+   for server in $webservers; do
+       includefile=/etc/mono-server/mono-server-hosts.conf
+       conffile=/etc/apache/httpd.conf
+       . /usr/share/wwwconfig-common/apache-uninclude.sh
+       if [ "$status" = "purge" ]; then
+	   restart="$restart $server"
+       fi
+   done
+}
+
+restart_apache() {
+    servers="apache-ssl apache"
+    . /usr/share/wwwconfig-common/restart.sh
+}
+
+case "$1" in
+  remove)
+        turnoff_module
+	remove_monoserver_conf
+	restart_apache
+        ;;
+    upgrade | deconfigure | failed-upgrade)
+        :
+        ;;
+    *) 
+        echo "postinst failed \`$1'" >&2
+        exit 0
+        ;;
+esac
+
+exit 0


Property changes on: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.prerm
___________________________________________________________________
Name: svn:executable
   + *

Added: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.substvars
===================================================================
--- libapache-mod-mono/branches/0.8-3/libapache-mod-mono.substvars	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/libapache-mod-mono.substvars	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,2 @@
+misc:Depends=debconf (>= 0.5) | debconf-2.0
+shlibs:Depends=libc6 (>= 2.3.2.ds1-4)

Added: libapache-mod-mono/branches/0.8-3/libapache-mod-mono.templates
===================================================================
--- libapache-mod-mono/branches/0.8-3/libapache-mod-mono.templates	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/libapache-mod-mono.templates	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,12 @@
+Template: libapache-mod-mono/wellcome
+Type: text
+Description: Wellcome to ModMono Configuration
+ During the configuration of mod_mono you will be asked for 
+ boolean questions. Once you finish it, you will be able to 
+ enjoy the power of viewing and creating ASP.NET website
+
+Template: libapache-mod-mono/activate
+Default: true
+Type: boolean
+Description: Activate Module
+ Would you like to me to activate the mono module?

Added: libapache-mod-mono/branches/0.8-3/mono.conf
===================================================================
--- libapache-mod-mono/branches/0.8-3/mono.conf	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/mono.conf	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,12 @@
+#This is the config file for mod_mono
+#I suggest you to DON'T EDIT this file, you are warned
+
+<IfModule mod_mono.c>
+	AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
+	MonoUnixSocket /tmp/.mono-server/mod_mono_server
+	DirectoryIndex index.aspx
+	# The ASP.NET examples directory, create an Alias
+	Alias /samples /usr/share/asp.net-demos/asp
+	Alias /monodoc /usr/share/dotnet/monodoc/web
+</IfModule>
+

Added: libapache-mod-mono/branches/0.8-3/postrm.debhelper
===================================================================
--- libapache-mod-mono/branches/0.8-3/postrm.debhelper	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/postrm.debhelper	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,6 @@
+# Automatically added by dh_installdebconf
+if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
+	. /usr/share/debconf/confmodule
+	db_purge
+fi
+# End automatically added section

Added: libapache-mod-mono/branches/0.8-3/rules
===================================================================
--- libapache-mod-mono/branches/0.8-3/rules	2004-05-25 14:52:20 UTC (rev 825)
+++ libapache-mod-mono/branches/0.8-3/rules	2004-05-25 14:54:15 UTC (rev 826)
@@ -0,0 +1,115 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+APACHELIB = $(CURDIR)/debian/libapache-mod-mono/usr/lib/apache/1.3
+APACHEETC = $(CURDIR)/debian/libapache-mod-mono/etc/apache/conf.d
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-apxs=/usr/bin/apxs
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+	#/usr/bin/docbook-to-man debian/libapache-mod-mono.sgml > libapache-mod-mono.1
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/libapache-mod-mono.
+	#We need APXS = /bin/true, a stupid trick or mod_mono will install everything in /usr 
+	# not in $(CURDIR)/debian/libapache-mod-mono	
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/libapache-mod-mono APXS=/bin/true
+
+	mkdir -p $(APACHEETC)
+	install -m644 $(CURDIR)/debian/500mod_mono.info $(APACHELIB)/500libmod_mono.info
+#	install -m644 $(CURDIR)/debian/mono.conf $(APACHEETC)/mono.conf	
+	install -m755 $(CURDIR)/src/.libs/libmod_mono.so $(APACHELIB)/libmod_mono.so
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 


Property changes on: libapache-mod-mono/branches/0.8-3/rules
___________________________________________________________________
Name: svn:executable
   + *