www-apps/ifolder3-enterprise: add log-datadir-patch
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@1898 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
@@ -30,7 +30,7 @@ diff -uNr simias.orig/src/server/setup/iFolderAdminSetup.cs simias/src/server/se
|
||||
string ReadModMonoConfiguration()
|
||||
{
|
||||
- string path = Path.GetFullPath( "/etc/apache2/conf.d/simias.conf" );
|
||||
+ string path = Path.GetFullPath( "/etc/simias/apache/gentoo/ifolder_admin.conf" );
|
||||
+ string path = Path.GetFullPath( "/etc/simias/apache/gentoo/simias.conf" );
|
||||
string dataPath = null;
|
||||
if ( path == null || File.Exists( path ) == false )
|
||||
return null;
|
||||
|
||||
@@ -30,7 +30,7 @@ diff -uNr ifolder3-enterprise.orig/src/server/setup/iFolderAdminSetup.cs ifolder
|
||||
string ReadModMonoConfiguration()
|
||||
{
|
||||
- string path = Path.GetFullPath( "/etc/apache2/conf.d/simias.conf" );
|
||||
+ string path = Path.GetFullPath( "/etc/simias/apache/gentoo/ifolder_admin.conf" );
|
||||
+ string path = Path.GetFullPath( "/etc/simias/apache/gentoo/simias.conf" );
|
||||
string dataPath = null;
|
||||
if ( path == null || File.Exists( path ) == false )
|
||||
return null;
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
||||
Date: 2010-01-30
|
||||
Initial Package Version: 3.8.0.93281
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: change the defaults for the log and data dir in simias
|
||||
|
||||
diff -Naur ifolder3-enterprise-3.8.0.9328.1.orig/configure.in ifolder3-enterprise-3.8.0.9328.1/configure.in
|
||||
--- ifolder3-enterprise-3.8.0.9328.1.orig/configure.in 2010-01-30 12:56:29.633158084 +0000
|
||||
+++ ifolder3-enterprise-3.8.0.9328.1/configure.in 2010-01-30 13:20:44.045911549 +0000
|
||||
@@ -652,13 +652,13 @@
|
||||
AC_CHECKING([whether a location for the simias log directory was specified])
|
||||
AC_ARG_WITH(simiaslogdir,
|
||||
[AS_HELP_STRING([--with-simiaslogdir=PATH],
|
||||
- [configure the directory where the simias log files will be placed. [Default="/var/log/ifolder3"]])],
|
||||
+ [configure the directory where the simias log files will be placed. [Default="/var/lib/simias/log"]])],
|
||||
[case $SIMIAS_OS in
|
||||
windows) simiaslogdir=`cygpath --mixed $withval` ;;
|
||||
*) simiaslogdir="$withval" ;;
|
||||
esac],
|
||||
[if test "$runasclient" = "FALSE"; then
|
||||
- simiaslogdir="/var/log/ifolder3"
|
||||
+ simiaslogdir="/var/lib/simias/log"
|
||||
fi]
|
||||
)
|
||||
AC_SUBST(simiaslogdir)
|
||||
diff -Naur ifolder3-enterprise-3.8.0.9328.1.orig/src/server/setup/SimiasServerSetup.cs ifolder3-enterprise-3.8.0.9328.1/src/server/setup/SimiasServerSetup.cs
|
||||
--- ifolder3-enterprise-3.8.0.9328.1.orig/src/server/setup/SimiasServerSetup.cs 2010-01-30 12:56:29.649157921 +0000
|
||||
+++ ifolder3-enterprise-3.8.0.9328.1/src/server/setup/SimiasServerSetup.cs 2010-01-30 13:17:22.972157834 +0000
|
||||
@@ -160,7 +160,7 @@
|
||||
/// <summary>
|
||||
/// The store path.
|
||||
/// </summary>
|
||||
- public Option path = new Option("path,p", "Server's Data Path", "Path to the server's data files", true, "/var/simias/data");
|
||||
+ public Option path = new Option("path,p", "Server's Data Path", "Path to the server's data files", true, "/var/lib/simias");
|
||||
|
||||
/* /// <summary>
|
||||
/// The default configuration path.
|
||||
@@ -226,7 +226,7 @@
|
||||
/// <summary>
|
||||
/// LDAP URL
|
||||
/// </summary>
|
||||
- public Option recoveryAgentCertificatePath = new Option("ra-cert-path", "Recovery Agent Certificate Path", "Path to the Recovery agent certificate's.", false, "/var/simias/data");
|
||||
+ public Option recoveryAgentCertificatePath = new Option("ra-cert-path", "Recovery Agent Certificate Path", "Path to the Recovery agent certificate's.", false, "/var/lib/simias");
|
||||
|
||||
/// <summary>
|
||||
/// Use LDAP
|
||||
diff -Naur ifolder3-enterprise-3.8.0.9328.1.orig/src/server/setup/iFolderAdminSetup.cs ifolder3-enterprise-3.8.0.9328.1/src/server/setup/iFolderAdminSetup.cs
|
||||
--- ifolder3-enterprise-3.8.0.9328.1.orig/src/server/setup/iFolderAdminSetup.cs 2010-01-30 12:56:29.650157758 +0000
|
||||
+++ ifolder3-enterprise-3.8.0.9328.1/src/server/setup/iFolderAdminSetup.cs 2010-01-30 13:18:53.814157632 +0000
|
||||
@@ -482,7 +482,7 @@
|
||||
}
|
||||
|
||||
// create directory
|
||||
- string logPath = "/var/log/ifolder3";
|
||||
+ string logPath = "/var/lib/simias/log";
|
||||
|
||||
if (!System.IO.Directory.Exists(logPath))
|
||||
{
|
||||
diff -Naur ifolder3-enterprise-3.8.0.9328.1.orig/src/server/setup/iFolderWebSetup.cs ifolder3-enterprise-3.8.0.9328.1/src/server/setup/iFolderWebSetup.cs
|
||||
--- ifolder3-enterprise-3.8.0.9328.1.orig/src/server/setup/iFolderWebSetup.cs 2010-01-30 12:56:29.650157758 +0000
|
||||
+++ ifolder3-enterprise-3.8.0.9328.1/src/server/setup/iFolderWebSetup.cs 2010-01-30 13:18:46.357158059 +0000
|
||||
@@ -506,7 +506,7 @@
|
||||
}
|
||||
|
||||
// create directory
|
||||
- string logPath = "/var/log/ifolder3";
|
||||
+ string logPath = "/var/lib/simias/log";
|
||||
|
||||
if (!System.IO.Directory.Exists(logPath))
|
||||
{
|
||||
Reference in New Issue
Block a user