Package: ipvsadm / 1:1.31-4

Metadata

Package Version Patches format
ipvsadm 1:1.31-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
limit weight to int max.patch | (download)

ipvsadm.8 | 2 1 1 - 0 !
ipvsadm.c | 2 1 1 - 0 !
2 files changed, 2 insertions( ), 2 deletions(-)

 fix weight maximum value
 Ipvs kernel module accepts weight up to 2147483647 (INT_MAX).
 This patch raises ipvsadm weight maximum value to INT_MAX instead of 65535.
Bug-Debian: https://bugs.debian.org/814348
cross.patch | (download)

Makefile | 9 5 4 - 0 !
libipvs/Makefile | 17 9 8 - 0 !
2 files changed, 14 insertions( ), 12 deletions(-)

 fix ftcbfs
  Replace hard-coded pkg-config with a variable.
fix ambiguous usage error message.patch | (download)

ipvsadm.c | 17 10 7 - 0 !
1 file changed, 10 insertions( ), 7 deletions(-)

 fix ambiguous usage error message
 If `-6` is used without `-f`, the upstream error message is "-6 used
 before -f", which can be misconstrued as warning that both options were
 used but in the wrong order.
 .
 This patch changes the option-parsing to allow `-6` to appear before
 `-f` and changes the error-message in the case that `-6` was used
 without `-f`.
fix build flags.patch | (download)

Makefile | 8 4 4 - 0 !
libipvs/Makefile | 12 6 6 - 0 !
2 files changed, 10 insertions( ), 10 deletions(-)

 patch makefiles to support build flags
 The upstream Makefiles don't use CPPFLAGS or LDFLAGS, and set CFLAGS
 unconditionally, ignoring any value inherited from the environment.
fix build race condition.patch | (download)

Makefile | 2 2 0 - 0 !
1 file changed, 2 insertions( )

 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 add a dependency
 of `$(STATIC_LIBS)` on `libs`.