ifolder/www-apps/ifolder3-enterprise/files/separate_client_server_dirs.patch
geos_one 2bb9cb61b7 bump
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@2911 6952d904-891a-0410-993b-d76249ca496b
2011-06-08 15:26:24 +00:00

33 lines
905 B
Diff

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