SPECS: apache.spec - added patch for suexec: when called as suexec.fcgi it ...

hawk hawk at pld-linux.org
Tue May 13 21:38:37 CEST 2008


Author: hawk                         Date: Tue May 13 19:38:37 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added patch for suexec: when called as suexec.fcgi it removes some
  restriction making use of php + fcgi + suexec usage possible and allows
  virtual user UIDs, regular suexec works the old way
- release 6

---- Files affected:
SPECS:
   apache.spec (1.526 -> 1.527) 

---- Diffs:

================================================================
Index: SPECS/apache.spec
diff -u SPECS/apache.spec:1.526 SPECS/apache.spec:1.527
--- SPECS/apache.spec:1.526	Tue Apr 22 23:32:19 2008
+++ SPECS/apache.spec	Tue May 13 21:38:32 2008
@@ -35,7 +35,7 @@
 Summary(tr.UTF-8):	Lider WWW tarayıcı
 Name:		apache
 Version:	2.2.8
-Release:	5
+Release:	6
 License:	Apache
 Group:		Networking/Daemons
 Source0:	http://www.apache.org/dist/httpd/httpd-%{version}.tar.gz
@@ -91,7 +91,8 @@
 # http://www.telana.com/peruser.php (2.2.3-0.3.0)
 Patch21:	httpd-peruser.patch
 Patch22:	%{name}-libtool.patch
-Patch23:	%{name}-revert-bug-40463.patch
+Patch23:	%{name}-suexec_fcgi.patch
+Patch24:	%{name}-revert-bug-40463.patch
 URL:		http://httpd.apache.org/
 BuildRequires:	apr-devel >= 1:1.2
 BuildRequires:	apr-util-devel >= 1:1.2
@@ -1745,6 +1746,7 @@
 %patch21 -p1
 %patch22 -p1
 %patch23 -p1
+%patch24 -p1
 
 # using system apr, apr-util and pcre
 rm -rf srclib/{apr,apr-util,pcre}
@@ -2005,6 +2007,10 @@
 ScriptAlias /cgi-bin/test-cgi %{_cgibindir}/test-cgi
 EOF
 
+# our suexec is patched to support php + fcgi + suexec with
+# virtual users when called as suexec.fcgi
+ln -sf suexec $RPM_BUILD_ROOT%{_sbindir}/suexec.fcgi
+
 # no value
 rm $RPM_BUILD_ROOT%{_libexecdir}/build/config.nice
 rm $RPM_BUILD_ROOT%{_libexecdir}/*.exp
@@ -2326,6 +2332,7 @@
 %files suexec
 %defattr(644,root,root,755)
 %attr(4755,root,root) %{_sbindir}/suexec
+%attr(755,root,root) %{_sbindir}/suexec.fcgi
 %attr(755,root,root) %{_libexecdir}/mod_suexec.so
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_suexec.conf
 %{_mandir}/man8/suexec.8*
@@ -2719,6 +2726,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.527  2008-05-13 19:38:32  hawk
+- added patch for suexec: when called as suexec.fcgi it removes some
+  restriction making use of php + fcgi + suexec usage possible and allows
+  virtual user UIDs, regular suexec works the old way
+- release 6
+
 Revision 1.526  2008-04-22 21:32:19  dzeus
 - rel. 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apache.spec?r1=1.526&r2=1.527&f=u



More information about the pld-cvs-commit mailing list