rpms/viewvc/F-11 viewvc.spec,1.19,1.20
bojan
bojan at fedoraproject.org
Wed Aug 12 03:02:21 UTC 2009
Author: bojan
Update of /cvs/pkgs/rpms/viewvc/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9514
Modified Files:
viewvc.spec
Log Message:
Fix replacement of varius config variables.
Index: viewvc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/viewvc/F-11/viewvc.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- viewvc.spec 11 Aug 2009 21:53:15 -0000 1.19
+++ viewvc.spec 12 Aug 2009 03:02:20 -0000 1.20
@@ -2,7 +2,7 @@
Name: viewvc
Version: 1.1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Browser interface for CVS and SVN version control repositories
Group: Development/Tools
@@ -69,10 +69,10 @@ with decent performance when run under A
# Fix paths in configuration
%{__perl} -pi \
- -e 's|^template_dir = .*|template_dir = %{_datadir}/viewvc/templates|g;' \
- -e 's|^#docroot = .*|docroot = /viewvc-static|;' \
- -e 's|^cvsgraph_conf = .*|cvsgraph_conf = %{_sysconfdir}/viewvc/cvsgraph.conf|;' \
- -e 's|^use_cvsgraph = .*|use_cvsgraph = 1|;' \
+ -e 's|^#* *template_dir = .*|template_dir = %{_datadir}/viewvc/templates|g;' \
+ -e 's|^#* *docroot = .*|docroot = /viewvc-static|;' \
+ -e 's|^#* *cvsgraph_conf = .*|cvsgraph_conf = %{_sysconfdir}/viewvc/cvsgraph.conf|;' \
+ -e 's|^#* *use_cvsgraph = .*|use_cvsgraph = 1|;' \
%{buildroot}%{python_sitelib}/viewvc/viewvc.conf
# Install config to sysconf directory
@@ -118,6 +118,9 @@ with decent performance when run under A
%config(noreplace) %{_sysconfdir}/httpd/conf.d/viewvc.conf
%changelog
+* Wed Aug 12 2009 Bojan Smojver <bojan at rexursive.com> - 1.1.2-2
+- fix replacement of varius config variables
+
* Wed Aug 12 2009 Bojan Smojver <bojan at rexursive.com> - 1.1.2-1
- bump up to 1.1.2
- security fix: validate the 'view' parameter to avoid XSS attack
More information about the fedora-extras-commits
mailing list