Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/web
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20271/10.3/unstable/main/finkinfo/web

Modified Files:
        mono-xsp.info 
Log Message:
mono 1.1.7 and friends

Index: mono-xsp.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/web/mono-xsp.info,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- mono-xsp.info       23 Nov 2004 12:44:29 -0000      1.4
+++ mono-xsp.info       6 Jun 2005 20:20:20 -0000       1.5
@@ -1,8 +1,9 @@
 Package: mono-xsp
-Version: 1.0.2
+Version: 1.0.9
 Revision: 1
-Source: http://www.go-mono.com/archive/%v/xsp-%v.tar.gz
-Source-MD5: f6c4699db4a3700ce576cd9847bec28c
+Source: http://www.go-mono.com/sources/xsp/xsp-%v.tar.gz
+Source-MD5: 49edbfb3edf93bdfb712700b18fdc461
+#Patch: %n.patch
 DocFiles: AUTHORS COPYING* ChangeLog INSTALL NEWS README
 Depends: mono (>= %v-1)
 BuildDepends: mono (>= %v-1)
@@ -13,15 +14,17 @@
 NoSetMAKEFLAGS: true
 ConfigureParams: --mandir=%p/share/man
 CompileScript: <<
-#!/bin/sh
+#!/bin/sh -ex
 
+  export lt_cv_sys_max_cmd_len=65536
   export MONO_PATH=%b/server:%b/test:$MONO_PATH
   ./configure %c
   make
 <<
 InstallScript: <<
-#!/bin/sh
-  make install DESTDIR=%d
+#!/bin/sh -ex
+  make -j1 install DESTDIR=%d
+  install -d -m 755 %i/bin
   install -d -m 755 %i/lib/%n
   install -d -m 755 %i/etc/%n
   install -d -m 755 %i/share/doc/%n
@@ -29,20 +32,20 @@
   touch %i/var/lib/%n/.turd
 
   mv %i/share/doc/xsp/* %i/share/doc/%n/
-  mv %i/bin/*.exe %i/lib/%n/
-  mv %i/bin/*.exe.config %i/etc/%n/
 
-  for file in asp_state.exe dbsessmgr.exe mod-mono-server.exe xsp.exe; do
-    cat <<END >%i/bin/${file/.exe/}
+  find %i/lib/mono -name \*.exe | while read FILE; do
+    FILE`echo $FILE | sed -e 's,^%d,,'`
+    FILENAME=`basename $FILE`
+    cat <<END >%i/bin/${FILENAME/.exe/}
 #!/bin/sh
 
 export MONO_PATH="%p/etc/%n:%p/lib/%n:\$MONO_PATH"
-%p/bin/mono %p/lib/%n/$file "\$@"
+%p/bin/mono %p/lib/mono/$FILENAME "\$@"
 END
   done
   chmod 755 %i/bin/*
 
-  cat <<END >%i/etc/%n/xsp.exe.config
+  cat <<END >%i/etc/%n/web.config
 <?xml version="1.0" encoding="utf-8"?>
 <configuration>
  <appSettings>
@@ -55,14 +58,12 @@
 </configuration>
 END
 
-  for file in asp_state.exe.config dbsessmgr.exe.config xsp.exe.config; do
+  for file in `cd %i/etc/%n; ls -1 *.exe.config`; do
     ln -sf %p/etc/%n/$file %i/lib/%n/
   done
 <<
 ConfFiles: <<
-  %p/etc/mono-xsp/asp_state.exe.config
-  %p/etc/mono-xsp/dbsessmgr.exe.config
-  %p/etc/mono-xsp/xsp.exe.config
+  %p/etc/mono-xsp/web.config
 <<
 DescDetail: <<
 The XSP server is a small web server that hosts the Mono



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to