diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 17:16:49 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-08-08 17:16:49 +0000 |
commit | 713a0b04801b9c120092465fb23741ab14fa4b2a (patch) | |
tree | 2c365806bfbfb051b2108ceb0df5df94a6b59ab4 | |
parent | Moved from net-www/jboss to www-servers/jboss. (diff) | |
download | gentoo-2-713a0b04801b9c120092465fb23741ab14fa4b2a.tar.gz gentoo-2-713a0b04801b9c120092465fb23741ab14fa4b2a.tar.bz2 gentoo-2-713a0b04801b9c120092465fb23741ab14fa4b2a.zip |
Moving to www-servers/jboss
33 files changed, 0 insertions, 1921 deletions
diff --git a/net-www/jboss/ChangeLog b/net-www/jboss/ChangeLog deleted file mode 100644 index 6ce5e13f6a5d..000000000000 --- a/net-www/jboss/ChangeLog +++ /dev/null @@ -1,110 +0,0 @@ -# ChangeLog for net-www/jboss -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/ChangeLog,v 1.22 2004/07/23 06:05:16 mkennedy Exp $ - - 23 Jul 2004; <mkennedy@gentoo.org> files/3.2.5/conf.d/jboss, - jboss-3.2.5.ebuild: - Corrected Tomcat path problems with bandaid solution; Unmasking for previously - unmasked architectures. - - 20 Jul 2004; <mkennedy@gentoo.org> jboss-3.2.5.ebuild: - Configuration problem with Tomcat/Catalina/Ant and /var/lib/jboss causes JSP - compilation to fail (eg. breaks JMX console); Masking for all architectures. - -*jboss-3.2.5 (19 Jul 2004) - - 19 Jul 2004; <mkennedy@gentoo.org> metadata.xml, +files/3.2.5/NEWS.Gentoo, - +files/3.2.5/README.Gentoo, +files/3.2.5/catalog, +files/3.2.5/log4j.xml, - +files/3.2.5/conf.d/jboss, +files/3.2.5/env.d/50jboss, - +files/3.2.5/init.d/jboss, +jboss-3.2.5.ebuild: - New upstream version; Expanded metadata.xml; Addition of NEWS.Gentoo; No - longer CONFIG_PROTECT /var/lib/jboss (see NEWS.Gentoo); Adjust - Gentoo-installed log4j.xml so that the org.apache.commons category - is less noisy; Resoves Bug #51410. - - 25 Jun 2004; Aron Griffis <agriffis@gentoo.org> jboss-3.2.1-r1.ebuild, - jboss-3.2.1.ebuild: - QA - fix use invocation - - 19 May 2004; Chris Aniszczyk <zx@gentoo.org> jboss-3.2.3.ebuild: - Markings stable on x86 - - 19 May 2004; Chris Aniszczyk <zx@gentoo.org> jboss-3.2.3.ebuild: - Closes #51069 - - 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> jboss-3.2.3.ebuild: - Add inherit eutils - - 17 Apr 2004; Jason Wever <weeve@gentoo.org> jboss-3.2.3.ebuild: - Added ~sparc keyword. - -*jboss-3.2.3 (20 Dec 2003) - - 20 Dec 2003; <mkennedy@gentoo.org> jboss-3.2.3.ebuild, metadata.xml, - files/3.2.1/conf.d/jboss, files/3.2.3/README.Gentoo, files/3.2.3/catalog, - files/3.2.3/log4j.xml, files/3.2.3/conf.d/jboss, files/3.2.3/env.d/50jboss, - files/3.2.3/init.d/jboss: - Minor version update to latest. Resolution of bug #30554 - (hypersonicsql vulnerable via. default config). Corrected temporary - file directory, bug #28284. Resolved bug #24256 (JJTree build - failure in 3.2.1). Added metadata.xml with maintainer information. - Moved install files from /opt to /usr/share/jboss, /var/log/jboss, - /var/cache/jboss and /var/tmp/jboss. Build all groups by default - (see src_compile). Expanded JBoss configuration file for Gentoo - (/etc/conf.d/jboss). Replace useradd/groupadd with enewuser, - enewgroup and make robust. Add SGML catalogs for DTDs distributed - with JBoss. Add CONFIG_PROTECT for server directories. Corrected - Java package.env file list. - - 08 Dec 2003; <spider@gentoo.org> files/3.2.1/init.d/jboss: - fixed chown issue ( bug #35127 ) - - 23 Nov 2003; Martin Holzer <mholzer@gentoo.org> jboss-3.0.1_rc1.ebuild, - jboss-3.0.6.ebuild, jboss-3.2.1-r1.ebuild, jboss-3.2.1.ebuild: - adding RESTRICT="nomirror" - - 29 Oct 2003; David Holm <dholm@gentoo.org> jboss-3.2.1-r1.ebuild: - Added to ~ppc, tested with ibm-jdk-1.4.1. - -*jboss-3.2.1-r1 (10 Jul 2003) - - 10 Jul 2003; Matthew Kennedy <mkennedy@gentoo.org> jboss-3.2.1-r1.ebuild, - files/3.2.1/conf.d/jboss, files/3.2.1/init.d/jboss: - fixes bugs 21119, 21133 and 23612. thanks Dan A. Dickey <ddickey@wamnet.com> - of bug 21133 for the patch - - 09 Jun 2003; <msterret@gentoo.org> jboss-3.2.1.ebuild: - DEPEND on sed >= 4 - -*jboss-3.2.1 (08 May 2003) - - 08 May 2003; Matthew Kennedy <mkennedy@gentoo.org> jboss-3.2.1.ebuild, - files/3.2.1/log4j.xml, files/3.2.1/conf.d/jboss, files/3.2.1/env.d/50jboss, - files/3.2.1/init.d/jboss, files/conf.d/jboss: - Resolves bug #19929. New configuration and improvements from Alex Winawer - <gentoo@winawer.net> - -*jboss-3.0.6 (17 Mar 2003) - - 26 Mar 2003; Dylan Carlson <absinthe@gentoo.org> jboss-3.0.6.ebuild: - Fixed license to LGPL-2. - - 17 Mar 2003; Dylan Carlson <absinthe@gentoo.org> jboss-3.0.6.ebuild, - files/jboss-3.0.6-connector.patch: - Version bump. Closes bug # 15642, thanks to Roman Majer <roman.majer@ct.cz> - for the connector patch. Added 'doc' use flag for API docs. Numerous minor - ebuild fixes. - -*jboss-3.0.1_rc1 (14 Jul 2002) - - 13 Feb 2003; <seemant@gentoo.org> jboss-3.0.1_rc1.ebuild : - changed KEYWORDS to sane values, thanks to roman in #gentoo-dev - - 14 Jul 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog, - jboss-3.0.1_rc1.ebuild, files/log4j.xml, conf.d/jboss, - files/README.gentoo files/digest-jboss-3.0.1_rc1 : - - Initial import. - - Ebuild submitted by Thomas Osterlie <thomas.osterlie@acm.org> (bug - #4850) diff --git a/net-www/jboss/Manifest b/net-www/jboss/Manifest deleted file mode 100644 index 70784fe40d8e..000000000000 --- a/net-www/jboss/Manifest +++ /dev/null @@ -1,42 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 d1409fd1d08b516a0bdcbb139eb9408f jboss-3.2.1.ebuild 3103 -MD5 0600a41ccafa69ec05522b1a9ae22e2d jboss-3.2.3.ebuild 3221 -MD5 7ef2ad06769c111fa0296ee23120e22d jboss-3.2.1-r1.ebuild 3101 -MD5 ea1489b6ff95d5f2796d55db23031c98 jboss-3.2.5.ebuild 3262 -MD5 58386d80dcd32a9829a53b830f03a106 ChangeLog 4508 -MD5 d3dc023c899ddec4c1dd2f4cb3c0cd36 metadata.xml 438 -MD5 83b6857488b5fca7fbe0b9f5cc841237 files/README.gentoo 1319 -MD5 18692f3609e3c62b4505a3f41d7d1fca files/digest-jboss-3.2.1 66 -MD5 8aecde4804a622cc5743b0644efc482b files/digest-jboss-3.2.3 70 -MD5 a5fc83970a0550d5715d05464816c227 files/digest-jboss-3.2.5 70 -MD5 e7f2e7b69b77430017fe58448ca68772 files/jboss-3.0.6-connector.patch 549 -MD5 18692f3609e3c62b4505a3f41d7d1fca files/digest-jboss-3.2.1-r1 66 -MD5 b6da382577bcc6d139c83cb0e11bc466 files/log4j.xml 5632 -MD5 4662db6a030cb02f46ed3bfe486b90c6 files/3.2.1/log4j.xml 5632 -MD5 f89cbfbbae9c0c2482d08d58169e597a files/3.2.3/README.Gentoo 1510 -MD5 c232658844375714820675ff2e4a4f0a files/3.2.3/log4j.xml 5632 -MD5 1fdd4664aceb87d0ecd21dbaae57967e files/3.2.3/catalog 1587 -MD5 3cc04be29b18baaea2f3e70d7e21f881 files/3.2.5/NEWS.Gentoo 1561 -MD5 c94bddd0c955c7c699701a43eb79660f files/3.2.5/README.Gentoo 1970 -MD5 1cc1c109f9f53e8610873d475cde4633 files/3.2.5/log4j.xml 5784 -MD5 1fdd4664aceb87d0ecd21dbaae57967e files/3.2.5/catalog 1587 -MD5 e282e72230397784cfd6a0d6c4e794ed files/conf.d/jboss 988 -MD5 1931937fa25bd2d257853ff6dce0814a files/init.d/jboss 568 -MD5 8be6a5609fb1d490b808a3124052e0ba files/3.2.1/env.d/50jboss 27 -MD5 3cc5cee301d9de0f72256b51e89f148e files/3.2.1/conf.d/jboss 1295 -MD5 b50fd8eb6a613bcca13831d68c07e666 files/3.2.1/init.d/jboss 860 -MD5 8be6a5609fb1d490b808a3124052e0ba files/3.2.3/env.d/50jboss 27 -MD5 4b1e766357e28233b17668ff6c2bb64e files/3.2.3/conf.d/jboss 2756 -MD5 db656d1fcd5ff22129cd47377e9928f2 files/3.2.3/init.d/jboss 861 -MD5 8be6a5609fb1d490b808a3124052e0ba files/3.2.5/env.d/50jboss 27 -MD5 2b3022832d616f96d949affaf606758a files/3.2.5/conf.d/jboss 3018 -MD5 58ee97c5026cff818b1ee5ec92530a4c files/3.2.5/init.d/jboss 861 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.4 (GNU/Linux) - -iD8DBQFBB4hV/rLF9B432nYRAtDlAJ9KIij1lIL/IFQDmBDezI2+GvdJAACdHgri -t8VNmRHD0GopSqs9U7hSMSk= -=iksN ------END PGP SIGNATURE----- diff --git a/net-www/jboss/files/3.2.1/conf.d/jboss b/net-www/jboss/files/3.2.1/conf.d/jboss deleted file mode 100644 index f52276c8b5c0..000000000000 --- a/net-www/jboss/files/3.2.1/conf.d/jboss +++ /dev/null @@ -1,41 +0,0 @@ -# -*- shell-script -*- - -# We need to have JBOSS_HOME and JAVA_HOME set in order to start jboss. - -if [ -z "$JBOSS_HOME" ]; then - JBOSS_HOME=`grep JBOSS_HOME /etc/profile.env | sed -e "s;.*=;;" -e "s;';;g"` - export JBOSS_HOME -fi -if [ -z "$JAVA_HOME" ]; then - JAVA_HOME=`java-config --jdk-home` - export JAVA_HOME -fi - -# You can choose which configuration you want to run JBoss with. The -# default configuration is, you guessed it, 'default'. The Gentoo -# JBoss installation ships with two other predefined configurations; -# 'all' and 'minimal'. The configurations are located in -# $JBOSS_HOME/server/ - -JBOSS_CONF="default" -# JBOSS_CONF="all" -# JBOSS_CONF="minimal" - -# Console logging defaults to '/dev/null'. This env variable is -# included for debugging purposes. You might have to run add -# $JBOSS_USER to the 'console' group to gain access to '/dev/console'. - -JBOSS_CONSOLE="/dev/null" -# JBOSS_CONSOLE="/dev/console" - -# The user JBoss will run as. Comment the next line to run as root - -JBOSS_USER="jboss" - -# Commands used in starting/stopping the server -CMD_START="$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF" - -CMD_STOP="$JAVA_HOME/bin/java -classpath $JBOSS_HOME/bin/shutdown.jar:$JBOSS_HOME/lib/jboss-system.jar:`java-config --classpath=jboss` org.jboss.Shutdown -S" - -SUBIT="su $JBOSS_USER -c " - diff --git a/net-www/jboss/files/3.2.1/env.d/50jboss b/net-www/jboss/files/3.2.1/env.d/50jboss deleted file mode 100644 index 92bc5e1feb30..000000000000 --- a/net-www/jboss/files/3.2.1/env.d/50jboss +++ /dev/null @@ -1 +0,0 @@ -JBOSS_HOME="@JBOSSPREFIX@" diff --git a/net-www/jboss/files/3.2.1/init.d/jboss b/net-www/jboss/files/3.2.1/init.d/jboss deleted file mode 100644 index a750e8e652b7..000000000000 --- a/net-www/jboss/files/3.2.1/init.d/jboss +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/files/3.2.1/init.d/jboss,v 1.5 2004/07/15 00:26:50 agriffis Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting JBoss" - if [ -z "$JBOSS_HOME" ]; then - eerror "The JBOSS_HOME environment variable is not set." - return 1 - fi - if [ ! -d "$JBOSS_HOME/server/$JBOSS_CONF/tmp" ]; then - mkdir "$JBOSS_HOME/server/$JBOSS_CONF/tmp" - chown jboss:jboss "$JBOSS_HOME/server/$JBOSS_CONF/tmp" - fi - cd $JBOSS_HOME/server/$JBOSS_CONF/tmp - if [ -z "$SUBIT" ]; then - eval $CMD_START >${JBOSS_CONSOLE} 2>&1 & - else - $SUBIT "$CMD_START >${JBOSS_CONSOLE} 2>&1 &" - fi - eend $? -} - -stop() { - ebegin "Stopping JBoss" - if [ -z "$SUBIT" ]; then - $CMD_STOP - else - $SUBIT "$CMD_STOP" - fi - eend $? -} diff --git a/net-www/jboss/files/3.2.1/log4j.xml b/net-www/jboss/files/3.2.1/log4j.xml deleted file mode 100644 index 1d9f9a6249d7..000000000000 --- a/net-www/jboss/files/3.2.1/log4j.xml +++ /dev/null @@ -1,162 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> - -<!-- ===================================================================== --> -<!-- --> -<!-- Log4j Configuration --> -<!-- --> -<!-- ===================================================================== --> - -<!-- $Id: log4j.xml,v 1.1 2003/05/08 15:47:48 mkennedy Exp $ --> - -<!-- - | For more configuration infromation and examples see the Jakarta Log4j - | owebsite: http://jakarta.apache.org/log4j - --> - -<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> - - <!-- ================================= --> - <!-- Preserve messages in a local file --> - <!-- ================================= --> - - <!-- A time/date based rolling appender --> - <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender"> - <param name="File" value="/var/log/jboss/server.log"/> - <param name="Append" value="false"/> - - <!-- Rollover at midnight each day --> -<!-- <param name="DatePattern" value="'.'yyyy-MM-dd"/> --> - - <!-- Rollover at the top of each hour --> - <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/> - - <layout class="org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n --> - <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> - - <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n - <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/> - --> - - </layout> - </appender> - - <!-- A size based file rolling appender - <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender"> - <param name="File" value="${jboss.server.home.dir}/log/server.log"/> - <param name="Append" value="false"/> - <param name="MaxFileSize" value="500KB"/> - <param name="MaxBackupIndex" value="1"/> - - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> - </layout> - </appender> - --> - - <!-- ============================== --> - <!-- Append messages to the console --> - <!-- ============================== --> - - <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> - <param name="Threshold" value="INFO"/> - <param name="Target" value="System.out"/> - - <layout class="org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n --> - <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> - </layout> - </appender> - - - <!-- ====================== --> - <!-- More Appender examples --> - <!-- ====================== --> - - <!-- Buffer events and log them asynchronously - <appender name="ASYNC" class="org.apache.log4j.AsyncAppender"> - <appender-ref ref="FILE"/> - <appender-ref ref="CONSOLE"/> - <appender-ref ref="SMTP"/> - </appender> - --> - - <!-- EMail events to an administrator - <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender"> - <param name="Threshold" value="ERROR"/> - <param name="To" value="admin@myhost.domain.com"/> - <param name="From" value="nobody@myhost.domain.com"/> - <param name="Subject" value="JBoss Sever Errors"/> - <param name="SMTPHost" value="localhost"/> - <param name="BufferSize" value="10"/> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/> - </layout> - </appender> - --> - - <!-- Syslog events - <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender"> - <param name="Facility" value="LOCAL7"/> - <param name="FacilityPrinting" value="true"/> - <param name="SyslogHost" value="localhost"/> - </appender> - --> - - - <!-- Log events to JMS (requires a topic to be created) - <appender name="JMS" class="org.apache.log4j.net.JMSAppender"> - <param name="Threshold" value="ERROR"/> - <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/> - <param name="TopicBindingName" value="topic/MyErrorsTopic"/> - </appender> - --> - - <!-- ================ --> - <!-- Limit categories --> - <!-- ================ --> - - <!-- Limit JBoss categories to INFO - <category name="org.jboss"> - <priority value="INFO"/> - </category> - --> - - <!-- Increase the priority threshold for the DefaultDS category - <category name="DefaultDS"> - <priority value="FATAL"/> - </category> - --> - - <!-- Decrease the priority threshold for the org.jboss.varia category - <category name="org.jboss.varia"> - <priority value="DEBUG"/> - </category> - --> - - <!-- - | An example of enabling the custom TRACE level priority that is used - | by the JBoss internals to diagnose low level details. This example - | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its - | subpackages. This will produce A LOT of logging output. - If you use replace the log4j 1.2 jar with a 1.1.3 jar you will need to - change this from XLevel to XPriority. - <category name="org.jboss.system"> - <priority value="TRACE" class="org.jboss.logging.XLevel"/> - </category> - <category name="org.jboss.ejb.plugins"> - <priority value="TRACE" class="org.jboss.logging.XLevel"/> - </category> - --> - - <!-- ======================= --> - <!-- Setup the Root category --> - <!-- ======================= --> - - <root> - <appender-ref ref="CONSOLE"/> - <appender-ref ref="FILE"/> - </root> - -</log4j:configuration> diff --git a/net-www/jboss/files/3.2.3/README.Gentoo b/net-www/jboss/files/3.2.3/README.Gentoo deleted file mode 100644 index 99fd2420fdb2..000000000000 --- a/net-www/jboss/files/3.2.3/README.Gentoo +++ /dev/null @@ -1,46 +0,0 @@ -Starting --------- - -Start JBoss by running the jboss RC script found in /etc/init.d/. Do -the regular 'rc-update jboss <runlevel>' to automatically start JBoss -upon entering a runlevel. Customizing the JBoss setup by changing the -environment variables in /etc/conf.d/jboss. Refer to that file for -further documentation on the environment variables used during -startup. - -For security reasons, the application server is running as the 'jboss' -user. This may be changed in the /etc/conf.d/jboss script. - -NOTE: ANY LOCAL USER MAY STOP A RUNNING JBOSS. YOU SHOULD CONSIDER -THIS ASPECT FOR PRODUCTION SYSTEMS. - -Logging -------- - -All configurations shipping with this ebuild have been set up to log -to the /var/log/jboss/server file using a time/date based rolling -file appender. - -While console logging is turned on for debugging purposes, standard -out and standard err are redirected to /dev/null by default. This may -be changed in /etc/conf.d/jboss. As the application server is running -as 'jboss', you will have to tweak /dev/console's access permissions -to allow jboss access to the device. - - -Client applications -------------------- - -The jars required for compiling and running client applications are -installed to /usr/share/jboss/lib. Add these jars to your classpath -with the java-config command using either the --set-system-classpath -or --set-user-classpath parameter. - -Enjoy! - - -Authors of this Document ------------------------- - -tho <thomas.osterlie@acm.org> -Matthew Kennedy <mkennedy@gentoo.org> diff --git a/net-www/jboss/files/3.2.3/catalog b/net-www/jboss/files/3.2.3/catalog deleted file mode 100644 index 91c09e9fc7de..000000000000 --- a/net-www/jboss/files/3.2.3/catalog +++ /dev/null @@ -1,27 +0,0 @@ - - -- Catalog data for JBoss/Gentoo SGML integration - - -- This set was extracted from the DTD files in the build output - directory, build/output/${P}/docs/dtd/ - -PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "application-client_1_3.dtd" -PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "application_1_3.dtd" -PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "ejb-jar_2_0.dtd" -PUBLIC "-//JBoss//DTD JAWS 2.4//EN" "jaws_2_4.dtd" -PUBLIC "-//JBoss//DTD JAWS 3.0//EN" "jboss-app_3_0.dtd" -PUBLIC "-//JBoss//DTD J2EE Application 1.3//EN" "jboss-app_3_0.dtd" -PUBLIC "-//JBoss//DTD J2EE Application 1.3V2//EN" "jboss-app_3_2.dtd" -PUBLIC "-//JBoss//DTD MBean Service 3.2//EN" "jboss-service_3_2.dtd" -PUBLIC "-//JBoss//DTD Web Application 2.2//EN" "jboss-web.dtd" -PUBLIC "-//JBoss//DTD Web Application 2.3//EN" "jboss-web_3_0.dtd" -PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" "jboss-web_3_2.dtd" -PUBLIC "-//JBoss//DTD JBOSS//EN" "jboss.dtd" -PUBLIC "-//JBoss//DTD JBOSS 2.4//EN" "jboss_2_4.dtd" -PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "jboss_3_0.dtd" -PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "jboss_3_2.dtd" -PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" "jboss_xmbean_1_0.dtd" -PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN" "jboss_xmbean_1_1.dtd" -PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "jbosscmp-jdbc_3_0.dtd" -PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN" "jbosscmp-jdbc_3_2.dtd" -PUBLIC "-//JBoss//DTD JBOSS Security Config 3.0//EN" "security_config.dtd" -PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "web-app_2_3.dtd" diff --git a/net-www/jboss/files/3.2.3/conf.d/jboss b/net-www/jboss/files/3.2.3/conf.d/jboss deleted file mode 100644 index 9147dbf054c8..000000000000 --- a/net-www/jboss/files/3.2.3/conf.d/jboss +++ /dev/null @@ -1,82 +0,0 @@ -# -*- mode: shell-script; mode: outline-minor; outline-regexp: "##+"; indent-tabs-mode: nil -*- - -## GENERAL SETTINGS - -# You can choose which configuration you want to run JBoss with. The -# default configuration is, you guessed it, 'default'. The Gentoo -# JBoss installation ships with two other predefined configurations; -# 'all' and 'minimal'. The configurations are located in -# $JBOSS_HOME/server/ - -# JBOSS_CONF="all" -JBOSS_CONF="default" -# JBOSS_CONF="minimal" - -# Console logging defaults to '/dev/null'. This env variable is -# included for debugging purposes. You might have to run add -# $JBOSS_USER to the 'console' group to gain access to '/dev/console'. - -JBOSS_CONSOLE="/dev/null" -# JBOSS_CONSOLE="/dev/console" - -# The user JBoss will run as. - -JBOSS_USER="jboss" - - -## SPECIFIC SETTINGS - -SERVER_SETTINGS="" - -# The directory JBoss will use for temporary file storage - -SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.temp.dir=/var/tmp/jboss" - -# The directory which JBoss will use for persistent data file storage - -SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.data.dir=/var/cache/jboss" - -# The base URL for calculating server home URLs. In a stock JBoss -# install, this would be <jboss_home>/server/ where sub-directories -# default, minimal and all exist. Our defaults are /var/lib/jboss to -# be consistent with other servers such as PostgreSQL and Apache. - -SERVER_HOME="/var/lib/jboss" -SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.base.url=file://${SERVER_HOME}" - -# Whether or not the server should exit the JVM on shutdown (comment -# out to disable) - -# SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.exitonshutdown" - -# Whether or not the server should shutdown synchronously (true) or -# asynchronously (false). - -SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.exitonshutdown=false" - -# The address JBoss will bind services to. (Note: JBoss 3.2.3 ignores -# the JVM environment parameter in favour of the command line switch.) - -JBOSS_BIND_ADDRESS="0.0.0.0" - - -## STARTUP/SHUTDOWN CONFIGURATION - -# Commands used in starting/stopping the server. Normally you would -# not need to change the following settings. - -# We need to have JBOSS_HOME and JAVA_HOME set in order to start -# jboss. - -[ -z "$JBOSS_HOME" ] \ - && export JBOSS_HOME=`grep JBOSS_HOME /etc/profile.env | sed -e "s;.*=;;" -e "s;';;g"` -[ -z "$JAVA_HOME" ] \ - && export JAVA_HOME=`java-config --jdk-home` - -# Commands for starting and stopping the server - -CMD_START="JAVA_OPTS=\"${SERVER_SETTINGS}\" ${JBOSS_HOME}/bin/run.sh -b ${JBOSS_BIND_ADDRESS} -c ${JBOSS_CONF}" - -CMD_STOP="${JAVA_HOME}/bin/java -classpath ${JBOSS_HOME}/bin/shutdown.jar:${JBOSS_HOME}/lib/jboss-system.jar:`java-config --classpath=jboss` org.jboss.Shutdown -S" - -SUBIT="su $JBOSS_USER -c " diff --git a/net-www/jboss/files/3.2.3/env.d/50jboss b/net-www/jboss/files/3.2.3/env.d/50jboss deleted file mode 100644 index 92bc5e1feb30..000000000000 --- a/net-www/jboss/files/3.2.3/env.d/50jboss +++ /dev/null @@ -1 +0,0 @@ -JBOSS_HOME="@JBOSSPREFIX@" diff --git a/net-www/jboss/files/3.2.3/init.d/jboss b/net-www/jboss/files/3.2.3/init.d/jboss deleted file mode 100644 index ec7cf340753a..000000000000 --- a/net-www/jboss/files/3.2.3/init.d/jboss +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/files/3.2.3/init.d/jboss,v 1.3 2004/07/15 00:26:50 agriffis Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting JBoss" - if [ -z "$JBOSS_HOME" ]; then - eerror "The JBOSS_HOME environment variable is not set." - return 1 - fi - if [ ! -d ${SERVER_HOME}/${JBOSS_CONF}/tmp ]; then - mkdir ${SERVER_HOME}/${JBOSS_CONF}/tmp - chown jboss:jboss ${SERVER_HOME}/${JBOSS_CONF}/tmp - fi - cd ${SERVER_HOME}/${JBOSS_CONF}/tmp - if [ -z "${SUBIT}" ]; then - eval ${CMD_START} >${JBOSS_CONSOLE} 2>&1 & - else - ${SUBIT} "${CMD_START} >${JBOSS_CONSOLE} 2>&1 &" - fi - eend $? -} - -stop() { - ebegin "Stopping JBoss" - if [ -z "$SUBIT" ]; then - ${CMD_STOP} - else - ${SUBIT} "$CMD_STOP" - fi - eend $? -} diff --git a/net-www/jboss/files/3.2.3/log4j.xml b/net-www/jboss/files/3.2.3/log4j.xml deleted file mode 100644 index 14f0b0731db2..000000000000 --- a/net-www/jboss/files/3.2.3/log4j.xml +++ /dev/null @@ -1,162 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> - -<!-- ===================================================================== --> -<!-- --> -<!-- Log4j Configuration --> -<!-- --> -<!-- ===================================================================== --> - -<!-- $Id: log4j.xml,v 1.1 2003/12/20 08:49:23 mkennedy Exp $ --> - -<!-- - | For more configuration infromation and examples see the Jakarta Log4j - | owebsite: http://jakarta.apache.org/log4j - --> - -<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> - - <!-- ================================= --> - <!-- Preserve messages in a local file --> - <!-- ================================= --> - - <!-- A time/date based rolling appender --> - <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender"> - <param name="File" value="/var/log/jboss/server.log"/> - <param name="Append" value="false"/> - - <!-- Rollover at midnight each day --> -<!-- <param name="DatePattern" value="'.'yyyy-MM-dd"/> --> - - <!-- Rollover at the top of each hour --> - <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/> - - <layout class="org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n --> - <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> - - <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n - <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/> - --> - - </layout> - </appender> - - <!-- A size based file rolling appender - <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender"> - <param name="File" value="${jboss.server.home.dir}/log/server.log"/> - <param name="Append" value="false"/> - <param name="MaxFileSize" value="500KB"/> - <param name="MaxBackupIndex" value="1"/> - - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> - </layout> - </appender> - --> - - <!-- ============================== --> - <!-- Append messages to the console --> - <!-- ============================== --> - - <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> - <param name="Threshold" value="INFO"/> - <param name="Target" value="System.out"/> - - <layout class="org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n --> - <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> - </layout> - </appender> - - - <!-- ====================== --> - <!-- More Appender examples --> - <!-- ====================== --> - - <!-- Buffer events and log them asynchronously - <appender name="ASYNC" class="org.apache.log4j.AsyncAppender"> - <appender-ref ref="FILE"/> - <appender-ref ref="CONSOLE"/> - <appender-ref ref="SMTP"/> - </appender> - --> - - <!-- EMail events to an administrator - <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender"> - <param name="Threshold" value="ERROR"/> - <param name="To" value="admin@myhost.domain.com"/> - <param name="From" value="nobody@myhost.domain.com"/> - <param name="Subject" value="JBoss Sever Errors"/> - <param name="SMTPHost" value="localhost"/> - <param name="BufferSize" value="10"/> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/> - </layout> - </appender> - --> - - <!-- Syslog events - <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender"> - <param name="Facility" value="LOCAL7"/> - <param name="FacilityPrinting" value="true"/> - <param name="SyslogHost" value="localhost"/> - </appender> - --> - - - <!-- Log events to JMS (requires a topic to be created) - <appender name="JMS" class="org.apache.log4j.net.JMSAppender"> - <param name="Threshold" value="ERROR"/> - <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/> - <param name="TopicBindingName" value="topic/MyErrorsTopic"/> - </appender> - --> - - <!-- ================ --> - <!-- Limit categories --> - <!-- ================ --> - - <!-- Limit JBoss categories to INFO - <category name="org.jboss"> - <priority value="INFO"/> - </category> - --> - - <!-- Increase the priority threshold for the DefaultDS category - <category name="DefaultDS"> - <priority value="FATAL"/> - </category> - --> - - <!-- Decrease the priority threshold for the org.jboss.varia category - <category name="org.jboss.varia"> - <priority value="DEBUG"/> - </category> - --> - - <!-- - | An example of enabling the custom TRACE level priority that is used - | by the JBoss internals to diagnose low level details. This example - | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its - | subpackages. This will produce A LOT of logging output. - If you use replace the log4j 1.2 jar with a 1.1.3 jar you will need to - change this from XLevel to XPriority. - <category name="org.jboss.system"> - <priority value="TRACE" class="org.jboss.logging.XLevel"/> - </category> - <category name="org.jboss.ejb.plugins"> - <priority value="TRACE" class="org.jboss.logging.XLevel"/> - </category> - --> - - <!-- ======================= --> - <!-- Setup the Root category --> - <!-- ======================= --> - - <root> - <appender-ref ref="CONSOLE"/> - <appender-ref ref="FILE"/> - </root> - -</log4j:configuration> diff --git a/net-www/jboss/files/3.2.5/NEWS.Gentoo b/net-www/jboss/files/3.2.5/NEWS.Gentoo deleted file mode 100644 index d036c3b88772..000000000000 --- a/net-www/jboss/files/3.2.5/NEWS.Gentoo +++ /dev/null @@ -1,46 +0,0 @@ --*-text-*- $Id: NEWS.Gentoo,v 1.1 2004/07/20 03:50:56 mkennedy Exp $ - -* net-www/jboss-3.2.5 - -SERVER_HOME Changes -------------------- - -Prior to this release in Portage, the SERVER_HOME (ie. /var/lib/jboss) -used to deploy user applications was maintained with CONFIG_PROTECT. -There are a few problems with this approach: - - 1. Upon updating, you may have to merge over 100 files with - etc-update. - - 2. Most of the files in SERVER_HOME are binary in nature and do - not benifit from CONFIG_PROTECT. - - 3. The CONFIG_PROTECT mechanism is only capable of merging files. - Thus the mechanism cannot support updates which require old - files in SERVER_HOME to be removed. - -Release net-www/jboss-3.2.5 onward will no longer maintain SERVER_HOME -with CONFIG_PROTECT. Instead of this, we recommended you to consider -creating your own SERVER_HOME sub-directory based on the 3 templates -provided by the JBoss installation (ie. SERVER_HOME/all, -SERVER_HOME/default and SERVER_HOME/minimal). - -After you have made your own SERVER_HOME sub-directory, simply -annotate /etc/conf.d/jboss so that JBoss uses your SERVER_HOME -sub-directory rather than the default one. e.g. - - cp -a /var/lib/jboss/default /var/lib/jboss/myserver - sed -i 's,^\(JBOSS_CONF=\).*,\1"myserver",g' /etc/conf.d/jboss - -Log4J Changes -------------- - -The log4j.xml configuration file now sets prority INFO for -"org.apache.commons" category which is extremely noise at DEBUG -priority. - - -Authors of this Document ------------------------- - -Matthew Kennedy <mkennedy@gentoo.org> diff --git a/net-www/jboss/files/3.2.5/README.Gentoo b/net-www/jboss/files/3.2.5/README.Gentoo deleted file mode 100644 index e99fed3c0338..000000000000 --- a/net-www/jboss/files/3.2.5/README.Gentoo +++ /dev/null @@ -1,62 +0,0 @@ --*-text-*- $Id: README.Gentoo,v 1.1 2004/07/20 03:50:56 mkennedy Exp $ - -Starting --------- - -Start JBoss by running the jboss RC script found in /etc/init.d/. Do -the regular 'rc-update jboss <runlevel>' to automatically start JBoss -upon entering a runlevel. Customizing the JBoss setup by changing the -environment variables in /etc/conf.d/jboss. Refer to that file for -further documentation on the environment variables used during -startup. - -For security reasons, the application server is running as the 'jboss' -user. This may be changed in the /etc/conf.d/jboss script. - -NOTE: ANY LOCAL USER MAY STOP A RUNNING JBOSS. YOU SHOULD CONSIDER -THIS ASPECT FOR PRODUCTION SYSTEMS. - -Tips on securing your JBoss installations can be found along with -other documentation at the JBoss Wiki: - - http://jboss.org/wiki/Wiki.jsp - http://www.jboss.org/wiki/Wiki.jsp?page=SecureJBoss - - -Logging -------- - -All configurations shipping with this ebuild have been set up to log -to the /var/log/jboss/server file using a time/date based rolling -file appender. - -While console logging is turned on for debugging purposes, standard -out and standard err are redirected to /dev/null by default. This may -be changed in /etc/conf.d/jboss. As the application server is running -as 'jboss', you will have to tweak /dev/console's access permissions -to allow jboss access to the device. - - -Gentoo Specific News about the JBoss port ------------------------------------------ - -NEWS.Gentoo is now installed with this document. It documents -high-level changes to this port. - - -Client applications -------------------- - -The jars required for compiling and running client applications are -installed to /usr/share/jboss/lib. Add these jars to your classpath -with the java-config command using either the --set-system-classpath -or --set-user-classpath parameter. - -Enjoy! - - -Authors of this Document ------------------------- - -tho <thomas.osterlie@acm.org> -Matthew Kennedy <mkennedy@gentoo.org> diff --git a/net-www/jboss/files/3.2.5/catalog b/net-www/jboss/files/3.2.5/catalog deleted file mode 100644 index 91c09e9fc7de..000000000000 --- a/net-www/jboss/files/3.2.5/catalog +++ /dev/null @@ -1,27 +0,0 @@ - - -- Catalog data for JBoss/Gentoo SGML integration - - -- This set was extracted from the DTD files in the build output - directory, build/output/${P}/docs/dtd/ - -PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "application-client_1_3.dtd" -PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "application_1_3.dtd" -PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "ejb-jar_2_0.dtd" -PUBLIC "-//JBoss//DTD JAWS 2.4//EN" "jaws_2_4.dtd" -PUBLIC "-//JBoss//DTD JAWS 3.0//EN" "jboss-app_3_0.dtd" -PUBLIC "-//JBoss//DTD J2EE Application 1.3//EN" "jboss-app_3_0.dtd" -PUBLIC "-//JBoss//DTD J2EE Application 1.3V2//EN" "jboss-app_3_2.dtd" -PUBLIC "-//JBoss//DTD MBean Service 3.2//EN" "jboss-service_3_2.dtd" -PUBLIC "-//JBoss//DTD Web Application 2.2//EN" "jboss-web.dtd" -PUBLIC "-//JBoss//DTD Web Application 2.3//EN" "jboss-web_3_0.dtd" -PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN" "jboss-web_3_2.dtd" -PUBLIC "-//JBoss//DTD JBOSS//EN" "jboss.dtd" -PUBLIC "-//JBoss//DTD JBOSS 2.4//EN" "jboss_2_4.dtd" -PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "jboss_3_0.dtd" -PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" "jboss_3_2.dtd" -PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" "jboss_xmbean_1_0.dtd" -PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN" "jboss_xmbean_1_1.dtd" -PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN" "jbosscmp-jdbc_3_0.dtd" -PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN" "jbosscmp-jdbc_3_2.dtd" -PUBLIC "-//JBoss//DTD JBOSS Security Config 3.0//EN" "security_config.dtd" -PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "web-app_2_3.dtd" diff --git a/net-www/jboss/files/3.2.5/conf.d/jboss b/net-www/jboss/files/3.2.5/conf.d/jboss deleted file mode 100644 index 248afc0b2802..000000000000 --- a/net-www/jboss/files/3.2.5/conf.d/jboss +++ /dev/null @@ -1,90 +0,0 @@ -# -*- mode: shell-script; mode: outline-minor; outline-regexp: "##+"; indent-tabs-mode: nil -*- - -## NOTES - -# This configuration file is based on the options enumerated in the -# JBoss source code at: -# -# jboss-x.y.z-src/system/src/main/org/jboss/system/server/ServerConfig -# -# You may chose to add additional settings from there to this file. -# We present a basic subset by default. - -## GENERAL SETTINGS - -# You can choose which configuration you want to run JBoss with. The -# default configuration is, you guessed it, 'default'. The Gentoo -# JBoss installation ships with two other predefined configurations; -# 'all' and 'minimal'. The configurations are located in -# $JBOSS_HOME/server/ - -# JBOSS_CONF="all" -JBOSS_CONF="default" -# JBOSS_CONF="minimal" - -# Console logging defaults to '/dev/null'. This env variable is -# included for debugging purposes. You might have to run add -# $JBOSS_USER to the 'console' group to gain access to '/dev/console'. - -JBOSS_CONSOLE="/dev/null" -# JBOSS_CONSOLE="/dev/console" - -# The user JBoss will run as. - -JBOSS_USER="jboss" - - -## SPECIFIC SETTINGS - -SERVER_SETTINGS="" - -# The directory JBoss will use for temporary file storage - -SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.temp.dir=/var/tmp/jboss" - -# The directory which JBoss will use for persistent data file storage - -SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.data.dir=/var/cache/jboss" - -# The base URL for calculating server home URLs. In a stock JBoss -# install, this would be <jboss_home>/server/ where sub-directories -# default, minimal and all exist. Our defaults are /var/lib/jboss to -# be consistent with other servers such as PostgreSQL and Apache. - -SERVER_HOME="/var/lib/jboss" -SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.base.url=file://${SERVER_HOME}" - -# Whether or not the server should exit the JVM on shutdown - -SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.exitonshutdown=true" - -# Whether or not the server should shutdown synchronously (true) or -# asynchronously (false). - -SERVER_SETTINGS="${SERVER_SETTINGS} -Djboss.server.blockingshutdown=true" - -# The address JBoss will bind services to. (Note: JBoss 3.2.3 ignores -# the JVM environment parameter in favour of the command line switch.) - -JBOSS_BIND_ADDRESS="0.0.0.0" - -## STARTUP/SHUTDOWN CONFIGURATION - -# Commands used in starting/stopping the server. Normally you would -# not need to change the following settings. - -# We need to have JBOSS_HOME and JAVA_HOME set in order to start -# jboss. - -[ -z "$JBOSS_HOME" ] \ - && export JBOSS_HOME=`grep JBOSS_HOME /etc/profile.env | sed -e "s;.*=;;" -e "s;';;g"` -[ -z "$JAVA_HOME" ] \ - && export JAVA_HOME=`java-config --jdk-home` - -# Commands for starting and stopping the server - -CMD_START="JAVA_OPTS=\"${SERVER_SETTINGS}\" ${JBOSS_HOME}/bin/run.sh -b ${JBOSS_BIND_ADDRESS} -c ${JBOSS_CONF}" - -CMD_STOP="${JAVA_HOME}/bin/java -classpath ${JBOSS_HOME}/bin/shutdown.jar:${JBOSS_HOME}/lib/jboss-system.jar:`java-config --classpath=jboss` org.jboss.Shutdown -S" - -SUBIT="su $JBOSS_USER -c " diff --git a/net-www/jboss/files/3.2.5/env.d/50jboss b/net-www/jboss/files/3.2.5/env.d/50jboss deleted file mode 100644 index 92bc5e1feb30..000000000000 --- a/net-www/jboss/files/3.2.5/env.d/50jboss +++ /dev/null @@ -1 +0,0 @@ -JBOSS_HOME="@JBOSSPREFIX@" diff --git a/net-www/jboss/files/3.2.5/init.d/jboss b/net-www/jboss/files/3.2.5/init.d/jboss deleted file mode 100644 index 7427a49ee4bb..000000000000 --- a/net-www/jboss/files/3.2.5/init.d/jboss +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/files/3.2.5/init.d/jboss,v 1.1 2004/07/20 03:50:56 mkennedy Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting JBoss" - if [ -z "$JBOSS_HOME" ]; then - eerror "The JBOSS_HOME environment variable is not set." - return 1 - fi - if [ ! -d ${SERVER_HOME}/${JBOSS_CONF}/tmp ]; then - mkdir ${SERVER_HOME}/${JBOSS_CONF}/tmp - chown jboss:jboss ${SERVER_HOME}/${JBOSS_CONF}/tmp - fi - cd ${SERVER_HOME}/${JBOSS_CONF}/tmp - if [ -z "${SUBIT}" ]; then - eval ${CMD_START} >${JBOSS_CONSOLE} 2>&1 & - else - ${SUBIT} "${CMD_START} >${JBOSS_CONSOLE} 2>&1 &" - fi - eend $? -} - -stop() { - ebegin "Stopping JBoss" - if [ -z "$SUBIT" ]; then - ${CMD_STOP} - else - ${SUBIT} "$CMD_STOP" - fi - eend $? -} diff --git a/net-www/jboss/files/3.2.5/log4j.xml b/net-www/jboss/files/3.2.5/log4j.xml deleted file mode 100644 index c2f6f7ed6205..000000000000 --- a/net-www/jboss/files/3.2.5/log4j.xml +++ /dev/null @@ -1,167 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> - -<!-- ===================================================================== --> -<!-- --> -<!-- Log4j Configuration --> -<!-- --> -<!-- ===================================================================== --> - -<!-- $Id: log4j.xml,v 1.1 2004/07/20 03:50:56 mkennedy Exp $ --> - -<!-- - | For more configuration infromation and examples see the Jakarta Log4j - | owebsite: http://jakarta.apache.org/log4j - --> - -<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> - - <!-- ================================= --> - <!-- Preserve messages in a local file --> - <!-- ================================= --> - - <!-- A time/date based rolling appender --> - <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender"> - <param name="File" value="/var/log/jboss/server.log"/> - <param name="Append" value="false"/> - - <!-- Rollover at midnight each day --> -<!-- <param name="DatePattern" value="'.'yyyy-MM-dd"/> --> - - <!-- Rollover at the top of each hour --> - <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/> - - <layout class="org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n --> - <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> - - <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n - <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/> - --> - - </layout> - </appender> - - <!-- A size based file rolling appender - <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender"> - <param name="File" value="${jboss.server.home.dir}/log/server.log"/> - <param name="Append" value="false"/> - <param name="MaxFileSize" value="500KB"/> - <param name="MaxBackupIndex" value="1"/> - - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> - </layout> - </appender> - --> - - <!-- ============================== --> - <!-- Append messages to the console --> - <!-- ============================== --> - - <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> - <param name="Threshold" value="INFO"/> - <param name="Target" value="System.out"/> - - <layout class="org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n --> - <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> - </layout> - </appender> - - - <!-- ====================== --> - <!-- More Appender examples --> - <!-- ====================== --> - - <!-- Buffer events and log them asynchronously - <appender name="ASYNC" class="org.apache.log4j.AsyncAppender"> - <appender-ref ref="FILE"/> - <appender-ref ref="CONSOLE"/> - <appender-ref ref="SMTP"/> - </appender> - --> - - <!-- EMail events to an administrator - <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender"> - <param name="Threshold" value="ERROR"/> - <param name="To" value="admin@myhost.domain.com"/> - <param name="From" value="nobody@myhost.domain.com"/> - <param name="Subject" value="JBoss Sever Errors"/> - <param name="SMTPHost" value="localhost"/> - <param name="BufferSize" value="10"/> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/> - </layout> - </appender> - --> - - <!-- Syslog events - <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender"> - <param name="Facility" value="LOCAL7"/> - <param name="FacilityPrinting" value="true"/> - <param name="SyslogHost" value="localhost"/> - </appender> - --> - - - <!-- Log events to JMS (requires a topic to be created) - <appender name="JMS" class="org.apache.log4j.net.JMSAppender"> - <param name="Threshold" value="ERROR"/> - <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/> - <param name="TopicBindingName" value="topic/MyErrorsTopic"/> - </appender> - --> - - <!-- ================ --> - <!-- Limit categories --> - <!-- ================ --> - - <!-- Limit JBoss categories to INFO - <category name="org.jboss"> - <priority value="INFO"/> - </category> - --> - - <!-- Increase the priority threshold for the DefaultDS category - <category name="DefaultDS"> - <priority value="FATAL"/> - </category> - --> - - <!-- Decrease the priority threshold for the org.jboss.varia category - <category name="org.jboss.varia"> - <priority value="DEBUG"/> - </category> - --> - - <!-- Quieten the incredibly noisey Apache Commons log messages --> - <category name="org.apache.commons"> - <priority value="INFO"/> - </category> - - <!-- - | An example of enabling the custom TRACE level priority that is used - | by the JBoss internals to diagnose low level details. This example - | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its - | subpackages. This will produce A LOT of logging output. - If you use replace the log4j 1.2 jar with a 1.1.3 jar you will need to - change this from XLevel to XPriority. - <category name="org.jboss.system"> - <priority value="TRACE" class="org.jboss.logging.XLevel"/> - </category> - <category name="org.jboss.ejb.plugins"> - <priority value="TRACE" class="org.jboss.logging.XLevel"/> - </category> - --> - - <!-- ======================= --> - <!-- Setup the Root category --> - <!-- ======================= --> - - <root> - <appender-ref ref="CONSOLE"/> - <appender-ref ref="FILE"/> - </root> - -</log4j:configuration> diff --git a/net-www/jboss/files/README.gentoo b/net-www/jboss/files/README.gentoo deleted file mode 100644 index ec5e0ec832b0..000000000000 --- a/net-www/jboss/files/README.gentoo +++ /dev/null @@ -1,39 +0,0 @@ -Starting --------- - -Start JBoss by running the jboss RC script found in /etc/init.d/. Do -the regular 'rc-update jboss <runlevel>' to automatically start JBoss -upon entering a runlevel. Customizing the JBoss setup by changing the -environment variables in /etc/conf.d/jboss. Refer to that file for -further documentation on the environment variables used during -startup. - -For security reasons, the application server is running as the 'jboss' -user. This may be changed in the /etc/conf.d/jboss script, too. - - -Logging -------- - -All configurations shipping with this ebuild have been set up to log -to the /var/log/jboss/server file using a time/date based rolling -file appender. - -While console logging is turned on for debugging purposes, standard -out and standard err are redirected to /dev/null by default. This may -be changed in /etc/conf.d/jboss. As the application server is running -as 'jboss', you will have to tweak /dev/console's access permissions -to allow jboss access to the device. - - -Client applications -------------------- - -The jars required for compiling and running client applications are -installed to /usr/share/jboss/lib. Add these jars to your classpath -with the java-config command using either the --set-system-classpath -or --set-user-classpath parameter. - -Enjoy! - -tho <thomas.osterlie@acm.org> diff --git a/net-www/jboss/files/conf.d/jboss b/net-www/jboss/files/conf.d/jboss deleted file mode 100644 index d72298ca8abd..000000000000 --- a/net-www/jboss/files/conf.d/jboss +++ /dev/null @@ -1,25 +0,0 @@ -# The directory containing bin, server and lib dirs. -JBOSS_HOME="@jbossprefix@" - -# You can choose which configuration you want to run JBoss with. The -# default configuration is, you guessed it, 'default'. The Gentoo -# JBoss installation ships with two other predefined configurations; -# 'all' and 'minimal'. The configurations are located in -# $JBOSS_HOME/server/ -JBOSS_CONF="default" -# JBOSS_CONF="all" -# JBOSS_CONF="minimal" - -# Console logging defaults to '/dev/null'. This env variable is -# included for debugging purposes. You might have to run add -# $JBOSS_USER to the 'console' group to gain access to '/dev/console'. -JBOSS_CONSOLE="/dev/null" -# JBOSS_CONSOLE="/dev/console" - -# The user JBoss will run as. Comment the next line to run as root -JBOSS_USER="jboss" - -# Commands used in starting/stopping the server -CMD_START="$JBOSS_HOME/bin/run.sh -c $JBOSS_CONF" -CMD_STOP="$JAVA_HOME/bin/java -classpath $JBOSS_HOME/bin/shutdown.jar org.jboss.Shutdown" -SUBIT="su $JBOSS_USER -c " diff --git a/net-www/jboss/files/digest-jboss-3.2.1 b/net-www/jboss/files/digest-jboss-3.2.1 deleted file mode 100644 index 20b8409558a0..000000000000 --- a/net-www/jboss/files/digest-jboss-3.2.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 98a66b0f148c4a8303907e96963a8bcb jboss-3.2.1-src.tgz 28592569 diff --git a/net-www/jboss/files/digest-jboss-3.2.1-r1 b/net-www/jboss/files/digest-jboss-3.2.1-r1 deleted file mode 100644 index 20b8409558a0..000000000000 --- a/net-www/jboss/files/digest-jboss-3.2.1-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 98a66b0f148c4a8303907e96963a8bcb jboss-3.2.1-src.tgz 28592569 diff --git a/net-www/jboss/files/digest-jboss-3.2.3 b/net-www/jboss/files/digest-jboss-3.2.3 deleted file mode 100644 index b8606100776c..000000000000 --- a/net-www/jboss/files/digest-jboss-3.2.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 c432fd194205ed4b7b9fd55ae4bfe8f9 jboss-3.2.3-src.tar.bz2 33388734 diff --git a/net-www/jboss/files/digest-jboss-3.2.5 b/net-www/jboss/files/digest-jboss-3.2.5 deleted file mode 100644 index 23e2fda3d83f..000000000000 --- a/net-www/jboss/files/digest-jboss-3.2.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 c82e127e1dd80d755f11970a4ee72c3a jboss-3.2.5-src.tar.bz2 33212056 diff --git a/net-www/jboss/files/init.d/jboss b/net-www/jboss/files/init.d/jboss deleted file mode 100644 index 2d205616d267..000000000000 --- a/net-www/jboss/files/init.d/jboss +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/files/init.d/jboss,v 1.4 2004/07/15 00:26:50 agriffis Exp $ - -depend() { - need net -} - -start() { - ebegin "Starting JBoss" - cd $JBOSS_HOME/bin - if [ -z "$SUBIT" ]; then - eval $CMD_START >${JBOSS_CONSOLE} 2>&1 & - else - $SUBIT "$CMD_START >${JBOSS_CONSOLE} 2>&1 &" - fi - eend $? -} - -stop() { - ebegin "Stopping JBoss" - if [ -z "$SUBIT" ]; then - $CMD_STOP - else - $SUBIT "$CMD_STOP" - fi - eend $? -} diff --git a/net-www/jboss/files/jboss-3.0.6-connector.patch b/net-www/jboss/files/jboss-3.0.6-connector.patch deleted file mode 100644 index 0dc445adf406..000000000000 --- a/net-www/jboss/files/jboss-3.0.6-connector.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- connector/build.xml 2002-10-07 22:19:32.000000000 +0200 -+++ connector/build.new.xml 2003-02-13 17:35:32.000000000 +0100 -@@ -543,6 +543,7 @@ - - - <!-- Force the use of SAXON XSLT --> -+<!-- - <property system="true" - name="javax.xml.transform.TransformerFactory" - value="com.icl.saxon.TransformerFactoryImpl"/> -@@ -557,6 +558,7 @@ - <param name="quiet" expression="${oasis.docbook.xsl.chunker.quiet}"/> - <param name="base.dir" expression="${build.jmx-api}${file.separator}"/> - </style> -+--> - - </target> - diff --git a/net-www/jboss/files/log4j.xml b/net-www/jboss/files/log4j.xml deleted file mode 100644 index 9780ef0ec359..000000000000 --- a/net-www/jboss/files/log4j.xml +++ /dev/null @@ -1,162 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> - -<!-- ===================================================================== --> -<!-- --> -<!-- Log4j Configuration --> -<!-- --> -<!-- ===================================================================== --> - -<!-- $Id: log4j.xml,v 1.1 2002/07/15 03:08:43 mkennedy Exp $ --> - -<!-- - | For more configuration infromation and examples see the Jakarta Log4j - | owebsite: http://jakarta.apache.org/log4j - --> - -<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> - - <!-- ================================= --> - <!-- Preserve messages in a local file --> - <!-- ================================= --> - - <!-- A time/date based rolling appender --> - <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender"> - <param name="File" value="/var/log/jboss/server.log"/> - <param name="Append" value="false"/> - - <!-- Rollover at midnight each day --> -<!-- <param name="DatePattern" value="'.'yyyy-MM-dd"/> --> - - <!-- Rollover at the top of each hour --> - <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/> - - <layout class="org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n --> - <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> - - <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n - <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/> - --> - - </layout> - </appender> - - <!-- A size based file rolling appender - <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender"> - <param name="File" value="${jboss.server.home.dir}/log/server.log"/> - <param name="Append" value="false"/> - <param name="MaxFileSize" value="500KB"/> - <param name="MaxBackupIndex" value="1"/> - - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/> - </layout> - </appender> - --> - - <!-- ============================== --> - <!-- Append messages to the console --> - <!-- ============================== --> - - <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> - <param name="Threshold" value="INFO"/> - <param name="Target" value="System.out"/> - - <layout class="org.apache.log4j.PatternLayout"> - <!-- The default pattern: Date Priority [Category] Message\n --> - <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> - </layout> - </appender> - - - <!-- ====================== --> - <!-- More Appender examples --> - <!-- ====================== --> - - <!-- Buffer events and log them asynchronously - <appender name="ASYNC" class="org.apache.log4j.AsyncAppender"> - <appender-ref ref="FILE"/> - <appender-ref ref="CONSOLE"/> - <appender-ref ref="SMTP"/> - </appender> - --> - - <!-- EMail events to an administrator - <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender"> - <param name="Threshold" value="ERROR"/> - <param name="To" value="admin@myhost.domain.com"/> - <param name="From" value="nobody@myhost.domain.com"/> - <param name="Subject" value="JBoss Sever Errors"/> - <param name="SMTPHost" value="localhost"/> - <param name="BufferSize" value="10"/> - <layout class="org.apache.log4j.PatternLayout"> - <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/> - </layout> - </appender> - --> - - <!-- Syslog events - <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender"> - <param name="Facility" value="LOCAL7"/> - <param name="FacilityPrinting" value="true"/> - <param name="SyslogHost" value="localhost"/> - </appender> - --> - - - <!-- Log events to JMS (requires a topic to be created) - <appender name="JMS" class="org.apache.log4j.net.JMSAppender"> - <param name="Threshold" value="ERROR"/> - <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/> - <param name="TopicBindingName" value="topic/MyErrorsTopic"/> - </appender> - --> - - <!-- ================ --> - <!-- Limit categories --> - <!-- ================ --> - - <!-- Limit JBoss categories to INFO - <category name="org.jboss"> - <priority value="INFO"/> - </category> - --> - - <!-- Increase the priority threshold for the DefaultDS category - <category name="DefaultDS"> - <priority value="FATAL"/> - </category> - --> - - <!-- Decrease the priority threshold for the org.jboss.varia category - <category name="org.jboss.varia"> - <priority value="DEBUG"/> - </category> - --> - - <!-- - | An example of enabling the custom TRACE level priority that is used - | by the JBoss internals to diagnose low level details. This example - | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its - | subpackages. This will produce A LOT of logging output. - If you use replace the log4j 1.2 jar with a 1.1.3 jar you will need to - change this from XLevel to XPriority. - <category name="org.jboss.system"> - <priority value="TRACE" class="org.jboss.logging.XLevel"/> - </category> - <category name="org.jboss.ejb.plugins"> - <priority value="TRACE" class="org.jboss.logging.XLevel"/> - </category> - --> - - <!-- ======================= --> - <!-- Setup the Root category --> - <!-- ======================= --> - - <root> - <appender-ref ref="CONSOLE"/> - <appender-ref ref="FILE"/> - </root> - -</log4j:configuration> diff --git a/net-www/jboss/jboss-3.2.1-r1.ebuild b/net-www/jboss/jboss-3.2.1-r1.ebuild deleted file mode 100644 index 11136126ef7f..000000000000 --- a/net-www/jboss/jboss-3.2.1-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/jboss-3.2.1-r1.ebuild,v 1.7 2004/06/25 15:38:30 agriffis Exp $ - -MY_P="${P}-src" - -DESCRIPTION="The Open Source J2EE app server implementation" -SRC_URI="mirror://sourceforge/jboss/${MY_P}.tgz" -RESTRICT="nomirror" -HOMEPAGE="http://www.jboss.org" -LICENSE="LGPL-2" -IUSE="doc" -SLOT="0" -KEYWORDS="~x86 ~ppc" - -RDEPEND=">=virtual/jdk-1.3" -DEPEND="${RDEPEND} - >=sys-apps/sed-4 - dev-java/ant" - -INSTALL_DIR=/opt/${P} - -S=${WORKDIR}/${MY_P} - -src_compile() { - export JAVA_HOME=${JDK_HOME} - cd build - sh build.sh || die -} - -src_install() { - dodir ${INSTALL_DIR} - dodir ${INSTALL_DIR}/bin - - cp build/output/${PN}-${PV}/bin/run.sh ${D}/${INSTALL_DIR}/bin - cp build/output/${PN}-${PV}/bin/shutdown.sh ${D}/${INSTALL_DIR}/bin - cp build/output/${PN}-${PV}/bin/run.jar ${D}/${INSTALL_DIR}/bin - cp build/output/${PN}-${PV}/bin/shutdown.jar ${D}/${INSTALL_DIR}/bin - - exeinto /etc/init.d - doexe ${FILESDIR}/${PV}/init.d/jboss - - dodir /etc/conf.d - cp ${FILESDIR}/${PV}/conf.d/jboss ${D}/etc/conf.d - - dodir /etc/env.d - cp ${FILESDIR}/${PV}/env.d/50jboss ${D}/etc/env.d - sed -i "s#@JBOSSPREFIX@#${INSTALL_DIR}#" ${D}/etc/env.d/50jboss - - einfo ">>> Setting up configuration files and library packages..." - local dirs="build/output/${PN}-${PV}/server build/output/${PN}-${PV}/lib build/output/${PN}-${PV}/client" - for i in $dirs ; do - cp -a $i ${D}/${INSTALL_DIR}/ - done - cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/all/conf - cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/default/conf - cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/minimal/conf - - # We probably should not do this, because a wide variety of tools - # assume everything under a common JBoss file system. - - einfo ">>> Installing client libraries..." - local dirs="build/output/${PN}-${PV}/client/*" - for i in $dirs ; do - dojar $i - done - - einfo ">>> Setting up documentation..." - dodoc server/src/docs/LICENSE.txt ${FILESDIR}/README.gentoo - if use doc ; then - dohtml -a html,htm,png,gif,css,java -r build/output/${PN}-${PV}/docs/ - fi - - einfo ">>> Creating log directory..." - dodir /var/log/jboss - touch ${D}/var/log/jboss/.keep -} - -pkg_postinst() { - chown -R jboss ${INSTALL_DIR}/server - chgrp -R jboss ${INSTALL_DIR}/server - chown jboss /var/log/jboss - chgrp jboss /var/log/jboss - chmod -R g+w ${INSTALL_DIR}/server - - einfo "" - einfo "Access summary" - einfo "--------------" - einfo " * User jboss and group jboss ownership for" - einfo " ${INSTALL_DIR}/server and higher and " - einfo " /var/log/jboss" - einfo " * User and group read/write permissions for" - einfo " ${INSTALL_DIR}/server and higher" - einfo "" - einfo "Gentoo specific documentation for JBoss is available at" - einfo "/usr/share/doc/${P}/README.gentoo" - einfo "" -} - -pkg_preinst() { - einfo ">>> Adding user and group for JBoss" - if ! groupmod jboss ; then - groupadd jboss || die "problem adding jboss group" - fi - if ! id jboss ; then - useradd jboss -g jboss || die "problem adding jboss user" - fi -} diff --git a/net-www/jboss/jboss-3.2.1.ebuild b/net-www/jboss/jboss-3.2.1.ebuild deleted file mode 100644 index 929ace7f9fa4..000000000000 --- a/net-www/jboss/jboss-3.2.1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/jboss-3.2.1.ebuild,v 1.7 2004/06/25 15:38:30 agriffis Exp $ - -MY_P="${P}-src" - -DESCRIPTION="The Open Source J2EE app server implementation" -SRC_URI="mirror://sourceforge/jboss/${MY_P}.tgz" -RESTRICT="nomirror" -HOMEPAGE="http://www.jboss.org" -LICENSE="LGPL-2" -IUSE="doc" -SLOT="0" -KEYWORDS="~x86" - -RDEPEND=">=virtual/jdk-1.3" -DEPEND="${RDEPEND} - >=sys-apps/sed-4 - dev-java/ant" - -INSTALL_DIR=/opt/${P} - -S=${WORKDIR}/${MY_P} - -src_compile() { - export JAVA_HOME=${JDK_HOME} - cd build - sh build.sh || die -} - -src_install() { - dodir ${INSTALL_DIR} - dodir ${INSTALL_DIR}/bin - - cp build/output/${PN}-${PV}/bin/run.sh ${D}/${INSTALL_DIR}/bin - cp build/output/${PN}-${PV}/bin/shutdown.sh ${D}/${INSTALL_DIR}/bin - cp build/output/${PN}-${PV}/bin/run.jar ${D}/${INSTALL_DIR}/bin - cp build/output/${PN}-${PV}/bin/shutdown.jar ${D}/${INSTALL_DIR}/bin - - exeinto /etc/init.d - doexe ${FILESDIR}/${PV}/init.d/jboss - - dodir /etc/conf.d - cp ${FILESDIR}/${PV}/conf.d/jboss ${D}/etc/conf.d - - dodir /etc/env.d - cp ${FILESDIR}/${PV}/env.d/50jboss ${D}/etc/env.d - sed -i "s#@JBOSSPREFIX@#${INSTALL_DIR}#" ${D}/etc/env.d/50jboss - - einfo ">>> Setting up configuration files and library packages..." - local dirs="build/output/${PN}-${PV}/server build/output/${PN}-${PV}/lib build/output/${PN}-${PV}/client" - for i in $dirs ; do - cp -a $i ${D}/${INSTALL_DIR}/ - done - cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/all/conf - cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/default/conf - cp ${FILESDIR}/${PV}/log4j.xml ${D}/${INSTALL_DIR}/server/minimal/conf - - # We probably should not do this, because a wide variety of tools - # assume everything under a common JBoss file system. - -# einfo ">>> Installing client libraries..." -# local dirs="build/output/${PN}-${PV}/client/*" -# for i in $dirs ; do -# dojar $i -# done - - einfo ">>> Setting up documentation..." - dodoc server/src/docs/LICENSE.txt ${FILESDIR}/README.gentoo - if use doc ; then - dohtml -a html,htm,png,gif,css,java -r build/output/${PN}-${PV}/docs/ - fi - - einfo ">>> Creating log directory..." - dodir /var/log/jboss - touch ${D}/var/log/jboss/.keep -} - -pkg_postinst() { - chown -R jboss ${INSTALL_DIR}/server - chgrp -R jboss ${INSTALL_DIR}/server - chown jboss /var/log/jboss - chgrp jboss /var/log/jboss - chmod -R g+w ${INSTALL_DIR}/server - - einfo "" - einfo "Access summary" - einfo "--------------" - einfo " * User jboss and group jboss ownership for" - einfo " ${INSTALL_DIR}/server and higher and " - einfo " /var/log/jboss" - einfo " * User and group read/write permissions for" - einfo " ${INSTALL_DIR}/server and higher" - einfo "" - einfo "Gentoo specific documentation for JBoss is available at" - einfo "/usr/share/doc/${P}/README.gentoo" - einfo "" -} - -pkg_preinst() { - einfo ">>> Adding user and group for JBoss" - if ! groupmod jboss ; then - groupadd jboss || die "problem adding jboss group" - fi - if ! id jboss ; then - useradd jboss -g jboss || die "problem adding jboss user" - fi -} diff --git a/net-www/jboss/jboss-3.2.3.ebuild b/net-www/jboss/jboss-3.2.3.ebuild deleted file mode 100644 index 22cb6fcb26b6..000000000000 --- a/net-www/jboss/jboss-3.2.3.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/jboss-3.2.3.ebuild,v 1.7 2004/07/28 11:03:12 axxo Exp $ - -inherit eutils - -MY_P="${P}-src" - -DESCRIPTION="The JBoss/Server is the leading Open Source, standards-compliant, J2EE based application server implemented in 100% Pure Java." -SRC_URI="mirror://sourceforge/jboss/${MY_P}.tar.bz2" -RESTRICT="nomirror" -HOMEPAGE="http://www.jboss.org" -LICENSE="LGPL-2" -IUSE="" -SLOT="0" -KEYWORDS="x86 ~ppc ~sparc" - -RDEPEND=">=virtual/jdk-1.3" -DEPEND="${RDEPEND} - app-text/sgml-common - dev-java/ant" - -# This was once an installation into /opt. It has been changed to -# /usr/share/jboss so it conforms to the Linux Filesytem Hierarchy -# Standards. - -INSTALL_DIR=/usr/share/jboss -# INSTALL_DIR=/opt/${P} - -S=${WORKDIR}/${MY_P} - -src_compile() { - [ -n ${JDK_HOME} ] || JDK_HOME=$(java-config --jdk-home) - export JAVA_HOME=${JDK_HOME} - cd build - # For more options on the "groups" parameter, see build/build.xml - sh build.sh -Dgroups=all || die -# sh build.sh || die -} - -src_install() { - dodir ${INSTALL_DIR} - dodir ${INSTALL_DIR}/bin - - for f in run.sh shutdown.sh run.jar shutdown.jar; do - cp build/output/${PN}-${PV}/bin/${f} ${D}/${INSTALL_DIR}/bin - done - - exeinto /etc/init.d - doexe ${FILESDIR}/${PV}/init.d/jboss - dodir /etc/conf.d - cp ${FILESDIR}/${PV}/conf.d/jboss ${D}/etc/conf.d - dodir /etc/env.d - cp ${FILESDIR}/${PV}/env.d/50jboss ${D}/etc/env.d - sed "s#@JBOSSPREFIX@#${INSTALL_DIR}#" \ - <${FILESDIR}/${PV}/env.d/50jboss \ - >${D}/etc/env.d/50jboss - echo 'CONFIG_PROTECT="/var/lib/jboss"' >>${D}/etc/env.d/50jboss - - for i in build/output/${PN}-${PV}/server \ - build/output/${PN}-${PV}/lib \ - build/output/${PN}-${PV}/client - do - cp -a $i ${D}/${INSTALL_DIR}/ - done - - dodir /var/lib/jboss - mv ${D}/${INSTALL_DIR}/server/{all,default,minimal} ${D}/var/lib/jboss - for server in all default minimal; do - cp ${FILESDIR}/${PV}/log4j.xml ${D}/var/lib/jboss/${server}/conf/ - done - rmdir ${D}/${INSTALL_DIR}/server - - local classpath - classpath=$(find ${D}/${INSTALL_DIR}/client -type f -name \*.jar |sed "s,${D}/,,g") - classpath=$(echo ${classpath}) - cat >${D}/usr/share/jboss/package.env <<EOF -DESCRIPTION=Client side libraries for JBoss -CLASSPATH=${classpath// /:} -EOF - - dodoc server/src/docs/LICENSE.txt ${FILESDIR}/README.gentoo - cp -r build/output/${PN}-${PV}/docs/examples ${D}/usr/share/doc/${PF}/ - - insinto /usr/share/sgml/jboss/ - doins build/output/${P}/docs/dtd/* - doins ${FILESDIR}/${PV}/catalog - - keepdir /var/log/jboss - keepdir /var/tmp/jboss - keepdir /var/cache/jboss -} - -without_error() { - $@ &>/dev/null || true -} - -pkg_postinst() { - without_error userdel jboss - without_error groupdel jboss - if ! enewgroup jboss || ! enewuser jboss -1 /bin/sh /dev/null jboss; then - die "Unable to add jboss user and jboss group." - fi - - for dir in /var/log/jboss /var/tmp/jboss /var/cache/jboss /var/lib/jboss; do - chown -R jboss:jboss ${dir} - chmod o-rwx ${dir} - done - - install-catalog --add /etc/sgml/jboss.cat /usr/share/sgml/jboss/catalog -} - -pkg_prerm() { - if [ -e /etc/sgml/jboss.cat ]; then - install-catalog --remove /etc/sgml/jboss.cat /usr/share/sgml/jboss/catalog - fi -} - diff --git a/net-www/jboss/jboss-3.2.5.ebuild b/net-www/jboss/jboss-3.2.5.ebuild deleted file mode 100644 index 8e094044f375..000000000000 --- a/net-www/jboss/jboss-3.2.5.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/jboss-3.2.5.ebuild,v 1.3 2004/07/23 06:05:16 mkennedy Exp $ - -inherit eutils - -MY_P="${P}-src" - -DESCRIPTION="An open source, standards-compliant, J2EE-based application server implemented in 100% Pure Java." -SRC_URI="mirror://sourceforge/jboss/${MY_P}.tar.bz2" -RESTRICT="nomirror" -HOMEPAGE="http://www.jboss.org" -LICENSE="LGPL-2" -IUSE="doc" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc" - -RDEPEND=">=virtual/jdk-1.3" -DEPEND="${RDEPEND} - app-text/sgml-common - dev-java/ant" - -INSTALL_DIR=/usr/share/jboss - -S=${WORKDIR}/${MY_P} - -src_compile() { - [ -n ${JDK_HOME} ] || JDK_HOME=$(java-config --jdk-home) - export JAVA_HOME=${JDK_HOME} - cd build - # For more options on the "groups" parameter, see build/build.xml - sh build.sh -Dgroups=all || die -# sh build.sh || die -} - -src_install() { - dodir ${INSTALL_DIR} - dodir ${INSTALL_DIR}/bin - - for f in run.sh shutdown.sh run.jar shutdown.jar; do - cp build/output/${PN}-${PV}/bin/${f} ${D}/${INSTALL_DIR}/bin - done - - exeinto /etc/init.d - doexe ${FILESDIR}/${PV}/init.d/jboss - dodir /etc/conf.d - cp ${FILESDIR}/${PV}/conf.d/jboss ${D}/etc/conf.d - dodir /etc/env.d - cp ${FILESDIR}/${PV}/env.d/50jboss ${D}/etc/env.d - sed "s#@JBOSSPREFIX@#${INSTALL_DIR}#" \ - <${FILESDIR}/${PV}/env.d/50jboss \ - >${D}/etc/env.d/50jboss -# see NEWS.Gentoo -# echo 'CONFIG_PROTECT="/var/lib/jboss"' >>${D}/etc/env.d/50jboss - - for i in build/output/${PN}-${PV}/server \ - build/output/${PN}-${PV}/lib \ - build/output/${PN}-${PV}/client - do - cp -a $i ${D}/${INSTALL_DIR}/ - done - - dodir /var/lib/jboss - mv ${D}/${INSTALL_DIR}/server/{all,default,minimal} ${D}/var/lib/jboss - for server in all default minimal; do - cp ${FILESDIR}/${PV}/log4j.xml ${D}/var/lib/jboss/${server}/conf/ - done - rmdir ${D}/${INSTALL_DIR}/server - - local classpath - classpath=$(find ${D}/${INSTALL_DIR}/client -type f -name \*.jar |sed "s,${D}/,,g") - classpath=$(echo ${classpath}) - cat >${D}/usr/share/jboss/package.env <<EOF -DESCRIPTION=Client side libraries for JBoss -CLASSPATH=${classpath// /:} -EOF - - dodoc server/src/docs/LICENSE.txt \ - ${FILESDIR}/${PV}/README.Gentoo \ - ${FILESDIR}/${PV}/NEWS.Gentoo - cp -r build/output/${PN}-${PV}/docs/examples ${D}/usr/share/doc/${PF}/ - - insinto /usr/share/sgml/jboss/ - doins build/output/${P}/docs/dtd/* - doins ${FILESDIR}/${PV}/catalog - - keepdir /var/log/jboss - keepdir /var/tmp/jboss - keepdir /var/cache/jboss - - # the following hack is included until we determine how to make - # Catalina believe it lives in /var/lib/jboss/$JBOSS_CONF. - dosym /var/lib/jboss /usr/share/jboss/server -} - -without_error() { - $@ &>/dev/null || true -} - -pkg_postinst() { - without_error userdel jboss - without_error groupdel jboss - if ! enewgroup jboss || ! enewuser jboss -1 /bin/sh /dev/null jboss; then - die "Unable to add jboss user and jboss group." - fi - - for dir in /var/log/jboss /var/tmp/jboss /var/cache/jboss /var/lib/jboss; do - chown -R jboss:jboss ${dir} - chmod o-rwx ${dir} - done - - install-catalog --add /etc/sgml/jboss.cat /usr/share/sgml/jboss/catalog -} - -pkg_prerm() { - if [ -e /etc/sgml/jboss.cat ]; then - install-catalog --remove /etc/sgml/jboss.cat /usr/share/sgml/jboss/catalog - fi -} diff --git a/net-www/jboss/metadata.xml b/net-www/jboss/metadata.xml deleted file mode 100644 index e3ee040097e9..000000000000 --- a/net-www/jboss/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>java</herd> - <maintainer> - <email>mkennedy@gentoo.org</email> - <name>Matthew Kennedy</name> - </maintainer> - <longdescription> - The JBoss/Server is the leading Open Source, standards-compliant, - J2EE based application server implemented in 100% Pure Java. - </longdescription> -</pkgmetadata> |