[csw-devel] SF.net SVN: gar:[16897] csw/mgar/pkg/389-admin/trunk

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Mon Jan 23 16:05:59 CET 2012


Revision: 16897
          http://gar.svn.sourceforge.net/gar/?rev=16897&view=rev
Author:   cgrzemba
Date:     2012-01-23 15:05:58 +0000 (Mon, 23 Jan 2012)
Log Message:
-----------
389-admin/trunk: fix httpd.conf and initscript

Modified Paths:
--------------
    csw/mgar/pkg/389-admin/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/389-admin/trunk/files/0003-correct-initscript-and-http.conf.in.patch

Modified: csw/mgar/pkg/389-admin/trunk/Makefile
===================================================================
--- csw/mgar/pkg/389-admin/trunk/Makefile	2012-01-23 15:03:02 UTC (rev 16896)
+++ csw/mgar/pkg/389-admin/trunk/Makefile	2012-01-23 15:05:58 UTC (rev 16897)
@@ -23,8 +23,7 @@
 
 PATCHFILES += 0001-change-includedir-preference-in-Makefile.am.patch
 PATCHFILES += 0002-add-i386-platform-to-configure.ac.patch
-PATCHFILES += 0004-disable-SMF-service-at-install.patch
-PATCHFILES += 0005-comment-out-httpd-thread-options-in-httpd.conf.patch
+PATCHFILES += 0003-correct-initscript-and-http.conf.in.patch
 
 PACKAGES += CSWlibds-admin-serv0
 CATALOGNAME_CSWlibds-admin-serv0 = libds_admin_serv0

Added: csw/mgar/pkg/389-admin/trunk/files/0003-correct-initscript-and-http.conf.in.patch
===================================================================
--- csw/mgar/pkg/389-admin/trunk/files/0003-correct-initscript-and-http.conf.in.patch	                        (rev 0)
+++ csw/mgar/pkg/389-admin/trunk/files/0003-correct-initscript-and-http.conf.in.patch	2012-01-23 15:05:58 UTC (rev 16897)
@@ -0,0 +1,66 @@
+From 285470791f9eb6dbb196075e0f1945a09c4ad9ea Mon Sep 17 00:00:00 2001
+From: Carsten Grzemba <cgrzemba at opencsw.org>
+Date: Mon, 23 Jan 2012 15:51:51 +0100
+Subject: [PATCH] correct initscript and http.conf.in
+
+---
+ admserv/cfgstuff/httpd.conf.in |   10 +++++-----
+ wrappers/initscript.in         |    6 ++++--
+ 2 files changed, 9 insertions(+), 7 deletions(-)
+
+diff --git a/admserv/cfgstuff/httpd.conf.in b/admserv/cfgstuff/httpd.conf.in
+index a66eb21..b4098d9 100644
+--- a/admserv/cfgstuff/httpd.conf.in
++++ b/admserv/cfgstuff/httpd.conf.in
+@@ -99,12 +99,12 @@ ServerTokens Minor
+ # start one server in multi threaded mode
+ StartServers 1
+ # mtm
+-ServerLimit 1
++ServerLimit 4
+ 
+-MaxClients 64
+-MinSpareThreads 32
+-MaxSpareThreads 64
+-ThreadsPerChild 64
++MaxClients 4
++# MinSpareThreads 32
++# MaxSpareThreads 64
++# ThreadsPerChild 64
+ 
+ #
+ # Dynamic Shared Object (DSO) Support
+diff --git a/wrappers/initscript.in b/wrappers/initscript.in
+index 82dd20e..8fd03da 100644
+--- a/wrappers/initscript.in
++++ b/wrappers/initscript.in
+@@ -7,6 +7,8 @@
+ # processname: @sbindir@/httpd
+ # piddir:      @localstatedir@/run/@PACKAGE_BASE_NAME@
+ #
++#AUTOENABLE no # no SMF enable at install!
++#
+ 
+ # Source function library.
+ if [ -f /etc/rc.d/init.d/functions ] ; then
+@@ -94,7 +96,7 @@ prog="@package_name@"
+ piddir="@localstatedir@/run/@PACKAGE_BASE_NAME@"
+ # PID file
+ pidfile=$piddir/admin-serv.pid
+-lockfile=/var/lock/subsys/@package_name@
++lockfile=@localstatedir@/lock/subsys/@package_name@
+ 
+ [ -f $exec ] || exit 0
+ 
+@@ -163,7 +165,7 @@ start() {
+             RETVAL=1
+         fi
+     fi
+-    [ $RETVAL -eq 0 -a -d /var/lock/subsys ] && touch $lockfile
++    [ $RETVAL -eq 0 -a -d @localstatedir@/lock/subsys ] && touch $lockfile
+ }
+ 
+ stop() {
+-- 
+1.7.8.3
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list