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
Name: varnish
Version: 7.3.1
Version: 7.3.2
Release: 1%{?dist}
License: BSD
URL: https://www.varnish-cache.org/
@ -58,7 +58,7 @@ Provides: vmod(vtc)%{_isa} = %{version}-%{release}
%if 0%{?rhel} == 7
BuildRequires: python34 python34-sphinx python34-docutils
BuildRequires: python36 python36-sphinx python36-docutils
%else
BuildRequires: python3, python3-sphinx, python3-docutils
%endif
@ -278,6 +278,7 @@ chmod 644 lib/libvmod_*/*.h
%pre
echo "WARNING!!! Varnish 7.3 is discontinued. Consider upgrading to a newer version"
getent group varnish >/dev/null || groupadd -r varnish
getent passwd varnish >/dev/null || \
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
* 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
- 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 abi 84d79120b6d17b11819a663a93160743f293e63f
%global vrt 17.0
%global abi eef25264e5ca5f96a77129308edb83ccf84cb1b1
%global vrt 19.0
# Package scripts are now external
# https://github.com/varnishcache/pkg-varnish-cache
@ -37,7 +37,7 @@
Summary: High-performance HTTP accelerator
Name: varnish
Version: 7.4.2
Version: 7.5.0
Release: 1%{?dist}
License: BSD
URL: https://www.varnish-cache.org/
@ -79,6 +79,10 @@ BuildRequires: make
BuildRequires: ncurses-devel >= 5.9
BuildRequires: pcre2-devel
BuildRequires: pkgconfig
%if 0%{?epel} == 6
# epel6 requires newer libunwind than system one
BuildRequires: llvm-libunwind-devel
%endif
%if 0%{?rhel} >= 7
BuildRequires: systemd-units
%endif
@ -182,6 +186,9 @@ export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"
export CFLAGS="$CFLAGS -Wno-error=free-nonheap-object"
%endif
%if 0%{?epel} == 6
export CFLAGS="-I /usr/include/llvm-libunwind $CFLAGS"
%endif
# What gcc version is this?
gcc --version
@ -283,7 +290,11 @@ chmod 644 lib/libvmod_*/*.h
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
%{_mandir}/man7/*.7*
%if 0%{?rhel} >= 7
%license LICENSE
%else
%doc LICENSE
%endif
%doc README.rst ChangeLog
%doc etc/builtin.vcl etc/example.vcl
%dir %{_sysconfdir}/varnish/
@ -301,7 +312,11 @@ chmod 644 lib/libvmod_*/*.h
%endif
%files devel
%if 0%{?rhel} >= 7
%license LICENSE
%else
%doc LICENSE
%endif
%doc README.rst
%{_libdir}/lib*.so
%{_includedir}/%{name}
@ -310,7 +325,11 @@ chmod 644 lib/libvmod_*/*.h
%{_datadir}/aclocal/*.m4
%files docs
%if 0%{?rhel} >= 7
%license LICENSE
%else
%doc LICENSE
%endif
%doc doc/html
%doc doc/changes*.html
@ -355,6 +374,12 @@ fi
%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
- New upstream release
- Revert an ability to build for el6