Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69054 - tftp-hpa works on macos
Summary: tftp-hpa works on macos
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High normal
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-26 12:30 UTC by Michal Suchanek
Modified: 2007-06-12 17:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to Makefile and tftpd.c (tftp-hpa.patch,1.72 KB, patch)
2004-10-26 12:33 UTC, Michal Suchanek
Details | Diff
my xinetd.d file (tftp,492 bytes, text/plain)
2004-10-26 12:35 UTC, Michal Suchanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Suchanek 2004-10-26 12:30:03 UTC
with a few patches tftp-hpa can be emerged on macos and can serve some files to PXE boot roms.

1) the tftp and tftp.1 files are already present in the system so they should not be installed.

2) setreuid/setregid does not work on OS X so set[e]{g,u}id should be used instead.

Also the server cannot be run as non-root so I added a check that disables the id changing if the server is already not root. However, chroot does not work when non-root.
Comment 1 Michal Suchanek 2004-10-26 12:33:39 UTC
Created attachment 42647 [details, diff]
Patch to Makefile and tftpd.c
Comment 2 Michal Suchanek 2004-10-26 12:35:59 UTC
Created attachment 42648 [details]
my xinetd.d file
Comment 3 Michal Suchanek 2005-12-14 04:54:12 UTC
still works with tftp-hpa 0.40.1
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2007-06-12 17:53:12 UTC
is this pre-prefix or is it prefix?

please reopen with info attached