www-apps/ifolder-server: Bump revision
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@1131 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
105
www-apps/ifolder-server/files/WSDLPATCH.diff
Normal file
105
www-apps/ifolder-server/files/WSDLPATCH.diff
Normal file
@@ -0,0 +1,105 @@
|
||||
Index: configure.in
|
||||
===================================================================
|
||||
--- configure.in (Revision 7049)
|
||||
+++ configure.in (Arbeitskopie)
|
||||
@@ -438,7 +438,8 @@
|
||||
# Setup the bootstrapdir
|
||||
#
|
||||
|
||||
-etcdir="/etc"
|
||||
+#etcdir="/etc"
|
||||
+etcdir="${sysconfdir}"
|
||||
AC_SUBST(etcdir)
|
||||
|
||||
case $SIMIAS_OS in
|
||||
Index: src/webaccess/Makefile.am
|
||||
===================================================================
|
||||
--- src/webaccess/Makefile.am (Revision 7049)
|
||||
+++ src/webaccess/Makefile.am (Arbeitskopie)
|
||||
@@ -121,7 +121,7 @@
|
||||
all: Novell.iFolderWeb.dll
|
||||
|
||||
iFolderWebProxy.cs: ../webservices/iFolderWeb.wsdl
|
||||
- wsdl /nologo /out:$@ $<
|
||||
+ $(WSDL) /nologo /out:$@ $<
|
||||
|
||||
Novell.iFolderWeb.dll: $(srcdir)/AssemblyInfo.cs $(iFolderWeb_CSFILES) $(iFolderWeb_RESOURCES)
|
||||
$(CSC) /out:$@ $(CSCFLAGS) $(iFolderWeb_FLAGS) $(iFolderWeb_LIBS:%=/r:%) $(iFolderWeb_RESOURCES:%=/res:%) $(iFolderWeb_LIBPATH:%=/lib:%) $(LOG4NET_LIBS) $(iFolderWeb_CSFILES_CSC) /doc:iFolderWeb.doc.xml
|
||||
Index: src/utils/usercmd/Makefile.am
|
||||
===================================================================
|
||||
--- src/utils/usercmd/Makefile.am (Revision 7049)
|
||||
+++ src/utils/usercmd/Makefile.am (Arbeitskopie)
|
||||
@@ -34,7 +34,7 @@
|
||||
all: UserCmd.exe
|
||||
|
||||
AdminService.cs: ../../webservices/iFolderAdmin.wsdl
|
||||
- wsdl /nologo /out:$@ $<
|
||||
+ $(WSDL) /nologo /out:$@ $<
|
||||
|
||||
UserCmd.exe: $(srcdir)/AssemblyInfo.cs $(UserCmd_CSFILES) $(UserCmd_RESOURCES)
|
||||
$(CSC) /out:$@ $(CSCFLAGS) $(UserCmd_FLAGS) $(SIMIAS_LIBS) $(UserCmd_LIBS:%=/r:%) $(UserCmd_LIBPATH:%=/lib:%) $(UserCmd_RESOURCES:%=$(ICON_FLAG)%) $(UserCmd_CSFILES_CSC) $(DOC_FILE_CMD)
|
||||
Index: src/webservices/Makefile.am
|
||||
===================================================================
|
||||
--- src/webservices/Makefile.am (Revision 7049)
|
||||
+++ src/webservices/Makefile.am (Arbeitskopie)
|
||||
@@ -101,10 +101,10 @@
|
||||
cp ../server/Simias.LdapProvider/Simias.LdapProvider.dll .
|
||||
|
||||
iFolderWebLocalProxy.cs: iFolderWebLocal.wsdl
|
||||
- wsdl /nologo /namespace:iFolder.WebService.Web /out:$@ $<
|
||||
+ $(WSDL) /nologo /namespace:iFolder.WebService.Web /out:$@ $<
|
||||
|
||||
iFolderAdminLocalProxy.cs: iFolderAdminLocal.wsdl
|
||||
- wsdl /nologo /namespace:iFolder.WebService.Admin /out:$@ $<
|
||||
+ $(WSDL) /nologo /namespace:iFolder.WebService.Admin /out:$@ $<
|
||||
|
||||
iFolderWebLocal.wsdl: copy iFolder.WebService.Local.dll GenerateWsdl.exe
|
||||
$(MONO) GenerateWsdl.exe iFolder.WebService.Local.dll iFolder.WebService.iFolderWebLocal http://127.0.0.1:8086/simias10/iFolderWebLocal.asmx $@
|
||||
Index: src/admin/Makefile.am
|
||||
===================================================================
|
||||
--- src/admin/Makefile.am (Revision 7049)
|
||||
+++ src/admin/Makefile.am (Arbeitskopie)
|
||||
@@ -141,7 +141,7 @@
|
||||
all: Novell.iFolderAdmin.dll
|
||||
|
||||
iFolderAdminWebProxy.cs: ../webservices/iFolderAdmin.wsdl
|
||||
- wsdl /nologo /out:$@ $<
|
||||
+ $(WSDL) /nologo /out:$@ $<
|
||||
|
||||
Novell.iFolderAdmin.dll: $(srcdir)/AssemblyInfo.cs iFolderAdminWebProxy.cs $(iFolderAdmin_CSFILES) $(iFolderAdmin_RESOURCES)
|
||||
$(CSC) /out:$@ $(CSCFLAGS) $(iFolderAdmin_FLAGS) $(iFolderAdmin_LIBS:%=/r:%) $(iFolderAdmin_RESOURCES:%=/res:%) $(iFolderAdmin_LIBPATH:%=/lib:%) $(srcdir)/AssemblyInfo.cs $(iFolderAdmin_CSFILES_CSC) $(LOG4NET_LIBS)
|
||||
Index: src/core/SimiasClient/Makefile.am
|
||||
===================================================================
|
||||
--- src/core/SimiasClient/Makefile.am (Revision 7049)
|
||||
+++ src/core/SimiasClient/Makefile.am (Arbeitskopie)
|
||||
@@ -38,7 +38,7 @@
|
||||
wsdl /out:SimiasService.cs $(srcdir)/../WebService/Simias.wsdl
|
||||
endif
|
||||
if LINUX
|
||||
- -$(WSDL) -nologo -out:SimiasService.cs $(srcdir)/../WebService/Simias.wsdl
|
||||
+ $(WSDL) -nologo -out:SimiasService.cs $(srcdir)/../WebService/Simias.wsdl
|
||||
endif
|
||||
if DARWIN
|
||||
wsdl -nologo -out:SimiasService.cs $(srcdir)/../WebService/Simias.wsdl
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
$(srcdir)/SimiasService2.cs: $(srcdir)/../WebService/Simias.wsdl
|
||||
if LINUX
|
||||
- wsdl -nologo -out:SimiasService2.cs $(srcdir)/../WebService/Simias.wsdl
|
||||
+ $(WSDL) -nologo -out:SimiasService2.cs $(srcdir)/../WebService/Simias.wsdl
|
||||
$(WSDL) -nologo -out:SimiasService.cs $(srcdir)/../WebService/Simias.wsdl
|
||||
endif
|
||||
|
||||
Index: src/reports/Proxy/Makefile.am
|
||||
===================================================================
|
||||
--- src/reports/Proxy/Makefile.am (Revision 7049)
|
||||
+++ src/reports/Proxy/Makefile.am (Arbeitskopie)
|
||||
@@ -28,7 +28,7 @@
|
||||
all: Novell.iFolder.Enterprise.Reports.Proxy.dll
|
||||
|
||||
iFolderReportsProxy.cs: ../WebService/iFolderReports.wsdl
|
||||
- wsdl /nologo /out:$@ $<
|
||||
+ $(WSDL) /nologo /out:$@ $<
|
||||
|
||||
Novell.iFolder.Enterprise.Reports.Proxy.dll: iFolderReportsProxy.cs $(iFolderReportsProxy_CSFILES) $(iFolderReportsProxy_RESOURCES)
|
||||
$(CSC) /out:$@ $(CSCFLAGS) $(iFolderReportsProxy_FLAGS) $(iFolderReportsProxy_LIBS:%=/r:%) $(iFolderReportsProxy_LIBPATH:%=/lib:%) $(iFolderReportsProxy_CSFILES_CSC) /doc:iFolderReportsProxy.doc.xml
|
||||
63
www-apps/ifolder-server/files/ifolder-3.7-admin-setup-1.diff
Normal file
63
www-apps/ifolder-server/files/ifolder-3.7-admin-setup-1.diff
Normal file
@@ -0,0 +1,63 @@
|
||||
diff -uNr simias.orig/src/server/setup/iFolderAdminSetup.cs simias/src/server/setup/iFolderAdminSetup.cs
|
||||
--- simias.orig/src/server/setup/iFolderAdminSetup.cs 2009-04-20 07:50:52.102027111 +0200
|
||||
+++ simias/src/server/setup/iFolderAdminSetup.cs 2009-04-20 08:05:06.621986960 +0200
|
||||
@@ -99,12 +99,12 @@
|
||||
/// <summary>
|
||||
/// Apache User.
|
||||
/// </summary>
|
||||
- public Option apacheUser = new Option("apache-user", "Apache User", "Apache User to use for providing permissions", false, "wwwrun");
|
||||
+ public Option apacheUser = new Option("apache-user", "Apache User", "Apache User to use for providing permissions", false, "apache");
|
||||
|
||||
/// <summary>
|
||||
/// Apache Group.
|
||||
/// </summary>
|
||||
- public Option apacheGroup = new Option("apache-group", "Apache Group", "Apache Group to use for providing permissions", false, "www");
|
||||
+ public Option apacheGroup = new Option("apache-group", "Apache Group", "Apache Group to use for providing permissions", false, "apache");
|
||||
|
||||
/// <summary>
|
||||
/// The port to connect on.
|
||||
@@ -150,7 +150,7 @@
|
||||
string MachineArch = Environment.GetEnvironmentVariable("OS_ARCH");
|
||||
webPath =( MachineArch == null )? Path.GetFullPath("../lib/simias/admin"): Path.GetFullPath("../lib64/simias/admin");
|
||||
// uid.conf
|
||||
- string path = Path.GetFullPath("/etc/apache2/uid.conf");
|
||||
+ string path = Path.GetFullPath("/etc/apache2/httpd.conf");
|
||||
|
||||
TextReader reader = (TextReader)File.OpenText(path);
|
||||
|
||||
@@ -365,7 +365,7 @@
|
||||
/// </summary>
|
||||
string ReadModMonoConfiguration()
|
||||
{
|
||||
- string path = Path.GetFullPath( "/etc/apache2/conf.d/simias.conf" );
|
||||
+ string path = Path.GetFullPath( "/etc/simias/apache/gentoo/ifolder_admin.conf" );
|
||||
string dataPath = null;
|
||||
if ( path == null || File.Exists( path ) == false )
|
||||
return null;
|
||||
@@ -400,7 +400,7 @@
|
||||
/// </summary>
|
||||
void SetupModMono()
|
||||
{
|
||||
- string path = "/etc/apache2/conf.d/ifolder_admin.conf";
|
||||
+ string path = "/etc/simias/apache/gentoo/ifolder_admin.conf";
|
||||
string datapath = ReadModMonoConfiguration();
|
||||
|
||||
string MachineArch = Environment.GetEnvironmentVariable("MACHINE_ARCH");
|
||||
@@ -434,17 +434,6 @@
|
||||
{
|
||||
sslPrefix = "#";
|
||||
}
|
||||
- if( Mono2TreePath != null )
|
||||
- writer.WriteLine( "Include {0}", Path.GetFullPath( Path.Combine(Mono2TreePath, "bin/mod_mono.conf")) );
|
||||
- else
|
||||
- {
|
||||
- string mod_mono2_path = "/etc/apache2/conf.d/mod_mono.conf";
|
||||
- if( File.Exists( mod_mono2_path ))
|
||||
- writer.WriteLine( "Include {0}", mod_mono2_path );
|
||||
- else
|
||||
- writer.WriteLine( "Include {0}", "/etc/apache2/mod_mono.conf" );
|
||||
- }
|
||||
- writer.WriteLine();
|
||||
writer.WriteLine("Alias /{0} \"{1}\"", alias, webPath);
|
||||
writer.WriteLine("AddMonoApplications {0} \"/{0}:{1}\"", alias, webPath);
|
||||
|
||||
62
www-apps/ifolder-server/files/ifolder-3.7-web-setup-1.diff
Normal file
62
www-apps/ifolder-server/files/ifolder-3.7-web-setup-1.diff
Normal file
@@ -0,0 +1,62 @@
|
||||
diff -uNr simias.orig/src/server/setup/iFolderWebSetup.cs simias/src/server/setup/iFolderWebSetup.cs
|
||||
--- simias.orig/src/server/setup/iFolderWebSetup.cs 2009-04-20 08:09:10.061712198 +0200
|
||||
+++ simias/src/server/setup/iFolderWebSetup.cs 2009-04-20 08:12:20.265928077 +0200
|
||||
@@ -99,12 +99,12 @@
|
||||
/// <summary>
|
||||
/// Apache User.
|
||||
/// </summary>
|
||||
- public Option apacheUser = new Option("apache-user", "Apache User", "Apache User to use for providing permissions", false, "wwwrun");
|
||||
+ public Option apacheUser = new Option("apache-user", "Apache User", "Apache User to use for providing permissions", false, "apache");
|
||||
|
||||
/// <summary>
|
||||
/// Apache Group.
|
||||
/// </summary>
|
||||
- public Option apacheGroup = new Option("apache-group", "Apache Group", "Apache Group to use for providing permissions", false, "www");
|
||||
+ public Option apacheGroup = new Option("apache-group", "Apache Group", "Apache Group to use for providing permissions", false, "apache");
|
||||
|
||||
/// <summary>
|
||||
/// The port to connect on.
|
||||
@@ -150,7 +150,7 @@
|
||||
string MachineArch = Environment.GetEnvironmentVariable("OS_ARCH");
|
||||
webPath = (MachineArch == null) ? Path.GetFullPath("../lib/simias/webaccess"): Path.GetFullPath("../lib64/simias/webaccess");
|
||||
// uid.conf
|
||||
- string path = Path.GetFullPath("/etc/apache2/uid.conf");
|
||||
+ string path = Path.GetFullPath("/etc/apache2/httpd.conf");
|
||||
|
||||
TextReader reader = (TextReader)File.OpenText(path);
|
||||
|
||||
@@ -379,7 +379,7 @@
|
||||
/// </summary>
|
||||
string ReadModMonoConfiguration()
|
||||
{
|
||||
- string path = Path.GetFullPath( "/etc/apache2/conf.d/simias.conf" );
|
||||
+ string path = Path.GetFullPath( "/etc/simias/apache/gentoo/simias.conf" );
|
||||
string dataPath = null;
|
||||
if ( path == null || File.Exists( path ) == false )
|
||||
return null;
|
||||
@@ -415,7 +415,7 @@
|
||||
/// </summary>
|
||||
void SetupModMono()
|
||||
{
|
||||
- string path = "/etc/apache2/conf.d/ifolder_web.conf";
|
||||
+ string path = "/etc/simias/apache/gentoo/ifolder_web.conf";
|
||||
string datapath = ReadModMonoConfiguration();
|
||||
|
||||
string MachineArch = Environment.GetEnvironmentVariable("MACHINE_ARCH");
|
||||
@@ -449,16 +449,6 @@
|
||||
{
|
||||
sslPrefix = "#";
|
||||
}
|
||||
- if( Mono2TreePath != null )
|
||||
- writer.WriteLine( "Include {0}", Path.GetFullPath( Path.Combine(Mono2TreePath, "bin/mod_mono.conf")) );
|
||||
- else
|
||||
- {
|
||||
- string mod_mono2_path = "/etc/apache2/conf.d/mod_mono.conf";
|
||||
- if( File.Exists( mod_mono2_path ))
|
||||
- writer.WriteLine( "Include {0}", mod_mono2_path );
|
||||
- else
|
||||
- writer.WriteLine( "Include {0}", "/etc/apache2/mod_mono.conf" );
|
||||
- }
|
||||
writer.WriteLine();
|
||||
writer.WriteLine("Alias /{0} \"{1}\"", alias, webPath);
|
||||
writer.WriteLine("AddMonoApplications {0} \"/{0}:{1}\"", alias, webPath);
|
||||
54
www-apps/ifolder-server/files/simias-1.8-server-setup-1.diff
Normal file
54
www-apps/ifolder-server/files/simias-1.8-server-setup-1.diff
Normal file
@@ -0,0 +1,54 @@
|
||||
diff -uNr simias.orig/src/server/setup/SimiasServerSetup.cs simias/src/server/setup/SimiasServerSetup.cs
|
||||
--- simias.orig/src/server/setup/SimiasServerSetup.cs 2009-04-20 08:15:08.228832251 +0200
|
||||
+++ simias/src/server/setup/SimiasServerSetup.cs 2009-04-20 08:19:45.906975519 +0200
|
||||
@@ -307,12 +307,12 @@
|
||||
/// <summary>
|
||||
/// Apache User.
|
||||
/// </summary>
|
||||
- public Option apacheUser = new Option("apache-user", "Apache User", "Apache User", false, "wwwrun");
|
||||
+ public Option apacheUser = new Option("apache-user", "Apache User", "Apache User", false, "apache");
|
||||
|
||||
/// <summary>
|
||||
/// Apache Group.
|
||||
/// </summary>
|
||||
- public Option apacheGroup = new Option("apache-group", "Apache Group", "Apache Group", false, "www");
|
||||
+ public Option apacheGroup = new Option("apache-group", "Apache Group", "Apache Group", false, "apache");
|
||||
|
||||
/// <summary>
|
||||
/// Prompt for options.
|
||||
@@ -892,7 +892,7 @@
|
||||
try
|
||||
{
|
||||
// uid.conf
|
||||
- using( TextReader reader = (TextReader)File.OpenText( Path.GetFullPath( "/etc/apache2/uid.conf" ) ) )
|
||||
+ using( TextReader reader = (TextReader)File.OpenText( Path.GetFullPath( "/etc/apache2/httpd.conf" ) ) )
|
||||
{
|
||||
string line;
|
||||
while( ( line = reader.ReadLine() ) != null )
|
||||
@@ -2288,7 +2288,7 @@
|
||||
/// </summary>
|
||||
void SetupModMono()
|
||||
{
|
||||
- string path = Path.GetFullPath( "/etc/apache2/conf.d/simias.conf" );
|
||||
+ string path = Path.GetFullPath( "/etc/simias/apache/gentoo/simias.conf" );
|
||||
Console.Write("Configuring {0}...", path);
|
||||
string Mono2TreePath = Environment.GetEnvironmentVariable("LOCAL_MONO_RUNTIME_PATH");
|
||||
|
||||
@@ -2312,17 +2312,6 @@
|
||||
*/
|
||||
|
||||
string alias = "simias10";
|
||||
- if( Mono2TreePath != null )
|
||||
- writer.WriteLine( "Include {0}", Path.GetFullPath( Path.Combine(Mono2TreePath, "bin/mod_mono.conf")) );
|
||||
- else
|
||||
- {
|
||||
- string mod_mono2_path = "/etc/apache2/conf.d/mod_mono.conf";
|
||||
- if( File.Exists( mod_mono2_path ))
|
||||
- writer.WriteLine( "Include {0}", mod_mono2_path );
|
||||
- else
|
||||
- writer.WriteLine( "Include {0}", "/etc/apache2/mod_mono.conf" );
|
||||
- }
|
||||
- writer.WriteLine();
|
||||
writer.WriteLine("Alias /{0} \"{1}\"", alias, SimiasSetup.webdir);
|
||||
writer.WriteLine("AddMonoApplications {0} \"/{0}:{1}\"", alias, SimiasSetup.webdir);
|
||||
writer.WriteLine("MonoSetEnv {0} \"SimiasRunAsServer=true;SimiasDataDir={1}\"", alias, this.storePath);
|
||||
@@ -0,0 +1,68 @@
|
||||
diff -uNr simias.orig/src/core/libsimias/Makefile.am simias/src/core/libsimias/Makefile.am
|
||||
--- simias.orig/src/core/libsimias/Makefile.am 2009-04-19 18:28:33.292587761 +0200
|
||||
+++ simias/src/core/libsimias/Makefile.am 2009-04-19 18:31:32.025741548 +0200
|
||||
@@ -6,7 +6,6 @@
|
||||
dist-hook:
|
||||
rm -rf `find $(distdir) |grep simiasClientLib.c`
|
||||
rm -rf `find $(distdir) |grep envC.c`
|
||||
- rm -rf `find $(distdir) |grep stdsoap2.c`
|
||||
|
||||
|
||||
lib_LTLIBRARIES = libsimias.la
|
||||
@@ -14,7 +13,7 @@
|
||||
override CFLAGS =
|
||||
|
||||
libsimias_la_SOURCES = \
|
||||
- envC.c simiasClientLib.c stdsoap2.c simias.c simias.h simiasweb.c simiasweb.h
|
||||
+ envC.c simiasClientLib.c simias.c simias.h simiasweb.c simiasweb.h
|
||||
|
||||
libsimias_la_CFLAGS = \
|
||||
$(XML2_CFLAGS) -DWITH_NONAMESPACES -DWITH_COOKIES
|
||||
@@ -22,19 +21,15 @@
|
||||
libsimias_la_LDFLAGS = \
|
||||
$(XML2_LIBS)
|
||||
|
||||
-envC.c: $(srcdir)/stdsoap2.c
|
||||
+envC.c:
|
||||
> $(srcdir)/env.h
|
||||
- $(GSOAP_PATH)/soapcpp2 -c -penv $(srcdir)/env.h
|
||||
+ soapcpp2 -c -penv $(srcdir)/env.h
|
||||
|
||||
-$(srcdir)/stdsoap2.c:
|
||||
- cp $(GSOAP_PATH)/stdsoap2.h $(srcdir)
|
||||
- cp $(GSOAP_PATH)/stdsoap2.c $(srcdir)
|
||||
-
|
||||
-$(srcdir)/libsimias.h: $(srcdir)/stdsoap2.c $(SIMIAS_WSDL)
|
||||
- $(GSOAP_PATH)/wsdl2h -c -o $@ $(SIMIAS_WSDL)
|
||||
+$(srcdir)/libsimias.h: $(SIMIAS_WSDL)
|
||||
+ wsdl2h -c -o $@ $(SIMIAS_WSDL)
|
||||
|
||||
$(srcdir)/simiasClientLib.c: $(srcdir)/libsimias.h
|
||||
- $(GSOAP_PATH)/soapcpp2 -c -n -psimias $(srcdir)/libsimias.h
|
||||
+ soapcpp2 -c -n -psimias $(srcdir)/libsimias.h
|
||||
|
||||
install-exec-hook:
|
||||
if !WINDOWS
|
||||
@@ -46,7 +41,6 @@
|
||||
$(mkinstalldirs) $(DESTDIR)$(includedir)
|
||||
$(INSTALL_PROGRAM) simiasStub.h $(DESTDIR)$(includedir)/simias
|
||||
$(INSTALL_PROGRAM) simias.nsmap $(DESTDIR)$(includedir)/simias
|
||||
- $(INSTALL_PROGRAM) stdsoap2.h $(DESTDIR)$(includedir)/simias
|
||||
$(INSTALL_PROGRAM) simiasH.h $(DESTDIR)$(includedir)/simias
|
||||
$(INSTALL_PROGRAM) simias.h $(DESTDIR)$(includedir)/simias
|
||||
$(INSTALL_PROGRAM) simiasweb.h $(DESTDIR)$(includedir)/simias
|
||||
@@ -54,13 +48,12 @@
|
||||
uninstall-local:
|
||||
rm -f $(DESTDIR)$(includedir)/simias/simiasStub.h
|
||||
rm -f $(DESTDIR)$(includedir)/simias/simias.nsmap
|
||||
- rm -f $(DESTDIR)$(includedir)/simias/stdsoap2.h
|
||||
rm -f $(DESTDIR)$(includedir)/simias/simiasH.h
|
||||
rm -f $(DESTDIR)$(includedir)/simias/simias.h
|
||||
rm -f $(DESTDIR)$(includedir)/simias/simiasweb.h
|
||||
|
||||
clean-local:
|
||||
- rm -f stdsoap2.* *.xml simias.nsmap simiasC* simiasH* simiasS* env* soap*
|
||||
+ rm -f *.xml simias.nsmap simiasC* simiasH* simiasS* env* soap*
|
||||
rm -rf $(COMMON_CLEAN_FILES)
|
||||
|
||||
distclean-local:
|
||||
Reference in New Issue
Block a user