Compare commits

...
Sign in to create a new pull request.

43 commits

Author SHA1 Message Date
Till Maas
6eb52c18a2 2015-03-14: Retired bacause of broken deps:
unresolved dependencies for viewvc-1.1.23-1.el5.noarch:
python-pygments
2015-03-14 09:46:17 +01:00
Bojan Smojver
5a21a593cb Bump up to 1.1.23.
Conflicts:
	viewvc.spec
2014-11-06 08:04:18 +11:00
Bojan Smojver
feb0a83d2b Bump up to 1.1.22. 2014-01-15 09:01:36 +11:00
Bojan Smojver
b17a9cdbb5 Bump up to 1.1.21.
Conflicts:
	viewvc.spec
2013-09-14 18:33:22 +10:00
Bojan Smojver
1d156a6440 Bump up to 1.1.20. 2013-04-25 07:36:32 +10:00
Bojan Smojver
d3dcec3541 Bump up to 1.1.19. 2013-04-23 11:29:10 +10:00
Bojan Smojver
cbaa08347b Bump up to 1.1.18.
Conflicts:
	viewvc.spec
2013-03-01 15:00:16 +11:00
Bojan Smojver
8ae5915e23 Bump up to 1.1.17. 2012-10-26 07:35:01 +11:00
Bojan Smojver
e8d0a659c9 Bump up to 1.1.16.
Conflicts:
	viewvc.spec
2012-10-25 10:02:55 +11:00
Bojan Smojver
de6b2ba5ba Patch CVE-2012-4533, bug #868606.
Conflicts:
	viewvc.spec
2012-10-22 12:16:31 +11:00
Dennis Gilmore
3982c18ae8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-10-22 12:15:47 +11:00
Bojan Smojver
a4f515e480 Bump up to 1.1.15. 2012-06-23 12:27:42 +10:00
Bojan Smojver
1f1d88be9d Bump up to 1.1.14.
Conflicts:
	viewvc.spec
2012-06-13 10:21:19 +10:00
Bojan Smojver
7ae8717cd5 Merge branch 'master' into el5
Conflicts:
	.gitignore
	sources
	viewvc.spec
2012-01-24 15:28:15 +11:00
Bojan Smojver
f77accb35b Bump up to 1.1.12.
Conflicts:

	viewvc.spec
2011-11-04 10:21:11 +11:00
Bojan Smojver
a41ed28d2c Merge branch 'master' into el5
Conflicts:
	viewvc.spec
2011-06-03 10:24:55 +10:00
Bojan Smojver
d164e4d92c Make more like other branches. 2011-05-18 16:23:05 +10:00
Bojan Smojver
2d19355400 Merge branch 'master' into el5
Conflicts:
	.gitignore
	sources
	viewvc.conf
	viewvc.spec
2011-05-18 15:05:17 +10:00
Bojan Smojver
2bf3f91248 Bump up to 1.1.10. 2011-03-16 13:41:06 +11:00
Bojan Smojver
7c64632202 Bump up to 1.1.9.
Allow access to templates from localhost.
2011-03-08 09:48:59 +11:00
Bojan Smojver
adf830ca27 Fix sources. 2010-12-07 10:23:47 +11:00
Bojan Smojver
e1d8ba5368 Bump up 1.1.8. 2010-12-07 10:02:36 +11:00
Fedora Release Engineering
7e560cf64f dist-git conversion 2010-07-29 14:58:39 +00:00
bojan
1e4ee4e42f Bump up to 1.1.6. 2010-06-02 23:14:37 +00:00
bojan
aa020ffc63 Fix upstream issue #454. 2010-05-25 08:55:38 +00:00
bojan
483636eba6 Anything below 1.1.0 should be obsoleted by viewvc-httpd. 2010-03-31 21:43:10 +00:00
bojan
cb2d52d613 Pull in viewvc-httpd on upgrade from 1.0.x. 2010-03-31 20:53:57 +00:00
bojan
8ead101951 Bump up to 1.1.5. 2010-03-29 20:49:34 +00:00
bojan
9fc7aa1eb5 Bump up to 1.1.4. 2010-03-11 02:57:53 +00:00
bojan
b1e4292da0 Patch upstream issue #445. 2010-01-07 21:25:31 +00:00
bojan
f7878d3b75 Bump up to 1.1.3. 2009-12-22 21:48:05 +00:00
Bill Nottingham
969e0c498f Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:13:48 +00:00
bojan
2b7b13302d Patch upstream issue #427. 2009-09-23 00:49:01 +00:00
bojan
24c52944a7 Bump up to 1.1.2. 2009-09-04 06:38:22 +00:00
bojan
f27e3a1bbe Bump up to 1.0.9. Two security fixes. 2009-08-11 22:25:23 +00:00
bojan
5cd329a5b4 Bump up to 1.0.8. 2009-05-07 06:56:29 +00:00
bojan
f3e7f3c9fd Bump up to 1.0.7. 2008-10-14 23:46:36 +00:00
bojan
ab92913010 Bump up to 1.0.6. 2008-09-19 00:30:04 +00:00
bojan
da0f15a0d1 Bump up to 1.0.5. 2008-02-28 22:08:23 +00:00
83c3df8e57 Initialize branch EL-5 for viewvc 2007-12-19 02:16:16 +00:00
bojan
3d4adcd044 Bump up to 1.0.4. 2007-05-15 07:54:46 +00:00
bojan
33d3f334ea Drop selinux package, required context now in official policy. 2007-03-28 07:51:14 +00:00
bojan
99eae8e5b8 Initial import of viewvc for FC-6. 2007-03-09 03:48:43 +00:00
7 changed files with 4 additions and 354 deletions

8
.gitignore vendored
View file

@ -1,8 +0,0 @@
viewvc-1.1.6.tar.gz
/viewvc-1.1.7.tar.gz
/viewvc-1.1.8.tar.gz
/viewvc-1.1.9.tar.gz
/viewvc-1.1.10.tar.gz
/viewvc-1.1.11.tar.gz
/viewvc-1.1.12.tar.gz
/viewvc-1.1.13.tar.gz

View file

@ -1,2 +0,0 @@
In order to run ViewVC under Apache and mod_python, you must install
viewvc-httpd package.

4
dead.package Normal file
View file

@ -0,0 +1,4 @@
2015-03-14: Retired bacause of broken deps:
unresolved dependencies for viewvc-1.1.23-1.el5.noarch:
python-pygments

View file

@ -1 +0,0 @@
c6710daca7bbd161ab68d5921757cd21 viewvc-1.1.13.tar.gz

View file

@ -1,49 +0,0 @@
#!/usr/bin/python
import sys
import re
from pygments.lexers import get_all_lexers
for fullname, names, exts, mimetype in get_all_lexers():
if len(exts) > len(mimetype):
for j in range(len(mimetype)):
line=0
for i in range(len(exts)):
if re.match('\*\.',exts[i]):
if i == 0:
print mimetype[j],
line=1
if re.search('\[[0-9]+\]',exts[i]):
s=re.search('\[[0-9]+\]',exts[i]).span()[0]+1
e=re.search('\[[0-9]+\]',exts[i]).span()[1]-1
for k in range(s,e):
print exts[i][2:s-1]+exts[i][k]+exts[i][e+1:],
else:
print exts[i][2:],
if line==1 and i == len(exts)-1:
print
elif len(exts) == 1:
for i in range(len(mimetype)):
if re.match('\*\.',exts[0]):
if re.search('\[[0-9]+\]',exts[0]):
s=re.search('\[[0-9]+\]',exts[0]).span()[0]+1
e=re.search('\[[0-9]+\]',exts[0]).span()[1]-1
print mimetype[i],
for k in range(s,e):
print exts[0][2:s-1]+exts[0][k]+exts[0][e+1:],
print
else:
print mimetype[i], exts[0][2:]
else:
for i in range(len(mimetype)):
if len(exts) > i:
if re.match('\*\.',exts[i]):
if re.search('\[[0-9]+\]',exts[i]):
s=re.search('\[[0-9]+\]',exts[i]).span()[0]+1
e=re.search('\[[0-9]+\]',exts[i]).span()[1]-1
print mimetype[i],
for k in range(s,e):
print exts[i][2:s-1]+exts[i][k]+exts[i][e+1:],
print
else:
print mimetype[i], exts[i][2:]

View file

@ -1,15 +0,0 @@
Alias /viewvc __python_sitelib__/viewvc/bin/mod_python/viewvc-mp.py
Alias /viewvc-static __datadir__/viewvc/templates/docroot
<Directory __python_sitelib__/viewvc/bin/mod_python>
AddHandler python-program .py
PythonHandler handler
Order allow,deny
Allow from 127.0.0.1
</Directory>
<Directory __datadir__/viewvc/templates/docroot>
Options -Indexes
Order allow,deny
Allow from 127.0.0.1
</Directory>

View file

@ -1,279 +0,0 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: viewvc
Version: 1.1.13
Release: 1%{?dist}
Summary: Browser interface for CVS and SVN version control repositories
Group: Development/Tools
License: BSD
URL: http://www.viewvc.org/
Source0: http://www.viewvc.org/%{name}-%{version}.tar.gz
Source1: viewvc.conf
Source2: README.httpd
Source3: viewvc-lexer-mimetypes.py
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: %{name}-selinux < 1.0.3-13
Conflicts: selinux-policy < 2.5.10-2
BuildArch: noarch
BuildRequires: python-devel >= 2.0, python-pygments
Requires: rcs, diffutils
Requires: subversion >= 1.2
Requires: subversion-python >= 1.2
Requires: cvsgraph
Requires: python-pygments
%description
ViewVC is a browser interface for CVS and Subversion version control
repositories. It generates templatized HTML to present navigable directory,
revision, and change log listings. It can display specific versions of files
as well as diffs between those versions. Basically, ViewVC provides the bulk
of the report-like functionality you expect out of your version control tool,
but much more prettily than the average textual command-line program output.
%package httpd
Summary: ViewVC configuration for Apache/mod_python
Group: Development/Tools
Requires: httpd, %{name} = %{version}-%{release}, mod_python
%description httpd
ViewVC configuration for Apache/mod_python. This package should provide ViewVC
with decent performance when run under Apache.
%prep
%setup -q
%build
%install
%{__rm} -rf %{buildroot}
%{__python} viewvc-install --destdir="%{buildroot}" --prefix="%{python_sitelib}/viewvc"
# Remove unneeded files
%{__rm} -f %{buildroot}%{python_sitelib}/viewvc/bin/mod_python/.htaccess
# Move non-python to /usr/share
%{__mkdir} -p %{buildroot}%{_datadir}/viewvc
%{__mv} %{buildroot}%{python_sitelib}/viewvc/templates %{buildroot}%{_datadir}/viewvc
# Fix python files shebang and CONF_PATHNAME
%{__perl} -pi \
-e 's|/usr/local/bin/python|%{_bindir}/python|g;' \
-e 's|\s*/usr/bin/env python|%{_bindir}/python|g;' \
-e 's|CONF_PATHNAME =.*|CONF_PATHNAME = r"%{_sysconfdir}/viewvc/viewvc.conf"|g;' \
$(find %{buildroot}%{python_sitelib}/viewvc/ -type f)
# Set mode 755 on executable scripts
%{__grep} -rl '^#!' %{buildroot}%{python_sitelib}/viewvc | xargs %{__chmod} 0755
# 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|;' \
%{buildroot}%{python_sitelib}/viewvc/viewvc.conf
# Install config to sysconf directory
%{__install} -Dp -m0644 %{buildroot}%{python_sitelib}/viewvc/viewvc.conf %{buildroot}%{_sysconfdir}/viewvc/viewvc.conf
%{__rm} -f %{buildroot}%{python_sitelib}/viewvc/viewvc.conf
%{__install} -Dp -m0644 %{buildroot}%{python_sitelib}/viewvc/cvsgraph.conf %{buildroot}%{_sysconfdir}/viewvc/cvsgraph.conf
%{__rm} -f %{buildroot}%{python_sitelib}/viewvc/cvsgraph.conf
%{__install} -Dp -m0644 %{buildroot}%{python_sitelib}/viewvc/mimetypes.conf %{buildroot}%{_sysconfdir}/viewvc/mimetypes.conf
%{__rm} -f %{buildroot}%{python_sitelib}/viewvc/mimetypes.conf
%{SOURCE3} >> %{buildroot}%{_sysconfdir}/viewvc/mimetypes.conf
# Install Apache configuration and README
%{__sed} -e s,__datadir__,%{_datadir}, \
-e s,__python_sitelib__,%{python_sitelib}, %{SOURCE1} > viewvc.conf
%{__install} -Dp -m0644 viewvc.conf %{buildroot}/etc/httpd/conf.d/viewvc.conf
%{__cp} %{SOURCE2} README.httpd
# mod_python files mustn't be executable since they don't have shebang
# make rpmlint happy!
%{__chmod} 0644 %{buildroot}%{python_sitelib}/viewvc/bin/mod_python/*.py
# Rename viewvc.py to viewvc-mp.py for mod_python to avoid import cycle errors
%{__mv} %{buildroot}%{python_sitelib}/viewvc/bin/mod_python/viewvc.py \
%{buildroot}%{python_sitelib}/viewvc/bin/mod_python/viewvc-mp.py
# Make spool directory for temp files
%{__mkdir} -p %{buildroot}%{_localstatedir}/spool/viewvc
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, -)
%doc CHANGES README README.httpd INSTALL COMMITTERS LICENSE.html docs
%config(noreplace) %{_sysconfdir}/viewvc
%{python_sitelib}/*
%{_datadir}/*
%files httpd
%defattr(-, root, root, -)
%config(noreplace) %{_sysconfdir}/httpd/conf.d/viewvc.conf
%attr(0700,apache,apache) %{_localstatedir}/spool/viewvc
%changelog
* Tue Jan 24 2012 Bojan Smojver <bojan@rexursive.com> - 1.1.13-1
- bump up to 1.1.13
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Nov 4 2011 Bojan Smojver <bojan@rexursive.com> - 1.1.12-1
- bump up to 1.1.12
* Tue Nov 1 2011 Bojan Smojver <bojan@rexursive.com> - 1.1.11-3
- require subversion-python
* Wed Jun 1 2011 Bojan Smojver <bojan@rexursive.com> - 1.1.11-2
- in response to bug #708721:
- remove webserver dependency, can run standalone
- require httpd for httpd package
- move spool directory to httpd package
* Wed May 18 2011 Bojan Smojver <bojan@rexursive.com> - 1.1.11-1
- bump up to 1.1.11
* Wed Mar 16 2011 Bojan Smojver <bojan@rexursive.com> - 1.1.10-1
- bump up to 1.1.10
* Mon Feb 21 2011 Bojan Smojver <bojan@rexursive.com> - 1.1.9-1
- bump up to 1.1.9
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Mon Dec 6 2010 Bojan Smojver <bojan@rexursive.com> - 1.1.8-1
- bump up to 1.1.8
* Fri Sep 10 2010 Bojan Smojver <bojan@rexursive.com> - 1.1.7-1
- bump up to 1.1.7
- address bug #565805, allow access to templates from localhost
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Thu Jun 3 2010 Bojan Smojver <bojan@rexursive.com> - 1.1.6-1
- bump up to 1.1.6
- drop patch for upstream issue #454
* Tue May 25 2010 Bojan Smojver <bojan@rexursive.com> - 1.1.5-2
- patch upstream issue #454
* Tue Mar 30 2010 Bojan Smojver <bojan@rexursive.com> - 1.1.5-1
- bump up to 1.1.5
* Thu Mar 11 2010 Bojan Smojver <bojan@rexursive.com> - 1.1.4-1
- bump up to 1.1.4
* Fri Jan 8 2010 Bojan Smojver <bojan@rexursive.com> - 1.1.3-2
- patch upstream issue #445
* Wed Dec 23 2009 Bojan Smojver <bojan@rexursive.com> - 1.1.3-1
- bump up to 1.1.3
- drop patch for upstream issue #427
* Wed Sep 23 2009 Bojan Smojver <bojan@rexursive.com> - 1.1.2-5
- patch upstream issue #427
* Thu Aug 13 2009 Bojan Smojver <bojan@rexursive.com> - 1.1.2-4
- try one more time
* Thu Aug 13 2009 Bojan Smojver <bojan@rexursive.com> - 1.1.2-3
- better mimetypes.conf generation script
* Wed Aug 12 2009 Bojan Smojver <bojan@rexursive.com> - 1.1.2-2
- fix replacement of various config variables
* Wed Aug 12 2009 Bojan Smojver <bojan@rexursive.com> - 1.1.2-1
- bump up to 1.1.2
- security fix: validate the 'view' parameter to avoid XSS attack
- security fix: avoid printing illegal parameter names and values
* Tue Aug 11 2009 Bojan Smojver <bojan@rexursive.com> - 1.1.1-3
- install mimetypes.conf
- populate mimetypes.conf with what pygments understands
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Jun 4 2009 Bojan Smojver <bojan@rexursive.com> - 1.1.1-1
- Bump up to 1.1.1
* Thu May 14 2009 Bojan Smojver <bojan@rexursive.com> - 1.1.0-1
- Final 1.1.0
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-0.beta1.1.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.1.0-0.beta1.1.1
- Rebuild for Python 2.6
* Thu Nov 6 2008 Bojan Smojver <bojan@rexursive.com> - 1.1.0-0.beta1.1
- Rebase to 1.1.x
* Mon Oct 27 2008 Bojan Smojver <bojan@rexursive.com> - 1.0.7-2
- Depend on webserver to avoid pulling in Apache/mod_python (bug #457691)
- Provide viewvc-httpd package for mod_python specific configuration
* Wed Oct 15 2008 Bojan Smojver <bojan@rexursive.com> - 1.0.7-1
- Bump up to 1.0.7
* Fri Sep 19 2008 Bojan Smojver <bojan@rexursive.com> - 1.0.6-1
- Bump up to 1.0.6
* Fri Feb 29 2008 Bojan Smojver <bojan@rexursive.com> - 1.0.5-1
- Bump up to 1.0.5
* Sun Jun 3 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.4-2
- Avoid import cycle errors (temporary fix)
* Tue May 15 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.4-1
- Bump up to 1.0.4
* Wed Mar 28 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-13
- Supply obsoletes/conflicts
(suggestions by Peter Gordon, Bernard Johnson and Ville Skyttä)
* Thu Mar 22 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-12
- Drop selinux package, required context now in official policy
* Fri Mar 09 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-11
- Bump for tag
* Tue Mar 06 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-10
- Enable enscript only when available
* Tue Mar 06 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-9
- Enable cvsgraph
* Sun Mar 04 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-8
- EPEL support patch by Bernard Johnson
* Sat Mar 03 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-7
- Incorporate suggestions from package review process by Bernard Johnson
* Sat Mar 03 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-6
- Use restorecon instead of chcon
* Fri Mar 02 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-5
- SELinux integration
* Fri Mar 02 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-4
- Incorporate suggestions from package review process by Bernard Johnson
* Fri Mar 02 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-3
- Move non-python files out of %%{python_sitelib}
* Thu Mar 01 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-2
- Incorporate suggestions from package review process by Bernard Johnson
* Thu Mar 01 2007 Bojan Smojver <bojan@rexursive.com> - 1.0.3-1
- Initial release, 1.0.3
- Based on package provided by Dag Wieers