Bug 254301

Summary: security/yersinia: fix build with net/libpcap installed
Product: Ports & Packages Reporter: Volodymyr Pushkar <vladimir.pushkar>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Some People CC: ayu, fernape, garga
Priority: --- Keywords: patch
Version: LatestFlags: vladimir.pushkar: maintainer-feedback? (ayu)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
yersinia port Makefile patch vladimir.pushkar: maintainer-approval? (ayu)

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:
/usr/local/include
/usr/include

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


Thanks!
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(-)