Projects
Kolab:3.4
kolab-freebusy
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 13
View file
kolab-freebusy.spec
Changed
@@ -27,6 +27,7 @@ License: AGPLv3+ URL: http://kolab.org/about/kolab-freebusy Source0: http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz +Source1: kolab-freebusy.logrotate Patch1: 1777-lc_attributes.patch @@ -61,6 +62,9 @@ %{buildroot}/%{_datadir}/%{name}/ \ %{buildroot}/%{_localstatedir}/log/%{name}/ +mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d +cp -pr %SOURCE1 %{buildroot}%{_sysconfdir}/logrotate.d/kolab-freebusy + cat > %{buildroot}/%{_ap_sysconfdir}/conf.d/%{name}.conf <<EOF ScriptAlias /freebusy /usr/share/kolab-freebusy/public_html/index.php EOF @@ -94,12 +98,16 @@ %dir %{_ap_sysconfdir}/conf.d %endif %config(noreplace) %{_ap_sysconfdir}/conf.d/%{name}.conf +%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %attr(0750,root,%{httpd_group}) %dir %{_sysconfdir}/%{name}/ %attr(0640,root,%{httpd_group}) %config(noreplace) %{_sysconfdir}/%{name}/config.ini %{_datadir}/%{name}/ %attr(0770,root,%{httpd_group}) %{_localstatedir}/log/%{name} %changelog +* Tue Nov 26 2013 Daniel Hoffend <dh@dotlan.net> - 1.0.2-5 +- Added logrotate script + * Fri Nov 15 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0.2-4 - Depend on kolab-utils
View file
kolab-freebusy.logrotate
Added
@@ -0,0 +1,8 @@ +/var/log/kolab-freebusy/freebusy.log { + create 0660 apache apache + compress + missingok + notifempty + rotate 52 + weekly +}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.