Page MenuHomeFreeBSD

net/fping: Update to 4.2
ClosedPublic

Authored by kai on Apr 2 2019, 7:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 6 2024, 1:33 PM
Unknown Object (File)
Mar 6 2024, 1:32 PM
Unknown Object (File)
Mar 6 2024, 1:32 PM
Unknown Object (File)
Mar 5 2024, 11:23 AM
Unknown Object (File)
Dec 30 2023, 8:17 AM
Unknown Object (File)
Dec 30 2023, 8:12 AM
Unknown Object (File)
Dec 30 2023, 8:09 AM
Unknown Object (File)
Dec 30 2023, 7:49 AM
Subscribers
None

Details

Summary

While I'm here:

  • Move options block further down according to the PHB

Changelog:

  • New option -x / --reachable to check if the number of reachable hosts is >= a certain number. Useful for example to implement connectivity-checks
  • Allow decimal numbers for '-t', '-i', '-p', and '-Q'
  • Fix build with --disable-ipv6
  • Fix hang with '-6', with ipv6 kernel module, but not loaded
  • Assume '-6' if the binary is named 'fping6' (this is mostly for special embedded-distro use cases, and not meant to be used generally in place of compiling IPv6-only binary or using '-6')
  • Get rid of warning "timeout (-t) value larger than period (-p) produces unexpected results"

https://github.com/schweikert/fping/releases/tag/v4.2

PR: 236739
Submitted by: Jason Harris (maintainer)
Approved by: (one of the mentors)

Test Plan
  • poudriere (11.2-, 12.0-RELEASE, 13.0-CURRENT@r345355 amd64 + i386) with IPV6 off/on -> OK
  • portlint -> OK
  • Runtime tests -> OK

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

net/fping/Makefile
28 โ†—(On Diff #55714)

^ is fping6 still installed if the option is off?

kai marked an inline comment as done.Apr 6 2019, 10:24 PM
kai added inline comments.
net/fping/Makefile
28 โ†—(On Diff #55714)

Thank you for the pointer. fping6 is always created by the post-install target regardless of the selected option. Nevertheless I did verify each package just to be sure. ;-)

I can confirm that ${PREFIX}/bin/fping6 is always installed even if the IPV6 option is disabled.

So what is the point of the option? -- why not drop it and simply say it's 2019, deal with it

kai marked an inline comment as done.Apr 13 2019, 10:40 AM

So what is the point of the option? -- why not drop it and simply say it's 2019, deal with it

The IPV6 option has been added due PR 229903 and was then added in rP477297 to solve the issue.

This revision is now accepted and ready to land.Apr 13 2019, 5:39 PM
This revision was automatically updated to reflect the committed changes.