summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-08-08 18:30:35 +0000
committerStuart Herbert <stuart@gentoo.org>2004-08-08 18:30:35 +0000
commit0647c0e6e650abb313ace07dccd61f0b46c350da (patch)
tree4ad39c1678e5bc968aad8e1efa06361d435fec54 /net-www
parentMoved from net-www/resin-ee to www-servers/resin-ee. (diff)
downloadgentoo-2-0647c0e6e650abb313ace07dccd61f0b46c350da.tar.gz
gentoo-2-0647c0e6e650abb313ace07dccd61f0b46c350da.tar.bz2
gentoo-2-0647c0e6e650abb313ace07dccd61f0b46c350da.zip
Moving to www-servers/resin-ee
Diffstat (limited to 'net-www')
-rw-r--r--net-www/resin-ee/ChangeLog37
-rw-r--r--net-www/resin-ee/Manifest24
-rw-r--r--net-www/resin-ee/files/2.1.14/21resin2
-rw-r--r--net-www/resin-ee/files/2.1.14/resin-ee.diff20
-rw-r--r--net-www/resin-ee/files/2.1.14/resin.conf36
-rw-r--r--net-www/resin-ee/files/2.1.14/resin.init32
-rw-r--r--net-www/resin-ee/files/2.1.9/21resin2
-rw-r--r--net-www/resin-ee/files/2.1.9/resin-ee.diff20
-rw-r--r--net-www/resin-ee/files/2.1.9/resin.conf36
-rw-r--r--net-www/resin-ee/files/2.1.9/resin.init32
-rw-r--r--net-www/resin-ee/files/digest-resin-ee-2.1.141
-rw-r--r--net-www/resin-ee/files/digest-resin-ee-2.1.91
-rw-r--r--net-www/resin-ee/metadata.xml5
-rw-r--r--net-www/resin-ee/resin-ee-2.1.14.ebuild125
-rw-r--r--net-www/resin-ee/resin-ee-2.1.9.ebuild125
15 files changed, 0 insertions, 498 deletions
diff --git a/net-www/resin-ee/ChangeLog b/net-www/resin-ee/ChangeLog
deleted file mode 100644
index e6484f3a0ff7..000000000000
--- a/net-www/resin-ee/ChangeLog
+++ /dev/null
@@ -1,37 +0,0 @@
-# ChangeLog for net-www/resin-ee
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/resin-ee/ChangeLog,v 1.6 2004/07/29 22:45:02 axxo Exp $
-
-*resin-ee-2.1.14 (30 Jul 2004)
-
- 30 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +files/2.1.14/21resin,
- +files/2.1.14/resin-ee.diff, +files/2.1.14/resin.conf,
- +files/2.1.14/resin.init, +resin-ee-2.1.14.ebuild:
- version bump
-
- 26 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
- resin-ee-2.1.9.ebuild:
- ebuild cleanup
-
- 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> resin-ee-2.1.9.ebuild:
- Add inherit eutils
-
- 15 Dec 2003; <spider@gentoo.org> resin-ee-2.1.9.ebuild:
- QA: fixing chown user.group to user:group, bug #35127
-
-*resin-ee-2.1.9 (30 Apr 2003)
-
- 30 Apr 2003; Dylan Carlson <absinthe@gentoo.org> resin-ee-2.1.9.ebuild,
- files/2.1.9/21resin, files/2.1.9/resin-ee.diff, files/2.1.9/resin.conf,
- files/2.1.9/resin.init:
- Initial import.
-
- With the addition of EE, I am setting both net-www/resin and net-www/resin-ee
- to block each other. The only real difference from an installation perspective
- is that resin-ee classes install to /usr/share/resin-ee/lib/. While it is
- possible to configure both ebuilds to install to different locations, I doubt
- this will be of any practical value to anyone (since logically you would never
- run both on the same system).
-
- If anyone feels strongly against this, file a bug and it will be re-evaluated.
-
diff --git a/net-www/resin-ee/Manifest b/net-www/resin-ee/Manifest
deleted file mode 100644
index 7a7a5eb90814..000000000000
--- a/net-www/resin-ee/Manifest
+++ /dev/null
@@ -1,24 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 01e94e210fb4cc8e18ec74b78ac7435b resin-ee-2.1.14.ebuild 3164
-MD5 a9fa5ef8d5efb97f515148e30b9e988c resin-ee-2.1.9.ebuild 3162
-MD5 e059eceb5b8a8aba487c96c1e7b03df6 ChangeLog 1491
-MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
-MD5 36fc2b396b7ee1ff19c9c65c296cf9e4 files/digest-resin-ee-2.1.9 67
-MD5 956a08a7d0b49fa1d2ce70e7329115e5 files/digest-resin-ee-2.1.14 68
-MD5 969f7943a7910e5664be964330842ad7 files/2.1.9/resin.conf 1248
-MD5 4a4c6718efe678b7d309ca40a3440708 files/2.1.9/resin.init 784
-MD5 a810be4b68e920ebc5d2cf8160a5642a files/2.1.9/21resin 53
-MD5 cc895b3b901369aa2c6d80fb88369113 files/2.1.9/resin-ee.diff 504
-MD5 18cc6b4786d407e64f08d1470dd32fad files/2.1.14/resin.conf 1182
-MD5 007076531c860f649f2104ff51bbd398 files/2.1.14/resin.init 781
-MD5 a810be4b68e920ebc5d2cf8160a5642a files/2.1.14/21resin 53
-MD5 cc895b3b901369aa2c6d80fb88369113 files/2.1.14/resin-ee.diff 504
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFBCX5X/rLF9B432nYRAgRDAJ4oPw2iEWDr8LdBtqr4WVFT3VfEhgCfWY4A
-FtJAWdrULJpO+14OGq02akw=
-=rw5l
------END PGP SIGNATURE-----
diff --git a/net-www/resin-ee/files/2.1.14/21resin b/net-www/resin-ee/files/2.1.14/21resin
deleted file mode 100644
index 5a3ecc5b6e96..000000000000
--- a/net-www/resin-ee/files/2.1.14/21resin
+++ /dev/null
@@ -1,2 +0,0 @@
-RESIN_HOME=/opt/resin
-CONFIG_PROTECT=/opt/resin/conf
diff --git a/net-www/resin-ee/files/2.1.14/resin-ee.diff b/net-www/resin-ee/files/2.1.14/resin-ee.diff
deleted file mode 100644
index 156f1e020d31..000000000000
--- a/net-www/resin-ee/files/2.1.14/resin-ee.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/net-www/resin-ee/files/2.1.14/resin.conf b/net-www/resin-ee/files/2.1.14/resin.conf
deleted file mode 100644
index 9251b16fad2d..000000000000
--- a/net-www/resin-ee/files/2.1.14/resin.conf
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Header: /var/cvsroot/gentoo-x86/net-www/resin-ee/files/2.1.14/resin.conf,v 1.1 2004/07/29 22:45:02 axxo 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-ee/lib
-
-# The CLASSPATH for Resin to use, plus any others you need.
-CLASSPATH=`/bin/grep -e "CLASSPATH" /usr/share/resin-ee/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/net-www/resin-ee/files/2.1.14/resin.init b/net-www/resin-ee/files/2.1.14/resin.init
deleted file mode 100644
index 79b6a060cd0f..000000000000
--- a/net-www/resin-ee/files/2.1.14/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/net-www/resin-ee/files/2.1.14/resin.init,v 1.1 2004/07/29 22:45:02 axxo Exp $
-
-depend() {
- need net
- use dns logger mysql postgresql
-}
-
-start() {
- ebegin "Starting Resin Enterprise"
- cd ${RESIN_HOME}
- su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_START}"
- eend $?
-}
-
-stop() {
- ebegin "Stopping Resin Enterprise"
- su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_STOP}"
- sleep 2
- eend $?
-}
-
-restart() {
- ebegin "Restarting Resin Enterprise"
- 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/net-www/resin-ee/files/2.1.9/21resin b/net-www/resin-ee/files/2.1.9/21resin
deleted file mode 100644
index 5a3ecc5b6e96..000000000000
--- a/net-www/resin-ee/files/2.1.9/21resin
+++ /dev/null
@@ -1,2 +0,0 @@
-RESIN_HOME=/opt/resin
-CONFIG_PROTECT=/opt/resin/conf
diff --git a/net-www/resin-ee/files/2.1.9/resin-ee.diff b/net-www/resin-ee/files/2.1.9/resin-ee.diff
deleted file mode 100644
index 156f1e020d31..000000000000
--- a/net-www/resin-ee/files/2.1.9/resin-ee.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/net-www/resin-ee/files/2.1.9/resin.conf b/net-www/resin-ee/files/2.1.9/resin.conf
deleted file mode 100644
index 43f025ae5f0e..000000000000
--- a/net-www/resin-ee/files/2.1.9/resin.conf
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Header: /var/cvsroot/gentoo-x86/net-www/resin-ee/files/2.1.9/resin.conf,v 1.2 2004/07/18 04:27:33 dragonheart 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=`/bin/grep -e "JAVA_HOME" /etc/profile.env | /bin/sed -e "s/^.*'\(.*\)'$/\1/"`
-
-# (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-ee/lib
-
-# The CLASSPATH for Resin to use, plus any others you need.
-CLASSPATH=`/bin/grep -e "CLASSPATH" /usr/share/resin-ee/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/net-www/resin-ee/files/2.1.9/resin.init b/net-www/resin-ee/files/2.1.9/resin.init
deleted file mode 100644
index 243e9301f037..000000000000
--- a/net-www/resin-ee/files/2.1.9/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/net-www/resin-ee/files/2.1.9/resin.init,v 1.3 2004/07/15 00:33:28 agriffis Exp $
-
-depend() {
- need net
- use dns logger mysql postgresql
-}
-
-start() {
- ebegin "Starting Resin Enterprise"
- cd ${RESIN_HOME}
- su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_START}"
- eend $?
-}
-
-stop() {
- ebegin "Stopping Resin Enterprise"
- su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_STOP}"
- sleep 2
- eend $?
-}
-
-restart() {
- ebegin "Restarting Resin Enterprise"
- 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/net-www/resin-ee/files/digest-resin-ee-2.1.14 b/net-www/resin-ee/files/digest-resin-ee-2.1.14
deleted file mode 100644
index 15e53eca7cca..000000000000
--- a/net-www/resin-ee/files/digest-resin-ee-2.1.14
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6dc37c2a527fda2b74e7152f80258e83 resin-ee-2.1.14.tar.gz 5053607
diff --git a/net-www/resin-ee/files/digest-resin-ee-2.1.9 b/net-www/resin-ee/files/digest-resin-ee-2.1.9
deleted file mode 100644
index 22c1e6589ade..000000000000
--- a/net-www/resin-ee/files/digest-resin-ee-2.1.9
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c43ed7a62b3ffffeb1260e3cebda391f resin-ee-2.1.9.tar.gz 4792757
diff --git a/net-www/resin-ee/metadata.xml b/net-www/resin-ee/metadata.xml
deleted file mode 100644
index 838c00a4a448..000000000000
--- a/net-www/resin-ee/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>java</herd>
-</pkgmetadata>
diff --git a/net-www/resin-ee/resin-ee-2.1.14.ebuild b/net-www/resin-ee/resin-ee-2.1.14.ebuild
deleted file mode 100644
index 643c73891224..000000000000
--- a/net-www/resin-ee/resin-ee-2.1.14.ebuild
+++ /dev/null
@@ -1,125 +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/resin-ee/resin-ee-2.1.14.ebuild,v 1.1 2004/07/29 22:45:02 axxo Exp $
-
-inherit java-pkg eutils
-
-S=${WORKDIR}/${P}
-DESCRIPTION="The Enterprise Edition of Resin"
-SRC_URI="http://www.caucho.com/download/${P}.tar.gz"
-HOMEPAGE="http://www.caucho.com"
-KEYWORDS="~x86 ~ppc ~sparc"
-LICENSE="CAUCHO"
-SLOT="0"
-DEPEND="!net-www/resin"
-RDEPEND=">=virtual/jdk-1.2"
-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
-
- cp -a ${FILESDIR}/${PV}/resin.init ${S}/resin
- insinto /etc/init.d
- insopts -m0750
- doins ${S}/resin
-
- cp -a ${FILESDIR}/${PV}/resin.conf ${S}/resin
- insinto /etc/conf.d
- insopts -m0755
- doins ${S}/resin
-
- cp -a ${FILESDIR}/${PV}/21resin ${S}/21resin
- insinto /etc/env.d
- insopts -m0755
- doins ${S}/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
-
- dodir /etc/env.d
- insinto /etc/env.d
- doins ${FILESDIR}/${PV}/21resin
-}
-
-pkg_postinst() {
- einfo " "
- einfo " NOTICE!"
- einfo " User and group 'resin' have been added."
- einfo " "
- einfo " FILE LOCATIONS:"
- einfo " 1. Resin home directory: ${RESIN_HOME}"
- einfo " Contains application data, configuration files."
- einfo " 2. Runtime settings: /etc/conf.d/resin"
- einfo " Contains CLASSPATH and JAVA_HOME settings."
- einfo " 3. Logs: /var/log/resin/"
- einfo " 4. Executables, libraries: /usr/share/resin-ee/"
- einfo " "
- einfo " "
- einfo " STARTING AND STOPPING RESIN:"
- einfo " /etc/init.d/resin start"
- einfo " /etc/init.d/resin stop"
- einfo " /etc/init.d/resin restart"
- einfo " "
- einfo " "
- einfo " NETWORK CONFIGURATION:"
- einfo " By default, Resin runs on port 8080. You can change this"
- einfo " value by editing ${RESIN_HOME}/conf/resin.conf."
- einfo " "
- einfo " To test Resin while it's running, point your web browser to:"
- einfo " http://localhost:8080/"
- einfo " "
- einfo " Be sure to allow Resin a minute or two to compile the pages"
- einfo " the first time you run it."
- einfo " "
- einfo " Resin cannot run on port 80 as non-root (as of this time)."
- einfo " The best way to get Resin to respond on port 80 is via port"
- einfo " forwarding -- by installing a firewall on the machine running"
- einfo " Resin or the network gateway. Simply redirect port 80 to"
- einfo " port 8080."
- einfo " "
- einfo " BUGS:"
- einfo " Please file any bugs at http://bugs.gentoo.org/ or else it"
- einfo " may not get seen. Thank you."
- einfo " "
-}
-
-pkg_postrm() {
- einfo "You may want to remove the resin user and group"
-}
-
diff --git a/net-www/resin-ee/resin-ee-2.1.9.ebuild b/net-www/resin-ee/resin-ee-2.1.9.ebuild
deleted file mode 100644
index 6290053ad781..000000000000
--- a/net-www/resin-ee/resin-ee-2.1.9.ebuild
+++ /dev/null
@@ -1,125 +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/resin-ee/resin-ee-2.1.9.ebuild,v 1.7 2004/07/26 13:40:42 axxo Exp $
-
-inherit java-pkg eutils
-
-S=${WORKDIR}/${P}
-DESCRIPTION="The Enterprise Edition of Resin"
-SRC_URI="http://www.caucho.com/download/${P}.tar.gz"
-HOMEPAGE="http://www.caucho.com"
-KEYWORDS="x86 ~ppc ~sparc"
-LICENSE="CAUCHO"
-SLOT="0"
-DEPEND="!net-www/resin"
-RDEPEND=">=virtual/jdk-1.2"
-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
-
- cp -a ${FILESDIR}/${PV}/resin.init ${S}/resin
- insinto /etc/init.d
- insopts -m0750
- doins ${S}/resin
-
- cp -a ${FILESDIR}/${PV}/resin.conf ${S}/resin
- insinto /etc/conf.d
- insopts -m0755
- doins ${S}/resin
-
- cp -a ${FILESDIR}/${PV}/21resin ${S}/21resin
- insinto /etc/env.d
- insopts -m0755
- doins ${S}/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
-
- dodir /etc/env.d
- insinto /etc/env.d
- doins ${FILESDIR}/${PV}/21resin
-}
-
-pkg_postinst() {
- einfo " "
- einfo " NOTICE!"
- einfo " User and group 'resin' have been added."
- einfo " "
- einfo " FILE LOCATIONS:"
- einfo " 1. Resin home directory: ${RESIN_HOME}"
- einfo " Contains application data, configuration files."
- einfo " 2. Runtime settings: /etc/conf.d/resin"
- einfo " Contains CLASSPATH and JAVA_HOME settings."
- einfo " 3. Logs: /var/log/resin/"
- einfo " 4. Executables, libraries: /usr/share/resin-ee/"
- einfo " "
- einfo " "
- einfo " STARTING AND STOPPING RESIN:"
- einfo " /etc/init.d/resin start"
- einfo " /etc/init.d/resin stop"
- einfo " /etc/init.d/resin restart"
- einfo " "
- einfo " "
- einfo " NETWORK CONFIGURATION:"
- einfo " By default, Resin runs on port 8080. You can change this"
- einfo " value by editing ${RESIN_HOME}/conf/resin.conf."
- einfo " "
- einfo " To test Resin while it's running, point your web browser to:"
- einfo " http://localhost:8080/"
- einfo " "
- einfo " Be sure to allow Resin a minute or two to compile the pages"
- einfo " the first time you run it."
- einfo " "
- einfo " Resin cannot run on port 80 as non-root (as of this time)."
- einfo " The best way to get Resin to respond on port 80 is via port"
- einfo " forwarding -- by installing a firewall on the machine running"
- einfo " Resin or the network gateway. Simply redirect port 80 to"
- einfo " port 8080."
- einfo " "
- einfo " BUGS:"
- einfo " Please file any bugs at http://bugs.gentoo.org/ or else it"
- einfo " may not get seen. Thank you."
- einfo " "
-}
-
-pkg_postrm() {
- einfo "You may want to remove the resin user and group"
-}
-