From 8b24d6c026094eae61557b0ae3fc9135a94ee0ae Mon Sep 17 00:00:00 2001 From: John Serock <1468970+serock@users.noreply.github.com> Date: Sun, 10 Dec 2023 18:09:31 -0500 Subject: [PATCH] Add external libpcap --- index/li/libpcap/libpcap-external.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 index/li/libpcap/libpcap-external.toml diff --git a/index/li/libpcap/libpcap-external.toml b/index/li/libpcap/libpcap-external.toml new file mode 100644 index 000000000..1f0496b04 --- /dev/null +++ b/index/li/libpcap/libpcap-external.toml @@ -0,0 +1,18 @@ +name = "libpcap" +description = "A system-independent interface for user-level packet capture" + +maintainers = ["john.serock@gmail.com"] +maintainers-logins = ["serock"] + +[[external]] +hint = "Please install libpcap from source or system packages" +kind = "system" +[external.origin."case(distribution)"] +"arch" = ["libpcap"] +"centos|fedora" = ["libpcap-devel"] +"debian|ubuntu" = ["libpcap-dev"] +"homebrew" = ["libpcap"] +"macports" = ["libpcap"] +"msys2" = ["mingw-w64-x86_64-libpcap"] +"rhel" = ["libpcap-devel"] +"suse" = ["libpcap-devel"]