summaryrefslogtreecommitdiffstats
path: root/cgit.spec
Commit message (Collapse)AuthorAgeFilesLines
* use git's default, collision-detecting SHA1 implementationTodd Zullinger2018-08-101-2/+4
| | | | | | | | Now that the bundled git is > 2.13.0 we can drop the BLK_SHA1 make variable¹. The git default is now DC_SHA1 which provides collision detection to help protect against the SHATTERED attack. ¹ As noted in bb6278b ("avoid libcrypto.so requires", 2018-06-16)
* Update to 1.2.1, fixes directory traversal vulnerabilityTodd Zullinger2018-08-031-1/+4
| | | | | | References: https://lists.zx2c4.com/pipermail/cgit/2018-August/004176.html https://git.zx2c4.com/cgit/commit/?id=53efaf30b
* Update example cgtirc settingsTodd Zullinger2018-07-131-0/+1
| | | | | | | | | | Add a number of settings from the example cgitrc file section of the documentation. Update the config to reflect the default values, leaving them commented. Several settings which previously overrode the cgit defaults no longer do so. Those settings are: enable-commit-graph, enable-index-links, enable-log-filecount, enable-log-linecount, and max-stats.
* Include contrib dir in docsTodd Zullinger2018-07-131-1/+5
| | | | | The agefile setting is often used in combination with a post-receive hook. An example hook is included in contrib/hooks.
* Update to 1.2Todd Zullinger2018-07-131-9/+7
| | | | Remove extra '/' from git source URL.
* - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_RebuildFedora Release Engineering2018-07-121-1/+4
| | | | Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
* run test suite in %checkTodd Zullinger2018-06-161-0/+24
| | | | Run the test suite by default to help avoid shipping broken packages.
* avoid libcrypto.so requiresTodd Zullinger2018-06-161-0/+2
| | | | | | | | Enable the builtin BLK_SHA1 support in git to avoid the dependency on libcrypto.so. When cgit is updated to work with git >= 2.13.0 we can drop this, as the default SHA1 library was changed to DC_SHA1. The openssl-devel build dependency is still needed.
* cleanup cruft: drop Group tag, %defattr; use %licenseTodd Zullinger2018-06-161-5/+4
|
* use %bcond_(with|without) to handle httpd-filesystemTodd Zullinger2018-06-161-5/+12
| | | | | Centralize the various conditionals needed to support systems which lack an httpd-filesystem package. Add support for RHEL > 7.
* simplify README.SELinux installTodd Zullinger2018-06-161-10/+4
| | | | | All supported releases use the same selinux context (git_sys_content_t). Update README.SELinux and install it as-is.
* fix parallel make issues in docsTodd Zullinger2018-06-161-4/+7
|
* drop crufty curl-devel conditionalTodd Zullinger2018-06-161-4/+1
| | | | All supported releases use libcurl-devel.
* use %autosetup macroTodd Zullinger2018-06-161-2/+2
|
* use %bcond_(with|without) to toggle highlightTodd Zullinger2018-06-161-15/+12
| | | | | Apply the highlight v3 patch unconditionally and drop a crufty comment regarding el5.
* disable automatic compilation of *.py files outside of python sitelibTodd Zullinger2018-06-161-1/+10
| | | | | | | The *.py files in cgit are not importable python modules. Add %excludes to avoid packaging these files on Fedora < 29 and RHEL < 8. https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation
* fix typo in highlight commentTodd Zullinger2018-06-161-1/+1
|
* remove env shebang's from filter scriptsTodd Zullinger2018-06-161-0/+4
| | | | | | This fixes the generated dependencies, pulling in python3. The filters are not strictly required and perhaps should be split into a subpackage or installed as example scripts.
* make config: drop redundant DESTDIR/INSTALL, add COPYTREETodd Zullinger2018-06-161-2/+4
| | | | | The DESTDIR and INSTALL vars are already set by %make_install. Set COPYTREE to preserve timestamps when copying the filters during install.
* Add gcc and make BuildRequiresTodd Zullinger2018-02-181-0/+3
| | | | | | | The guidelines require all required packages to be explicitly listed. Additionally, a proposed change for Fedora 29 removes gcc from the default BuildRoot.
* Drop obsolete buildroot cleanupTodd Zullinger2018-02-181-1/+1
| | | | No supported releases of Fedora or EPEL require this cleanup.
* Use cgit.conf and config.mak for cgit/git build optionsTodd Zullinger2018-02-181-18/+28
| | | | | | | Both cgit and git Makefiles allow build options to be set via a file. Use it and drop the %make_cgit macro. Use the %make_build and %make_install macros as well.
* Remove el5 conditionalsTodd Zullinger2018-02-181-16/+2
| | | | Support for el5 has been gone since March 2017. Clean up the cruft.
* Use https for source URLsTodd Zullinger2018-02-181-4/+7
| | | | | | | | | | When updating/rebuilding from the spec file, we can be a little more secure in downloading the sources via https. It would be nice to check GPG signatures for the tarballs, but upstream cgit does not provide such signatures (they sign the git tag, but that doesn't help us here). We _could_ check the git tarball signature, borrowing the code from the %prep section of the git spec file.
* Remove %clean sectionIgor Gnatenko2018-02-141-3/+0
| | | | | | | None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
* Remove BuildRoot definitionIgor Gnatenko2018-02-131-1/+0
| | | | | | | None of currently supported distributions need that. It was needed last for EL5 which is EOL now Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
* - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_RebuildFedora Release Engineering2018-02-071-1/+4
| | | | Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
* - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_RebuildFedora Release Engineering2017-08-021-1/+4
|
* Rebuild with binutils fix for ppc64le (#1475636)Florian Weimer2017-07-301-1/+4
|
* - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_RebuildFedora Release Engineering2017-07-261-1/+4
|
* Require webserver on all dists (#1468839)Todd Zullinger2017-07-241-3/+6
| | | | | | | This was the intention of the previous commit, to ensure webserver is required on epel as well as fedora releases. The httpd-filesystem package is now required on fedora and on epel we simply own the %{_sysconfdir}/httpd{,/conf.d} directories.
* Fix httpd requirements on epel7. Fixes bug #1468839Kevin Fenzi2017-07-241-3/+10
|
* doc: suggest proper selinux contextPavel Raiskup2017-03-071-6/+6
| | | | | Resolves: rhbz#1429790 Version: 1.1-3
* - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_RebuildFedora Release Engineering2017-02-101-1/+4
|
* Revert "useless whitespace change to test commits"Kevin Fenzi2016-11-291-1/+0
| | | | This reverts commit 3e5cf36a28394cf303c01aef1620eb3cbf88399f.
* useless whitespace change to test commitsKevin Fenzi2016-11-291-0/+1
|
* Update to 1.1. Fixes bug #1397820Kevin Fenzi2016-11-231-3/+6
|
* provide 'bundled(git)'Pavel Raiskup2016-09-191-1/+7
| | | | https://fedoraproject.org/wiki/Bundled_Software_policy
* Update to 1.0Kevin Fenzi2016-06-071-3/+6
|
* - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_RebuildDennis Gilmore2016-02-031-1/+4
|
* Update to 0.12. Fixes bug #1298912Kevin Fenzi2016-01-161-3/+7
| | | | - Fixes CVE-2016-1899 CVE-2016-1900 CVE-2016-1901
* Fix typoKevin Fenzi2015-09-051-1/+1
|
* Fix up logic around webserver and httpd.Kevin Fenzi2015-09-051-2/+11
| | | | | - On Fedora require webserver and httpd-filesystem - On EPEL require httpd.
* - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_RebuildDennis Gilmore2015-06-171-1/+4
|
* Update to 0.11.2Kevin Fenzi2015-03-141-2/+5
|
* Update to 0.11.1Kevin Fenzi2015-03-101-3/+6
|
* Update to 0.11.0Kevin Fenzi2015-02-161-3/+6
|
* spec: require any webserver instead of httpdPavel Raiskup2015-02-091-2/+9
| | | | | Related: #1138599 Version: 0.10.2-5
* - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_RebuildPeter Robinson2014-08-151-1/+4
|
* spec: avoid BR highlight on epel-7-ppc64Pavel Raiskup2014-07-081-5/+23
| | | | | Related: #1117261 Version: 0.10.2-3