Bug 249014

Summary: net/sngrep: Use release archive, backport LDFLAGS fix, fix OpenSSL support
Product: Ports & Packages Reporter: Daniel Engberg <diizzy>
Component: Individual Port(s)Assignee: Ryan Steinmetz <zi>
Status: Closed FIXED    
Severity: Affects Only Me CC: tad, zi
Priority: --- Flags: tad: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch for sngrep none

Description Daniel Engberg freebsd_committer freebsd_triage 2020-08-30 13:07:57 UTC
Created attachment 217651 [details]
Patch for sngrep

Use release archive instead of pulling source from GitHub repo as suggested by 5.4.3 in Porter's Handbook
Import upstream commit to fix LDFLAGS
Ref: https://github.com/irontec/sngrep/commit/1789d262c0ee90b1057181dc2abef681ba2233a6
Fix OpenSSL support, pkg-config doesn't pick up OpenSSL in base.

Compile tested on FreeBSD 13.0-CURRENT #0 r358620 (AMD64), r363135 (aarch64)
Poudriere OK 12.1-RELEASE (AMD64)
Comment 1 Talal Al Dik 2020-08-30 13:44:39 UTC
good, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-08-31 23:34:26 UTC
A commit references this bug:

Author: zi
Date: Mon Aug 31 23:33:25 UTC 2020
New revision: 547217
URL: https://svnweb.freebsd.org/changeset/ports/547217

Log:
  - Use release archive
  - Backport LDFLAGS fix
  - Fix OpenSSL support
  - Bump PORTREVISION

  PR:		249014
  Submitted by:	daniel.engberg.lists@pyret.net

Changes:
  head/net/sngrep/Makefile
  head/net/sngrep/distinfo