scpt was disabled by default in 1.32 [1]. We enable it back to avoid breaking
setups using sctp during a upgrade.

This should be removed for the next major release and added to the upgrade
helper script.

[1] https://github.com/kronosnet/kronosnet/releases/tag/v1.32

Signed-off-by: Maximiliano Sandoval <[email protected]>
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2c28cb5..5f244a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,12 +10,14 @@ export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs
 %:
        dh $@
 
+# FIXME: MAJOR VERSION: Remove the SCTP option for pve 10
 override_dh_auto_configure:
        dh_auto_configure -- \
                --docdir=/usr/share/doc/libknet1 \
                `dh_listpackages | grep -q '^libknet-doc$$' || printf %s 
--disable-man` \
                --disable-static \
                --disable-wireshark-dissector \
+               --enable-libknet-sctp \
                ;
 
 override_dh_installdocs:
-- 
2.47.3




Reply via email to