[packages/horde-jeta] - migrated to apache 2.4

baggins baggins at pld-linux.org
Wed May 15 19:47:48 CEST 2013


commit e6073e84a23f6ba3c9690de2044898277bfc0be8
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed May 15 19:47:41 2013 +0200

    - migrated to apache 2.4

 horde-jeta.spec               | 12 +++++++-----
 jeta.conf => jeta-apache.conf |  0
 jeta-httpd.conf               | 14 ++++++++++++++
 3 files changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/horde-jeta.spec b/horde-jeta.spec
index 46f198c..0a8b9e8 100644
--- a/horde-jeta.spec
+++ b/horde-jeta.spec
@@ -7,18 +7,20 @@ Summary:	Wrapper around the Java SSH App
 Summary(pl.UTF-8):	Wrapper dla Java SSH App
 Name:		horde-%{_hordeapp}
 Version:	1.0
-Release:	3
+Release:	4
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	ftp://ftp.horde.org/pub/jeta/%{_hordeapp}-h3-%{version}.tar.gz
 # Source0-md5:	674449d79e603db2fa88c6de8882ccd4
-Source1:	%{_hordeapp}.conf
+Source1:	%{_hordeapp}-apache.conf
+Source2:	%{_hordeapp}-httpd.conf
 URL:		http://www.horde.org/jeta/
 BuildRequires:	rpm-php-pearprov >= 4.0.2-98
 BuildRequires:	rpmbuild(macros) >= 1.264
 Requires:	apache(mod_access)
 Requires:	horde >= 3.0
 Requires:	webapps
+Conflicts:	apache-base < 2.4.0-1
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -63,7 +65,7 @@ cp -a docs/CREDITS $RPM_BUILD_ROOT%{_appdir}/docs
 
 ln -s %{_sysconfdir} $RPM_BUILD_ROOT%{_appdir}/config
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -79,10 +81,10 @@ fi
 %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}
 
 %files
diff --git a/jeta.conf b/jeta-apache.conf
similarity index 100%
rename from jeta.conf
rename to jeta-apache.conf
diff --git a/jeta-httpd.conf b/jeta-httpd.conf
new file mode 100644
index 0000000..af9dfac
--- /dev/null
+++ b/jeta-httpd.conf
@@ -0,0 +1,14 @@
+<Directory "/usr/share/horde/jeta/config">
+    Require all denied
+</Directory>
+<Directory "/usr/share/horde/jeta/lib">
+    Require all denied
+</Directory>
+<Directory "/usr/share/horde/jeta/locale">
+    Require all denied
+</Directory>
+<Directory "/usr/share/horde/jeta/templates">
+    Require all denied
+</Directory>
+
+# vim: filetype=apache ts=4 sw=4 et
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/horde-jeta.git/commitdiff/e6073e84a23f6ba3c9690de2044898277bfc0be8



More information about the pld-cvs-commit mailing list