Bug 266485

Summary: [patch] security/snort3: control linking against libunwind
Product: Ports & Packages Reporter: Chad Jacob Milios <milios>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed FIXED    
Severity: Affects Some People Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (bofh)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
git diff none

Description Chad Jacob Milios 2022-09-18 18:42:53 UTC
Created attachment 236673 [details]
git diff

Snort 3's CMake scripts detect libunwind if present on the system and enables it if found. This patch controls this behavior, off by default.

FreeBSD Package Repository has snort3 built without libunwind although some port builders such as myself may have unwittingly installed snort3 using an unregistered dependency on libunwind.so.
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:36:34 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-06-05 14:24:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=601e20d746af455809adab05ed06802de0332a60

commit 601e20d746af455809adab05ed06802de0332a60
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-05 14:15:14 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-05 14:23:45 +0000

    security/snort3: Update version 3.1.62.0=>3.1.63.0

    - Refresh patches
    - Control linking against libunwind [1]

    Changelog: https://github.com/snort3/snort3/releases/tag/3.1.63.0
    Co-authored-by: Chad Jacob Milios <milios@ccsys.com>
    PR:             266485
    Reported by:    milios@ccsys.com

 security/snort3/Makefile                                       |  7 +++++--
 security/snort3/distinfo                                       |  6 +++---
 .../snort3/files/patch-cmake_include__libraries.cmake (new)    | 10 ++++++++++
 security/snort3/files/patch-config.cmake.h.in                  |  4 ++--
 security/snort3/files/patch-src_control_control.h              |  5 ++---
 5 files changed, 22 insertions(+), 10 deletions(-)