[packages/cvsweb] Revert "- migrate to apache 2.4"

glen glen at pld-linux.org
Sun Nov 3 00:52:42 CET 2013


commit 4722eebe3ae3f6be21eef4932152006b51381efa
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 3 01:49:18 2013 +0200

    Revert "- migrate to apache 2.4"
    
    This reverts commit 37220c63cbcd2e89385241708d2692b86fcfeea4.

 cvsweb-httpd.conf | 36 ------------------------------------
 cvsweb.spec       | 11 +++++------
 2 files changed, 5 insertions(+), 42 deletions(-)
---
diff --git a/cvsweb.spec b/cvsweb.spec
index eb409b0..5c6ee8c 100644
--- a/cvsweb.spec
+++ b/cvsweb.spec
@@ -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
diff --git a/cvsweb-httpd.conf b/cvsweb-httpd.conf
deleted file mode 100644
index 1c9ac8b..0000000
--- a/cvsweb-httpd.conf
+++ /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>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cvsweb.git/commitdiff/63ba4d819e6a18eb9271e3b6e0212583f3740f58



More information about the pld-cvs-commit mailing list