summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-servers/jboss/ChangeLog8
-rw-r--r--www-servers/jboss/files/3.2.1/conf.d/jboss41
-rw-r--r--www-servers/jboss/files/3.2.1/env.d/50jboss1
-rw-r--r--www-servers/jboss/files/3.2.1/init.d/jboss37
-rw-r--r--www-servers/jboss/files/3.2.1/log4j.xml162
-rw-r--r--www-servers/jboss/files/digest-jboss-3.2.11
-rw-r--r--www-servers/jboss/files/digest-jboss-3.2.1-r11
-rw-r--r--www-servers/jboss/files/jboss-3.0.6-connector.patch18
-rw-r--r--www-servers/jboss/jboss-3.2.1-r1.ebuild108
-rw-r--r--www-servers/jboss/jboss-3.2.1.ebuild108
10 files changed, 7 insertions, 478 deletions
diff --git a/www-servers/jboss/ChangeLog b/www-servers/jboss/ChangeLog
index cfdb0ae67e24..e126b0e19493 100644
--- a/www-servers/jboss/ChangeLog
+++ b/www-servers/jboss/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for net-www/jboss
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/ChangeLog,v 1.2 2004/09/03 15:58:51 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/jboss/ChangeLog,v 1.3 2004/09/03 20:43:57 caleb Exp $
03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
jboss-3.2.1-r1.ebuild, jboss-3.2.3.ebuild:
@@ -10,6 +10,12 @@
jboss-3.2.1-r1.ebuild:
Masked jboss-3.2.1-r1.ebuild stable for ppc
+ 03 Sep 2004; Caleb Tennis <caleb@gentoo.org>
+ -files/jboss-3.0.6-connector.patch, -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, jboss-3.2.1-r1.ebuild, -jboss-3.2.1.ebuild:
+ Removing old versions that were package masked
+
*jboss-3.2.5 (08 Aug 2004)
08 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml,
diff --git a/www-servers/jboss/files/3.2.1/conf.d/jboss b/www-servers/jboss/files/3.2.1/conf.d/jboss
deleted file mode 100644
index f52276c8b5c0..000000000000
--- a/www-servers/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/www-servers/jboss/files/3.2.1/env.d/50jboss b/www-servers/jboss/files/3.2.1/env.d/50jboss
deleted file mode 100644
index 92bc5e1feb30..000000000000
--- a/www-servers/jboss/files/3.2.1/env.d/50jboss
+++ /dev/null
@@ -1 +0,0 @@
-JBOSS_HOME="@JBOSSPREFIX@"
diff --git a/www-servers/jboss/files/3.2.1/init.d/jboss b/www-servers/jboss/files/3.2.1/init.d/jboss
deleted file mode 100644
index 851493c41b00..000000000000
--- a/www-servers/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/www-servers/jboss/files/3.2.1/init.d/jboss,v 1.1 2004/08/08 17:14:24 stuart 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/www-servers/jboss/files/3.2.1/log4j.xml b/www-servers/jboss/files/3.2.1/log4j.xml
deleted file mode 100644
index 13f403a34560..000000000000
--- a/www-servers/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 2004/08/08 17:14:24 stuart 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/www-servers/jboss/files/digest-jboss-3.2.1 b/www-servers/jboss/files/digest-jboss-3.2.1
deleted file mode 100644
index 20b8409558a0..000000000000
--- a/www-servers/jboss/files/digest-jboss-3.2.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 98a66b0f148c4a8303907e96963a8bcb jboss-3.2.1-src.tgz 28592569
diff --git a/www-servers/jboss/files/digest-jboss-3.2.1-r1 b/www-servers/jboss/files/digest-jboss-3.2.1-r1
deleted file mode 100644
index 20b8409558a0..000000000000
--- a/www-servers/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/www-servers/jboss/files/jboss-3.0.6-connector.patch b/www-servers/jboss/files/jboss-3.0.6-connector.patch
deleted file mode 100644
index 0dc445adf406..000000000000
--- a/www-servers/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/www-servers/jboss/jboss-3.2.1-r1.ebuild b/www-servers/jboss/jboss-3.2.1-r1.ebuild
deleted file mode 100644
index 5a64fbaf648d..000000000000
--- a/www-servers/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/www-servers/jboss/jboss-3.2.1-r1.ebuild,v 1.2 2004/09/03 15:58:51 pvdabeel 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/www-servers/jboss/jboss-3.2.1.ebuild b/www-servers/jboss/jboss-3.2.1.ebuild
deleted file mode 100644
index 0179289df0e3..000000000000
--- a/www-servers/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/www-servers/jboss/jboss-3.2.1.ebuild,v 1.1 2004/08/08 17:14:24 stuart 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
-}