[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

stable proposed update: ser2net, fixing #535159



Hi, Stable Release Team,

please review the attached patch against ser2net for inclusion in the
next stable point release. It is supposed to fix #535159, which I
don't understand zilch, so I applied it verbatim.

Please indicate whether it's worth the trouble to actually pbuild and
upload the package.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190
diff -u ser2net-2.5/debian/rules ser2net-2.5/debian/rules
--- ser2net-2.5/debian/rules
+++ ser2net-2.5/debian/rules
@@ -6,4 +6,5 @@
 # automatic debian/control generation disabled, cdbs bug #311724.
 
+include /usr/share/cdbs/1/rules/dpatch.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
diff -u ser2net-2.5/debian/control ser2net-2.5/debian/control
--- ser2net-2.5/debian/control
+++ ser2net-2.5/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Marc Haber <mh+debian-packages@zugschlus.de>
 Homepage: http://sourceforge.net/projects/ser2net
 Standards-Version: 3.7.2.2
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), libwrap0-dev
+Build-Depends: cdbs (>= 0.4.23-1.1), dpatch, debhelper (>= 5), libwrap0-dev
 
 Package: ser2net
 Architecture: any
diff -u ser2net-2.5/debian/changelog ser2net-2.5/debian/changelog
--- ser2net-2.5/debian/changelog
+++ ser2net-2.5/debian/changelog
@@ -1,3 +1,9 @@
+ser2net (2.5-1+lenny1) stable; urgency=low
+
+  * add patch from Sebastian Andrzej Siewior. Closes: #535159
+
+ -- Marc Haber <mh+debian-packages@zugschlus.de>  Tue, 14 Sep 2010 22:41:25 +0200
+
 ser2net (2.5-1) unstable; urgency=low
 
   * new upstream version.
only in patch2:
unchanged:
--- ser2net-2.5.orig/config.log
+++ ser2net-2.5/config.log
@@ -0,0 +1,594 @@
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by configure, which was
+generated by GNU Autoconf 2.61.  Invocation command line was
+
+  $ /mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/./configure --build=i486-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/ser2net --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --srcdir=.
+
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = nechayev
+uname -m = i686
+uname -r = 2.6.35.4-zgsrv20080
+uname -s = Linux
+uname -v = #1 SMP PREEMPT Fri Sep 3 15:29:53 CEST 2010
+
+/usr/bin/uname -p = unknown
+/bin/uname -X     = unknown
+
+/bin/arch              = unknown
+/usr/bin/arch -k       = unknown
+/usr/convex/getsysinfo = unknown
+/usr/bin/hostinfo      = unknown
+/bin/machine           = unknown
+/usr/bin/oslevel       = unknown
+/bin/universe          = unknown
+
+PATH: /usr/sbin
+PATH: /usr/bin
+PATH: /sbin
+PATH: /bin
+PATH: /usr/bin/X11
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+configure:1965: checking for a BSD-compatible install
+configure:2021: result: /usr/bin/install -c
+configure:2032: checking whether build environment is sane
+configure:2075: result: yes
+configure:2140: checking for gawk
+configure:2170: result: no
+configure:2140: checking for mawk
+configure:2156: found /usr/bin/mawk
+configure:2167: result: mawk
+configure:2178: checking whether make sets $(MAKE)
+configure:2199: result: yes
+configure:2431: checking for gcc
+configure:2447: found /usr/bin/gcc
+configure:2458: result: gcc
+configure:2696: checking for C compiler version
+configure:2703: gcc --version >&5
+gcc (Debian 4.4.4-12) 4.4.5 20100902 (prerelease)
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:2706: $? = 0
+configure:2713: gcc -v >&5
+Using built-in specs.
+Target: i486-linux-gnu
+Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.4-12' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
+Thread model: posix
+gcc version 4.4.5 20100902 (prerelease) (Debian 4.4.4-12) 
+configure:2716: $? = 0
+configure:2723: gcc -V >&5
+gcc: '-V' option must have argument
+configure:2726: $? = 1
+configure:2749: checking for C compiler default output file name
+configure:2776: gcc -g -O2 -g -Wall -O2   conftest.c  >&5
+configure:2779: $? = 0
+configure:2817: result: a.out
+configure:2834: checking whether the C compiler works
+configure:2844: ./a.out
+configure:2847: $? = 0
+configure:2864: result: yes
+configure:2871: checking whether we are cross compiling
+configure:2873: result: no
+configure:2876: checking for suffix of executables
+configure:2883: gcc -o conftest -g -O2 -g -Wall -O2   conftest.c  >&5
+configure:2886: $? = 0
+configure:2910: result: 
+configure:2916: checking for suffix of object files
+configure:2942: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:2945: $? = 0
+configure:2968: result: o
+configure:2972: checking whether we are using the GNU C compiler
+configure:3001: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:3007: $? = 0
+configure:3024: result: yes
+configure:3029: checking whether gcc accepts -g
+configure:3059: gcc -c -g  conftest.c >&5
+configure:3065: $? = 0
+configure:3164: result: yes
+configure:3181: checking for gcc option to accept ISO C89
+configure:3255: gcc  -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:3261: $? = 0
+configure:3284: result: none needed
+configure:3313: checking for style of include used by make
+configure:3341: result: GNU
+configure:3369: checking dependency style of gcc
+configure:3459: result: none
+configure:3554: checking build system type
+configure:3572: result: i486-pc-linux-gnu
+configure:3594: checking host system type
+configure:3609: result: i486-pc-linux-gnu
+configure:3631: checking for a sed that does not truncate output
+configure:3685: result: /bin/sed
+configure:3688: checking for grep that handles long lines and -e
+configure:3762: result: /bin/grep
+configure:3767: checking for egrep
+configure:3845: result: /bin/grep -E
+configure:3861: checking for ld used by gcc
+configure:3928: result: /usr/bin/ld
+configure:3937: checking if the linker (/usr/bin/ld) is GNU ld
+configure:3952: result: yes
+configure:3957: checking for /usr/bin/ld option to reload object files
+configure:3964: result: -r
+configure:3982: checking for BSD-compatible nm
+configure:4031: result: /usr/bin/nm -B
+configure:4035: checking whether ln -s works
+configure:4039: result: yes
+configure:4046: checking how to recognise dependent libraries
+configure:4222: result: pass_all
+configure:4456: checking how to run the C preprocessor
+configure:4496: gcc -E  conftest.c
+configure:4502: $? = 0
+configure:4533: gcc -E  conftest.c
+conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
+configure:4539: $? = 1
+configure: failed program was:
+| /* confdefs.h.  */
+| #define PACKAGE_NAME ""
+| #define PACKAGE_TARNAME ""
+| #define PACKAGE_VERSION ""
+| #define PACKAGE_STRING ""
+| #define PACKAGE_BUGREPORT ""
+| #define PACKAGE "ser2net"
+| #define VERSION "2.5"
+| /* end confdefs.h.  */
+| #include <ac_nonexistent.h>
+configure:4572: result: gcc -E
+configure:4601: gcc -E  conftest.c
+configure:4607: $? = 0
+configure:4638: gcc -E  conftest.c
+conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
+configure:4644: $? = 1
+configure: failed program was:
+| /* confdefs.h.  */
+| #define PACKAGE_NAME ""
+| #define PACKAGE_TARNAME ""
+| #define PACKAGE_VERSION ""
+| #define PACKAGE_STRING ""
+| #define PACKAGE_BUGREPORT ""
+| #define PACKAGE "ser2net"
+| #define VERSION "2.5"
+| /* end confdefs.h.  */
+| #include <ac_nonexistent.h>
+configure:4682: checking for ANSI C header files
+configure:4712: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4718: $? = 0
+configure:4817: gcc -o conftest -g -O2 -g -Wall -O2   conftest.c  >&5
+configure:4820: $? = 0
+configure:4826: ./conftest
+configure:4829: $? = 0
+configure:4846: result: yes
+configure:4870: checking for sys/types.h
+configure:4891: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4897: $? = 0
+configure:4913: result: yes
+configure:4870: checking for sys/stat.h
+configure:4891: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4897: $? = 0
+configure:4913: result: yes
+configure:4870: checking for stdlib.h
+configure:4891: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4897: $? = 0
+configure:4913: result: yes
+configure:4870: checking for string.h
+configure:4891: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4897: $? = 0
+configure:4913: result: yes
+configure:4870: checking for memory.h
+configure:4891: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4897: $? = 0
+configure:4913: result: yes
+configure:4870: checking for strings.h
+configure:4891: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4897: $? = 0
+configure:4913: result: yes
+configure:4870: checking for inttypes.h
+configure:4891: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4897: $? = 0
+configure:4913: result: yes
+configure:4870: checking for stdint.h
+configure:4891: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4897: $? = 0
+configure:4913: result: yes
+configure:4870: checking for unistd.h
+configure:4891: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4897: $? = 0
+configure:4913: result: yes
+configure:4940: checking dlfcn.h usability
+configure:4957: gcc -c -g -O2 -g -Wall -O2  conftest.c >&5
+configure:4963: $? = 0
+configure:4977: result: yes
+configure:4981: checking dlfcn.h presence
+configure:4996: gcc -E  conftest.c
+configure:5002: $? = 0
+configure:5016: result: yes
+configure:5044: checking for dlfcn.h
+configure:5052: result: yes
+configure:5123: checking for g++
+configure:5139: found /usr/bin/g++
+configure:5150: result: g++
+configure:5181: checking for C++ compiler version
+configure:5188: g++ --version >&5
+g++ (Debian 4.4.4-12) 4.4.5 20100902 (prerelease)
+Copyright (C) 2010 Free Software Foundation, Inc.
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+configure:5191: $? = 0
+configure:5198: g++ -v >&5
+Using built-in specs.
+Target: i486-linux-gnu
+Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.4-12' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
+Thread model: posix
+gcc version 4.4.5 20100902 (prerelease) (Debian 4.4.4-12) 
+configure:5201: $? = 0
+configure:5208: g++ -V >&5
+g++: '-V' option must have argument
+configure:5211: $? = 1
+configure:5214: checking whether we are using the GNU C++ compiler
+configure:5243: g++ -c -g -O2 -g -Wall -O2  conftest.cpp >&5
+configure:5249: $? = 0
+configure:5266: result: yes
+configure:5271: checking whether g++ accepts -g
+configure:5301: g++ -c -g  conftest.cpp >&5
+configure:5307: $? = 0
+configure:5406: result: yes
+configure:5431: checking dependency style of g++
+configure:5521: result: none
+configure:5548: checking how to run the C++ preprocessor
+configure:5584: g++ -E  conftest.cpp
+configure:5590: $? = 0
+configure:5621: g++ -E  conftest.cpp
+conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory
+configure:5627: $? = 1
+configure: failed program was:
+| /* confdefs.h.  */
+| #define PACKAGE_NAME ""
+| #define PACKAGE_TARNAME ""
+| #define PACKAGE_VERSION ""
+| #define PACKAGE_STRING ""
+| #define PACKAGE_BUGREPORT ""
+| #define PACKAGE "ser2net"
+| #define VERSION "2.5"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| /* end confdefs.h.  */
+| #include <ac_nonexistent.h>
+configure:5660: result: g++ -E
+configure:5689: g++ -E  conftest.cpp
+configure:5695: $? = 0
+configure:5726: g++ -E  conftest.cpp
+conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory
+configure:5732: $? = 1
+configure: failed program was:
+| /* confdefs.h.  */
+| #define PACKAGE_NAME ""
+| #define PACKAGE_TARNAME ""
+| #define PACKAGE_VERSION ""
+| #define PACKAGE_STRING ""
+| #define PACKAGE_BUGREPORT ""
+| #define PACKAGE "ser2net"
+| #define VERSION "2.5"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| /* end confdefs.h.  */
+| #include <ac_nonexistent.h>
+configure:5825: checking for g77
+configure:5855: result: no
+configure:5825: checking for xlf
+configure:5855: result: no
+configure:5825: checking for f77
+configure:5855: result: no
+configure:5825: checking for frt
+configure:5855: result: no
+configure:5825: checking for pgf77
+configure:5855: result: no
+configure:5825: checking for cf77
+configure:5855: result: no
+configure:5825: checking for fort77
+configure:5855: result: no
+configure:5825: checking for fl32
+configure:5855: result: no
+configure:5825: checking for af77
+configure:5855: result: no
+configure:5825: checking for xlf90
+configure:5855: result: no
+configure:5825: checking for f90
+configure:5855: result: no
+configure:5825: checking for pgf90
+configure:5855: result: no
+configure:5825: checking for pghpf
+configure:5855: result: no
+configure:5825: checking for epcf90
+configure:5855: result: no
+configure:5825: checking for gfortran
+configure:5855: result: no
+configure:5825: checking for g95
+configure:5855: result: no
+configure:5825: checking for xlf95
+configure:5855: result: no
+configure:5825: checking for f95
+configure:5855: result: no
+configure:5825: checking for fort
+configure:5855: result: no
+configure:5825: checking for ifort
+configure:5855: result: no
+configure:5825: checking for ifc
+configure:5855: result: no
+configure:5825: checking for efc
+configure:5855: result: no
+configure:5825: checking for pgf95
+configure:5855: result: no
+configure:5825: checking for lf95
+configure:5855: result: no
+configure:5825: checking for ftn
+configure:5855: result: no
+configure:5882: checking for Fortran 77 compiler version
+configure:5889:  --version >&5
+/mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/./configure: line 5890: --version: command not found
+configure:5892: $? = 127
+configure:5899:  -v >&5
+/mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/./configure: line 5900: -v: command not found
+configure:5902: $? = 127
+configure:5909:  -V >&5
+/mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/./configure: line 5910: -V: command not found
+configure:5912: $? = 127
+configure:5920: checking whether we are using the GNU Fortran 77 compiler
+configure:5939:  -c -g -O2 conftest.F >&5
+/mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/./configure: line 5940: -c: command not found
+configure:5945: $? = 127
+configure: failed program was:
+|       program main
+| #ifndef __GNUC__
+|        choke me
+| #endif
+| 
+|       end
+configure:5962: result: no
+configure:5968: checking whether  accepts -g
+configure:5985:  -c -g conftest.f >&5
+/mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/./configure: line 5986: -c: command not found
+configure:5991: $? = 127
+configure: failed program was:
+|       program main
+| 
+|       end
+configure:6007: result: no
+configure:6037: checking the maximum length of command line arguments
+
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+
+ac_cv_build=i486-pc-linux-gnu
+ac_cv_c_compiler_gnu=yes
+ac_cv_cxx_compiler_gnu=yes
+ac_cv_env_CCC_set=
+ac_cv_env_CCC_value=
+ac_cv_env_CC_set=
+ac_cv_env_CC_value=
+ac_cv_env_CFLAGS_set=set
+ac_cv_env_CFLAGS_value='-g -O2 -g -Wall -O2'
+ac_cv_env_CPPFLAGS_set=set
+ac_cv_env_CPPFLAGS_value=
+ac_cv_env_CPP_set=
+ac_cv_env_CPP_value=
+ac_cv_env_CXXCPP_set=
+ac_cv_env_CXXCPP_value=
+ac_cv_env_CXXFLAGS_set=set
+ac_cv_env_CXXFLAGS_value='-g -O2 -g -Wall -O2'
+ac_cv_env_CXX_set=
+ac_cv_env_CXX_value=
+ac_cv_env_F77_set=
+ac_cv_env_F77_value=
+ac_cv_env_FFLAGS_set=set
+ac_cv_env_FFLAGS_value='-g -O2'
+ac_cv_env_LDFLAGS_set=set
+ac_cv_env_LDFLAGS_value=
+ac_cv_env_LIBS_set=
+ac_cv_env_LIBS_value=
+ac_cv_env_build_alias_set=set
+ac_cv_env_build_alias_value=i486-linux-gnu
+ac_cv_env_host_alias_set=
+ac_cv_env_host_alias_value=
+ac_cv_env_target_alias_set=
+ac_cv_env_target_alias_value=
+ac_cv_f77_compiler_gnu=no
+ac_cv_header_dlfcn_h=yes
+ac_cv_header_inttypes_h=yes
+ac_cv_header_memory_h=yes
+ac_cv_header_stdc=yes
+ac_cv_header_stdint_h=yes
+ac_cv_header_stdlib_h=yes
+ac_cv_header_string_h=yes
+ac_cv_header_strings_h=yes
+ac_cv_header_sys_stat_h=yes
+ac_cv_header_sys_types_h=yes
+ac_cv_header_unistd_h=yes
+ac_cv_host=i486-pc-linux-gnu
+ac_cv_objext=o
+ac_cv_path_EGREP='/bin/grep -E'
+ac_cv_path_GREP=/bin/grep
+ac_cv_path_install='/usr/bin/install -c'
+ac_cv_prog_AWK=mawk
+ac_cv_prog_CPP='gcc -E'
+ac_cv_prog_CXXCPP='g++ -E'
+ac_cv_prog_ac_ct_CC=gcc
+ac_cv_prog_ac_ct_CXX=g++
+ac_cv_prog_cc_c89=
+ac_cv_prog_cc_g=yes
+ac_cv_prog_cxx_g=yes
+ac_cv_prog_f77_g=no
+ac_cv_prog_make_make_set=yes
+am_cv_CC_dependencies_compiler_type=none
+am_cv_CXX_dependencies_compiler_type=none
+lt_cv_deplibs_check_method=pass_all
+lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_ld_reload_flag=-r
+lt_cv_path_LD=/usr/bin/ld
+lt_cv_path_NM='/usr/bin/nm -B'
+lt_cv_path_SED=/bin/sed
+lt_cv_prog_gnu_ld=yes
+lt_cv_sys_max_cmd_len=257
+
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+
+ACLOCAL='${SHELL} /mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/missing --run aclocal-1.9'
+AMDEPBACKSLASH=''
+AMDEP_FALSE=''
+AMDEP_TRUE='#'
+AMTAR='${SHELL} /mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/missing --run tar'
+AR=''
+AUTOCONF='${SHELL} /mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/missing --run autoconf'
+AUTOHEADER='${SHELL} /mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/missing --run autoheader'
+AUTOMAKE='${SHELL} /mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/missing --run automake-1.9'
+AWK='mawk'
+CC='gcc'
+CCDEPMODE='depmode=none'
+CFLAGS='-g -O2 -g -Wall -O2'
+CPP='gcc -E'
+CPPFLAGS=''
+CXX='g++'
+CXXCPP='g++ -E'
+CXXDEPMODE='depmode=none'
+CXXFLAGS='-g -O2 -g -Wall -O2'
+CYGPATH_W='echo'
+DEFS=''
+DEPDIR='.deps'
+ECHO='echo'
+ECHO_C=''
+ECHO_N='-n'
+ECHO_T=''
+EGREP='/bin/grep -E'
+EXEEXT=''
+F77=''
+FFLAGS='-g -O2'
+GREP='/bin/grep'
+INSTALL_DATA='${INSTALL} -m 644'
+INSTALL_PROGRAM='${INSTALL}'
+INSTALL_SCRIPT='${INSTALL}'
+INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
+LDFLAGS=''
+LIBOBJS=''
+LIBS=''
+LIBTOOL=''
+LN_S='ln -s'
+LTLIBOBJS=''
+MAKEINFO='${SHELL} /mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/missing --run makeinfo'
+OBJEXT='o'
+PACKAGE='ser2net'
+PACKAGE_BUGREPORT=''
+PACKAGE_NAME=''
+PACKAGE_STRING=''
+PACKAGE_TARNAME=''
+PACKAGE_VERSION=''
+PATH_SEPARATOR=':'
+RANLIB=''
+SET_MAKE=''
+SHELL='/bin/sh'
+STRIP=''
+VERSION='2.5'
+ac_ct_CC='gcc'
+ac_ct_CXX='g++'
+ac_ct_F77=''
+am__fastdepCC_FALSE=''
+am__fastdepCC_TRUE='#'
+am__fastdepCXX_FALSE=''
+am__fastdepCXX_TRUE='#'
+am__include='include'
+am__leading_dot='.'
+am__quote=''
+am__tar='${AMTAR} chof - "$$tardir"'
+am__untar='${AMTAR} xf -'
+bindir='${exec_prefix}/bin'
+build='i486-pc-linux-gnu'
+build_alias='i486-linux-gnu'
+build_cpu='i486'
+build_os='linux-gnu'
+build_vendor='pc'
+datadir='${datarootdir}'
+datarootdir='${prefix}/share'
+docdir='${datarootdir}/doc/${PACKAGE}'
+dvidir='${docdir}'
+exec_prefix='NONE'
+host='i486-pc-linux-gnu'
+host_alias=''
+host_cpu='i486'
+host_os='linux-gnu'
+host_vendor='pc'
+htmldir='${docdir}'
+includedir='${prefix}/include'
+infodir='${prefix}/share/info'
+install_sh='/mnt/bigstuff/home/mh/chroot/lenny-backports/home/mh/ser2net/ser2net-2.5/install-sh'
+libdir='${exec_prefix}/lib'
+libexecdir='${prefix}/lib/ser2net'
+localedir='${datarootdir}/locale'
+localstatedir='/var'
+mandir='${prefix}/share/man'
+mkdir_p='mkdir -p --'
+oldincludedir='/usr/include'
+pdfdir='${docdir}'
+prefix='/usr'
+program_transform_name='s,x,x,'
+psdir='${docdir}'
+sbindir='${exec_prefix}/sbin'
+sharedstatedir='${prefix}/com'
+sysconfdir='/etc'
+target_alias=''
+
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+
+#define PACKAGE_NAME ""
+#define PACKAGE_TARNAME ""
+#define PACKAGE_VERSION ""
+#define PACKAGE_STRING ""
+#define PACKAGE_BUGREPORT ""
+#define PACKAGE "ser2net"
+#define VERSION "2.5"
+#define STDC_HEADERS 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
+#define HAVE_MEMORY_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_DLFCN_H 1
+
+configure: caught signal 2
+configure: exit 1
only in patch2:
unchanged:
--- ser2net-2.5.orig/debian/patches/00list
+++ ser2net-2.5/debian/patches/00list
@@ -0,0 +1 @@
+10-use_after_free-535159
only in patch2:
unchanged:
--- ser2net-2.5.orig/debian/patches/10-use_after_free-535159.dpatch
+++ ser2net-2.5/debian/patches/10-use_after_free-535159.dpatch
@@ -0,0 +1,67 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10-use_after_free-535159.dpatch by Sebastian Andrzej Siewior
+## <sebastian@breakpoint.cc>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix for use after free which leads to a segfault.
+## DP: thanks to Sebastian Andrzej Siewior, #535159
+
+@DPATCH@
+--- a/controller.c	2005/10/20 13:44:34	1.18
++++ b/controller.c	2009/06/30 13:58:01	1.19
+@@ -550,17 +550,17 @@
+ 	if (write_count == -1) {
+ 	    if (errno == EINTR) {
+ 		/* EINTR means we were interrupted, just retry by returning. */
+-		return;
++		goto out;
+ 	    }
+ 
+ 	    if (errno == EAGAIN) {
+ 		/* This again was due to O_NONBLOCK, just ignore it. */
+ 	    } else if (errno == EPIPE) {
+-		shutdown_controller(cntlr);
++		goto out_fail;
+ 	    } else {
+ 		/* Some other bad error. */
+ 		syslog(LOG_ERR, "The tcp write for controller had error: %m");
+-		shutdown_controller(cntlr);
++		goto out_fail;
+ 	    }
+ 	} else {
+ 	    int i, j;
+@@ -572,7 +572,7 @@
+ 	    if (td->out_telnet_cmd_size != 0)
+ 		/* If we have more telnet command data to send, don't
+ 		   send any real data. */
+-		return;
++		goto out;
+ 	}
+     }
+ 
+@@ -583,11 +583,11 @@
+ 	if (errno == EAGAIN) {
+ 	    /* This again was due to O_NONBLOCK, just ignore it. */
+ 	} else if (errno == EPIPE) {
+-	    shutdown_controller(cntlr);
++	    goto out_fail;
+ 	} else {
+ 	    /* Some other bad error. */
+ 	    syslog(LOG_ERR, "The tcp write for controller had error: %m");
+-	    shutdown_controller(cntlr);
++	    goto out_fail;
+ 	}
+     } else {
+ 	cntlr->outbuf_count -= write_count;
+@@ -604,6 +604,11 @@
+ 				     SEL_FD_HANDLER_DISABLED);
+ 	}
+     }
++ out:
++    return;
++
++ out_fail:
++    shutdown_controller(cntlr);
+ }
+ 
+ /* Handle an exception from the TCP port. */

Reply to: