[Bug 233026] sysutils/procenv: #includes deprecated sys/capability.h header

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 6 14:02:26 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233026

            Bug ID: 233026
           Summary: sysutils/procenv: #includes deprecated
                    sys/capability.h header
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: emaste at freebsd.org
            Blocks: 228878

By inspection, work/procenv-0.36/src/procenv.h:

#if defined (HAVE_SYS_CAPABILITY_H)
#include <sys/capability.h>

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.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228878
[Bug 228878] exp run request: removal of an unused header
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list