Package: slirp / 1:1.0.17-6

Metadata

Package Version Patches format
slirp 1:1.0.17-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
001 update man fix hyphens as minus.patch | (download)

src/slirp.man | 52 26 + 26 - 0 !
1 file changed, 26 insertions(+), 26 deletions(-)

 fix hyphens used instead of minus signs and update manpage


002 fix arguements.patch | (download)

ChangeLog | 2 1 + 1 - 0 !
src/main.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 fix arguements spelling error


003 socklen_t.patch | (download)

src/main.c | 4 2 + 2 - 0 !
src/misc.c | 2 1 + 1 - 0 !
src/socket.c | 5 3 + 2 - 0 !
src/tcp_subr.c | 4 2 + 2 - 0 !
src/udp.c | 5 3 + 2 - 0 !
5 files changed, 11 insertions(+), 9 deletions(-)

 use addrlen as socklen_t instead of int


004 compilation warnings.patch | (download)

src/config.h.in | 2 2 + 0 - 0 !
src/main.h | 1 1 + 0 - 0 !
src/mbuf.h | 2 1 + 1 - 0 !
src/ppp.c | 1 1 + 0 - 0 !
src/ppp/ccp.c | 2 1 + 1 - 0 !
src/ppp/ipcp.c | 2 1 + 1 - 0 !
src/ppp/lcp.c | 1 1 + 0 - 0 !
src/ppp/ppp.h | 14 14 + 0 - 0 !
src/tcp_output.c | 2 1 + 1 - 0 !
src/ttys.c | 2 2 + 0 - 0 !
10 files changed, 25 insertions(+), 4 deletions(-)

 fix compilation warnings


005 use snprintf.patch | (download)

src/main.c | 12 6 + 6 - 0 !
src/misc.c | 6 3 + 3 - 0 !
src/options.c | 2 1 + 1 - 0 !
src/ttys.c | 4 2 + 2 - 0 !
4 files changed, 12 insertions(+), 12 deletions(-)

 use snprintf instead of sprintf


006 changelog 1.0.17.patch | (download)

Changes-1.0.17 | 35 35 + 0 - 0 !
1 file changed, 35 insertions(+)

 add 1.0.17 upstream changelog


007 debian changes.patch | (download)

src/Makefile.in | 1 1 + 0 - 0 !
src/main.c | 4 4 + 0 - 0 !
src/options.c | 4 4 + 0 - 0 !
3 files changed, 9 insertions(+)

 debian building changes


008 slirp amd64 log crash.patch | (download)

src/misc.c | 7 6 + 1 - 0 !
1 file changed, 6 insertions(+), 1 deletion(-)

 fix crash on amd64 when enabling file logging
 On amd64 architectures, slirp crashes immediately when file logging is
 enabled with "log start".  It happens at the first call to lprint after the
 log file is opened and ready for logging.  The reason is that the va_list
 object "args" is used twice in that case, once at
   lprint_ptr += (*lprint_print)(*lprint_arg, format, args);
 and once at
   vfprintf(lfd, bptr2, args);
 .
 After the first call, args gets invalid because all arguments have been
 read from the va_args structure.  For some reason, this does not happen on
 i386 versions. Maybe a real copy of args is created when the function is
 called in i386.
Bug-Debian: http://bugs.debian.org/587907


009 i hate perl.patch | (download)

src/Makefile.in | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 do not run makepro anymore
 mkpro is a nice perl script that used to regenerate all slirp prototypes
 correctly in the past. It stopped working, maybe because a change in perl
 and/or because it has a bug. I'm not a perl guru, and after wasting hours
 of my time trying to decypher mkrpo and fixing that silly thing, I quit.
 Slirp hasn't changed for years, so I think mkpro isn't very usefull anyway.
 .
010 fullbolt fix.patch | (download)

src/tcp_input.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 please apply "real full bolt" patch
 Even when compiled with "-DFULL_BOLT", slirp applies a small delay to
 TCP ACKs, which results in the upload speed being capped to circa 46Kb/s.
 Manfread Haertel published a tiny patch for this on the UML mailing list:
 http://article.gmane.org/gmane.linux.uml.user/13973
 .