Bug 233007 - ports-mgmt/pkg: includes deprecated sys/capability.h header
Summary: ports-mgmt/pkg: includes deprecated sys/capability.h header
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks: 228878
  Show dependency treegraph
 
Reported: 2018-11-05 23:47 UTC by Ed Maste
Modified: 2019-06-18 14:00 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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