--- /dev/null
+# Eventum is under /eventum
+Alias /eventum /usr/share/eventum/htdocs
+
+# Eventum is running under VirtualHost
+#<VirtualHost *:80>
+# ServerName eventum.example.org
+# DocumentRoot /usr/share/eventum/htdocs
+#</VirtualHost>
+
+#<VirtualHost *:443>
+# ServerName eventum.example.org
+# DocumentRoot /usr/share/eventum/htdocs
+#</VirtualHost>
+
+<Directory /usr/share/eventum/htdocs>
+ AllowOverride None
+ Require all granted
+
+ # Make whole eventum password protected
+# AllowOverride None
+# Deny from all
+# AuthType Basic
+# AuthUserFile /etc/webapps/eventum/users
+# AuthGroupFile /etc/webapps/eventum/groups
+# AuthName "Eventum"
+# Require group eventum
+# Satisfy any
+
+ # for SCM integration
+ <Files scm_ping.php>
+ # Set here IP of host running CVS
+ Require local
+# Require ip xxx.xxx.xxx.xxx
+ </Files>
+
+ # rss has it's own authorization
+ <Files rss.php>
+ Require all granted
+ </Files>
+</Directory>
+
+# RPC for CLI interface
+<Directory /usr/share/eventum/htdocs/rpc>
+ # Add here clients whom you want to allow CLI access
+ Require local
+# Require ip xxx.xxx.xxx.xxx
+</Directory>
%define php_min_version 5.1.2
#define subver RC3
-%define rel 2
+%define rel 3
%include /usr/lib/rpm/macros.php
Summary: Eventum Issue / Bug tracking system
Summary(pl.UTF-8): Eventum - system śledzenia spraw/błędów
Source16: http://www.isocra.com/images/updown2.gif
# Source16-md5: deb6eeb2552ba757d3a949ed10c4107d
Source17: %{name}.tmpfiles
+Source18: %{name}-httpd.conf
Patch0: %{name}-lf.patch
Patch2: %{name}-order.patch
Patch3: group-users.patch
Requires: webserver(php) >= 4.2.0
Suggests: localedb
Suggests: php-pear-Net_LDAP2
+Conflicts: apache-base < 2.4.0-1
Conflicts: logrotate < 3.8.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
touch $RPM_BUILD_ROOT%{_webappdir}/htpasswd
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webappdir}/apache.conf
-cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
+cp -p %{SOURCE18} $RPM_BUILD_ROOT%{_webappdir}/httpd.conf
cp -p %{SOURCE15} $RPM_BUILD_ROOT%{_webappdir}/lighttpd.conf
install -d $RPM_BUILD_ROOT/etc/sphinx
%triggerun -- apache1 < 1.3.37-3, apache1-base
%webapp_unregister apache %{_webapp}
-%triggerin -- apache < 2.2.0, apache-base
+%triggerin -- apache-base
%webapp_register httpd %{_webapp}
-%triggerun -- apache < 2.2.0, apache-base
+%triggerun -- apache-base
%webapp_unregister httpd %{_webapp}
%triggerin -- lighttpd