]> git.pld-linux.org Git - packages/cvsweb.git/commitdiff
- migrate to apache 2.4 auto/th/cvsweb-3.0.6-7
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 15 May 2013 16:32:25 +0000 (18:32 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 15 May 2013 16:32:25 +0000 (18:32 +0200)
- rel 7

cvsweb-httpd.conf [new file with mode: 0644]
cvsweb.spec

diff --git a/cvsweb-httpd.conf b/cvsweb-httpd.conf
new file mode 100644 (file)
index 0000000..1c9ac8b
--- /dev/null
@@ -0,0 +1,36 @@
+
+<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 5c6ee8ce82d993049dac3220f9ffa87c6d066f81..eb409b0a08a186d4f7eddea0c1d0bab65a319b99 100644 (file)
@@ -3,13 +3,14 @@ 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:       6
+Release:       7
 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
@@ -23,7 +24,7 @@ Requires:     filesystem >= 3.0-11
 Requires:      mailcap
 Requires:      rcs
 Requires:      webapps
-Conflicts:     apache-base < 2.2.0-8
+Conflicts:     apache-base < 2.4.0-1
 Conflicts:     apache1 < 1.3.34-6
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -92,7 +93,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 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -110,10 +111,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}
 
 %triggerpostun -- %{name} < 1:3.0.6-0.2
This page took 0.131234 seconds and 4 git commands to generate.