varnish: version upgrades

This commit is contained in:
Raven 2024-08-25 08:55:31 +06:00
parent b2198a9b48
commit bf38c68048
3 changed files with 1273 additions and 5 deletions

View File

@ -33,7 +33,7 @@
Summary: High-performance HTTP accelerator Summary: High-performance HTTP accelerator
Name: varnish Name: varnish
Version: 7.3.1 Version: 7.3.2
Release: 1%{?dist} Release: 1%{?dist}
License: BSD License: BSD
URL: https://www.varnish-cache.org/ URL: https://www.varnish-cache.org/
@ -58,7 +58,7 @@ Provides: vmod(vtc)%{_isa} = %{version}-%{release}
%if 0%{?rhel} == 7 %if 0%{?rhel} == 7
BuildRequires: python34 python34-sphinx python34-docutils BuildRequires: python36 python36-sphinx python36-docutils
%else %else
BuildRequires: python3, python3-sphinx, python3-docutils BuildRequires: python3, python3-sphinx, python3-docutils
%endif %endif
@ -278,6 +278,7 @@ chmod 644 lib/libvmod_*/*.h
%pre %pre
echo "WARNING!!! Varnish 7.3 is discontinued. Consider upgrading to a newer version"
getent group varnish >/dev/null || groupadd -r varnish getent group varnish >/dev/null || groupadd -r varnish
getent passwd varnish >/dev/null || \ getent passwd varnish >/dev/null || \
useradd -r -g varnish -d /var/lib/varnish -s /sbin/nologin \ useradd -r -g varnish -d /var/lib/varnish -s /sbin/nologin \
@ -300,6 +301,9 @@ test -f /etc/varnish/secret || (uuidgen > /etc/varnish/secret && chmod 0600 /etc
%changelog %changelog
* Fri May 31 2024 Raven <raven@sysadmins.ws> - 7.3.2-1
- New upstream release
* Thu Jan 4 2024 Raven <raven@sysadmins.ws> - 7.3.1-1 * Thu Jan 4 2024 Raven <raven@sysadmins.ws> - 7.3.1-1
- New upstream release - New upstream release

File diff suppressed because it is too large Load Diff

View File

@ -12,8 +12,8 @@
%global __provides_exclude_from ^%{_libdir}/varnish/vmods %global __provides_exclude_from ^%{_libdir}/varnish/vmods
%global abi 84d79120b6d17b11819a663a93160743f293e63f %global abi eef25264e5ca5f96a77129308edb83ccf84cb1b1
%global vrt 17.0 %global vrt 19.0
# Package scripts are now external # Package scripts are now external
# https://github.com/varnishcache/pkg-varnish-cache # https://github.com/varnishcache/pkg-varnish-cache
@ -37,7 +37,7 @@
Summary: High-performance HTTP accelerator Summary: High-performance HTTP accelerator
Name: varnish Name: varnish
Version: 7.4.2 Version: 7.5.0
Release: 1%{?dist} Release: 1%{?dist}
License: BSD License: BSD
URL: https://www.varnish-cache.org/ URL: https://www.varnish-cache.org/
@ -79,6 +79,10 @@ BuildRequires: make
BuildRequires: ncurses-devel >= 5.9 BuildRequires: ncurses-devel >= 5.9
BuildRequires: pcre2-devel BuildRequires: pcre2-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
%if 0%{?epel} == 6
# epel6 requires newer libunwind than system one
BuildRequires: llvm-libunwind-devel
%endif
%if 0%{?rhel} >= 7 %if 0%{?rhel} >= 7
BuildRequires: systemd-units BuildRequires: systemd-units
%endif %endif
@ -182,6 +186,9 @@ export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"
export CFLAGS="$CFLAGS -Wno-error=free-nonheap-object" export CFLAGS="$CFLAGS -Wno-error=free-nonheap-object"
%endif %endif
%if 0%{?epel} == 6
export CFLAGS="-I /usr/include/llvm-libunwind $CFLAGS"
%endif
# What gcc version is this? # What gcc version is this?
gcc --version gcc --version
@ -283,7 +290,11 @@ chmod 644 lib/libvmod_*/*.h
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%{_mandir}/man7/*.7* %{_mandir}/man7/*.7*
%if 0%{?rhel} >= 7
%license LICENSE %license LICENSE
%else
%doc LICENSE
%endif
%doc README.rst ChangeLog %doc README.rst ChangeLog
%doc etc/builtin.vcl etc/example.vcl %doc etc/builtin.vcl etc/example.vcl
%dir %{_sysconfdir}/varnish/ %dir %{_sysconfdir}/varnish/
@ -301,7 +312,11 @@ chmod 644 lib/libvmod_*/*.h
%endif %endif
%files devel %files devel
%if 0%{?rhel} >= 7
%license LICENSE %license LICENSE
%else
%doc LICENSE
%endif
%doc README.rst %doc README.rst
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_includedir}/%{name} %{_includedir}/%{name}
@ -310,7 +325,11 @@ chmod 644 lib/libvmod_*/*.h
%{_datadir}/aclocal/*.m4 %{_datadir}/aclocal/*.m4
%files docs %files docs
%if 0%{?rhel} >= 7
%license LICENSE %license LICENSE
%else
%doc LICENSE
%endif
%doc doc/html %doc doc/html
%doc doc/changes*.html %doc doc/changes*.html
@ -355,6 +374,12 @@ fi
%changelog %changelog
* Fri May 31 2024 Raven <raven@sysadmins.ws> - 7.5.0-1
- New upstream release
* Fri May 31 2024 Raven <raven@sysadmins.ws> - 7.4.3-1
- New upstream release
* Thu Jan 4 2024 Raven <raven@sysadmins.ws> - 7.4.2-1 * Thu Jan 4 2024 Raven <raven@sysadmins.ws> - 7.4.2-1
- New upstream release - New upstream release
- Revert an ability to build for el6 - Revert an ability to build for el6