Bug#955496: RFS: libsys-hostaddr-perl/0.993-1 [ITP] -- Get IP address information about this host
Am 05.04.2020 um 22:20 teilte Adam Borowski mit: > On Wed, Apr 01, 2020 at 05:51:28PM +0200, Hilmar Preusse wrote: Hi, >> * Package name: libsys-hostaddr-perl >>Version : 0.993-1 >>Upstream Author : Jeremy Kister|http://jeremy.kister.net/ >> * URL : https://metacpan.org/release/Sys-HostAddr > >> Changes since the last upload: >> >>* Initial release. (Closes: #955449). > > I'm not quite sure if this particular implementation is adequate. So far > I noticed that it: > > * has seen no updates since 2014 > Age of software is not always a sign of quality. ;-) > * relies on a long-deprecated interface, via a tool that hasn't seen an > upstream release since April 2001 > Well, I'm aware of this drawback. My intend was to first push the tool into Debian and then contact upstream to get rid of net-tools. No, I did no test the responsiveness of the upstream author yet. Should I do that beforehand? > Thus, I wonder if there's a better module to do this task. > Well, I did not really thought about using an alternative tool. I just noticed that the author of proftp used it in his test suite, hence I started packaging that code. Maybe I should go the way round and try to convince TJ to use a different perl module in his test suite. Not sure if [1] does the job. Hilmar [1] https://metacpan.org/pod/Net::Address::IP::Local -- sigfault #206401 http://counter.li.org signature.asc Description: OpenPGP digital signature
Bug#955496: RFS: libsys-hostaddr-perl/0.993-1 [ITP] -- Get IP address information about this host
On Wed, Apr 01, 2020 at 05:51:28PM +0200, Hilmar Preusse wrote: > * Package name: libsys-hostaddr-perl >Version : 0.993-1 >Upstream Author : Jeremy Kister|http://jeremy.kister.net/ > * URL : https://metacpan.org/release/Sys-HostAddr > Changes since the last upload: > >* Initial release. (Closes: #955449). Hi! I'm not quite sure if this particular implementation is adequate. So far I noticed that it: * has seen no updates since 2014 * relies on a long-deprecated interface, via a tool that hasn't seen an upstream release since April 2001 * has non-working support for IPv6 * its support for IPv4 isn't stellar either * doesn't handle lack of answer or answers it doesn't understand * provides only partial answers For example: perl -e 'use Sys::HostAddr;use Data::Dumper; print "\e[33m$_\e[0m\n", eval("Dumper(Sys::HostAddr->new()->$_())") for qw(public interfaces addresses ip first_ip main_ip)' Modification of a read-only value attempted at /usr/share/perl5/Sys/HostAddr.pm line 68. public $VAR1 = undef; interfaces $VAR1 = [ 'br0', 'eth0', 'lo' ]; addresses $VAR1 = [ '10.0.1.9', '127.0.0.1' ]; ip $VAR1 = { 'lo' => [ { 'netmask' => '255.0.0.0', 'address' => '127.0.0.1' } ], 'br0' => [ { 'netmask' => '255.255.255.0', 'address' => '10.0.1.9' } ] }; first_ip $VAR1 = '10.0.1.9'; main_ip $VAR1 = '10.0.1.9'; (error message from public(), 192.168.0.9 on br0 is missing in other calls) After disabling legacy IP: Can't use an undefined value as a symbol reference at /usr/share/perl5/Sys/HostAddr.pm line 60. public $VAR1 = undef; interfaces $VAR1 = [ 'br0', 'eth0', 'lo' ]; addresses $VAR1 = [ '127.0.0.1' ]; ip $VAR1 = { 'lo' => [ { 'netmask' => '255.0.0.0', 'address' => '127.0.0.1' } ] }; first_ip main_ip (a different error from public()) Thus, I wonder if there's a better module to do this task. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ in the beginning was the boot and root floppies and they were good. ⢿⡄⠘⠷⠚⠋⠀ -- on #linux-sunxi ⠈⠳⣄
Bug#955496: RFS: libsys-hostaddr-perl/0.993-1 [ITP] -- Get IP address information about this host
Package: sponsorship-requests Severity: wishlist Dear mentors, I am looking for a sponsor for my package "libsys-hostaddr-perl" * Package name: libsys-hostaddr-perl Version : 0.993-1 Upstream Author : Jeremy Kister|http://jeremy.kister.net/ * URL : https://metacpan.org/release/Sys-HostAddr * License : Artistic * Vcs : https://salsa.debian.org/hilmar-guest/libsys-hostaddr-perl Section : perl It builds those binary packages: libsys-hostaddr-perl - Get IP address information about this host To access further information about this package, please visit the following URL: https://mentors.debian.net/package/libsys-hostaddr-perl Alternatively, one can download the package with dget using this command: dget -x https://mentors.debian.net/debian/pool/main/libs/libsys-hostaddr-perl/libsys-hostaddr-perl_0.993-1.dsc Changes since the last upload: * Initial release. (Closes: #955449). Regards, Hilmar Preusse -- Hilmar Preusse -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 5.4.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)