[Bug 195024] [maintainer-update] net-mgmt/seafile: remove requirements of /proc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 15 14:04:28 UTC 2014


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

--- Comment #3 from Jingfeng Yan <yan_jingfeng at yahoo.com> ---
(In reply to John Marino from comment #2)
> this definitely limits the port to freebsd.
> 
> What's wrong with /proc other than handbook doesn't recommend it?  What's
> the reason the handbook doesn't recommend it? 

The porter handbook put this under this section:

"""
12.18. Avoiding Linuxisms
Do not use /proc if there are any other ways of getting the information. For
example, setprogname(argv[0]) in main() and then getprogname(3) to know the
executable name>.

Do not rely on behavior that is undocumented by POSIX.
...
"""

So, I think this is only reason. :)  BTW, although this port is not directly
used by other BSDs, I got OpenBSD side contacts and suggest not using /proc,
too.  OpenBSD once supported /proc, and then removed as I heard (from kernel at
least, FUSE may be used).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list