r71719 - in /trunk/libsocket-getaddrinfo-perl/debian: README.Debian changelog patches/rename_scripts.patch patches/series
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Sat Mar 19 23:49:41 UTC 2011
Author: periapt-guest
Date: Sat Mar 19 23:49:30 2011
New Revision: 71719
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71719
Log:
patched but not atually renamed
Added:
trunk/libsocket-getaddrinfo-perl/debian/patches/rename_scripts.patch
Modified:
trunk/libsocket-getaddrinfo-perl/debian/README.Debian
trunk/libsocket-getaddrinfo-perl/debian/changelog
trunk/libsocket-getaddrinfo-perl/debian/patches/series
Modified: trunk/libsocket-getaddrinfo-perl/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocket-getaddrinfo-perl/debian/README.Debian?rev=71719&op=diff
==============================================================================
--- trunk/libsocket-getaddrinfo-perl/debian/README.Debian (original)
+++ trunk/libsocket-getaddrinfo-perl/debian/README.Debian Sat Mar 19 23:49:30 2011
@@ -13,13 +13,12 @@
such scenarios. Neither 'dig' nor 'nslookup' can be of any help diagnosing
these problems.
-In fact, case in point... The reason I was wanting to use getaddrinfo in
-the first place, was to debug why a server of mine was listening on
-[::1] rather than 127.0.0.1; the relevant output was:
+In Debian, these scripts have been renamed as follows:
----
+socket_getaddrinfo - look up address from host name
+socket_getnameinfo - look up name from address
-$ getaddrinfo --passive --service 8034
+$ socket_getaddrinfo --passive --service 8034
Resolved host '', service '8034'
socket(AF_INET , SOCK_STREAM, IPPROTO_TCP) + '0.0.0.0:8034'
@@ -29,7 +28,7 @@
socket(AF_INET6, SOCK_DGRAM , IPPROTO_UDP) + '[::]:8034'
socket(AF_INET6, SOCK_RAW , IPPROTO_IP ) + '[::]:8034'
-$ getaddrinfo --service 8034
+$ socket_getaddrinfo --service 8034
Resolved host '', service '8034'
socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP) + '[::1]:8034'
@@ -39,8 +38,4 @@
socket(AF_INET , SOCK_DGRAM , IPPROTO_UDP) + '127.0.0.1:8034'
socket(AF_INET , SOCK_RAW , IPPROTO_IP ) + '127.0.0.1:8034'
----
-This sort of direct observation of glibc's behaviour is not possible
-using 'dig' or 'nslookup'.
-
Modified: trunk/libsocket-getaddrinfo-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocket-getaddrinfo-perl/debian/changelog?rev=71719&op=diff
==============================================================================
--- trunk/libsocket-getaddrinfo-perl/debian/changelog (original)
+++ trunk/libsocket-getaddrinfo-perl/debian/changelog Sat Mar 19 23:49:30 2011
@@ -1,6 +1,7 @@
libsocket-getaddrinfo-perl (0.20-2) UNRELEASED; urgency=low
- * Review README.Debian and install ... (will close: #618315)
+ * Rewrite README.Debian incorporating material from
+ upstream author and install scripts with new names (Closes: #618315)
-- Nicholas Bamber <nicholas at periapt.co.uk> Sat, 19 Mar 2011 20:40:56 +0000
Added: trunk/libsocket-getaddrinfo-perl/debian/patches/rename_scripts.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocket-getaddrinfo-perl/debian/patches/rename_scripts.patch?rev=71719&op=file
==============================================================================
--- trunk/libsocket-getaddrinfo-perl/debian/patches/rename_scripts.patch (added)
+++ trunk/libsocket-getaddrinfo-perl/debian/patches/rename_scripts.patch Sat Mar 19 23:49:30 2011
@@ -1,0 +1,36 @@
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Subject: Rename scripts
+Last-Update: 2011-03-19
+Forwarded: not-needed
+--- a/bin/getaddrinfo
++++ b/bin/getaddrinfo
+@@ -170,11 +170,11 @@
+
+ =head1 NAME
+
+-C<getaddrinfo> - command-line tool to C<getaddrinfo(3)> resolver
++C<socket_getaddrinfo> - command-line tool to C<getaddrinfo(3)> resolver
+
+ =head1 SYNOPSIS
+
+-B<getaddrinfo> [I<options...>] I<host> I<service>
++B<socket_getaddrinfo> [I<options...>] I<host> I<service>
+
+ =head1 DESCRIPTION
+
+--- a/bin/getnameinfo
++++ b/bin/getnameinfo
+@@ -86,11 +86,11 @@
+
+ =head1 NAME
+
+-C<getnameinfo> - command-line tool to C<getnameinfo(3)> resolver
++C<socket_getnameinfo> - command-line tool to C<getnameinfo(3)> resolver
+
+ =head1 SYNOPSIS
+
+-B<getnameinfo> [I<options...>] I<address> I<port>
++B<socket_getnameinfo> [I<options...>] I<address> I<port>
+
+ =head1 DESCRIPTION
+
Modified: trunk/libsocket-getaddrinfo-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsocket-getaddrinfo-perl/debian/patches/series?rev=71719&op=diff
==============================================================================
--- trunk/libsocket-getaddrinfo-perl/debian/patches/series (original)
+++ trunk/libsocket-getaddrinfo-perl/debian/patches/series Sat Mar 19 23:49:30 2011
@@ -1,1 +1,2 @@
no_network.patch
+rename_scripts.patch
More information about the Pkg-perl-cvs-commits
mailing list