Bug 233169

Summary: www/kcgi: relies on deprecated sys/capability.h header for Capsicum
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: Baptiste Daroussin <bapt>
Status: Closed FIXED    
Severity: Affects Only Me CC: emaste
Priority: --- Flags: bugzilla: maintainer-feedback? (bapt)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 228878    

Description Ed Maste freebsd_committer freebsd_triage 2018-11-12 16:12:54 UTC
sys/capability.h will be removed before FreeBSD 13. The (now) correct header to use on all supported (and most unsupported) versions of FreeBSD is sys/capsicum.h.

There's no need for autoconf checks etc. to check for both (in the ports tree) but upstream may want to if there's a desire to build on older releases.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-12 16:24:21 UTC
A commit references this bug:

Author: bapt
Date: Mon Nov 12 16:23:46 UTC 2018
New revision: 484808
URL: https://svnweb.freebsd.org/changeset/ports/484808

Log:
  Use sys/capsicum.h instead of deprecated sys/capability.h

  PR:		233169
  Reported by:	emaste

Changes:
  head/www/kcgi/files/
  head/www/kcgi/files/patch-sandbox-capsicum.c