TCP Traceroute Formula (t/tcptraceroute.rb)

homebrew-core · Formula/t/tcptraceroute.rb · ruby · BSD-2-Clause
dev-tools, infra, cli, lang:ruby, tag:homebrew

Homebrew formula definition for installing tcptraceroute using TCP packets. Reuse when packaging network diagnostic tools for macOS.

# Source: https://github.com/tinyhumansai/homebrew-core | License: BSD-2-Clause | Copyright 2009-present, Homebrew contributors
# Provided via justclaw.it.com; keep this notice with the code.
class Tcptraceroute < Formula
  desc "Traceroute implementation using TCP packets"
  homepage "https://github.com/mct/tcptraceroute"
  license "GPL-2.0-only"
  revision 2
  head "https://github.com/mct/tcptraceroute.git", branch: "master"

  stable do
    url "https://github.com/mct/tcptraceroute/archive/refs/tags/tcptraceroute-1.5beta7.tar.gz"
    sha256 "57fd2e444935bc5be8682c302994ba218a7c738c3a6cae00593a866cd85be8e7"

    # Call `pcap_lib_version()` rather than access `pcap_version` directly
    # upstream issue: https://github.com/mct/tcptraceroute/issues/5
    patch do
      url "https://github.

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key