summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-07-20 03:50:56 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-07-20 03:50:56 +0000
commitfb2e289ee600b9af4c9d53cfd7687a5341dec01b (patch)
treeec431e9ef5cac2cde738e33b56b76ffbd0005bf4 /net-www/jboss
parentstable, ebuild cleanup. (Manifest recommit) (diff)
downloadgentoo-2-fb2e289ee600b9af4c9d53cfd7687a5341dec01b.tar.gz
gentoo-2-fb2e289ee600b9af4c9d53cfd7687a5341dec01b.tar.bz2
gentoo-2-fb2e289ee600b9af4c9d53cfd7687a5341dec01b.zip
*** empty log message ***
Diffstat (limited to 'net-www/jboss')
-rw-r--r--net-www/jboss/ChangeLog13
-rw-r--r--net-www/jboss/Manifest35
-rw-r--r--net-www/jboss/files/3.2.5/NEWS.Gentoo46
-rw-r--r--net-www/jboss/files/3.2.5/README.Gentoo62
-rw-r--r--net-www/jboss/files/3.2.5/catalog27
-rw-r--r--net-www/jboss/files/3.2.5/conf.d/jboss82
-rw-r--r--net-www/jboss/files/3.2.5/env.d/50jboss1
-rw-r--r--net-www/jboss/files/3.2.5/init.d/jboss37
-rw-r--r--net-www/jboss/files/3.2.5/log4j.xml167
-rw-r--r--net-www/jboss/files/digest-jboss-3.2.51
-rw-r--r--net-www/jboss/jboss-3.2.5.ebuild115
-rw-r--r--net-www/jboss/metadata.xml4
12 files changed, 576 insertions, 14 deletions
diff --git a/net-www/jboss/ChangeLog b/net-www/jboss/ChangeLog
index 6096caa3018a..32a6f9866bcc 100644
--- a/net-www/jboss/ChangeLog
+++ b/net-www/jboss/ChangeLog
@@ -1,6 +1,17 @@
# 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.19 2004/06/25 15:38:30 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/jboss/ChangeLog,v 1.20 2004/07/20 03:50:56 mkennedy Exp $
+
+*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:
diff --git a/net-www/jboss/Manifest b/net-www/jboss/Manifest
index c69ef2788891..1492f9c7bf99 100644
--- a/net-www/jboss/Manifest
+++ b/net-www/jboss/Manifest
@@ -1,23 +1,32 @@
-MD5 d1409fd1d08b516a0bdcbb139eb9408f jboss-3.2.1.ebuild 3103
+MD5 22870f018a42680157c3cc8ef0afc9ba jboss-3.2.5.ebuild~ 3228
+MD5 d1decfd81fe92305b6a22b237aeb8424 jboss-3.2.5.ebuild 3029
MD5 22870f018a42680157c3cc8ef0afc9ba jboss-3.2.3.ebuild 3228
-MD5 7ef2ad06769c111fa0296ee23120e22d jboss-3.2.1-r1.ebuild 3101
+MD5 d1409fd1d08b516a0bdcbb139eb9408f jboss-3.2.1.ebuild 3103
MD5 3e6b85bf663170e0a5cd72be5f9f3da1 ChangeLog 3563
-MD5 bd17ff9b8b69c862ad365fc9af75bf29 metadata.xml 262
-MD5 83b6857488b5fca7fbe0b9f5cc841237 files/README.gentoo 1319
+MD5 7ef2ad06769c111fa0296ee23120e22d jboss-3.2.1-r1.ebuild 3101
+MD5 d3dc023c899ddec4c1dd2f4cb3c0cd36 metadata.xml 438
MD5 18692f3609e3c62b4505a3f41d7d1fca files/digest-jboss-3.2.1 66
+MD5 18692f3609e3c62b4505a3f41d7d1fca files/digest-jboss-3.2.1-r1 66
MD5 8aecde4804a622cc5743b0644efc482b files/digest-jboss-3.2.3 70
+MD5 83b6857488b5fca7fbe0b9f5cc841237 files/README.gentoo 1319
MD5 e7f2e7b69b77430017fe58448ca68772 files/jboss-3.0.6-connector.patch 549
-MD5 18692f3609e3c62b4505a3f41d7d1fca files/digest-jboss-3.2.1-r1 66
+MD5 a5fc83970a0550d5715d05464816c227 files/digest-jboss-3.2.5 70
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 e282e72230397784cfd6a0d6c4e794ed files/conf.d/jboss 988
+MD5 c232658844375714820675ff2e4a4f0a files/3.2.3/log4j.xml 5632
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 4662db6a030cb02f46ed3bfe486b90c6 files/3.2.1/log4j.xml 5632
+MD5 e282e72230397784cfd6a0d6c4e794ed files/conf.d/jboss 988
+MD5 f89cbfbbae9c0c2482d08d58169e597a files/3.2.5/README.Gentoo 1510
+MD5 1fdd4664aceb87d0ecd21dbaae57967e files/3.2.5/catalog 1587
+MD5 c232658844375714820675ff2e4a4f0a files/3.2.5/log4j.xml 5632
MD5 db656d1fcd5ff22129cd47377e9928f2 files/3.2.3/init.d/jboss 861
+MD5 4b1e766357e28233b17668ff6c2bb64e files/3.2.3/conf.d/jboss 2756
+MD5 8be6a5609fb1d490b808a3124052e0ba files/3.2.3/env.d/50jboss 27
+MD5 b50fd8eb6a613bcca13831d68c07e666 files/3.2.1/init.d/jboss 860
+MD5 3cc5cee301d9de0f72256b51e89f148e files/3.2.1/conf.d/jboss 1295
+MD5 8be6a5609fb1d490b808a3124052e0ba files/3.2.1/env.d/50jboss 27
+MD5 db656d1fcd5ff22129cd47377e9928f2 files/3.2.5/init.d/jboss 861
+MD5 4b1e766357e28233b17668ff6c2bb64e files/3.2.5/conf.d/jboss 2756
+MD5 8be6a5609fb1d490b808a3124052e0ba files/3.2.5/env.d/50jboss 27
diff --git a/net-www/jboss/files/3.2.5/NEWS.Gentoo b/net-www/jboss/files/3.2.5/NEWS.Gentoo
new file mode 100644
index 000000000000..d036c3b88772
--- /dev/null
+++ b/net-www/jboss/files/3.2.5/NEWS.Gentoo
@@ -0,0 +1,46 @@
+-*-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
new file mode 100644
index 000000000000..e99fed3c0338
--- /dev/null
+++ b/net-www/jboss/files/3.2.5/README.Gentoo
@@ -0,0 +1,62 @@
+-*-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
new file mode 100644
index 000000000000..91c09e9fc7de
--- /dev/null
+++ b/net-www/jboss/files/3.2.5/catalog
@@ -0,0 +1,27 @@
+
+ -- 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
new file mode 100644
index 000000000000..9147dbf054c8
--- /dev/null
+++ b/net-www/jboss/files/3.2.5/conf.d/jboss
@@ -0,0 +1,82 @@
+# -*- 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.5/env.d/50jboss b/net-www/jboss/files/3.2.5/env.d/50jboss
new file mode 100644
index 000000000000..92bc5e1feb30
--- /dev/null
+++ b/net-www/jboss/files/3.2.5/env.d/50jboss
@@ -0,0 +1 @@
+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
new file mode 100644
index 000000000000..7427a49ee4bb
--- /dev/null
+++ b/net-www/jboss/files/3.2.5/init.d/jboss
@@ -0,0 +1,37 @@
+#!/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
new file mode 100644
index 000000000000..c2f6f7ed6205
--- /dev/null
+++ b/net-www/jboss/files/3.2.5/log4j.xml
@@ -0,0 +1,167 @@
+<?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/digest-jboss-3.2.5 b/net-www/jboss/files/digest-jboss-3.2.5
new file mode 100644
index 000000000000..23e2fda3d83f
--- /dev/null
+++ b/net-www/jboss/files/digest-jboss-3.2.5
@@ -0,0 +1 @@
+MD5 c82e127e1dd80d755f11970a4ee72c3a jboss-3.2.5-src.tar.bz2 33212056
diff --git a/net-www/jboss/jboss-3.2.5.ebuild b/net-www/jboss/jboss-3.2.5.ebuild
new file mode 100644
index 000000000000..17118dc7452a
--- /dev/null
+++ b/net-www/jboss/jboss-3.2.5.ebuild
@@ -0,0 +1,115 @@
+# 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.1 2004/07/20 03:50:56 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
+}
+
+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
index bde0be74b322..e3ee040097e9 100644
--- a/net-www/jboss/metadata.xml
+++ b/net-www/jboss/metadata.xml
@@ -6,4 +6,8 @@
<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>