/[smeserver]/rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.0-ldap_logs.patch
ViewVC logotype

Contents of /rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.0-ldap_logs.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Sep 23 06:38:50 2010 UTC (14 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-ldap-5_2_0-27_el5_sme, e-smith-ldap-5_2_0-29_el5_sme, e-smith-ldap-5_2_0-31_el5_sme, e-smith-ldap-5_2_0-49_el5_sme, e-smith-ldap-5_2_0-76_el5_sme, e-smith-ldap-5_2_0-71_el5_sme, e-smith-ldap-5_2_0-39_el5_sme, e-smith-ldap-5_2_0-77_el5_sme, e-smith-ldap-5_2_0-50_el5_sme, e-smith-ldap-5_2_0-78_el5_sme, e-smith-ldap-5_2_0-37_el5_sme, e-smith-ldap-5_2_0-61_el5_sme, e-smith-ldap-5_2_0-66_el5_sme, e-smith-ldap-5_2_0-70_el5_sme, e-smith-ldap-5_2_0-79_el5_sme, e-smith-ldap-5_2_0-81_el5_sme, e-smith-ldap-5_2_0-36_el5_sme, e-smith-ldap-5_2_0-59_el5_sme, e-smith-ldap-5_2_0-45_el5_sme, e-smith-ldap-5_2_0-75_el5_sme, e-smith-ldap-5_2_0-46_el5_sme, e-smith-ldap-5_2_0-56_el5_sme, e-smith-ldap-5_2_0-55_el5_sme, e-smith-ldap-5_2_0-57_el5_sme, e-smith-ldap-5_2_0-73_el5_sme, e-smith-ldap-5_2_0-69_el5_sme, e-smith-ldap-5_2_0-48_el5_sme, e-smith-ldap-5_2_0-44_el5_sme, e-smith-ldap-5_2_0-52_el5_sme, e-smith-ldap-5_2_0-51_el5_sme, e-smith-ldap-5_2_0-35_el5_sme, e-smith-ldap-5_2_0-72_el5_sme, e-smith-ldap-5_2_0-34_el5_sme, e-smith-ldap-5_2_0-28_el5_sme, e-smith-ldap-5_2_0-65_el5_sme, e-smith-ldap-5_2_0-54_el5_sme, e-smith-ldap-5_2_0-53_el5_sme, e-smith-ldap-5_2_0-43_el5_sme, e-smith-ldap-5_2_0-47_el5_sme, e-smith-ldap-5_2_0-25_el5_sme, e-smith-ldap-5_2_0-40_el5_sme, e-smith-ldap-5_2_0-80_el5_sme, e-smith-ldap-5_2_0-74_el5_sme, e-smith-ldap-5_2_0-41_el5_sme, e-smith-ldap-5_2_0-63_el5_sme, e-smith-ldap-5_2_0-60_el5_sme, e-smith-ldap-5_2_0-62_el5_sme, e-smith-ldap-5_2_0-42_el5_sme, e-smith-ldap-5_2_0-30_el5_sme, e-smith-ldap-5_2_0-38_el5_sme, e-smith-ldap-5_2_0-68_el5_sme, e-smith-ldap-5_2_0-67_el5_sme, e-smith-ldap-5_2_0-64_el5_sme, HEAD
add missing ldap_logs patch

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-ldap-5.2.0/root/var/service/ldap/log/run mezzanine_patched_e-smith-ldap-5.2.0/root/var/service/ldap/log/run
2 --- e-smith-ldap-5.2.0/root/var/service/ldap/log/run 1970-01-01 01:00:00.000000000 +0100
3 +++ mezzanine_patched_e-smith-ldap-5.2.0/root/var/service/ldap/log/run 2010-09-22 20:23:20.000000000 +0200
4 @@ -0,0 +1,28 @@
5 +#!/bin/sh
6 +
7 +#----------------------------------------------------------------------
8 +# copyright (C) 2010 Firewall-Services
9 +# daniel@firewall-services.com
10 +#
11 +# This program is free software; you can redistribute it and/or modify
12 +# it under the terms of the GNU General Public License as published by
13 +# the Free Software Foundation; either version 2 of the License, or
14 +# (at your option) any later version.
15 +#
16 +# This program is distributed in the hope that it will be useful,
17 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
18 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 +# GNU General Public License for more details.
20 +#
21 +# You should have received a copy of the GNU General Public License
22 +# along with this program; if not, write to the Free Software
23 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 +#
25 +# Technical support for this program is available from Mitel Networks
26 +# Please visit our web site www.mitel.com/sme/ for details.
27 +#----------------------------------------------------------------------
28 +exec \
29 + /usr/local/bin/setuidgid smelog \
30 + /usr/local/bin/multilog t s16777215 n20 \
31 + /var/log/ldap
32 +
33 diff -Nur -x '*.orig' -x '*.rej' e-smith-ldap-5.2.0/root/var/service/ldap/run mezzanine_patched_e-smith-ldap-5.2.0/root/var/service/ldap/run
34 --- e-smith-ldap-5.2.0/root/var/service/ldap/run 2010-09-22 20:24:19.000000000 +0200
35 +++ mezzanine_patched_e-smith-ldap-5.2.0/root/var/service/ldap/run 2010-09-22 20:24:04.000000000 +0200
36 @@ -1,8 +1,12 @@
37 #! /bin/sh
38
39 +exec 2>&1
40 +
41 domain=$(/sbin/e-smith/config get DomainName)
42 old_domain=$(readlink ldif)
43
44 +loglevel=$(config getprop ldap LogLevel || echo 256)
45 +
46 ./control/1
47
48 if [ -n "$old_domain" ]
49 @@ -55,4 +59,4 @@
50 fi
51
52 # Now run daemon
53 -exec /usr/sbin/slapd -4 -u ldap -d 0 -h "ldap:/// ldaps:/// ldapi:///"
54 +exec /usr/sbin/slapd -4 -u ldap -d $loglevel -s 0 -h "ldap:/// ldaps:/// ldapi:///"

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed