ifolder/www-apps/ifolder3-enterprise/files/3.9.2/separate_client_server_dirs.patch

33 lines
905 B
Diff
Raw Normal View History

submitted upstream
https://bugzilla.novell.com/show_bug.cgi?id=608881
Index: simias-1.8.3.10200.0/configure.in
===================================================================
--- simias-1.8.3.10200.0.orig/configure.in 2010-07-19 16:46:38.915198031 -0400
+++ simias-1.8.3.10200.0/configure.in 2010-07-19 16:46:45.705202221 -0400
@@ -269,7 +269,11 @@ AC_SUBST(COMMON_MAINTAINER_CLEAN_FILES)
# We have our own "standard" directories for web services.
#
+if test "$runasclient" = "TRUE"; then
webdir="${libexecdir}/web"
+else
+ webdir="${libexecdir}/server"
+fi
webbindir="${webdir}/bin"
modulesdir="${webdir}/modules"
AC_SUBST(webdir)
@@ -485,7 +489,11 @@ AC_SUBST(mappingpath)
#
-simiasconfdir="${sysconfdir}/simias"
+if test "$runasclient" = "TRUE"; then
+ simiasconfdir="${sysconfdir}/simias/client"
+else
+ simiasconfdir="${sysconfdir}/simias/server"
+fi
AC_SUBST(simiasconfdir)
#