summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-12-14 09:54:48 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-12-14 09:54:48 +0000
commitd7c8d4773974a9542130667e8c0e06cc7d8038da (patch)
treec36c0534184fbc97ce2de14cdef4555a1b32a177 /www-servers
parentAdd missing init.d/conf.d files. (diff)
downloadgentoo-2-d7c8d4773974a9542130667e8c0e06cc7d8038da.tar.gz
gentoo-2-d7c8d4773974a9542130667e8c0e06cc7d8038da.tar.bz2
gentoo-2-d7c8d4773974a9542130667e8c0e06cc7d8038da.zip
Remove old Resin 2.1.17.
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/resin/ChangeLog7
-rw-r--r--www-servers/resin/files/2.1.17/21resin2
-rw-r--r--www-servers/resin/files/2.1.17/resin.conf36
-rw-r--r--www-servers/resin/files/2.1.17/resin.diff20
-rw-r--r--www-servers/resin/files/2.1.17/resin.init32
-rw-r--r--www-servers/resin/files/digest-resin-2.1.173
-rw-r--r--www-servers/resin/resin-2.1.17.ebuild99
7 files changed, 6 insertions, 193 deletions
diff --git a/www-servers/resin/ChangeLog b/www-servers/resin/ChangeLog
index 39d4c94476cd..f5f5ec4481ea 100644
--- a/www-servers/resin/ChangeLog
+++ b/www-servers/resin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-servers/resin
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.62 2007/12/14 09:51:38 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.63 2007/12/14 09:54:47 nelchael Exp $
+
+ 14 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org> -files/2.1.17/21resin,
+ -files/2.1.17/resin.conf, -files/2.1.17/resin.diff,
+ -files/2.1.17/resin.init, -resin-2.1.17.ebuild:
+ Remove old Resin 2.1.17.
14 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+files/3.0.25/resin.conf, +files/3.0.25/resin.init,
diff --git a/www-servers/resin/files/2.1.17/21resin b/www-servers/resin/files/2.1.17/21resin
deleted file mode 100644
index 5a3ecc5b6e96..000000000000
--- a/www-servers/resin/files/2.1.17/21resin
+++ /dev/null
@@ -1,2 +0,0 @@
-RESIN_HOME=/opt/resin
-CONFIG_PROTECT=/opt/resin/conf
diff --git a/www-servers/resin/files/2.1.17/resin.conf b/www-servers/resin/files/2.1.17/resin.conf
deleted file mode 100644
index 8a09ee795a0c..000000000000
--- a/www-servers/resin/files/2.1.17/resin.conf
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/files/2.1.17/resin.conf,v 1.1 2006/07/29 16:24:35 nelchael Exp $
-
-# JVM Runtime
-# Using the default setting, it will determine your JVM from the system-vm
-# set using java-config.
-# See java-config(1) manual page for assistance in determining this value.
-#
-# You can override this value with whatever path you wish.
-# Example: JAVA_HOME=/opt/sun-jdk-1.4.1.01
-
-#JAVA_HOME=`java-config -O`
-
-# (Optional) Java runtime options used when the "start", "stop", or "run"
-# commands are executed.
-# JAVA_OPTS=""
-
-# Where your Resin is installed
-RESIN_HOME=/opt/resin
-SERVER_ROOT=${RESIN_HOME}
-
-# Resin's User
-RESIN_USER=resin
-
-# Resin Log Locations
-RESIN_OUT=/var/log/resin/resin_out.log
-RESIN_ERR=/var/log/resin/resin_err.log
-
-# Location of the Resin JARs and classes
-RESIN_LIBDIR=/usr/share/resin/lib
-
-# The CLASSPATH for Resin to use, plus any others you need.
-CLASSPATH=`/bin/grep -e "CLASSPATH" /usr/share/resin/package.env | /bin/sed -e "s/CLASSPATH=//"`:${RESIN_LIBDIR}/lib
-
-# START/STOP settings
-RESIN_START="-java_home ${JAVA_HOME} -resin_home ${RESIN_HOME} -stdout ${RESIN_OUT} -stderr ${RESIN_ERR} start"
-RESIN_STOP="stop"
diff --git a/www-servers/resin/files/2.1.17/resin.diff b/www-servers/resin/files/2.1.17/resin.diff
deleted file mode 100644
index 156f1e020d31..000000000000
--- a/www-servers/resin/files/2.1.17/resin.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- bin/wrapper.pl.orig 2003-04-30 08:35:27.000000000 -0400
-+++ bin/wrapper.pl 2003-04-30 08:39:56.000000000 -0400
-@@ -381,7 +381,7 @@
- chop($pid);
-
- if ($cmd eq "stop") {
-- print("Stopping ${name}\n");
-+ print("");
- }
- kill(15, $pid);
- unlink($pid_file);
-@@ -652,7 +652,7 @@
- $date = `date`;
- chop($date);
-
-- print("Resin $name $cmd at $date\n");
-+ print("");
-
- # create a keepalive socket
- # when the wrapper dies, the httpd class will detect that and
diff --git a/www-servers/resin/files/2.1.17/resin.init b/www-servers/resin/files/2.1.17/resin.init
deleted file mode 100644
index 1e6914734079..000000000000
--- a/www-servers/resin/files/2.1.17/resin.init
+++ /dev/null
@@ -1,32 +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/resin/files/2.1.17/resin.init,v 1.1 2006/07/29 16:24:35 nelchael Exp $
-
-depend() {
- need net
- use dns logger mysql postgresql
-}
-
-start() {
- ebegin "Starting Resin"
- cd ${RESIN_HOME}
- su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_START}"
- eend $?
-}
-
-stop() {
- ebegin "Stopping Resin"
- su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_STOP}"
- sleep 2
- eend $?
-}
-
-restart() {
- ebegin "Restarting Resin"
- su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_STOP}"
- sleep 5
- cd ${RESIN_HOME}
- su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_START}"
- eend $?
-}
diff --git a/www-servers/resin/files/digest-resin-2.1.17 b/www-servers/resin/files/digest-resin-2.1.17
deleted file mode 100644
index ab8db8429155..000000000000
--- a/www-servers/resin/files/digest-resin-2.1.17
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 20ccf9f922ce02b6b9d2fa1e0b4042d5 resin-2.1.17.tar.gz 3239401
-RMD160 5fcf2e7680bfad1531cf75d384dcd8f15c19f639 resin-2.1.17.tar.gz 3239401
-SHA256 70c681d45f34b1992fbdfb2024970c52a6be20b8cd23855903630e1476a89b92 resin-2.1.17.tar.gz 3239401
diff --git a/www-servers/resin/resin-2.1.17.ebuild b/www-servers/resin/resin-2.1.17.ebuild
deleted file mode 100644
index c797f881648b..000000000000
--- a/www-servers/resin/resin-2.1.17.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-2.1.17.ebuild,v 1.7 2007/10/08 12:51:15 nelchael Exp $
-
-inherit java-pkg eutils
-
-DESCRIPTION="A fast Servlet 2.3 and JSP 1.2 engine with EJB and distributed session load balancing."
-SRC_URI="http://www.caucho.com/download/${P}.tar.gz"
-HOMEPAGE="http://www.caucho.com"
-KEYWORDS="amd64 ~ppc x86"
-LICENSE="CAUCHO"
-SLOT="0"
-DEPEND="!www-servers/resin-ee"
-RDEPEND=">=virtual/jdk-1.2
- dev-lang/perl"
-IUSE=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PV}/${PN}.diff"
-}
-
-pkg_preinst() {
- enewgroup resin
- enewuser resin -1 /bin/bash /opt/resin resin
- chown -R resin:resin "${D}/opt/resin"
- chown -R resin:resin "${D}/var/log/${PN}"
-}
-src_compile() { :; }
-
-src_install() {
- cd "${S}"
- RESIN_HOME="/opt/resin"
- diropts -m0755
-
- # Create directories
- dodir ${RESIN_HOME}
- dodir /var/log/${PN}
- dosym /var/log/${PN} ${RESIN_HOME}/logs
- keepdir /var/log/${PN}/
-
- # INIT SCRIPTS AND ENV
- newinitd "${FILESDIR}/${PV}/resin.init" "${PN}"
- newconfd "${FILESDIR}/${PV}/resin.conf" "${PN}"
- doenvd "${FILESDIR}/${PV}/21resin"
-
- dodir /opt/resin || die
- dodoc LICENSE readme.txt
-
- java-pkg_dojar lib/*.jar
-
- cp -Rdp \
- bin \
- doc \
- conf \
- contrib \
- webapps \
- xsl \
- "${D}${RESIN_HOME}" || die
- dosym /usr/share/${PN}/lib ${RESIN_HOME}/lib
-}
-
-pkg_postinst() {
- elog
- elog " NOTICE!"
- elog " User and group 'resin' have been added."
- elog
- elog " FILE LOCATIONS:"
- elog " 1. Resin home directory: ${RESIN_HOME}"
- elog " Contains application data, configuration files."
- elog " 2. Runtime settings: /etc/conf.d/resin"
- elog " Contains CLASSPATH and JAVA_HOME settings."
- elog " 3. Logs: /var/log/resin/"
- elog " 4. Executables, libraries: /usr/share/resin/"
- elog
- elog " STARTING AND STOPPING RESIN:"
- elog " /etc/init.d/resin start"
- elog " /etc/init.d/resin stop"
- elog " /etc/init.d/resin restart"
- elog
- elog " NETWORK CONFIGURATION:"
- elog " By default, Resin runs on port 8080. You can change this"
- elog " value by editing ${RESIN_HOME}/conf/resin.conf."
- elog
- elog " To test Resin while it's running, point your web browser to:"
- elog " http://localhost:8080/"
- elog
- elog " Resin cannot run on port 80 as non-root (as of this time)."
- elog " The best way to get Resin to respond on port 80 is via port"
- elog " forwarding -- by installing a firewall on the machine running"
- elog " Resin or the network gateway. Simply redirect port 80 to"
- elog " port 8080."
- elog
- elog " BUGS:"
- elog " Please file any bugs at http://bugs.gentoo.org/ or else it"
- elog " may not get seen. Thank you."
- elog
-}