Debian Patches

Status for ipvsadm/1:1.31-5

Patch Description Author Forwarded Bugs Origin Last update
01-limit-weight-to-int-max.patch increase maximum weight value The IPVS kernel module accepts weight up to 2,147,483,647 (INT_MAX), but
ipvsadm limits it to 65,535. Raise the user space maximum to match the
kernel.fix weight maximum value
Francois Lallart <fraff@free.fr> yes debian 2025-01-18
02-cross.patch use variable for pkg-config in Makefiles Replace hard-coded `pkg-config` with a variable to allow it to be
overridden, which is helpful for cross-building.
Helmut Grohne <helmut@subdivi.de> yes debian 2025-01-18
03-fix-ambiguous-usage-error-message.patch fix ambiguous usage error message If `-6` is used without `-f`, the usage error message is "-6 used before
-f", which can be misconstrued as warning that both options were used but
in the wrong order. Reword it.
Jeremy Sowden <jeremy@azazel.net> yes debian 2025-01-18
04-fix-build-flags.patch support environmental and command-line `*FLAGS` variable in Makefiles
.
The Makefiles don't use `CPPFLAGS` or `LDFLAGS`, and set `CFLAGS`
unconditionally. Rename `CFLAGS`, and add `CPPFLAGS` and `LDFLAGS` to the
compilation and linking recipes in order to support the common patterns of
providing these flags via the command-line and the environment.
Jeremy Sowden <jeremy@azazel.net> yes 2025-01-18
05-fix-build-race-condition.patch make sure libipvs.a is built before ipvsadm There is no explicit rule in the top-level Makefile to build libipvs.a. It is
built by the phony target `libs`. However, there is no guarantee of the order
in which the prerequisites of the `all` target are built, so make may attempt to
link ipvsadm to libipvs.a before it has finished building libipvs.a.
.
Add a rule to express the dependency of `$(STATIC_LIBS)` on `libs`.
Jeremy Sowden <jeremy@azazel.net> yes 2025-01-18
06-make-clean-fix.patch don't remove spec-file in `clean` target The spec-file is part of the upstream tar-ball, but removed by `make clean`. Jeremy Sowden <azazel@debian.org> not-needed 2025-01-18

All known versions for source package 'ipvsadm'

Links