Discussion:
[MacPorts] #57611: consider adding faccessat (and likely a number of other *at functions) to 10.9 and less
MacPorts
2018-11-15 18:14:30 UTC
Permalink
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-------------------------+----------------------------
Reporter: kencu | Owner: kencu
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: legacy-support
-------------------------+----------------------------
it appears that most of these functions showed up in macOS 10.10. They are
POSIX 200809 for the most part, I believe.

Current software is increasingly using these, most often without
replacements.

There are replacements for some of these in gnulib, not always completely
replicating the functionality.
--
Ticket URL: <https://trac.macports.org/ticket/57611>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-15 18:43:10 UTC
Permalink
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
Reporter: kencu | Owner: kencu
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: legacy-support |
-----------------------------+----------------------

Comment (by cjones051073):

Sounds ok to me.

Do you have a link for a possible implementation ? Bear in mind to use it
in the legacy-support library the license must be compatible with the MIT
license used there.
--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-15 19:02:00 UTC
Permalink
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
Reporter: kencu | Owner: kencu
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: legacy-support |
-----------------------------+----------------------

Comment (by kencu):

gnulib (GPL3+)
<https://github.com/coreutils/gnulib/blob/master/lib/faccessat.c>

Apple Open Source (APSL 2.0) (much more complicated version)
<https://github.com/apple/darwin-
xnu/blob/master/bsd/vfs/vfs_syscalls.c#L5476>
--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-15 19:20:36 UTC
Permalink
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
Reporter: kencu | Owner: kencu
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: legacy-support |
-----------------------------+----------------------

Comment (by cjones051073):

GPL3+ is out I am afraid...
--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-15 20:17:23 UTC
Permalink
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
Reporter: kencu | Owner: kencu
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: legacy-support |
-----------------------------+----------------------

Comment (by kencu):

I'll never tell ...
--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-15 20:41:46 UTC
Permalink
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+----------------------
Reporter: kencu | Owner: kencu
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: legacy-support |
-----------------------------+----------------------

Comment (by cjones051073):

Hmmm. Seriously, licenses are important. Please do not add anything not
compatible with MIT. I have no wish to get into hot water..
--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-12-05 20:58:10 UTC
Permalink
#57611: consider adding faccessat (and likely a number of other *at functions) to
10.9 and less
-----------------------------+--------------------
Reporter: kencu | Owner: kencu
Type: enhancement | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: legacy-support |
-----------------------------+--------------------
Changes (by kencu):

* status: assigned => closed
* resolution: => fixed


Comment:

added 201811
--
Ticket URL: <https://trac.macports.org/ticket/57611#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...