Bug#502518: [rt.cpan.org #40144] Failing tests on *BSD; assumption about sockaddr contents

Mike McCauley mikem at open.com.au
Wed Oct 22 07:54:50 UTC 2008


Hello,

thanks for reporting this.
Your patch has been applied to SVN and will appear in the next release.

Cheers.

On Saturday 18 October 2008 16:20, dmn at debian.org via RT wrote:
> Sat Oct 18 02:20:00 2008: Request 40144 was acted upon.
> Transaction: Ticket created by dmn at debian.org
>        Queue: Net-SSLeay
>      Subject: Failing tests on *BSD; assumption about sockaddr contents
>    Broken in: (no value)
>     Severity: (no value)
>        Owner: Nobody
>   Requestors: dmn at debian.org
>       Status: new
>  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40144 >
>
>
> Hi,
>
> A Debian GNU/kFreeBSD porter, Petr Salinger reported the following
> bug[1] against the Debian package.
>
>     [1] http://bugs.debian.org/502518
>
> Please Cc 502518 at bugs.debian.org, 502518-submitter at bugs.debian.org in
> replies.
>
> ---------------------------
> the current version fails to build on GNU/kFreeBSD.
>
> It is due to failed tests. Unfortunately, tests assume some variant of
> "struct sockaddr". This variant is not used on BSD* systems. The linux
> one have at the beginning "short family", but BSD* systems have "char
> length; char family".
>
> It looks like it would be better to use sockaddr_in() for constructing
> needed parameters. With the patch bellow the test suite passes on
> GNU/kFreeBSD.
>
> It would be nice if you can inform upstream about this problem, there
> are also needed similar changes in examples.
> ---------------------------
>
> The patch attached addresses "pack vs. sockaddr_in" only for tests.
> The examples could get a bit of porting effort too.
>
> Thanks,
>     dam
>     Debian Perl Group

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, DIAMETER etc. Full source
on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.





More information about the pkg-perl-maintainers mailing list