1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Ernst de Haan
156b71b59f Changed daemonctl program to check if the JAR file exists before
trying to start the JVM. This is a serious usability improvement.
Bumped PORTREVISION.
2002-05-08 22:00:04 +00:00
Ernst de Haan
15db7d6349 Improved the startup script. Always displaying a space first
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.
2002-05-08 21:54:06 +00:00
Ernst de Haan
0af5dcde60 Upgrade to 1.5.4. 2002-05-07 13:08:17 +00:00
Ernst de Haan
f6f1938e24 Now correctly integrates with Jikes again.
Bumped PORTREVISION.
2002-04-17 09:02:45 +00:00
Ernst de Haan
18684fadc2 Now using files from www/jakarta-tomcat4.
Moved things around from one target to another. Now
displaying installation settings during pre-install. Doing
file replacements in post-patch.
Bumped PORTREVISION.
2002-04-16 20:13:16 +00:00
Ernst de Haan
0fb7be2219 Now using daemonctl.c from www/jakarta-tomcat4, since that was
renamed from www/jakarta-tomcat. Bumped PORTREVISION.
2002-04-10 06:49:33 +00:00
Ernst de Haan
d0d77b1ada Daemon control program now checks if process is really
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.
2002-04-08 21:50:23 +00:00
Ernst de Haan
f50f786a29 Made the daemon control program less verbose.
Bumped PORTREVISION.

Prompted by:	Kees Jan Koster <K.J.Koster@kpn.com>
2002-04-08 19:19:32 +00:00
Ernst de Haan
411b78699b Fixed a problem where the extracted files would
sometimes (?) be looked for in the directory
'work/work' instead of just 'work'.
Bumped PORTREVISION.
2002-04-04 22:48:18 +00:00
Ernst de Haan
bfc61c4e25 Now using daemonctl.c file from www/jakarta-tomcat.
Applied some minor cleanups.
Bumped PORTREVISION.
2002-04-03 21:22:23 +00:00
Ernst de Haan
23b7e0ae1e Using patch files for replacements in default-web-site.xml and
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.
2002-03-30 12:47:34 +00:00
Ernst de Haan
ff7b7f02fc Now replacing all occurences during the customization of
files, not just the first occurence on a line. This was a bug.
Bumped PORTREVISION.
2002-03-29 13:01:10 +00:00
Ernst de Haan
0ff2aadb8a Improved startup script. It now creates the PID file and fixes
the ownership and permissions before actually calling the
orionctl program.

Bumped PORTREVISION.
2002-03-29 12:54:15 +00:00
Ernst de Haan
134c13dd7a First checking if WITH_JIKES is actually defined before
comparing it. Bumped PORTREVISION.

Reported by:	Dan Langille <dan@langille.org>
2002-03-28 15:24:47 +00:00
Ernst de Haan
84376e4616 Synced control program and man page. Bumped PORTREVISION to 11. 2002-03-28 15:16:50 +00:00
Ernst de Haan
72221667cd Using a C program instead of a shell script for controlling
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.
2002-03-28 14:52:37 +00:00
Ernst de Haan
7364e916cb Now uses USE_JAVA. 2002-03-28 11:52:53 +00:00
Ernst de Haan
77350df861 o Fixed potential security problem, by leaving
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.
2002-03-12 22:18:23 +00:00
Ernst de Haan
59ce27939f Fixed the description for the /var/run/orion.pid file.
It is now in accordance with reality. :-)
2002-03-12 21:42:47 +00:00
Ernst de Haan
39ab963267 Using ECHO_CMD instead of ECHO. 2002-03-11 20:37:27 +00:00
Ernst de Haan
d3258e4157 Changed to reflect the current version of the installed
application and the current behaviour of the port.
2002-03-11 20:33:30 +00:00
Ernst de Haan
cc74ef5bee Improvements:
o Now allows setting the passwords for the admin and for the
  default user
o Some more general cleanup
o Bumped PORTREVISION to 7.
2002-03-08 13:01:24 +00:00
Ernst de Haan
91da8e4267 Added in order to be able to automatically enable
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.
2002-03-08 12:58:36 +00:00
Ernst de Haan
91b4ceeadb Not deleting the PID file but emptying it. Reasoning behind
this is that /var/run is not writable to 'www'. Also cleaned
things up here and there.

Bumped PORTREVISION.
2002-03-07 19:47:15 +00:00
Ernst de Haan
3030eab564 Changes:
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.
2002-03-05 01:21:39 +00:00
Ernst de Haan
7a5656bbf0 Improved pkg-deinstall. It now displays a warning message
if the www user still exists. Bumped PORTREVISION.
2002-03-04 23:31:47 +00:00
Ernst de Haan
4b972fc880 Changes:
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
2002-03-04 23:19:12 +00:00
Ernst de Haan
55acf188d0 Fixed bug that caused install target to fail. Bumped PORTREVISION.
Reported by:	Mike Harding <mvh@ix.netcom.com>
2002-03-04 22:50:42 +00:00
Ernst de Haan
510ad05be5 Now allows for setting the port the RMI server will listen to.
Set AUTO_START by default to NO.
Bumped PORTREVISION.

Submitted by:	Rob Simmons <rsimmons@mail.wlcg.com>
2002-03-04 19:58:22 +00:00
Ernst de Haan
3281defcf0 Added a download location. 2002-02-28 09:30:33 +00:00
Ernst de Haan
1067f80f93 Upgraded the application to 1.5.2 2002-02-07 10:41:51 +00:00
Ernst de Haan
34a9b6c36a A lot of small changes. It's now possible to change the Java port using the JAVA_PORT variable. Now uses the my public_distfiles instead of those of sobomax. The script installed in /etc/rc.d/ is now prefixed with the startup order, by default it is 020.orion.sh. For the rest the changes are superficial. Just improving the quality and genericity. 2002-02-04 13:22:37 +00:00
Ernst de Haan
7037999cb6 Made the JDK both a RUN_DEPENDS *and* a BUILD_DEPENDS now.
Approved by: sobomax
2001-11-21 14:44:12 +00:00
Ernst de Haan
e626fcdbca Updated my mail address from ernst@jollem.com to znerd@FreeBSD.org. Made the
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
2001-11-21 13:22:55 +00:00
Maxim Sobolev
899eedad1a Improve download locations.
PR:		31371
Submitted by:	maintainer
2001-10-19 12:46:16 +00:00
Maxim Sobolev
1bfc6b4d8b Improve the port (see ports/31001 for detailed list of changes).
PR:		31001
Submitted by:	maintainer
2001-10-09 13:02:30 +00:00
James E. Housley
9c88402eba Update to show the move from java to www
PR:		28415
2001-06-27 01:51:26 +00:00
James E. Housley
c1741ac0c7 Improves the Orion port. Now honours NOPORTDOCS too.
Made pkg-plist file a bit smaller. And just tidied things up.

PR:		28413
Submitted by:	Ernst de Haan <ernst@jollem.com>
2001-06-27 00:15:07 +00:00
Maxim Sobolev
1aa47310ca Several fixes and improvements:
- 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
2001-06-12 10:20:48 +00:00
Maxim Sobolev
5fb9532005 Java now lives in ${LOCALBASE}/linux-jdk1.3.1, not in linux-jdk1.3.0.
Submitted by:	Ernst de Haan <ernst@jollem.com>
No responce from:	kevlo (maintainer of linux-jdk13)
2001-06-05 09:45:35 +00:00
Maxim Sobolev
e5550b640d Update that introduces extra flexibility for the installation process
and other improvements in the Makefile. It also introduces quite a few
improvements in the `orionctl' script.

PR:		27643
Submitted by:	maintainer
2001-05-29 12:54:13 +00:00
Maxim Sobolev
e158603086 Put a copy of distfile to MASTER_SITE_LOCAL in order to minimise load on
maintainer's sites with limited bandwith.

Asked for by:	maintainer
2001-05-26 22:07:43 +00:00
Alexander Langer
6d58ff8fbd From the PR:
The previous version of this port contains a bug in the orionctl script. I
didn't properly test it. This time I extensively tested it. It has also been
improved to detect more possible error conditions and exit gracefully in such
cases.

Bump PORTREVISION.
Update plist.

PR:		27501
Submitted by:	maintainer
2001-05-21 19:21:50 +00:00
Maxim Sobolev
e5d7960791 Remove bogus comments from the end of file.
Revealed by:	phantom
2001-05-18 16:24:32 +00:00
Maxim Sobolev
6e65268427 * Portrevision from 1 to 2 (version is still 1.4.5)
* Changed reference to linux-jdk1.2.2 into linux-jdk1.3.0 in the shell script,
      since the port depends on linux-jdk1.3.0.
* Fixed a few typos and other issues in the shell script
* No longer installing a link from ${PREFIX}/orion -> ${PREFIX}/orion1.4.5
* Making all directories under ${PREFIX}/orion1.4.5 a+x
* Added one mirror site for the DISTFILE
* Renamed shell script from `orion.sh' to `orionctl' (similar to `apachectl')
* Installing the shell script in the ${PREFIX}/bin/ directory and symlinking
     from ${PREFIX}/etc/rc.d/orion.sh to the former file, making sure that the
     shell script is +x
* Including the shell script in ${FILESDIR} instead of downloading

PR:		27407
Submitted by:	maintainer
2001-05-17 13:42:10 +00:00
Alexander Langer
0d318b5224 Added port version in post-install output message
Installing startup script in ${PREFIX}/etc/rc.d/
Removed ${RECURSIVE_CP} in favour of just a ${CP} -R
Stopped using PLIST_SUB in favour of using plist-builder for pkg-plist

PR:		26315
Submitted by:	maintainer
2001-05-09 10:09:46 +00:00
Steve Price
86735d2cda Update to version 1.4.5.
PR:		25216
Submitted by:	maintainer
2001-02-26 04:58:48 +00:00
Patrick S. Gardella
afdf25a0e4 Add orion 1.4.0,orion Application Server.
PR:		23867
Submitted by:	Ernst de Haan <ernst@jollem.com>
2001-01-03 19:52:29 +00:00