Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tsctp for openSUSE:Factory checked 
in at 2026-06-15 19:42:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tsctp (Old)
 and      /work/SRC/openSUSE:Factory/.tsctp.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tsctp"

Mon Jun 15 19:42:27 2026 rev:6 rq:1359236 version:0.8.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/tsctp/tsctp.changes      2026-05-04 
12:56:28.808796591 +0200
+++ /work/SRC/openSUSE:Factory/.tsctp.new.1981/tsctp.changes    2026-06-15 
19:45:28.568523979 +0200
@@ -1,0 +2,8 @@
+Sat Jun 13 09:11:39 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 0.8.6
+  * Bugfix: return error if socket creation fails.
+  * Improved CMakeLists.txt.
+  * Improved manpage.
+
+-------------------------------------------------------------------

Old:
----
  tsctp-0.8.5.tar.xz
  tsctp-0.8.5.tar.xz.asc

New:
----
  tsctp-0.8.6.tar.xz
  tsctp-0.8.6.tar.xz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tsctp.spec ++++++
--- /var/tmp/diff_new_pack.ddtz1n/_old  2026-06-15 19:45:29.412559351 +0200
+++ /var/tmp/diff_new_pack.ddtz1n/_new  2026-06-15 19:45:29.412559351 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           tsctp
-Version:        0.8.5
+Version:        0.8.6
 Release:        0
 Summary:        SCTP test tool
 License:        BSD-3-Clause

++++++ tsctp-0.8.5.tar.xz -> tsctp-0.8.6.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tsctp-0.8.5/CMakeLists.txt 
new/tsctp-0.8.6/CMakeLists.txt
--- old/tsctp-0.8.5/CMakeLists.txt      2026-04-29 17:19:13.000000000 +0200
+++ new/tsctp-0.8.6/CMakeLists.txt      2026-06-12 17:58:31.000000000 +0200
@@ -3,15 +3,19 @@
 
 SET(BUILD_MAJOR "0")
 SET(BUILD_MINOR "8")
-SET(BUILD_PATCH "5")
+SET(BUILD_PATCH "6")
 SET(BUILD_VERSION ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_PATCH})
 
 
 #############################################################################
-#### INSTALLATION_DIRECTORIES                                            ####
+#### CMAKE INCLUDES                                                      ####
 #############################################################################
 
-# See: https://cmake.org/cmake/help/v3.0/module/GNUInstallDirs.html
+INCLUDE(CheckCCompilerFlag)
+INCLUDE(CheckCSourceCompiles)
+INCLUDE(CheckCSourceRuns)
+INCLUDE(CheckIncludeFile)
+INCLUDE(CheckStructHasMember)
 INCLUDE(GNUInstallDirs)
 
 
@@ -24,21 +28,18 @@
     "${CMAKE_PROJECT_NAME}-${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_PATCH}")
 SET(CPACK_SOURCE_IGNORE_FILES "\\\\.git;\\\\.swp$;~$;\\\\.\\\\#;/\\\\#")
 LIST(APPEND CPACK_SOURCE_IGNORE_FILES 
"^${PROJECT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}[_-]")
-LIST(APPEND CPACK_SOURCE_IGNORE_FILES "\\\\.cmake$|\\\\.make$|\\\\.log$")
+LIST(APPEND CPACK_SOURCE_IGNORE_FILES "\\\\.make$|\\\\.log$")
 LIST(APPEND CPACK_SOURCE_IGNORE_FILES "/CMakeCache\\\\.txt$")
 LIST(APPEND CPACK_SOURCE_IGNORE_FILES 
"/(CMakeFiles|CMakeScripts|_CPack_Packages)/")
 LIST(APPEND CPACK_SOURCE_IGNORE_FILES "/package-version\\\\.h$")
 LIST(APPEND CPACK_SOURCE_IGNORE_FILES "/packaging\\\\.conf$")
 LIST(APPEND CPACK_SOURCE_IGNORE_FILES 
"^${PROJECT_SOURCE_DIR}/(po.*/|src.*/|)Makefile$")
+LIST(APPEND CPACK_SOURCE_IGNORE_FILES 
"^${PROJECT_SOURCE_DIR}/(po.*|src.*|[^/]*)\\\\.cmake$")
 INCLUDE(CPack)
 
 ADD_CUSTOM_TARGET(dist COMMAND ${CMAKE_MAKE_PROGRAM} clean package_source)
 
 
-INCLUDE(CheckIncludeFile)
-INCLUDE(CheckStructHasMember)
-
-
 #############################################################################
 #### UNINSTALL                                                           ####
 #############################################################################
@@ -58,31 +59,18 @@
 #### OS DEPENDENT                                                        ####
 #############################################################################
 
-IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
-    MESSAGE(STATUS ${CMAKE_SYSTEM_NAME} " supported")
-    FIND_LIBRARY(SCTP_LIB sctp)
-
-ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
-    MESSAGE(STATUS ${CMAKE_SYSTEM_NAME} " supported")
-    SET(CMAKE_REQUIRED_INCLUDES "/usr/local/include" "/usr/include")
-    SET(CMAKE_LIBRARY_PATH "/usr/local/lib")
-    INCLUDE_DIRECTORIES("/usr/local/include")
-
-ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
-    MESSAGE(STATUS ${CMAKE_SYSTEM_NAME} " supported")
-    SET(CMAKE_REQUIRED_INCLUDES "/usr/local/include" "/usr/include" 
"/usr/local/opt/openssl/include")
-    SET(CMAKE_LIBRARY_PATH "/usr/local/lib")
-    INCLUDE_DIRECTORIES("/usr/local/include" "/usr/local/opt/openssl/include")
-
-ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
-    MESSAGE(STATUS ${CMAKE_SYSTEM_NAME} " supported")
-    SET(CMAKE_REQUIRED_INCLUDES "/usr/pkg/include" "/usr/include" 
"/usr/local/include")
-    SET(CMAKE_LIBRARY_PATH "/usr/local/lib")
-    INCLUDE_DIRECTORIES("/usr/pkg/include" "/usr/local/include")
-
+IF (CMAKE_SYSTEM_NAME MATCHES "Linux")
+   MESSAGE(STATUS "${CMAKE_SYSTEM_NAME} supported")
+ELSEIF (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+   MESSAGE(STATUS "${CMAKE_SYSTEM_NAME} supported")
+ELSEIF (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
+   MESSAGE(STATUS "${CMAKE_SYSTEM_NAME} supported")
+# ELSEIF (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
+   # OpenBSD does not support SCTP!
+ELSEIF (CMAKE_SYSTEM_NAME MATCHES "Darwin")
+   MESSAGE(STATUS "${CMAKE_SYSTEM_NAME} supported")
 ELSE()
-    MESSAGE(FATAL_ERROR ${CMAKE_SYSTEM_NAME} " not supported (yet?)")
-
+   MESSAGE(FATAL_ERROR "${CMAKE_SYSTEM_NAME} not supported (yet?)")
 ENDIF()
 
 
@@ -127,7 +115,7 @@
 IF (HAVE_NETINET_SCTP_H)
    SET(SCTP_INCLUDE "netinet/sctp.h")
    ADD_DEFINITIONS(-DHAVE_KERNEL_SCTP -DHAVE_NETINET_SCTP_H)
-   IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+   IF (CMAKE_SYSTEM_NAME MATCHES "Linux")
       FIND_LIBRARY(SCTP_LIB sctp REQUIRED)
    ELSE()
       FIND_LIBRARY(SCTP_LIB sctp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tsctp-0.8.5/ChangeLog new/tsctp-0.8.6/ChangeLog
--- old/tsctp-0.8.5/ChangeLog   2026-04-29 17:19:14.000000000 +0200
+++ new/tsctp-0.8.6/ChangeLog   2026-06-12 17:58:32.000000000 +0200
@@ -1,3 +1,64 @@
+commit 490cef665cde7876de010a90286abcffae12c6c1
+Author: Thomas Dreibholz <[email protected]>
+Date:   Thu Jun 11 18:28:29 2026 +0200
+
+    Updated build helper script.
+
+commit 9288b502e657da514c6993ead85e1021dc7af9ad
+Author: Thomas Dreibholz <[email protected]>
+Date:   Thu Jun 11 11:32:12 2026 +0200
+
+    Improved CMakeLists.txt.
+
+commit a602053a7a30a24164ad501115a725b389d91dc7
+Merge: 6822b3e edac1bc
+Author: Thomas Dreibholz <[email protected]>
+Date:   Tue Jun 9 07:30:33 2026 +0000
+
+    Merge branch 'master' of https://github.com/dreibh/tsctp
+
+commit 6822b3ec07962640ccc4aee64b00b334fe2f2433
+Author: Thomas Dreibholz <[email protected]>
+Date:   Tue Jun 9 07:29:59 2026 +0000
+
+    Bugfix: return error if socket creation fails.
+
+commit 48648eec795b2a25e7af9620c658e59cdaf52e66
+Author: Thomas Dreibholz <[email protected]>
+Date:   Tue Jun 9 07:26:48 2026 +0000
+
+    Successfully building under NetBSD.
+
+commit edac1bc9731f117c723e0ebb4df3467cede9e9b2
+Author: Thomas Dreibholz <[email protected]>
+Date:   Tue Jun 9 08:37:35 2026 +0200
+
+    Updated build script.
+
+commit e7787109f99b281d046c93d5c1fcaf5cb7c3665d
+Author: Thomas Dreibholz <[email protected]>
+Date:   Tue Jun 9 08:36:55 2026 +0200
+
+    Updated CI scripts
+
+commit 53a73c70b88d8d8b43d6c7f3aa53ae05156c74ef
+Author: Thomas Dreibholz <[email protected]>
+Date:   Tue Jun 9 08:36:10 2026 +0200
+
+    CMakeLists.txt clean-ups.
+
+commit 7545780739fe120ccb14f85f8229e9b476d1cec2
+Author: Thomas Dreibholz <[email protected]>
+Date:   Sun May 17 20:49:29 2026 +0200
+
+    Improved manpage.
+
+commit 65b1792a27c2b61ed3888a432018dc62c0b075ee
+Author: Thomas Dreibholz <[email protected]>
+Date:   Wed Apr 29 17:19:15 2026 +0200
+
+    New release tsctp-0.8.5.
+
 commit 45b2a93e6eefe07710f673241969fc4f569101ae
 Author: Thomas Dreibholz <[email protected]>
 Date:   Mon Apr 27 11:48:43 2026 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tsctp-0.8.5/autogen.sh new/tsctp-0.8.6/autogen.sh
--- old/tsctp-0.8.5/autogen.sh  2026-04-27 11:42:25.000000000 +0200
+++ new/tsctp-0.8.6/autogen.sh  2026-06-11 18:28:20.000000000 +0200
@@ -24,8 +24,7 @@
 
 CMAKE_OPTIONS=""
 COMMAND=""
-CORES=
-
+CORES=0
 while [ $# -gt 0 ] ; do
    if [[ "$1" =~ ^(-|--)use-clang$ ]] ; then
       # Use these settings for CLang:
@@ -49,7 +48,6 @@
       export CFLAGS=-fanalyzer
       export CXXFLAGS=-fanalyzer
       CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_VERBOSE_MAKEFILE=ON"
-      CORES=1   # The analyzer takes a *huge* amount of memory!
    elif [[ "$1" =~ ^(-|--)debug$ ]] ; then
       # Enable debugging build:
       CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_BUILD_TYPE=Debug"
@@ -63,7 +61,7 @@
       # Enable verbose Makefile:
       CMAKE_OPTIONS="${CMAKE_OPTIONS} -DCMAKE_VERBOSE_MAKEFILE=ON"
    elif [[ "$1" =~ ^(-|--)cores ]] ; then
-      if [[ ! "$2" =~ ^[0-9]*$ ]] ; then
+      if [[ ! "$2" =~ ^[0-9]+$ ]] ; then
          echo >&2 "ERROR: Number of cores must be an integer number!"
          exit 1
       fi
@@ -79,11 +77,18 @@
    shift
 done
 
-if [ "$(uname)" != "FreeBSD" ] ; then
-   installPrefix="/usr"
-else
-   installPrefix="/usr/local"
-fi
+UNAME="$(uname)"
+case "${UNAME}" in
+   Linux)
+      installPrefix="/usr"
+      ;;
+   NetBSD)
+      installPrefix="/usr/pkg"
+      ;;
+   *)
+      installPrefix="/usr/local"
+      ;;
+esac
 
 
 # ====== Configure with CMake ===============================================
@@ -109,19 +114,22 @@
 
 
 # ====== Obtain number of cores =============================================
-# Try Linux
-if [ "${CORES}" == "" ] ; then
-   CORES=$(getconf _NPROCESSORS_ONLN 2>/dev/null || true)
-   if [ "${CORES}" == "" ] ; then
-      # Try FreeBSD
-      CORES=$(sysctl -a | grep 'hw.ncpu' | cut -d ':' -f2 | tr -d ' ' || true)
-   fi
-   if [ "${CORES}" == "" ] ; then
-      CORES="1"
+if [ "${CORES}" -lt 1 ] ; then
+   if [ "${UNAME}" == "Linux" ] ; then
+      CORES="$(getconf _NPROCESSORS_ONLN 2>/dev/null || echo "1")"
+   elif [ "${UNAME}" == "FreeBSD" ] ; then
+      CORES="$(sysctl -n hw.ncpu || echo "1")"
+   elif [ "${UNAME}" == "NetBSD" ] || [ "${UNAME}" == "OpenBSD" ] ; then
+      CORES="$(sysctl -n hw.ncpuonline || echo "1")"
+   elif [ "${UNAME}" == "Darwin" ] ; then
+      CORES="$(sysctl -n machdep.cpu.core_count)"
+   else
+      CORES=1
    fi
    echo "This system has ${CORES} cores!"
 fi
 
 
 # ====== Build ==============================================================
+echo "Starting build using up to ${CORES} cores ..."
 ${COMMAND} make -j"${CORES}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tsctp-0.8.5/ci/build-tool 
new/tsctp-0.8.6/ci/build-tool
--- old/tsctp-0.8.5/ci/build-tool       2026-04-27 11:42:25.000000000 +0200
+++ new/tsctp-0.8.6/ci/build-tool       2026-06-11 18:28:20.000000000 +0200
@@ -1065,7 +1065,7 @@
                   i = 0
                   for itpLine in splittedITPEntry:
                      i = i + 1
-                     if (i <= 2) or (i >= len(splittedITPEntry) - 2):
+                     if (i <= 2) or (i >= len(splittedITPEntry) - 1):
                         resultingChangelog.append(itpLine + '\n')
                      elif re_item_is_itp.match(itpLine) is not None:
                         resultingChangelog.append(itpLine + '\n')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tsctp-0.8.5/debian/changelog 
new/tsctp-0.8.6/debian/changelog
--- old/tsctp-0.8.5/debian/changelog    2026-04-29 17:19:13.000000000 +0200
+++ new/tsctp-0.8.6/debian/changelog    2026-06-12 17:58:31.000000000 +0200
@@ -1,3 +1,9 @@
+tsctp (0.8.6-1ubuntu1) trixie; urgency=medium
+
+  * New upstream release.
+
+ -- Thomas Dreibholz <[email protected]>  Fri, 12 Jun 2026 17:58:31 
+0200
+
 tsctp (0.8.5-1ubuntu1) trixie; urgency=medium
 
   * New upstream release.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tsctp-0.8.5/freebsd/tsctp/Makefile 
new/tsctp-0.8.6/freebsd/tsctp/Makefile
--- old/tsctp-0.8.5/freebsd/tsctp/Makefile      2026-04-29 17:19:13.000000000 
+0200
+++ new/tsctp-0.8.6/freebsd/tsctp/Makefile      2026-06-12 17:58:31.000000000 
+0200
@@ -1,5 +1,5 @@
 PORTNAME=      tsctp
-DISTVERSION=   0.8.5
+DISTVERSION=   0.8.6
 CATEGORIES=    net
 MASTER_SITES=  https://www.nntb.no/~dreibh/tsctp/download/
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tsctp-0.8.5/rpm/tsctp.spec 
new/tsctp-0.8.6/rpm/tsctp.spec
--- old/tsctp-0.8.5/rpm/tsctp.spec      2026-04-29 17:19:13.000000000 +0200
+++ new/tsctp-0.8.6/rpm/tsctp.spec      2026-06-12 17:58:31.000000000 +0200
@@ -1,5 +1,5 @@
 Name: tsctp
-Version: 0.8.5
+Version: 0.8.6
 Release: 1
 Summary: SCTP test tool
 Group: Applications/Internet
@@ -47,6 +47,8 @@
 %doc
 
 %changelog
+* Fri Jun 12 2026 Thomas Dreibholz <[email protected]> - 0.8.6-1
+- New upstream release.
 * Wed Apr 29 2026 Thomas Dreibholz <[email protected]> - 0.8.5-1
 - New upstream release.
 * Fri Oct 24 2025 Thomas Dreibholz <[email protected]> - 0.8.4-1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tsctp-0.8.5/src/tsctp.1 new/tsctp-0.8.6/src/tsctp.1
--- old/tsctp-0.8.5/src/tsctp.1 2025-12-04 15:36:44.000000000 +0100
+++ new/tsctp-0.8.6/src/tsctp.1 2026-05-20 11:46:04.000000000 +0200
@@ -28,7 +28,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\" ###### Setup ############################################################
-.Dd September 16, 2025
+.Dd May 17, 2026
 .Dt tsctp 1
 .Os tsctp
 .\" ###### Name #############################################################
@@ -39,36 +39,54 @@
 .Sh SYNOPSIS
 .Nm tsctp
 .Op Fl a Ar indication
+.br
 .Op Fl A Ar type
+.br
 .Op Fl D
-.Op Fl f Ar fragmentation_point
+.br
+.Op Fl f Ar fragmentation\_point
+.br
 .Op Fl l Ar buffersize
-.Op Fl L Ar local_address
-.Op Fl n Ar number_of_messages
+.br
+.Op Fl L Ar local\_address
+.br
+.Op Fl n Ar number\_of\_messages
+.br
 .Op Fl p Ar port
+.br
 .Op Fl R Ar rcvbufsize
+.br
 .Op Fl S Ar sndbufsize
+.br
 .Op Fl t Ar timetolive
+.br
 .Op Fl T Ar runtime
+.br
 .Op Fl u
-.Op Fl U Ar udp_port
+.br
+.Op Fl U Ar udp\_port
+.br
 .Op Fl v
+.br
 .Op Fl V
+.br
 .Op Fl 4
+.br
 .Op Fl 6
-.Op remote_address
+.br
+.Op Ar remote\_address
 .\" ###### Description ######################################################
 .Sh DESCRIPTION
 .Nm tsctp
 is an SCTP test tool. It can be used to make basic tests with the SCTP
 protocol. For the tool to work, the kernel needs to support SCTP, i.e.
-sockets with protocol IPPROTO_SCTP.
+sockets with protocol IPPROTO\_SCTP.
 .Bl -tag -width indent
-.It Linux: echo "sctp" >/etc/modules-load.d/sctp.conf
+.It Linux: echo "sctp" >/etc/modules\-load.d/sctp.conf
 Then, reboot to load the module.
 Note: Ensure that the SCTP module is not blacklisted
-(e.g. /etc/modprobe.d/sctp-blacklist.conf in Fedora Linux)!
-.It FreeBSD: echo 'sctp_load="YES"' >>/boot/loader.conf
+(e.g. /etc/modprobe.d/sctp\-blacklist.conf in Fedora Linux)!
+.It FreeBSD: echo 'sctp\_load="YES"' >>/boot/loader.conf
 Then, reboot to load the module.
 .El
 .Pp
@@ -81,14 +99,14 @@
 .It Fl A Ar type
 Set chunk type to authenticate .
 .It Fl D
-Turns Nagle off.
-.It Fl f Ar fragmentation_point
+Turns Nagle's Algorithm off.
+.It Fl f Ar fragmentation\_point
 Set fragmentation point.
 .It Fl l Ar buffersize
 Set size of send/receive buffer. For sending messages, this means the message 
size!
-.It Fl L Ar local_address
+.It Fl L Ar local\_address
 Set local address.
-.It Fl n Ar number_of_messages
+.It Fl n Ar number\_of\_messages
 Set number of messages to be sent (0 means infinite)/received.
 .It Fl p Ar port
 Set port number.
@@ -102,7 +120,7 @@
 Set time to send messages.
 .It Fl u
 Set use of unordered messages.
-.It Fl U Ar udp_port
+.It Fl U Ar udp\_port
 Use UDP encapsulation with given port.
 .It Fl v
 Enable verbose output.
@@ -112,30 +130,48 @@
 Use IPv4 only.
 .It Fl 6
 Use IPv6 only.
-.It remote_address
+.It Ar remote\_address
 If a remote address is given, the client mode is used. Then, tsctp connects
 the socket to the given remote address. Otherwise, without given remote 
address,
 the server mode is used. Then, tsctp listens for incoming connections.
 .El
+.\" ###### Exit status ######################################################
+.Sh EXIT STATUS
+The
+.Nm
+tool exits with 0 on success, and >0 in case of an error.
 .\" ###### Examples #########################################################
 .Sh EXAMPLES
 .Bl -tag -width indent
-.It tsctp -L :: -L 0.0.0.0 -p 1234
+.It tsctp \-L :: \-L 0.0.0.0 \-p 1234
 Server mode: bind to all IPv4 and IPv6 addresses, listen on port 1234.
-.It tsctp -L :: -L 0.0.0.0 -n 10 -l 1000 -p 1234 127.0.0.1
+.It tsctp \-L :: \-L 0.0.0.0 \-n 10 \-l 1000 \-p 1234 127.0.0.1
 Client mode:
 bind to all IPv4 and IPv6 addresses,
 connect to localhost (127.0.0.1) on port 1234,
 send 10 messages of 1000 bytes each.
-.It tsctp -L :: -L 0.0.0.0 -n 0 -T 10 -l 4096 -p 1234 127.0.0.1
+.It tsctp \-L :: \-L 0.0.0.0 \-n 0 \-T 10 \-l 4096 \-p 1234 127.0.0.1
 Client mode:
 bind to all IPv4 and IPv6 addresses,
 connect to localhost (127.0.0.1) on port 1234,
 send unlimited number of messages of 4096 bytes each,
 stop after 10 s.
 .El
+.\" ###### Notes ############################################################
+.Sh NOTES
+The latest version of TSCTP can be found on the TSCTP Homepage at
+.Lk https://www.nntb.no/\(tidreibh/tsctp/ "TSCTP Homepage" .
 .\" ###### Authors ##########################################################
 .Sh AUTHORS
-Michael Tüxen, Robin Seggelmann, Irene Rüngeler, Thomas Dreibholz
-.br
-https://www.nntb.no/~dreibh/tsctp
+.Bl -bullet
+.It
+Michael Tüxen
+.Lk https://www.fh\-muenster.de/en/eti/ueber\-uns/personen/tuexen/ "Homepage"
+.It
+Thomas Dreibholz,
+.Lk https://www.nntb.no/\(tidreibh "Homepage"
+.It
+Robin Seggelmann
+.It
+Irene Rüngeler
+.El
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tsctp-0.8.5/src/tsctp.c new/tsctp-0.8.6/src/tsctp.c
--- old/tsctp-0.8.5/src/tsctp.c 2025-12-04 15:36:44.000000000 +0100
+++ new/tsctp-0.8.6/src/tsctp.c 2026-06-09 20:53:22.000000000 +0200
@@ -197,14 +197,18 @@
    int fragpoint = 0;
    unsigned int timetolive = 0;
    unsigned int runtime = 0;
+#if defined(sctp_setadaptation)
    struct sctp_setadaptation ind = {0};
+#endif
 #ifdef SCTP_AUTH_CHUNK
    unsigned int number_of_chunks_to_auth = 0;
    unsigned int chunk_number;
    unsigned char chunk[256];
    struct sctp_authchunk sac;
 #endif
+#if defined(sctp_assoc_value)
    struct sctp_assoc_value av;
+#endif
    int unordered = 0;
    int ipv4only = 0;
    int ipv6only = 0;
@@ -228,7 +232,12 @@
                                   "vV46")) != -1)
       switch(c) {
          case 'a':
+#if defined(sctp_setadaptation)
             ind.ssb_adaptation_ind = atoi(optarg);
+#else
+            fputs("SCTP_ADAPTATION_LAYER is not supported!\n", stderr);
+            exit(1);
+#endif
             break;
 #ifdef SCTP_AUTH_CHUNK
          case 'A':
@@ -381,8 +390,9 @@
       }
    }
 
-   if ((fd = socket((ipv4only ? AF_INET : AF_INET6), SOCK_STREAM, 
IPPROTO_SCTP)) < 0)
+   if ((fd = socket((ipv4only ? AF_INET : AF_INET6), SOCK_STREAM, 
IPPROTO_SCTP)) < 0) {
       perror("socket");
+      exit(1);   }
 
    if (!ipv4only) {
       if (ipv6only) {
@@ -401,11 +411,13 @@
          perror("setsockopt");
    }
 #endif
+#if defined(sctp_setadaptation)
    if (ind.ssb_adaptation_ind > 0) {
       if (setsockopt(fd, IPPROTO_SCTP, SCTP_ADAPTATION_LAYER, (const 
void*)&ind, (socklen_t)sizeof(struct sctp_setadaptation)) < 0) {
          perror("setsockopt");
       }
    }
+#endif
    if (!client) {
       setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (const void*)&on, 
(socklen_t)sizeof(on));
    }
@@ -509,13 +521,18 @@
       }
 
       if (fragpoint) {
+#if defined(sctp_assoc_value)
          av.assoc_id = 0;
          av.assoc_value = fragpoint;
          if (setsockopt(fd, IPPROTO_SCTP, SCTP_MAXSEG, &av, sizeof(av)) < 0) {
             perror("setsockopt: SCTP_MAXSEG");
          }
+#else
+         fputs("SCTP_MAXSEG is not supported!\n", stderr);
+#endif
       }
 
+
       printf("connecting to %s:%d ...\n", argv[optind], remote_port);
       if (connect(fd, (struct sockaddr*)&remote_addr, addr_len) < 0) {
          perror("connect");

Reply via email to