1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
Commit Graph

3 Commits

Author SHA1 Message Date
John Marino
b228f4c088 net/anet: Fix properly
The problem with ahven was caused by a typo in the build targets.
The target "build_lib" was desired, but "build_all" was defined.
Fix target and return ahven to an optional dependency.
Tested in Reports, 8x pass
2014-02-27 13:47:48 +00:00
John Marino
bc6f360417 net/anet: ahven expected even if not needed
The Ahven test library was advertised as optional, but the internal
makefiles will fail if it is not present.  In the short term, change
Ahven from an optional to a mandatory dependency.

Reported by: pkg-fallout
2014-02-26 15:47:30 +00:00
John Marino
55e2264671 Add new port net/anet (Ada IPv4 and IPv6 sockets binding library)
The ANet library was created on Linux and the unfortunate result is that
it is highly Linux-specific.  Luckily it has an implementation testsuite,
so patches to make it work on BSD can be reasonably tested.  The current
status is annoted in pkg-message:

=========================================================================
Beware of the IPv6 multicast functions.  Sending does work, but the
default interface effectively is invalid on *BSD.  A specific interface
needs to be provided rather than leaving interface blank (zero).

Multicast receiving may not currently work.  The test for IPv6 multicast
fails.  The test chunk is sent (verified with separate monitoring tool)
but never detected.  Hopefully the cause will be understood and fixed
soon.

AF_NETLINK and AF_PACKET protocols are not supported by *BSD, so the
associated tests have been removed.  Every test other than IPv6 Multicast
passes.  You may want to replace "em0" with this system's interface in
the test suite is to be run (see files/patch-tests_socket__tests.adb).
2014-02-25 14:57:07 +00:00