Hello community, here is the log from the commit of package lksctp-tools checked in at Mon Sep 1 15:25:39 CEST 2008. -------- --- lksctp-tools/lksctp-tools.changes 2008-02-25 22:54:31.000000000 +0100 +++ /mounts/work_src_done/STABLE/lksctp-tools/lksctp-tools.changes 2008-09-01 14:04:07.000000000 +0200 @@ -1,0 +2,9 @@ +Mon Sep 1 14:03:38 CEST 2008 - meissner@suse.de + +- upgraded to 1.0.9 + - adjusted to 2.6.26 + - Implement and export SCTP-AUTH API extensions based on sctpsocket-16 draft + - lots of bugfixes +- disable shared libraries and .la files + +------------------------------------------------------------------- Old: ---- lksctp-tools-1.0.8.tar.bz2 lksctp-tools-1.0.8-warnings.patch New: ---- lksctp-tools-1.0.9.tar.bz2 lksctp-tools-1.0.9-warnings.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lksctp-tools.spec ++++++ --- /var/tmp/diff_new_pack.tI7170/_old 2008-09-01 15:25:32.000000000 +0200 +++ /var/tmp/diff_new_pack.tI7170/_new 2008-09-01 15:25:32.000000000 +0200 @@ -1,10 +1,17 @@ # -# spec file for package lksctp-tools (Version 1.0.8) +# spec file for package lksctp-tools (Version 1.0.9) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -13,7 +20,7 @@ Name: lksctp-tools Summary: Utilities for SCTP (Stream Control Transmission Protocol) -Version: 1.0.8 +Version: 1.0.9 Release: 1 License: LGPL v2.1 or later Group: Productivity/Networking/Other @@ -39,6 +46,7 @@ Sridhar Samudrala <sri@us.ibm.com> %package devel +License: LGPL v2.1 or later Summary: Development files for SCTP (Stream Control Transmission Protocol) Group: Development/Libraries/C and C++ Requires: %{name} = %{version} @@ -69,18 +77,20 @@ CPPFLAGS="-I`pwd`/include" \ %configure --prefix=/usr \ --enable-shared \ - --enable-static + --disable-static make %install -test -n "$RPM_BUILD_ROOT" && DESTDIR=$RPM_BUILD_ROOT && rm -rf $DESTDIR -make install DESTDIR=$DESTDIR +make install DESTDIR=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT/%{_libdir}/lksctp-tools/*.la +rm $RPM_BUILD_ROOT/%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT -%post -%run_ldconfig +%post -p /sbin/ldconfig -%postun -%run_ldconfig +%postun -p /sbin/ldconfig %files %defattr(-,root,root,-) @@ -96,18 +106,20 @@ %defattr(-,root,root,-) %{_includedir}/netinet/sctp.h %{_libdir}/libsctp.so -%{_libdir}/libsctp.a -%{_libdir}/libsctp.la %dir %{_libdir}/lksctp-tools %{_libdir}/lksctp-tools/*.so -%{_libdir}/lksctp-tools/*.a -%{_libdir}/lksctp-tools/*.la %dir %{_datadir}/lksctp-tools %{_datadir}/lksctp-tools/* %{_mandir}/man3/* %changelog -* Mon Feb 25 2008 meissner@suse.de +* Mon Sep 01 2008 meissner@suse.de +- upgraded to 1.0.9 + - adjusted to 2.6.26 + - Implement and export SCTP-AUTH API extensions based on sctpsocket-16 draft + - lots of bugfixes +- disable shared libraries and .la files +* Tue Feb 26 2008 meissner@suse.de - upgraded to 1.0.8 - added various new features - adjusted to 2.6.24 @@ -123,7 +135,7 @@ - converted neededforbuild to BuildRequires * Mon Dec 12 2005 okir@suse.de - Updated to latest upstream version (1.0.4) -* Wed Nov 02 2005 dmueller@suse.de +* Thu Nov 03 2005 dmueller@suse.de - don't build as root * Fri Jan 21 2005 okir@suse.de - Updated to latest upstream version (1.0.2) ++++++ lksctp-tools-1.0.8.tar.bz2 -> lksctp-tools-1.0.9.tar.bz2 ++++++ ++++ 9712 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/bin/compile new/lksctp-tools-1.0.9/bin/compile --- old/lksctp-tools-1.0.8/bin/compile 2007-07-16 20:56:01.000000000 +0200 +++ new/lksctp-tools-1.0.9/bin/compile 1970-01-01 01:00:00.000000000 +0100 @@ -1,142 +0,0 @@ -#! /bin/sh -# Wrapper for compilers which do not understand `-c -o'. - -scriptversion=2005-05-14.22 - -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. -# Written by Tom Tromey <tromey@cygnus.com>. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# This file is maintained in Automake, please report -# bugs to <bug-automake@gnu.org> or send patches to -# <automake-patches@gnu.org>. - -case $1 in - '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: compile [--help] [--version] PROGRAM [ARGS] - -Wrapper for compilers which do not understand `-c -o'. -Remove `-o dest.o' from ARGS, run PROGRAM with the remaining -arguments, and rename the output as expected. - -If you are trying to build a whole package this is not the -right script to run: please start by reading the file `INSTALL'. - -Report bugs to <bug-automake@gnu.org>. -EOF - exit $? - ;; - -v | --v*) - echo "compile $scriptversion" - exit $? - ;; -esac - -ofile= -cfile= -eat= - -for arg -do - if test -n "$eat"; then - eat= - else - case $1 in - -o) - # configure might choose to run compile as `compile cc -o foo foo.c'. - # So we strip `-o arg' only if arg is an object. - eat=1 - case $2 in - *.o | *.obj) - ofile=$2 - ;; - *) - set x "$@" -o "$2" - shift - ;; - esac - ;; - *.c) - cfile=$1 - set x "$@" "$1" - shift - ;; - *) - set x "$@" "$1" - shift - ;; - esac - fi - shift -done - -if test -z "$ofile" || test -z "$cfile"; then - # If no `-o' option was seen then we might have been invoked from a - # pattern rule where we don't need one. That is ok -- this is a - # normal compilation that the losing compiler can handle. If no - # `.c' file was seen then we are probably linking. That is also - # ok. - exec "$@" -fi - -# Name of file we expect compiler to create. -cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` - -# Create the lock directory. -# Note: use `[/.-]' here to ensure that we don't use the same name -# that we are using for the .o file. Also, base the name on the expected -# object file name, since that is what matters with a parallel build. -lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d -while true; do - if mkdir "$lockdir" >/dev/null 2>&1; then - break - fi - sleep 1 -done -# FIXME: race condition here if user kills between mkdir and trap. -trap "rmdir '$lockdir'; exit 1" 1 2 15 - -# Run the compile. -"$@" -ret=$? - -if test -f "$cofile"; then - mv "$cofile" "$ofile" -elif test -f "${cofile}bj"; then - mv "${cofile}bj" "$ofile" -fi - -rmdir "$lockdir" -exit $ret - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/bin/missing new/lksctp-tools-1.0.9/bin/missing --- old/lksctp-tools-1.0.8/bin/missing 2007-07-16 20:56:01.000000000 +0200 +++ new/lksctp-tools-1.0.9/bin/missing 2008-08-05 21:51:39.000000000 +0200 @@ -1,9 +1,9 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2005-06-08.21 +scriptversion=2006-05-10.23 -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. @@ -33,6 +33,8 @@ fi run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. @@ -44,7 +46,7 @@ msg="missing on your system" -case "$1" in +case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= @@ -77,6 +79,7 @@ aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c @@ -106,7 +109,7 @@ # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). -case "$1" in +case $1 in lex|yacc) # Not GNU programs, they don't have --version. ;; @@ -135,7 +138,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case "$1" in +case $1 in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -164,7 +167,7 @@ test -z "$files" && files="config.h" touch_files= for f in $files; do - case "$f" in + case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; @@ -192,8 +195,8 @@ You can get \`$1' as part of \`Autoconf' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else @@ -214,25 +217,25 @@ in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi - if [ ! -f y.tab.h ]; then + if test ! -f y.tab.h; then echo >y.tab.h fi - if [ ! -f y.tab.c ]; then + if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; @@ -244,18 +247,18 @@ in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi - if [ ! -f lex.yy.c ]; then + if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; @@ -267,11 +270,9 @@ \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` - fi - if [ -f "$file" ]; then + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then touch $file else test -z "$file" || exec >$file @@ -289,11 +290,17 @@ DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi @@ -317,13 +324,13 @@ fi firstarg="$1" if shift; then - case "$firstarg" in + case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac - case "$firstarg" in + case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/ChangeLog new/lksctp-tools-1.0.9/ChangeLog --- old/lksctp-tools-1.0.8/ChangeLog 2008-02-01 20:11:02.000000000 +0100 +++ new/lksctp-tools-1.0.9/ChangeLog 2008-08-05 21:19:04.000000000 +0200 @@ -1,10 +1,88 @@ -Version 2.6.24-1.0.8 of the Developers' Release of the SCTP +Version 2.6.26-1.0.9 of the Developers' Release of the SCTP Linux Kernel Implementation is available from http://sf.net/projects/lksctp/ +lksctp-2.6.26-1.0.9: Sun Jul 13 14:51:29 PDT 2008 +T:Patch Make frame tests work with 2.6.26 kernel. +T:Patch Implement and export SCTP-AUTH API extensions based on + sctpsocket-16 draft +T:NA Process withsctp.in at build time +K:Patch Add documentation for sctp sysctl variable +K:NA Mark the tsn as received after all allocations finish +K:NA Make sure N * sizeof(union sctp_addr) does not overflow. +K:NA Correclty set changeover_active for SFR-CACC +K:NA Correctly cleanup procfs entries upon failure. +K:NA Fix ECN markings for IPv6 +K:NA Flush the queue only once during fast retransmit. +K:NA Start T3-RTX timer when fast retransmitting lowest TSN +K:NA Correctly implement Fast Recovery cwnd manipulations. +K:NA Move sctp_v4_dst_saddr out of loop +K:NA retran_path update bug fix +K:NA Fix NULL dereference of asoc. +K:NA Fix use of uninitialized pointer +K:NA Add address type check while process paramaters of ASCONF chunk +K:NA Do not enable peer IPv6 address support on PF_INET socket +K:NA Initialize partial_bytes_acked to 0, when all of the data is acked +K:NA IPv4 vs IPv6 addresses mess in sctp_inet[6]addr_event. +K:NA Fix compiler warning about const qualifiers +K:NA Fix protocol violation when receiving an error lenght INIT-ACK +K:NA Add check for hmac_algo parameter in sctp_verify_param() +K:Patch New sctp mailing list +K:NA Remove an unused parameter from sctp_cmd_hb_timer_update +K:Patch "list_for_each()" -> "list_for_each_entry()" where appropriate. +K:NA Correct /proc/net/assocs formatting error +K:Patch Use snmp_mib_{init,free}(). +K:Patch Remove useless assignment from __sctp_rcv_lookup_endpoint +K:NA fix wrong debug counting of bind_bucket +K:NA fix wrong debug counting of datamsg +K:Patch Replace socket with sock for SCTP control socket. +K:Patch Use inet_ctl_sock_create for control socket creation. +K:Patch Remove sctp_add_cmd_sf wrapper bloat +K:Patch Remove redundant wrapper functions. +K:Patch Replace char msg[] with static const char[] +K:NA Fix a race between module load and protosw access +K:NA fix misannotated __sctp_rcv_asconf_lookup() +K:NA Fix local_addr deletions during list traversals. +K:Patch Bring MAX_BURST socket option into ietf API extension compliance +K:NA Fix chunk parameter processing bug +K:Patch Kill unused static inline sctp_sysctl_jiffies_ms +K:Patch extend exported data in /proc/net/sctp/assoc +K:Patch Use proc_create to setup de->proc_fops. +K:Patch Update AUTH structures to match declarations in draft-16. +K:NA Incorrect length was used in SCTP_*_AUTH_CHUNKS socket option +K:Patch Clean up naming conventions of sctp protocol/address family + registration +K:NA Correctly set the length of sctp_assoc_change notification +K:NA Pick up an orphaned sctp_sockets_allocated counter. +K:Patch Convert sctp_dbg_objcnt to seq files. +K:Patch Use snmp_fold_field instead of a homebrew analogue. +K:NA Make sure the chunk is off the transmitted list prior to freeing. +K:NA Fix kernel panic while received ASCONF chunk with bad serial + number +K:NA Set ports in every address returned by sctp_getladdrs() +K:NA Correctly reap SSNs when processing FORWARD_TSN chunk +K:NA Fix kernel panic while received AUTH chunk with BAD shared key + identifier +K:NA Fix kernel panic while received AUTH chunk while enabled auth +K:Patch Kill silly inlines in ulpqueue.c +K:NA Do not increase rwnd when reading partial notification. +K:Patch Stop claiming that this is a "reference implementation" +K:NA Fix miss of report unrecognized HMAC Algorithm parameter +K:NA Correctly initialize error when parameter validation failed. +K:Patch Follow Add-IP security consideratiosn wrt INIT/INIT-ACK +K:Patch Implement ADD-IP special case processing for ABORT chunk +K:Patch Change use_as_src into a full address state +K:Patch Update ASCONF processing to conform to spec. +K:Patch ADD-IP updates the states where ASCONFs can be sent +K:Patch Update association lookup to look at ASCONF chunks as well +K:Patch Add the handling of "Set Primary IP Address" parameter to INIT +K:Patch Handle the wildcard ADD-IP Address parameter +K:Patch Discard unauthenticated ASCONF and ASCONF ACK chunks +K:Patch Use crc32c library for checksum calculations. +K:Patch Use ipv4_is_<type> -lksctp-2.6.24-1.0.5: Fri Feb 01 14:55:00 EST 2008 +lksctp-2.6.24-1.0.8: Fri Feb 01 14:55:00 EST 2008 K:NA Add back the code that accounted for FORWARD_TSN parameter in INIT. K:NA Correctly handle AUTH parameters in unexpected INIT diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/configure.in new/lksctp-tools-1.0.9/configure.in --- old/lksctp-tools-1.0.8/configure.in 2008-02-01 20:07:06.000000000 +0100 +++ new/lksctp-tools-1.0.9/configure.in 2008-08-05 21:56:17.000000000 +0200 @@ -15,7 +15,7 @@ AC_INIT([src/apps/sctp_darn.c]) AC_CONFIG_AUX_DIR(bin) -AM_INIT_AUTOMAKE(lksctp-tools,1.0.8) +AM_INIT_AUTOMAKE(lksctp-tools,1.0.9) AC_CONFIG_SRCDIR([config.h.in]) AM_CONFIG_HEADER([config.h]) AC_REVISION($Revision: 1.1.1.2 $) @@ -69,6 +69,5 @@ src/lib/Makefile src/testlib/Makefile src/withsctp/Makefile - src/withsctp/withsctp doc/Makefile]) AC_OUTPUT diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/lksctp-tools.spec.in new/lksctp-tools-1.0.9/lksctp-tools.spec.in --- old/lksctp-tools-1.0.8/lksctp-tools.spec.in 2008-02-01 20:09:03.000000000 +0100 +++ new/lksctp-tools-1.0.9/lksctp-tools.spec.in 2008-08-05 21:21:44.000000000 +0200 @@ -4,7 +4,7 @@ # Author : Francois-Xavier Kowalski # Created On : Sat Jan 10 14:53:53 2004 # Last Modified By: Vlad Yasevich -# Last Modified On: Fri Feb 1 14:09:04 2008 +# Last Modified On: Tue Aug 5 15:19:59 EDT 2008 # # (c) Copyright Hewlett-Packard Company 2004 # (C) Copyright IBM Corp. 2004 @@ -25,7 +25,7 @@ # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, # MA 02139, USA. -%define kernel_version 2.6.24 +%define kernel_version 2.6.26 %define kernel_extraflags %define lksctp_version @VERSION@ @@ -129,6 +129,9 @@ %doc doc/*.txt %changelog +* Sun Jun 13 2008 Vlad Yasevich <vladislav.yasevich@hp.com> 1.0.9-1 +- 1.0.9 Release + * Fri Feb 01 2008 Vlad Yasevich <vladislav.yasevich@hp.com> 1.0.8-1 - 1.0.8 Release diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/Makefile.rules new/lksctp-tools-1.0.9/Makefile.rules --- old/lksctp-tools-1.0.8/Makefile.rules 2005-10-21 21:24:20.000000000 +0200 +++ new/lksctp-tools-1.0.9/Makefile.rules 2008-07-16 16:14:16.000000000 +0200 @@ -11,3 +11,8 @@ ## FIXME: Your stuff here + +edit = @sed \ + -e "s|\@bindir\@|$(bindir)|" \ + -e "s|\@libdir\@|$(libdir)|" \ + -e "s|\@PACKAGE\@|$(PACKAGE)|" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/src/include/netinet/sctp.h new/lksctp-tools-1.0.9/src/include/netinet/sctp.h --- old/lksctp-tools-1.0.8/src/include/netinet/sctp.h 2008-01-30 22:15:31.000000000 +0100 +++ new/lksctp-tools-1.0.9/src/include/netinet/sctp.h 2008-07-16 16:14:16.000000000 +0200 @@ -105,6 +105,21 @@ #define SCTP_PARTIAL_DELIVERY_POINT SCTP_PARTIAL_DELIVERY_POINT SCTP_MAX_BURST, /* Set/Get max burst */ #define SCTP_MAX_BURST SCTP_MAX_BURST + SCTP_AUTH_CHUNK, /* Set only: add a chunk type to authenticat */ +#define SCTP_AUTH_CHUNK SCTP_AUTH_CHUNK + SCTP_HMAC_IDENT, +#define SCTP_HMAC_IDENT SCTP_HMAC_IDENT + SCTP_AUTH_KEY, +#define SCTP_AUTH_KEY SCTP_AUTH_KEY + SCTP_AUTH_ACTIVE_KEY, +#define SCTP_AUTH_ACTIVE_KEY SCTP_AUTH_ACTIVE_KEY + SCTP_AUTH_DELETE_KEY, +#define SCTP_AUTH_DELETE_KEY SCTP_AUTH_DELETE_KEY + SCTP_PEER_AUTH_CHUNKS, /* Read only */ +#define SCTP_PEER_AUTH_CHUNKS SCTP_PEER_AUTH_CHUNKS + SCTP_LOCAL_AUTH_CHUNKS, /* Read only */ +#define SCTP_LOCAL_AUTH_CHUNKS SCTP_LOCAL_AUTH_CHUNKS + /* Internal Socket Options. Some of the sctp library functions are * implemented using these socket options. @@ -186,7 +201,7 @@ SCTP_UNORDERED = 1, /* Send/receive message unordered. */ SCTP_ADDR_OVER = 2, /* Override the primary destination. */ SCTP_ABORT=4, /* Send an ABORT message to the peer. */ - SCTP_EOF=MSG_FIN, /* Initiate graceful shutdown process. */ + SCTP_EOF=MSG_FIN, /* Initiate graceful shutdown process. */ }; @@ -375,6 +390,26 @@ enum { SCTP_PARTIAL_DELIVERY_ABORTED=0, }; /* +* 5.3.1.8. SCTP_AUTHENTICATION_EVENT +* +* When a receiver is using authentication this message will provide +* notifications regarding new keys being made active as well as errors. +*/ + +struct sctp_authkey_event { + __u16 auth_type; + __u16 auth_flags; + __u32 auth_length; + __u16 auth_keynumber; + __u16 auth_altkeynumber; + __u32 auth_indication; + sctp_assoc_t auth_assoc_id; +}; + +enum { SCTP_AUTH_NEWKEY = 0, }; + + +/* * Described in Section 7.3 * Ancillary Data and Notification Interest Options */ @@ -387,6 +422,7 @@ __u8 sctp_shutdown_event; __u8 sctp_partial_delivery_event; __u8 sctp_adaptation_layer_event; + __u8 sctp_authentication_event; }; /* @@ -409,6 +445,7 @@ struct sctp_shutdown_event sn_shutdown_event; struct sctp_adaptation_event sn_adaptation_event; struct sctp_pdapi_event sn_pdapi_event; + struct sctp_authkey_event sn_authkey_event; }; /* Section 5.3.1 @@ -425,6 +462,7 @@ SCTP_SHUTDOWN_EVENT, SCTP_PARTIAL_DELIVERY_EVENT, SCTP_ADAPTATION_INDICATION, + SCTP_AUTHENTICATION_INDICATION, }; /* Notification error codes used to fill up the error fields in some @@ -546,7 +584,61 @@ __u32 spp_flags; } __attribute__((packed, aligned(4))); -/* 7.1.24. Delayed Ack Timer (SCTP_DELAYED_ACK_TIME) +/* + * 7.1.18. Add a chunk that must be authenticated (SCTP_AUTH_CHUNK) + * + * This set option adds a chunk type that the user is requesting to be + * received only in an authenticated way. Changes to the list of chunks + * will only effect future associations on the socket. + */ +struct sctp_authchunk { + __u8 sauth_chunk; +}; + +/* + * 7.1.19. Get or set the list of supported HMAC Identifiers (SCTP_HMAC_IDENT) + * + * This option gets or sets the list of HMAC algorithms that the local + * endpoint requires the peer to use. +*/ + +enum { + SCTP_AUTH_HMAC_ID_SHA1 = 1, + SCTP_AUTH_HMAC_ID_SHA256 = 3, +}; + +struct sctp_hmacalgo { + __u32 shmac_number_of_idents; + __u16 shmac_idents[]; +}; + +/* + * 7.1.20. Set a shared key (SCTP_AUTH_KEY) + * + * This option will set a shared secret key which is used to build an + * association shared key. + */ +struct sctp_authkey { + sctp_assoc_t sca_assoc_id; + __u16 sca_keynumber; + __u16 sca_keylength; + __u8 sca_key[]; +}; + +/* + * 7.1.21. Get or set the active shared key (SCTP_AUTH_ACTIVE_KEY) + * + * This option will get or set the active shared key to be used to build + * the association shared key. + */ + +struct sctp_authkeyid { + sctp_assoc_t scact_assoc_id; + __u16 scact_keynumber; +}; + + +/* 7.1.23. Delayed Ack Timer (SCTP_DELAYED_ACK_TIME) * * This options will get or set the delayed ack timer. The time is set * in milliseconds. If the assoc_id is 0, then this sets or gets the @@ -578,6 +670,14 @@ } __attribute__((packed, aligned(4))); /* Peer addresses's state. */ +/* UNKNOWN: Peer address passed by the upper layer in sendmsg or connect[x] + * calls. + * UNCONFIRMED: Peer address received in INIT/INIT-ACK address parameters. + * Not yet confirmed by a heartbeat and not available for data + * transfers. + * ACTIVE : Peer address confirmed, active and available for data transfers. + * INACTIVE: Peer address inactive and not available for data transfers. + */ enum sctp_spinfo_state { SCTP_INACTIVE, SCTP_ACTIVE, @@ -605,6 +705,19 @@ struct sctp_paddrinfo sstat_primary; }; +/* + * 7.2.3. Get the list of chunks the peer requires to be authenticated + * (SCTP_PEER_AUTH_CHUNKS) + * + * This option gets a list of chunks for a specified association that + * the peer requires to be received authenticated only. + */ +struct sctp_authchunks { + sctp_assoc_t gauth_assoc_id; + __u32 guth_number_of_chunks; + uint8_t gauth_chunks[]; +}; + /* Association states. */ enum sctp_sstat_state { SCTP_EMPTY = 0, diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/src/lib/Makefile.am new/lksctp-tools-1.0.9/src/lib/Makefile.am --- old/lksctp-tools-1.0.8/src/lib/Makefile.am 2008-02-01 20:09:48.000000000 +0100 +++ new/lksctp-tools-1.0.9/src/lib/Makefile.am 2008-08-05 21:23:02.000000000 +0200 @@ -9,4 +9,4 @@ lib_LTLIBRARIES = libsctp.la libsctp_la_SOURCES = bindx.c connectx.c peeloff.c opt_info.c addrs.c sendmsg.c recvmsg.c -libsctp_la_LDFLAGS = -version-info 1:8:0 +libsctp_la_LDFLAGS = -version-info 1:9:0 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/src/lib/opt_info.c new/lksctp-tools-1.0.9/src/lib/opt_info.c --- old/lksctp-tools-1.0.8/src/lib/opt_info.c 2008-01-30 22:17:58.000000000 +0100 +++ new/lksctp-tools-1.0.9/src/lib/opt_info.c 2008-07-16 16:14:16.000000000 +0200 @@ -50,6 +50,9 @@ case SCTP_MAXSEG: case SCTP_STATUS: case SCTP_GET_PEER_ADDR_INFO: + case SCTP_AUTH_ACTIVE_KEY: + case SCTP_PEER_AUTH_CHUNKS: + case SCTP_LOCAL_AUTH_CHUNKS: *(sctp_assoc_t *)arg = id; return getsockopt(sd, IPPROTO_SCTP, opt, arg, size); default: diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/src/testlib/Makefile.am new/lksctp-tools-1.0.9/src/testlib/Makefile.am --- old/lksctp-tools-1.0.8/src/testlib/Makefile.am 2008-02-01 20:10:02.000000000 +0100 +++ new/lksctp-tools-1.0.9/src/testlib/Makefile.am 2008-08-05 21:22:27.000000000 +0200 @@ -9,4 +9,4 @@ noinst_LTLIBRARIES = libsctputil.la libsctputil_la_SOURCES = sctputil.c sctputil.h -libsctputil_la_LDFLAGS = -version-info 1:8:0 +libsctputil_la_LDFLAGS = -version-info 1:9:0 diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/src/withsctp/Makefile.am new/lksctp-tools-1.0.9/src/withsctp/Makefile.am --- old/lksctp-tools-1.0.8/src/withsctp/Makefile.am 2008-02-01 20:10:21.000000000 +0100 +++ new/lksctp-tools-1.0.9/src/withsctp/Makefile.am 2008-08-05 21:22:16.000000000 +0200 @@ -14,7 +14,14 @@ pkglib_LTLIBRARIES = libwithsctp.la libwithsctp_la_SOURCES = sctp_load_libs.c sctp_socket.c sctp_bind.c \ sctp_sockopt.c sctp_socket.h -libwithsctp_la_LDFLAGS = -version-info 1:8:0 -ldl +libwithsctp_la_LDFLAGS = -version-info 1:9:0 -ldl pkgdoc_DATA = sctp_load_libs.c sctp_socket.c sctp_bind.c \ sctp_sockopt.c sctp_socket.h checksctp.c + +withsctp: withsctp.in + $(edit) $< >$@ + +EXTRA_DIST += withsctp.in + +CLEANFILES += withsctp diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/lksctp-tools-1.0.8/src/withsctp/withsctp.in new/lksctp-tools-1.0.9/src/withsctp/withsctp.in --- old/lksctp-tools-1.0.8/src/withsctp/withsctp.in 2008-02-01 20:10:42.000000000 +0100 +++ new/lksctp-tools-1.0.9/src/withsctp/withsctp.in 2008-08-05 21:57:59.000000000 +0200 @@ -2,7 +2,7 @@ # -*- sh -*- LIBDIR=@libdir@/@PACKAGE@ BINDIR=@bindir@ -export LD_PRELOAD=${LIBDIR}/libwithsctp.so.1.0.8 +export LD_PRELOAD=${LIBDIR}/libwithsctp.so.1.0.9 if ! ${BINDIR}/checksctp 2> /dev/null then ${BINDIR}/checksctp; ++++++ lksctp-tools-1.0.8-warnings.patch -> lksctp-tools-1.0.9-warnings.patch ++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de