rpms/mod_mono/devel mod_mono-2.0-varrun.patch, NONE, 1.1 import.log, 1.4, 1.5 mod_mono.spec, 1.13, 1.14

Paul F. Johnson pfj at fedoraproject.org
Sat Oct 11 21:36:37 UTC 2008


Author: pfj

Update of /cvs/pkgs/rpms/mod_mono/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7762/devel

Modified Files:
	import.log mod_mono.spec 
Added Files:
	mod_mono-2.0-varrun.patch 
Log Message:

Fixed to use /var/run instead of /tmp
Addition requires added to stop it crashing and burning 


mod_mono-2.0-varrun.patch:

--- NEW FILE mod_mono-2.0-varrun.patch ---
--- mod_mono-2.0/src/mod_mono.h	2008-07-15 18:52:53.000000000 +0100
+++ mod_mono-2.0/src/mod_mono-new.h	2008-10-11 22:27:30.000000000 +0100
@@ -175,13 +175,13 @@
 #endif
 
 #define MODMONO_SERVER_PATH 	MONO_PREFIX "/bin/mod-mono-server"
-#define WAPIDIR				"/tmp"
+#define WAPIDIR				"/var/run"
 #define DOCUMENT_ROOT		NULL
 #define APPCONFIG_FILE		NULL
 #define APPCONFIG_DIR		NULL
-#define SOCKET_FILE		"/tmp/mod_mono_server"
+#define SOCKET_FILE		"/var/run/mod_mono_server"
 #define LISTEN_ADDRESS		"127.0.0.1"
-#define DASHBOARD_FILE "/tmp/mod_mono_dashboard"
+#define DASHBOARD_FILE "/var/run/mod_mono_dashboard"
 
 #ifndef DEFAULT_RESTART_REQUESTS
 #define DEFAULT_RESTART_REQUESTS 10000


Index: import.log
===================================================================
RCS file: /cvs/pkgs/rpms/mod_mono/devel/import.log,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- import.log	10 Oct 2008 22:34:53 -0000	1.4
+++ import.log	11 Oct 2008 21:36:07 -0000	1.5
@@ -2,3 +2,4 @@
 mod_mono-2_0-2_fc10:HEAD:mod_mono-2.0-2.fc10.src.rpm:1221075027
 mod_mono-2_0-4_fc10:HEAD:mod_mono-2.0-4.fc10.src.rpm:1222992078
 mod_mono-2_0-5_fc10:HEAD:mod_mono-2.0-5.fc10.src.rpm:1223678042
+mod_mono-2_0-6_fc10:HEAD:mod_mono-2.0-6.fc10.src.rpm:1223760866


Index: mod_mono.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mod_mono/devel/mod_mono.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- mod_mono.spec	10 Oct 2008 22:34:53 -0000	1.13
+++ mod_mono.spec	11 Oct 2008 21:36:07 -0000	1.14
@@ -1,12 +1,13 @@
 Name: mod_mono
 Version: 2.0
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: MIT
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 URL: http://ftp.novell.com/pub/mono/sources-stable
 Source0: http://ftp.novell.com/pub/mono/sources/%{name}/%{name}-%{version}.tar.bz2
 BuildRequires: mono-devel >= 2.0, xsp-devel >= 2.0, pkgconfig, httpd-devel apr-devel
-Requires: httpd >= 2.2
+Patch0: mod_mono-2.0-varrun.patch
+Requires: httpd >= 2.2, mono-core, xsp
 Summary: A module to deploy an ASP.NET application on Apache with Mono
 Group: System Environment/Daemons
 
@@ -20,6 +21,7 @@
  
 %prep
 %setup -q
+%patch0 -p1 -b .varrun
 
 %build
 %configure --disable-static
@@ -48,6 +50,10 @@
 %{_mandir}/man8/mod_mono.8*
 
 %changelog
+* Sat Oct 11 2008 Paul F. Johnson <paul at all-the-johnsons.co.uk> 2.0-6
+- use var run instead of tmp
+- added additional Requires
+
 * Fri Oct 10 2008 Paul F. Johnson <paul at all-the-johnsons.co.uk> 2.0-5
 - fix URLs
 




More information about the scm-commits mailing list