Bug 233007

Summary: ports-mgmt/pkg: includes deprecated sys/capability.h header
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: freebsd-pkg (Nobody) <pkg>
Status: Closed Overcome By Events    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (pkg)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 228878    

Description Ed Maste freebsd_committer freebsd_triage 2018-11-05 23:47:39 UTC
sys/capability.h will be removed before FreeBSD 13. The (now) correct header to use on all supported versions of FreeBSD is sys/capsicum.h; there's no need for autoconf checks etc. to check for both.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-06 00:06:02 UTC
A commit references this bug:

Author: emaste
Date: Tue Nov  6 00:05:18 UTC 2018
New revision: 340171
URL: https://svnweb.freebsd.org/changeset/base/340171

Log:
  capability.h: add comment about planned removal timeline

  PR:		233007
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation

Changes:
  head/sys/sys/capability.h
Comment 2 Ed Maste freebsd_committer freebsd_triage 2018-11-09 18:04:19 UTC
r340171 referenced this PR by accident; the intent was to reference PR 228878.
Comment 3 Ed Maste freebsd_committer freebsd_triage 2018-11-09 18:29:03 UTC
https://github.com/freebsd/pkg/issues/1640
Comment 4 Ed Maste freebsd_committer freebsd_triage 2019-02-25 18:35:40 UTC
The upstream change is not yet in a pkg release. Is a new release coming soon? pkg is now the only holdout preventing the removal of sys/capability.h.
Comment 5 Baptiste Daroussin freebsd_committer freebsd_triage 2019-06-18 14:00:14 UTC
pkg 1.11 does not use sys/capability.h anymore