Compare commits
No commits in common. "rawhide" and "f22" have entirely different histories.
7 changed files with 64 additions and 229 deletions
13
.gitignore
vendored
13
.gitignore
vendored
|
|
@ -2,16 +2,3 @@
|
|||
/fossil-src-20140127173344.tar.gz
|
||||
/fossil-src-1.33.tar.gz
|
||||
/fossil-src-1.34.tar.gz
|
||||
/fossil-src-2.2.tar.gz
|
||||
/fossil-src-2.8.tar.gz
|
||||
/fossil-src-2.12.1.tar.gz
|
||||
/fossil-src-2.14.tar.gz
|
||||
/fossil-2.16.tar.gz
|
||||
/fossil-src-2.17.tar.gz
|
||||
/fossil-src-2.18.tar.gz
|
||||
/fossil-src-2.19.tar.gz
|
||||
/fossil-src-2.20.tar.gz
|
||||
/fossil-src-2.23.tar.gz
|
||||
/fossil-src-2.24.tar.gz
|
||||
/fossil-src-2.25.tar.gz
|
||||
/fossil-src-2.26.tar.gz
|
||||
|
|
|
|||
130
changelog
130
changelog
|
|
@ -1,130 +0,0 @@
|
|||
* Sun Jul 24 2022 Sheng Mao <shngmao@gmail.com> - 2.19-1
|
||||
- New upstream release 2.19
|
||||
|
||||
* Thu Feb 24 2022 Dan Čermák <dan.cermak@cgc-instruments.com> - 2.18-1
|
||||
- New upstream release 2.18
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.17-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Sat Dec 04 2021 Jonathan Schleifer <js@nil.im> - 2.17-1
|
||||
- Upgrade to fossil 2.17
|
||||
- Change upstream URL to match FreeBSD, Homebrew, pkgsrc etc. so hashes can be
|
||||
compared
|
||||
- Switch to vendored SQLite as Fossil releases regularly require unreleased
|
||||
SQLite versions and both are from the same upstream anyway
|
||||
|
||||
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2.16-3
|
||||
- Rebuilt with OpenSSL 3.0.0
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.16-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Sun Jul 04 2021 Sheng Mao <shngmao@gmail.com> - 2.16-1
|
||||
- Upgrade to fossil 2.16
|
||||
- Fixes rhbz#1921136, rhbz#1980049
|
||||
|
||||
* Wed Jan 27 2021 Sheng Mao <shngmao@gmail.com> - 2.14-1
|
||||
- Upgrade to fossil 2.14
|
||||
|
||||
* Wed Dec 16 2020 Sheng Mao <shngmao@gmail.com> - 2.13-2
|
||||
- Enable fossil-doc with searching feature
|
||||
|
||||
* Mon Dec 14 2020 Sheng Mao <shngmao@gmail.com> - 2.13-1
|
||||
- Upgrade to fossil 2.13
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Nov 25 2020 Sheng Mao <shngmao@gmail.com> - 2.12.1-2
|
||||
- Organize fossil documents in fossil repository format rhbz#1839024
|
||||
|
||||
* Mon Oct 19 2020 Sheng Mao <shngmao@gmail.com> - 2.12.1-1
|
||||
- Upgrade to fossil 2.12.1 after adding FTS4 to system-wide sqlite (rhbz#1887106)
|
||||
rhbz#1863577, rhbz#1870790
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-5
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jul 04 2019 Filipe Rosset <rosset.filipe@gmail.com> - 2.8-1
|
||||
- Update to 2.8 fixes rhbz#1581180 rhbz#1603993 rhbz#1674893 and rhbz#1524335
|
||||
- Removed upstreamed patch
|
||||
- Bug 1524335 - CVE-2017-17459 fossil: Command injection via malicious ssh URLs [fedora-all]
|
||||
- Bug 1581180 - Update fossil version to 2.6 (currently is 2.2)
|
||||
- Bug 1603993 - fossil: FTBFS in Fedora rawhide
|
||||
- Bug 1674893 - fossil: FTBFS in Fedora rawhide/f30
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Apr 28 2017 Patrick Uiterwijk <puiterwijk@redhat.com> - 2.2-2
|
||||
- Update source URL
|
||||
- Add patch to drop extra groups
|
||||
|
||||
* Fri Apr 28 2017 Patrick Uiterwijk <puiterwijk@redhat.com> - 2.2-1
|
||||
- Rebase to 2.2
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.34-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sun Mar 20 2016 Divya Cote <divya.hariomtatsat@gmail.com> - 1.34-1
|
||||
- Update to latest release
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.33-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed May 27 2015 Patrick Uiterwijk <puiterwijk@redhat.com> - 1.33-1
|
||||
- Update to latest release
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-4.20140127173344
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Mon Jun 16 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.28-3.20140127173344
|
||||
- Update config.guess/sub to fix ftbfs on new architectures (aarch64/ppc64le)
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2.20140127173344
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed Jan 29 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 1.28-1.20140127173344
|
||||
- Update to 1.28
|
||||
- Remove patch to use system sqlite
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3.20130216000435
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue May 07 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 1.25-2.20130216000435
|
||||
- Update file permissions for bin/fossil
|
||||
|
||||
* Fri May 03 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 1.25-1.20130216000435
|
||||
- Update packaging
|
||||
|
||||
* Tue Sep 08 2009 Silas Sewell <silas@sewell.ch> - 0.0-0.2.20090828225927
|
||||
- Add doc subpackage and make optflags
|
||||
|
||||
* Mon Sep 07 2009 Silas Sewell <silas@sewell.ch> - 0.0-0.1.20090828225927
|
||||
- Initial package
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
exec /usr/bin/fossil ui "$@" /usr/share/doc/fossil-doc/fossil-doc.fossil
|
||||
|
|
@ -1 +0,0 @@
|
|||
Please run command fossil-doc to view fossil documents.
|
||||
135
fossil.spec
135
fossil.spec
|
|
@ -1,23 +1,16 @@
|
|||
%bcond_without tests
|
||||
Name: fossil
|
||||
Version: 2.26
|
||||
Release: %autorelease
|
||||
Version: 1.34
|
||||
Release: 1%{?dist}
|
||||
Summary: A distributed SCM with bug tracking and wiki
|
||||
|
||||
License: BSD-2-Clause
|
||||
URL: https://www.fossil-scm.org/
|
||||
Source0: %{URL}home/tarball/version-%{version}/fossil-src-%{version}.tar.gz
|
||||
Source1: template.config
|
||||
Source2: fossil-doc
|
||||
Source3: fossil-doc-README
|
||||
Group: Development/Tools
|
||||
License: BSD
|
||||
URL: http://www.fossil-scm.org/
|
||||
Source0: http://www.fossil-scm.org/download/fossil-src-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: tcl
|
||||
BuildRequires: make
|
||||
BuildRequires: sqlite
|
||||
Provides: bundled(sqlite) = 3.38.0
|
||||
|
||||
%description
|
||||
Fossil is a simple, high-reliability, distributed software configuration
|
||||
|
|
@ -26,80 +19,78 @@ interface.
|
|||
|
||||
%package doc
|
||||
Summary: Fossil documentation
|
||||
|
||||
Requires: fossil
|
||||
Group: Documentation
|
||||
|
||||
%description doc
|
||||
Documentation in repository format for %{name}. Users can run `fossil ui`
|
||||
in %{_docdir}/%{name}-doc folder to view documents in browser.
|
||||
Documentation in HTML format for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p0 -n fossil-src-%{version}
|
||||
%setup -q -n %{name}-src-%{version}
|
||||
%{__rm} -f src/sqlite3.c
|
||||
|
||||
# Update config.guess/sub to fix builds on new architectures (aarch64/ppc64le)
|
||||
for conf in /usr/lib/rpm/config.*; do [ -z "${f}" ] && break; cp "${f}" autosetup; done
|
||||
cp /usr/lib/rpm/config.* autosetup
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
# This gives configure-without-libdir-spec, but this is done because this is not generated by autoconf (but by autosetup)
|
||||
# Because of this, it does not support the --host= argument like expected, and as such %%configure cannot be used
|
||||
./configure --build=%{_build} \
|
||||
--disable-dependency-tracking \
|
||||
--prefix=%{_prefix} \
|
||||
--exec-prefix=%{_exec_prefix} \
|
||||
--bindir=%{_bindir} \
|
||||
--sbindir=%{_sbindir} \
|
||||
--sysconfdir=%{_sysconfdir} \
|
||||
--datadir=%{_datadir} \
|
||||
--includedir=%{_includedir} \
|
||||
--libdir=%{_libdir} \
|
||||
--libexecdir=%{_libexecdir} \
|
||||
--localstatedir=%{_localstatedir} \
|
||||
--sharedstatedir=%{_sharedstatedir} \
|
||||
--mandir=%{_mandir} \
|
||||
--infodir=%{_infodir} \
|
||||
--with-openssl=auto \
|
||||
--json
|
||||
|
||||
%make_build
|
||||
# fix spurious-executable-perm
|
||||
chmod -x www/collisions.ipynb
|
||||
# fix env-script-interpreter
|
||||
sed -i "s:^#\!/usr/bin/env\s\+tclsh\s\?$:#!%_bindir/tclsh:" www/mkindex.tcl
|
||||
./configure --prefix=/usr --disable-internal-sqlite --with-openssl=auto
|
||||
%{__make} CFLAGS="%{optflags}" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
install -D -m 0644 -t %{buildroot}%{_mandir}/man1 fossil.1
|
||||
# For EPEL5 support
|
||||
%{__rm} -fr %{buildroot}
|
||||
make DESTDIR=%{buildroot} install
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
tclsh test/tester.tcl %{buildroot}%{_bindir}/%name
|
||||
%endif
|
||||
|
||||
|
||||
# create a fossil repository for documents with default settings
|
||||
%{buildroot}%{_bindir}/%name init --admin-user %name %name-doc.fossil
|
||||
%{buildroot}%{_bindir}/%name open --force %name-doc.fossil
|
||||
%{buildroot}%{_bindir}/%name configuration import %{SOURCE1}
|
||||
sqlite3 %name-doc.fossil "REPLACE INTO config(name,value,mtime) VALUES('doc-glob','*.wiki,*.html,*.md,*.txt',1608172730);"
|
||||
%{buildroot}%{_bindir}/%name add www
|
||||
%{buildroot}%{_bindir}/%name commit --user %name --force --comment '%name-doc initial commit'
|
||||
%{buildroot}%{_bindir}/%name fts-config enable d
|
||||
%{buildroot}%{_bindir}/%name fts-config index on
|
||||
|
||||
install -m 0755 -p -D %{SOURCE2} %{buildroot}%{_bindir}
|
||||
cp %{SOURCE3} README
|
||||
# For EPEL5 support
|
||||
%clean
|
||||
%{__rm} -fr %{buildroot}
|
||||
|
||||
%files
|
||||
%license COPYRIGHT-BSD2.txt
|
||||
%{_bindir}/%name
|
||||
%{_mandir}/man1/%name.1*
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYRIGHT-BSD2.txt
|
||||
%attr(0755, -, -) %{_bindir}/fossil
|
||||
|
||||
%files doc
|
||||
%{_bindir}/%name-doc
|
||||
%doc %name-doc.fossil
|
||||
%doc README
|
||||
%doc www
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* Sun Mar 20 2016 Divya Cote <divya.hariomtatsat@gmail.com> - 1.34-1
|
||||
- Update to latest release
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.33-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Wed May 27 2015 Patrick Uiterwijk <puiterwijk@redhat.com> - 1.33-1
|
||||
- Update to latest release
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-4.20140127173344
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Mon Jun 16 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.28-3.20140127173344
|
||||
- Update config.guess/sub to fix ftbfs on new architectures (aarch64/ppc64le)
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.28-2.20140127173344
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed Jan 29 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 1.28-1.20140127173344
|
||||
- Update to 1.28
|
||||
- Remove patch to use system sqlite
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3.20130216000435
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue May 07 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 1.25-2.20130216000435
|
||||
- Update file permissions for bin/fossil
|
||||
|
||||
* Fri May 03 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 1.25-1.20130216000435
|
||||
- Update packaging
|
||||
|
||||
* Tue Sep 08 2009 Silas Sewell <silas@sewell.ch> - 0.0-0.2.20090828225927
|
||||
- Add doc subpackage and make optflags
|
||||
|
||||
* Mon Sep 07 2009 Silas Sewell <silas@sewell.ch> - 0.0-0.1.20090828225927
|
||||
- Initial package
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (fossil-src-2.26.tar.gz) = 356a3b51adde40aedb094743eb978b78961c4216152000ecd800e22b69f1e3a11330259b627628fb6e9a594b1969f0351a73af717b500b4f12d109108fa82b61
|
||||
3d5a7da5c506a47784942236a788b29b fossil-src-1.34.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
config /config 41
|
||||
1606368705 'timeline-plaintext' value '1'
|
||||
config /config 44
|
||||
1606369015 'project-name' value 'fossil-doc'
|
||||
config /config 57
|
||||
1606369069 'index-page' value '/doc/trunk/www/index.wiki'
|
||||
config /config 34
|
||||
1606369257 'binary-glob' value '*'
|
||||
config /config 34
|
||||
1606368705 'hash-policy' value '2'
|
||||
Loading…
Add table
Add a link
Reference in a new issue