[Pkg-mono-svn-commits] [SCM] xsp branch, master, updated. debian/2.6.5-3-42-g87885a0

Jo Shields directhex at apebox.org
Mon Mar 28 07:59:54 UTC 2011


The following commit has been merged in the master branch:
commit 193e16756ab697ec9ee85f5d5d87139b84d42857
Author: Jo Shields <directhex at apebox.org>
Date:   Sun Mar 27 20:26:40 2011 +0100

    Remove fragments of earlier packaging efforts, which haven't been actually used for years

diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index 590aafc..0000000
--- a/debian/dirs
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/bin
-usr/sbin
-usr/share/man/man8
-usr/share/man/man1
diff --git a/debian/mono-server-reader.conf b/debian/mono-server-reader.conf
deleted file mode 100755
index 00de2ad..0000000
--- a/debian/mono-server-reader.conf
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/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 = <HOSTFILE>) {
-    $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;
diff --git a/debian/mono-xsp-reader.conf b/debian/mono-xsp-reader.conf
deleted file mode 100755
index 6742b55..0000000
--- a/debian/mono-xsp-reader.conf
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/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 = <HOSTFILE>) {
-    $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;
diff --git a/debian/mono-xsp2-reader.conf b/debian/mono-xsp2-reader.conf
deleted file mode 100644
index 2b3465b..0000000
--- a/debian/mono-xsp2-reader.conf
+++ /dev/null
@@ -1,109 +0,0 @@
-#!/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 = <HOSTFILE>) {
-    $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;
diff --git a/debian/web.config b/debian/web.config
deleted file mode 100644
index e292d50..0000000
--- a/debian/web.config
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
-    <configSections>
-	    <sectionGroup name="mono.aspnet">
-		<section name="acceptEncoding" type="Mono.Http.AcceptEncodingSectionHandler, Mono.Http"/>
-	    </sectionGroup>
-    </configSections>
-
-    <system.web>
-        <customErrors mode="Off"/>
-	<webServices>
-		<soapExtensionTypes>
-			<add type="DumpExtension, extensions" priority="0" group="0" />
-			<add type="EncryptExtension, extensions" priority="1" group="0" />
-		</soapExtensionTypes>
-	</webServices>
-	<authentication mode= "Forms">
-	</authentication>
-    	<!--httpModules>
-            <add name="AcceptEncodingModule" type="Mono.Http.AcceptEncodingModule, Mono.Http"/>
-	</httpModules-->
-    </system.web>
-
-    <mono.aspnet>
-        <acceptEncoding>
-	    <!-- Change disabled to 'no' to enable gzip content encoding -->
-	    <add encoding="gzip" type="Mono.Http.GZipWriteFilter, Mono.Http" disabled="no" />
-	</acceptEncoding>
-    </mono.aspnet>
-
-    <appSettings>
-	<add key="MonoServerDefaultIndexFiles"
-	     value="index.aspx, Default.aspx, default.aspx, index.html, index.htm" />
-	<add key="DBProviderAssembly"
-	     value="Mono.Data.PostgreSqlClient"/>
-	<add key="DBConnectionType"
-	     value="Mono.Data.PostgreSqlClient.PgSqlConnection"/>
-	<add key="DBConnectionString"
-	     value="hostaddr=127.0.0.1;user=monotest;password=monotest;dbname=monotest"/>
-    </appSettings>
-</configuration>
-

-- 
xsp



More information about the Pkg-mono-svn-commits mailing list