Bug 233169 - www/kcgi: relies on deprecated sys/capability.h header for Capsicum
Summary: www/kcgi: relies on deprecated sys/capability.h header for Capsicum
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks: 228878
  Show dependency treegraph
 
Reported: 2018-11-12 16:12 UTC by Ed Maste
Modified: 2018-11-12 16:25 UTC (History)
1 user (show)

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


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-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