diff -u netcat-openbsd-1.89/debian/changelog netcat-openbsd-1.89/debian/changelog --- netcat-openbsd-1.89/debian/changelog +++ netcat-openbsd-1.89/debian/changelog @@ -1,3 +1,9 @@ +netcat-openbsd (1.89-3ubuntu2) lucid; urgency=low + + * Log "Connection to ..." messages to stderr (LP: #519210) + + -- Stefan Haller Tue, 09 Feb 2010 10:42:03 +0100 + netcat-openbsd (1.89-3ubuntu1) intrepid; urgency=low * Merge from debian unstable. diff -u netcat-openbsd-1.89/debian/patches/series netcat-openbsd-1.89/debian/patches/series --- netcat-openbsd-1.89/debian/patches/series +++ netcat-openbsd-1.89/debian/patches/series @@ -15,0 +16 @@ +verbose-message-to-stderr.patch only in patch2: unchanged: --- netcat-openbsd-1.89.orig/debian/patches/verbose-message-to-stderr.patch +++ netcat-openbsd-1.89/debian/patches/verbose-message-to-stderr.patch @@ -0,0 +1,17 @@ +Index: netcat-openbsd-1.89/netcat.c +=================================================================== +--- netcat-openbsd-1.89.orig/netcat.c 2010-02-09 10:29:21.000000000 +0100 ++++ netcat-openbsd-1.89/netcat.c 2010-02-09 10:29:45.000000000 +0100 +@@ -421,9 +421,9 @@ main(int argc, char *argv[]) + uflag ? "udp" : "tcp"); + } + +- printf("Connection to %s %s port [%s/%s] succeeded!\n", +- host, portlist[i], uflag ? "udp" : "tcp", +- sv ? sv->s_name : "*"); ++ fprintf(stderr, "Connection to %s %s port [%s/%s] " ++ "succeeded!\n", host, portlist[i], ++ uflag ? "udp" : "tcp", sv ? sv->s_name : "*"); + } + if (!zflag) + readwrite(s);