]> git.pld-linux.org Git - packages/cvsweb.git/commitdiff
Revert "- migrate to apache 2.4"
authorElan Ruusamäe <glen@delfi.ee>
Sat, 2 Nov 2013 23:49:18 +0000 (01:49 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 2 Nov 2013 23:49:18 +0000 (01:49 +0200)
This reverts commit 37220c63cbcd2e89385241708d2692b86fcfeea4.

cvsweb-httpd.conf [deleted file]
cvsweb.spec

diff --git a/cvsweb-httpd.conf b/cvsweb-httpd.conf
deleted file mode 100644 (file)
index 1c9ac8b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-
-<Directory /usr/share/cvsweb>
-       AllowOverride None
-       Require all granted
-</Directory>
-
-# Version1 (default): under /cgi-bin/cvsweb.cgi address
-ScriptAlias /cgi-bin/cvsweb.cgi /usr/lib/cgi-bin/cvsweb.cgi
-Alias /cvsweb/ /usr/share/cvsweb/
-
-<Location /cgi-bin/cvsweb.cgi>
-       Require all granted
-
-       # See also $charset in cvsweb.conf.
-       #AddDefaultCharset UTF-8
-
-       # if using apache2 mod_perl:
-#      <IfModule mod_perl.c>
-#              SetHandler perl-script
-#              PerlResponseHandler ModPerl::Registry
-#              PerlOptions +ParseHeaders
-#              Options ExecCGI
-#      </IfModule>
-</Location>
-
-# Version 2: cvsweb as handler to whole vhost:
-#<VirtualHost *:80>
-#      ServerName cvs
-#
-#      Alias /cvsweb/ /usr/share/cvsweb/
-#      DocumentRoot /usr/lib/cgi-bin/cvsweb.cgi
-#      <Location />
-#              Options ExecCGI
-#              Require all granted
-#      </Location>
-#</VirtualHost>
index eb409b0a08a186d4f7eddea0c1d0bab65a319b99..5c6ee8ce82d993049dac3220f9ffa87c6d066f81 100644 (file)
@@ -3,14 +3,13 @@ Summary:      Visual (www) interface to explore a CVS repository
 Summary(pl.UTF-8):     Wizualny (WWW) interfejs do przeglądania repozytorium CVS
 Name:          cvsweb
 Version:       3.0.6
-Release:       7
+Release:       6
 Epoch:         1
 License:       BSD
 Group:         Development/Tools
 Source0:       http://people.FreeBSD.org/~scop/cvsweb/%{name}-%{version}.tar.gz
 # Source0-md5: 0e1eec962b1db00e01b295fff84b6e89
 Source1:       %{name}-apache.conf
-Source2:       %{name}-httpd.conf
 URL:           http://www.freebsd.org/projects/cvsweb.html
 Patch0:                %{name}-config.patch
 Patch1:                %{name}-emptyscript.patch
@@ -24,7 +23,7 @@ Requires:     filesystem >= 3.0-11
 Requires:      mailcap
 Requires:      rcs
 Requires:      webapps
-Conflicts:     apache-base < 2.4.0-1
+Conflicts:     apache-base < 2.2.0-8
 Conflicts:     apache1 < 1.3.34-6
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -93,7 +92,7 @@ install icons/*               $RPM_BUILD_ROOT%{_appdir}/icons
 install %{name}.conf   $RPM_BUILD_ROOT%{_sysconfdir}
 echo '# vim:syn=perl' >> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -111,10 +110,10 @@ fi
 %triggerun -- apache1 < 1.3.37-3, apache1-base
 %webapp_unregister apache %{_webapp}
 
-%triggerin -- apache-base
+%triggerin -- apache < 2.2.0, apache-base
 %webapp_register httpd %{_webapp}
 
-%triggerun -- apache-base
+%triggerun -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
 %triggerpostun -- %{name} < 1:3.0.6-0.2
This page took 0.054987 seconds and 4 git commands to generate.