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)
before the name of the application being started/stopped. The
advantage is that if there is an error, then the message will
have a space prepended instead of being appended to the previous
application name.
When the application is 'stop'ped, the error messages, if any,
are now hidden. Instead the name of the application is just
shown.
Bumped PORTREVISION.
Moved things around from one target to another. Now
displaying installation settings during pre-install. Doing
file replacements in post-patch.
Bumped PORTREVISION.
terminated. If not, it will send the process a SIGKILL
after a certain time-out period. The time-out can be
passed to the port Makefile as a parameter.
Improved documentation a bit here and there.
Added some explicit casts to make lint(1) a bit
happier :-)
Applied some refactoring here and there. Moved some
functionality into a new function 'existsProcess'.
Slightly changed the output of the program.
Bumped PORTREVISION.
rmi.xml. Changed the order in which certain steps are
performed. Fixed a small bug in the orionctl man page.
Including a dirty hack to make sure that WRKDIR is defined
(WRKDIR?=work).
Bumped PORTREVISION.
the server, so that we can use set the effective UID of the
control script.
Redirecting stdout output from the startup script to
/dev/null.
Bumped PORTREVISION to 10.
the default accounts disabled.
o Supporting WITH_JIKES=yes (lower-case)
o Displaying stdout and stderr logfile settings during
pre-install.
o Displaying verbose messages instead of the commands
being executed.
o Deleting stdout and stderr logfiles at deinstall (added them to the
pkg-plist).
o Showing message "If a user should be able to use
${CONTROL_SCRIPT_NAME}, put it in the group ${GROUP}."
at post-install.
o Some small improvements to the Makefile.
o Bumped PORTREVISION to 8.
users and set their passwords. This file is also
in UNIX format instead of the CRLF DOS format the
original file (${WRKSRC}/config/principals.xml) is
in.
0) Improved variable names (now more verbose).
1) Redirecting stdout and stderr to separate log files
2) Setting the PID_FILE in the Makefile
3) Setting the group to when chown-ing the PID file
4) Installing a separate startup script instead of a symlink
5) Changed the man page accordingly
6) Bumped PORTREVISION.
0) Uses 'www' user and group instead of 'orion' user and group
1) Added pkg-install to add www user and group if necessary
2) Fixed STARTUP_ORDER at 020 because the pkg-plist supports no
other value
3) Executing pkg-install from the pre-install target
4) Fixed the pkg-plist (it's different because Orion is not
automatically started and it creates some files at first
startup)
5) Bumped PORTREVISION to 3
JDK a BUILD_DEPENDS instead of a RUN_DEPENDS. The port fails if the JDK is not
installed, so it should be a BUILD_DEPENDS. Also, the list of download sites
is updated.
Approved by: sobomax
- Now installing a man page for 'orionctl'.
- Correctly stopping Orion and removing the PID file on deinstall.
- Verbose install (removed the @-signs).
- Changes the exit codes in the script (and documented them in the man page)
- Extended the documentation in pkg-descr.
PR: 27748
Submitted by: maintainer