Compare commits

...
Sign in to create a new pull request.

17 commits

Author SHA1 Message Date
Ingvar Hagelund
d8cb8151eb built for varnish-9.0.1 2026-04-30 15:08:21 +02:00
Ingvar Hagelund
42c4e3fb52 New upstream release varnish-modules-0.28.0, built for varnish-9.0.0 2026-03-27 18:01:43 +01:00
Ingvar Hagelund
a018c7e7c4 varnish-modules 0.15.1-5: Build for varnish-6.0.17 2026-03-27 17:40:43 +01:00
Ingvar Hagelund
d1d174f25d * Mon Apr 29 2024 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.1-1
- New upstream release, removing patches included upstream
- Built for varnish-6.0.13
2024-04-29 16:41:38 +02:00
Ingvar Hagelund
858ccb22a1 Rebuild for new upstream LTS release varnish-6.0.12 2023-11-15 11:48:04 +01:00
Ingvar Hagelund
3fa73956fb * Tue Nov 15 2022 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-13
- Rebuilt for varnish-6.0.11
2022-11-15 16:38:58 +01:00
Ingvar Hagelund
fda75326e8 bind hard on varnish version. build now needs python3. 2022-02-03 11:38:16 +01:00
Ingvar Hagelund
ff9c6f588a Rebuilt for varnish-6.0.10 2022-01-28 09:57:14 +01:00
Ingvar Hagelund
bcddf85092 - Rebuilt for varnish-6.0.8 2021-07-17 03:06:00 +02:00
Ingvar Hagelund
d90ac86cad * Mon Nov 16 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-10
- Rebuilt for varnish-6.0.7
2020-11-17 14:17:28 +01:00
Ingvar Hagelund
adf189a152 * Thu Feb 13 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-9
- Rebuilt for varnish-6.0.6
2020-02-13 20:30:32 +01:00
Ingvar Hagelund
9721cca137 - Rebuilt for varnish-6.0.5
Merge branch 'f29' of ssh://pkgs.fedoraproject.org/rpms/varnish-modules into f29
2019-11-15 13:55:22 +01:00
Ingvar Hagelund
dda591d8c4 Rebuilt for varnish-6.0.5 2019-11-15 13:52:50 +01:00
Ingvar Hagelund
0ee40a83eb - Merge from rawhide
- Rebuilt against varnish-6.0.4
2019-09-18 21:53:19 +02:00
Ingvar Hagelund
c032796311 Merge branch 'master' into local/f29 2019-09-18 21:42:56 +02:00
Ingvar Hagelund
920d026852 Added small format patch for 32bit 2019-02-26 08:49:19 +01:00
Ingvar Hagelund
73c685e86c Rebuilt for varnish-6.0.3 2019-02-25 23:54:17 +01:00
4 changed files with 80 additions and 16 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/varnish-modules-0.12.1.tar.gz
/varnish-modules-0.15.0.tar.gz
/varnish-modules-0d555b6.tar.gz

View file

@ -1 +1 @@
SHA512 (varnish-modules-0.15.0.tar.gz) = f24bc7e00db8eb53e4730b9b6d9adb9442d26ad5b07f3e09541b686e41d437113b8bca75f9ac47bc0ec54475fafb0eefc46b98ccee92d9360aaf660b4826ec9e
SHA512 (varnish-modules-0d555b6.tar.gz) = 726e5726d254b4b4c72f21d6e33df1b93c25744b7f6afb919ce3086417404e2ec23ce8205a67d3ad5267d6b1fc8ec527791226a35634a0f12449732e99ea6321

View file

@ -0,0 +1,11 @@
--- src/vmod_tcp.c.orig 2018-10-10 20:21:14.324704356 +0200
+++ src/vmod_tcp.c 2018-10-10 20:21:44.329466200 +0200
@@ -174,7 +174,7 @@
sizeof(pacerate)) != 0)
VSLb(ctx->vsl, SLT_VCL_Error, "set_socket_pace(): Error setting pace rate.");
else
- VSLb(ctx->vsl, SLT_VCL_Log, "vmod-tcp: Socket paced to %lu KB/s.", rate);
+ VSLb(ctx->vsl, SLT_VCL_Log, "vmod-tcp: Socket paced to %jd KB/s.", (intmax_t)rate);
# ifndef NDEBUG
int retval;

View file

@ -1,22 +1,29 @@
%global varnishver %(pkg-config --silence-errors --modversion varnishapi || echo 0)
#global commit 0d555b627333cd9190a40870f380ace5664f6d0d
#global gittag 0.15.1
#global shortcommit #(c=#{commit}; echo ${c:0:7})
Name: varnish-modules
Version: 0.15.0
Release: 6%{?dist}
Version: 0.28.0
Release: 1%{?dist}
Summary: A collection of modules ("vmods") extending Varnish VCL
License: BSD
URL: https://github.com/varnish/%{name}
Source: https://download.varnish-software.com/varnish-modules/%{name}-%{version}.tar.gz
Patch10: varnish-modules-0.15.0_fix_saintmode_for_varnish_6.1.patch
Patch11: varnish-modules-0.15.0_fix_simple_formatting_bug.patch
#Source: https://github.com/varnish/varnish-cache/archive/#{commit}/#{name}-#{shortcommit}.tar.gz
Source: https://github.com/varnish/varnish-modules/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
BuildRequires: pkgconfig(varnishapi)
BuildRequires: varnish
BuildRequires: python3
BuildRequires: varnish = %varnishver
buildrequires: python-docutils
Requires: varnish
BuildRequires: automake
BuildRequires: libtool
Requires: varnish = %varnishver
Provides: vmod-bodyaccess = %{version}-%{release}
Provides: vmod-cookie = %{version}-%{release}
@ -37,14 +44,16 @@ tcp, var, xkey
%prep
%setup -q
%if "%varnishver" >= "6.1"
%patch10 -p1
%endif
%patch11 -p1
%autosetup
%build
%configure
#sh bootstrap
%if 0%{?fedora} > 42 || 0%{?rhel} > 10
export CFLAGS="$CFLAGS -Wno-error=discarded-qualifiers"
%endif
%configure PYTHON=python3
%make_build
@ -59,12 +68,55 @@ rm %{buildroot}%{_pkgdocdir}/LICENSE # Rather use license macro
%files
%doc docs AUTHORS CHANGES.rst COPYING README.rst
%doc AUTHORS CHANGES.rst COPYING README.md
%license LICENSE
%{_libdir}/varnish/vmods/*
%{_mandir}/man3/*.3*
%changelog
* Fri Mar 27 2026 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.28.0-1
- New upstream release, built for varnish-9.0.1
* Thu Mar 26 2026 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.1-5
- Build for varnish-6.0.17
* Fri Aug 29 2025 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.1-4
- Build for varnish-6.0.16
* Fri Aug 22 2025 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.1-3
- Build for varnish-6.0.15
* Tue Aug 12 2025 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.1-2
- Built for varnish-6.0.14
* Mon Apr 29 2024 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.1-1
- New upstream release, removing patches included upstream
- Built for varnish-6.0.13
* Tue Nov 14 2023 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-14
- Rebuilt for varnish-6.0.12
* Tue Nov 15 2022 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-13
- Rebuilt for varnish-6.0.11
* Fri Jan 28 2022 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-12
- Rebuilt for varnish-6.0.10
* Sat Jul 17 2021 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-11
- Rebuilt for varnish-6.0.8
* Mon Nov 16 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-10
- Rebuilt for varnish-6.0.7
* Thu Feb 13 2020 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-9
- Rebuilt for varnish-6.0.6
* Fri Nov 15 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> 0.15.0-8
- Rebuilt for varnish-6.0.5
* Wed Sep 18 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> - 0.15.0-7
- Rebuilt for varnish-6.0.4
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild