Bug 254301 - security/yersinia: fix build with net/libpcap installed
Summary: security/yersinia: fix build with net/libpcap installed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Renato Botelho
Keywords: patch
Depends on:
Reported: 2021-03-15 08:47 UTC by Volodymyr Pushkar
Modified: 2021-08-20 19:13 UTC (History)
3 users (show)

See Also:
vladimir.pushkar: maintainer-feedback? (ayu)

yersinia port Makefile patch (634 bytes, patch)
2021-03-15 08:47 UTC, Volodymyr Pushkar
vladimir.pushkar: maintainer-approval? (ayu)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Volodymyr Pushkar 2021-03-15 08:47:35 UTC
Created attachment 223283 [details]
yersinia port Makefile patch

yersinia failed to build with the following error when net/libpcap installed:
checking for a complete set of pcap headers...

more than one set found in:

please wipe out all unused pcap installations

Proposed patch will allow to use system (default) or ports pcap
Comment 1 Fernando Apesteguía freebsd_committer 2021-03-15 13:35:20 UTC
^Triage: [tags] in issue Titles are deprecated.

^Triage: Simplifying title

Comment 2 commit-hook freebsd_committer 2021-08-20 19:13:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90580b96c4150f9810b42e8ff5ce558fc2bd6e58

commit 90580b96c4150f9810b42e8ff5ce558fc2bd6e58
Author:     Volodymyr Pushkar <vladimir.pushkar@gmail.com>
AuthorDate: 2021-08-20 19:10:16 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2021-08-20 19:12:26 +0000

    security/yersinia: Add PORTS_PCAP option

    Add a new option PORTS_PCAP and explicit rules to build it using base
    libpcap or ports

    PR:             254301
    Approved by:    maintainer timeout (5 months)
    Sponsored by:   Rubicon Communications, LLC ("Netgate")

 security/yersinia/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)