Author: glen Date: Wed Feb 23 16:04:35 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- configure default app log to /var/log/horde and add that dir
---- Files affected:
SPECS:
horde.spec (1.68 -> 1.69)
---- Diffs:
================================================================
Index: SPECS/horde.spec
diff -u SPECS/horde.spec:1.68 SPECS/horde.spec:1.69
--- SPECS/horde.spec:1.68 Wed Feb 23 16:34:51 2005
+++ SPECS/horde.spec Wed Feb 23 17:04:29 2005
@@ -1,6 +1,7 @@
# $Revision$, $Date$
# TODO:
# - support for Oracle and Sybase
+# - php-ldap might be needed if ldap auth is used
#
%include /usr/lib/rpm/macros.php
Summary: The common Horde Framework for all Horde modules
@@ -9,7 +10,7 @@
Summary(pt_BR): Componentes comuns do Horde usados por todos os módulos
Name: horde
Version: 3.0.3
-Release: 2.19
+Release: 2.20
License: LGPL
Vendor: The Horde Project
Group: Development/Languages/PHP
@@ -95,6 +96,7 @@
install -d $RPM_BUILD_ROOT%{_sysconfdir}/horde \
$RPM_BUILD_ROOT%{hordedir}/{admin,js,lib,locale,services} \
$RPM_BUILD_ROOT%{hordedir}/{templates,themes,util} \
+ $RPM_BUILD_ROOT/var/log/%{name}
cp -pR scripts docs
cp -pR *.php $RPM_BUILD_ROOT%{hordedir}
@@ -112,6 +114,8 @@
done
cp -p config/*.xml $RPM_BUILD_ROOT%{_sysconfdir}/horde
+sed -i -e 's,/tmp/horde.log,/var/log/%{name}/%{name}.log,'
$RPM_BUILD_ROOT%{_sysconfdir}/horde/conf.xml
+> $RPM_BUILD_ROOT/var/log/%{name}/%{name}.log
install %{SOURCE1}
$RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
ln -fs %{_sysconfdir}/%{name} $RPM_BUILD_ROOT%{hordedir}/config
@@ -223,6 +227,8 @@
%attr(770,root,http) %dir %{_sysconfdir}/horde
%attr(660,root,http) %config(noreplace) %{_sysconfdir}/horde/*.php
%attr(660,root,http) %config(noreplace) %{_sysconfdir}/horde/*.xml
+%attr(750,root,http) /var/log/%{name}
+%ghost %attr(770,root,http) /var/log/%{name}/%{name}.log
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -230,6 +236,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.69 2005/02/23 16:04:29 glen
+- configure default app log to /var/log/horde and add that dir
+
Revision 1.68 2005/02/23 15:34:51 matipl
- security patch (disabled *shell) (thx glen)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/horde.spec?r1=1.68&r2=1.69&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit