ifolder/www-apps/ifolder3-enterprise/files/simias-1.8.3.9328.1-log-data-dir-1.patch
2010-01-30 13:31:21 +00:00

72 lines
3.5 KiB
Diff

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))
{