|
|
7f0918b |
%global varnishver %(pkg-config --silence-errors --modversion varnishapi || echo 0)
|
|
|
6dcb8de |
%global gittag 0.18.0
|
|
|
7f0918b |
|
|
|
7c89415 |
%if 0%{?rhel} == 7 || 0%{?rhel} == 6
|
|
|
7c89415 |
%global docutils python34-docutils
|
|
|
340e75c |
%global rst2man rst2man-3.4
|
|
|
7c89415 |
%else
|
|
|
7c89415 |
%global docutils python3-docutils
|
|
|
340e75c |
%global rst2man rst2man
|
|
|
7c89415 |
%endif
|
|
|
7f0918b |
|
|
|
5206127 |
Name: varnish-modules
|
|
|
27cf399 |
Version: 0.19.0
|
|
|
16c71a9 |
Release: 3%{?dist}
|
|
|
5206127 |
Summary: A collection of modules ("vmods") extending Varnish VCL
|
|
|
5206127 |
|
|
|
5206127 |
License: BSD
|
|
|
9b7be58 |
URL: https://github.com/varnish/varnish-modules
|
|
|
27cf399 |
Source: https://github.com/varnish/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
|
74cdd76 |
|
|
|
5206127 |
BuildRequires: gcc
|
|
|
19b4c3b |
BuildRequires: make
|
|
|
19b4c3b |
BuildRequires: pkgconfig(varnishapi)
|
|
|
19b4c3b |
BuildRequires: varnish
|
|
|
5206127 |
|
|
|
7c89415 |
# Build from a git checkout
|
|
|
74cdd76 |
BuildRequires: automake
|
|
|
74cdd76 |
BuildRequires: autoconf
|
|
|
74cdd76 |
BuildRequires: libtool
|
|
|
7c89415 |
BuildRequires: %docutils
|
|
|
74cdd76 |
|
|
|
7c89415 |
Requires: varnish = %varnishver
|
|
|
5206127 |
|
|
|
19b4c3b |
Provides: vmod-bodyaccess = %{version}-%{release}
|
|
|
5206127 |
Provides: vmod-header = %{version}-%{release}
|
|
|
5206127 |
Provides: vmod-saintmode = %{version}-%{release}
|
|
|
5206127 |
Provides: vmod-tcp = %{version}-%{release}
|
|
|
5206127 |
Provides: vmod-var = %{version}-%{release}
|
|
|
19b4c3b |
Provides: vmod-vsthrottle = %{version}-%{release}
|
|
|
5206127 |
Provides: vmod-xkey = %{version}-%{release}
|
|
|
5206127 |
|
|
|
5206127 |
|
|
|
5206127 |
%description
|
|
|
5206127 |
This is a collection of modules ("vmods") extending Varnish VCL used
|
|
|
5206127 |
for describing HTTP request/response policies with additional
|
|
|
340e75c |
capabilities. This collection contains the following vmods:
|
|
|
340e75c |
bodyaccess, header, saintmode, tcp, var, vsthrottle, xkey
|
|
|
5206127 |
|
|
|
19b4c3b |
|
|
|
5206127 |
%prep
|
|
|
27cf399 |
#autosetup -n #{name}-#{gittag}
|
|
|
27cf399 |
%autosetup
|
|
|
74cdd76 |
|
|
|
19b4c3b |
|
|
|
5206127 |
%build
|
|
|
27cf399 |
#sh bootstrap
|
|
|
340e75c |
export RST2MAN=%{rst2man}
|
|
|
7c89415 |
%configure
|
|
|
7c89415 |
%make_build
|
|
|
5206127 |
|
|
|
340e75c |
|
|
|
5206127 |
%install
|
|
|
277f8d7 |
%make_install docdir=%_pkgdocdir
|
|
|
5206127 |
find %{buildroot}/%{_libdir}/ -name '*.la' -exec rm -f {} ';'
|
|
|
b7bc3ff |
rm %{buildroot}%{_pkgdocdir}/LICENSE # Rather use license macro
|
|
|
19b4c3b |
|
|
|
340e75c |
|
|
|
5206127 |
%check
|
|
|
4f0634a |
%ifarch %ix86 %arm ppc
|
|
|
7c89415 |
# 64-bit specific test
|
|
|
7c89415 |
sed -i 's,tests/xkey/test12.vtc,,' src/Makefile
|
|
|
7c89415 |
%endif
|
|
|
19b4c3b |
%make_build check VERBOSE=1
|
|
|
5206127 |
|
|
|
5206127 |
|
|
|
5206127 |
%files
|
|
|
9b7be58 |
#doc docs AUTHORS CHANGES.rst COPYING README.rst
|
|
|
6dcb8de |
%doc AUTHORS CHANGES.rst COPYING README.md
|
|
|
5206127 |
%license LICENSE
|
|
|
5206127 |
%{_libdir}/varnish/vmods/*
|
|
|
5206127 |
%{_mandir}/man3/*.3*
|
|
|
5206127 |
|
|
|
340e75c |
|
|
|
5206127 |
%changelog
|
|
|
16c71a9 |
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-3
|
|
|
16c71a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
16c71a9 |
|
|
|
543f609 |
* Tue Jan 18 2022 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.19.0-2
|
|
|
543f609 |
- Built for varnish-7.0.1
|
|
|
543f609 |
|
|
|
27cf399 |
* Thu Sep 23 2021 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.19.0-1
|
|
|
27cf399 |
- New upstream release
|
|
|
27cf399 |
- Built for varnish-7.0.0
|
|
|
27cf399 |
|
|
|
93f3454 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-3
|
|
|
93f3454 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
93f3454 |
|
|
|
2916424 |
* Sat Jul 17 2021 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.18.0-2
|
|
|
2916424 |
- Rebuilt for varnish-6.6.1
|
|
|
2916424 |
|
|
|
6dcb8de |
* Tue May 18 2021 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.18.0-1
|
|
|
6dcb8de |
- New upstream release
|
|
|
6dcb8de |
- Rebuilt for varnish-6.6.0
|
|
|
6dcb8de |
|
|
|
9b7be58 |
* Wed Mar 17 2021 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.17.1-1
|
|
|
9b7be58 |
- New upstream release
|
|
|
9b7be58 |
- Switched back to original varnish github upstream, as it has catched up
|
|
|
9b7be58 |
- Includes fix for CVE-2021-28543, VSV00006, bz#1939669
|
|
|
9b7be58 |
|
|
|
e2d45a9 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-0.3.klarlack.20200916git4d6593c
|
|
|
e2d45a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
e2d45a9 |
|
|
|
2a9d075 |
* Tue Sep 29 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.17.0-0.2.klarlack.20200916git
|
|
|
2a9d075 |
- Rebuilt for varnish-6.5.1
|
|
|
2a9d075 |
|
|
|
340e75c |
* Wed Sep 16 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.17.0-0.1.klarlack.20200916git
|
|
|
340e75c |
- Switched upstream to Nils Goroll's fork which is the defacto current upstream
|
|
|
340e75c |
- Synced description to reality
|
|
|
340e75c |
- This is a snapshot build that needs autotools for building
|
|
|
340e75c |
- Rebuilt for varnish-6.5.0
|
|
|
340e75c |
|
|
|
8bf28a6 |
* Mon Aug 17 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.16.0-3
|
|
|
8bf28a6 |
- Rebuilt for varnish-6.4.0
|
|
|
8bf28a6 |
|
|
|
e9d0c6b |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-2
|
|
|
e9d0c6b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e9d0c6b |
|
|
|
9a19a78 |
* Sat Mar 28 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.16.0-1
|
|
|
9a19a78 |
- New upstream release
|
|
|
9a19a78 |
|
|
|
9a19a78 |
* Tue Mar 17 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.16.0-0.1.20200317git21d0c84
|
|
|
7c89415 |
- Snapshot from 6.4 branch, rebuilt against varnish-6.4.0
|
|
|
7c89415 |
- Removed patches merged upstream
|
|
|
7c89415 |
- Delete 64-bit specific test on 32-bit arches
|
|
|
7c89415 |
|
|
|
f132825 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-8
|
|
|
f132825 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f132825 |
|
|
|
74cdd76 |
* Sun Sep 29 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.15.0-7
|
|
|
74cdd76 |
- Added patch from Nils Goroll, compatibility for varnish-6.3, closes bz#1736943
|
|
|
74cdd76 |
- Rebuilt against varnish-6.3.0
|
|
|
74cdd76 |
|
|
|
264de2c |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-6
|
|
|
264de2c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
264de2c |
|
|
|
b356e59 |
* Fri Feb 15 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.15.0-5
|
|
|
277f8d7 |
- Install docs in correct docdir
|
|
|
277f8d7 |
|
|
|
277f8d7 |
* Fri Feb 15 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.15.0-4
|
|
|
7f0918b |
- Added a simple patch from upstream, fixing a formatting bug trigged on 32bit
|
|
|
7f0918b |
- Removed dependency on docutils. It is not necessary on released tarballs
|
|
|
7f0918b |
|
|
|
ccf12f1 |
* Thu Feb 14 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.15.0-3
|
|
|
ccf12f1 |
- Added a proposed patch from Nils Goroll providing support for vmod_saintmode
|
|
|
ccf12f1 |
on varnish-6.1.1 (closes rhbz #1676183)
|
|
|
ccf12f1 |
|
|
|
52b4fb7 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
|
|
|
52b4fb7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
52b4fb7 |
|
|
|
19b4c3b |
* Tue Jul 17 2018 Dridi Boukelmoune <dridi@fedoraproject.org> 0.15.0-1
|
|
|
19b4c3b |
- Update to 0.15.0
|
|
|
19b4c3b |
- Drop EPEL and older Fedora releases support
|
|
|
19b4c3b |
- Drop broken manual ABI dependency to Varnish
|
|
|
19b4c3b |
- Drop commented out references to past patches
|
|
|
19b4c3b |
- Verbose test suite
|
|
|
19b4c3b |
- Simplified configure step
|
|
|
19b4c3b |
- Dependencies cleanup
|
|
|
19b4c3b |
|
|
|
7024c65 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-7
|
|
|
7024c65 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
7024c65 |
|
|
|
6e4e169 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-6
|
|
|
6e4e169 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
6e4e169 |
|
|
|
c7b95e3 |
* Sat Oct 21 2017 Dridi Boukelmoune <dridi@fedoraproject.org> 0.12.1-5
|
|
|
c7b95e3 |
- Update varnishabi requirement for f28
|
|
|
c7b95e3 |
|
|
|
5609cb8 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-4
|
|
|
5609cb8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
5609cb8 |
|
|
|
e90fd9a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-3
|
|
|
e90fd9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e90fd9a |
|
|
|
c0dedc9 |
* Thu Jun 01 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.12.1-2
|
|
|
c0dedc9 |
- Set correct varnishabi requirement for the different fedoras
|
|
|
c0dedc9 |
|
|
|
5206127 |
* Wed May 31 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.12.1-1
|
|
|
5206127 |
- New uptream release
|
|
|
5206127 |
- Pull el5 support
|
|
|
5206127 |
|
|
|
5206127 |
* Mon Mar 20 2017 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.11.0-1
|
|
|
5206127 |
- New upstream release
|
|
|
5206127 |
|
|
|
5206127 |
* Sat Sep 24 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.9.2-0.1.20160924gitdaa4f1d
|
|
|
5206127 |
- Upstream git checkout with support for varnish-5.0
|
|
|
5206127 |
- Removed patches that are included upstream
|
|
|
5206127 |
- el5 build fix
|
|
|
5206127 |
|
|
|
5206127 |
* Fri Aug 05 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.9.1-1
|
|
|
5206127 |
- New upstream release
|
|
|
5206127 |
- Build man pages, buildrequires python-docutils
|
|
|
5206127 |
- Added a patch for tests/cookie/08-overflow.vtc, upping workspace_client,
|
|
|
5206127 |
the default is too small on 32bit
|
|
|
5206127 |
- Removed extra cflags for el5, fixed with patch from upstream
|
|
|
5206127 |
- Force readable docs and debug files, they tend to end up with mode 600
|
|
|
5206127 |
|
|
|
5206127 |
* Tue Apr 05 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.9.0-1
|
|
|
5206127 |
- First wrap for fedora
|
|
|
5206127 |
- Uses some old-style specfile components for el5 compatibility, including
|
|
|
5206127 |
the usage of the BuildRoot header and cleaning the buildroot before install
|