The fix consists of 2 lines at the beginning of the program:
setuid(geteuid());
setgid(getegid());
Bumped PORTREVISION of Orion, Tomcat and JBoss ports.
PR: 40470, 43679
Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
Reviewed by: audit
Approved by: Silence on -audit (since Sept 13, 2002)
jboss2ctl. Changed the name of the startup script from
020.jboss.sh to 020.jboss2.sh. Changed the description of this
port to include the major version number to distinguish this port
from the JBoss 3 port.
Bumped the PORTREVISION.
The jboss2ctl program does not work at this stage. I chose
to commit this port anyway because it has been lying around
for too long. Once it is in the ports tree, the improved
interest may trigger somebody else to fix the problem.
JBoss can be started using the supplied shell script anyway,
so it is still useful.
This is not the JBoss port submitted by Jesse Gallup in PR
35853, but one based on the www/orion port.
PR: 35853