Author: oden Date: Sat Dec 9 18:56:03 2006 New Revision: 94240 Added: packages/cooker/hyperestraier/current/SOURCES/hyperestraier-1.4.9.tar.bz2 (contents, props changed) Removed: packages/cooker/hyperestraier/current/SOURCES/hyperestraier-1.4.0.tar.bz2 Modified: packages/cooker/hyperestraier/current/SPECS/hyperestraier.spec
Log: - 1.4.9 - fixed better apache config - added 2 more cgi's Added: packages/cooker/hyperestraier/current/SOURCES/hyperestraier-1.4.9.tar.bz2 ============================================================================== Binary file. No diff available. Modified: packages/cooker/hyperestraier/current/SPECS/hyperestraier.spec ============================================================================== --- packages/cooker/hyperestraier/current/SPECS/hyperestraier.spec (original) +++ packages/cooker/hyperestraier/current/SPECS/hyperestraier.spec Sat Dec 9 18:56:03 2006 @@ -6,12 +6,14 @@ Summary: A full-text search system for communities Name: hyperestraier -Version: 1.4.0 +Version: 1.4.9 Release: %mkrel 1 Group: Text tools License: LGPL URL: http://hyperestraier.sourceforge.net/ Source0: http://hyperestraier.sourceforge.net/%{name}-%{version}.tar.bz2 +BuildRequires: autoconf2.5 +BuildRequires: libtool BuildRequires: libqdbm-devel >= %{qdbm_version} BuildRequires: zlib-devel BuildRequires: bzip2-devel @@ -102,22 +104,27 @@ install -d %{buildroot}%{_sysconfdir}/httpd/conf/webapps.d cat > apache-hyperestraier.conf << EOF -<Files /var/www/cgi-bin/estseek.cgi> +<LocationMatch "^/cgi-bin/est(seek|fraud|proxy).cgi"> Options ExecCGI FollowSymlinks Order deny,allow Deny from all Allow from 127.0.0.1 -</Files> + ErrorDocument 403 "Access denied per %{_sysconfdir}/httpd/conf/webapps.d/hyperestraier.conf" +</LocationMatch> EOF -install -m0755 apache-hyperestraier.conf %{buildroot}%{_sysconfdir}/httpd/conf/webapps.d/hyperestraier.conf +install -m0644 apache-hyperestraier.conf %{buildroot}%{_sysconfdir}/httpd/conf/webapps.d/hyperestraier.conf install -d %{buildroot}%{_sysconfdir}/%{name} +install -m0644 estfraud.conf %{buildroot}%{_sysconfdir}/%{name}/ +install -m0644 estproxy.conf %{buildroot}%{_sysconfdir}/%{name}/ install -m0644 estseek.conf %{buildroot}%{_sysconfdir}/%{name}/ install -m0644 estseek.tmpl %{buildroot}%{_sysconfdir}/%{name}/ install -m0644 estseek.top %{buildroot}%{_sysconfdir}/%{name}/ pushd %{buildroot}/var/www/cgi-bin + ln -s %{_sysconfdir}/%{name}/estfraud.conf estfraud.conf + ln -s %{_sysconfdir}/%{name}/estproxy.conf estproxy.conf ln -s %{_sysconfdir}/%{name}/estseek.conf estseek.conf ln -s %{_sysconfdir}/%{name}/estseek.tmpl estseek.tmpl ln -s %{_sysconfdir}/%{name}/estseek.top estseek.top @@ -167,11 +174,17 @@ %files cgi %defattr(-,root,root) +%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/conf/webapps.d/hyperestraier.conf +%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/estfraud.conf +%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/estproxy.conf %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/estseek.conf %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/estseek.tmpl %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/estseek.top -%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/conf/webapps.d/hyperestraier.conf /var/www/cgi-bin/estseek.cgi +/var/www/cgi-bin/estfraud.cgi +/var/www/cgi-bin/estproxy.cgi +/var/www/cgi-bin/estfraud.conf +/var/www/cgi-bin/estproxy.conf /var/www/cgi-bin/estseek.conf /var/www/cgi-bin/estseek.tmpl /var/www/cgi-bin/estseek.top
