I would like to submit the attached patch to ethereal-0.10.12 complete with a patch to ethereal-0.10.12.ebuild which will disable saving files in ethereal. The reason I need this is to enable regular users in a classroom environment to take traces of network traffic, without malicious users having a possibility to overwrite vital files like /etc/fstab or /etc/rc.conf. The way the patch to ethereal-0.10.12 works is it pops up a message saying "Savind disabled" when a user saves a file. The patch to ethereal-0.10.12.ebuild adds a use-flag "nosave", which (when enabled) applies the patch to source. Reproducible: Always Steps to Reproduce:
Created attachment 68526 [details, diff] ethereal-0.10.12-nosave.patch Patch to ethereal-0.10.12 to disable saving files.
Created attachment 68527 [details, diff] ethereal-0.10.12-to-0.10.12-r1.ebuild.patch A patch to ethereal-0.10.12.ebuild to have a use-flag "nosave", which applies patch ethereal-0.10.12-nosave.patch.
Thanks for your contrib, but those kinda hacks are preferable submitted directly to ethereal development. Thanks again n e way :)