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
commitc6579d6550fcc5a39085d09e737d6269dc5f1d29 (patch)
tree4b913b0972cd9948c688fa457772a7bf228e8a1c /www-servers
parentAdd missing init.d/conf.d files. (diff)
downloadhistorical-c6579d6550fcc5a39085d09e737d6269dc5f1d29.tar.gz
historical-c6579d6550fcc5a39085d09e737d6269dc5f1d29.tar.bz2
historical-c6579d6550fcc5a39085d09e737d6269dc5f1d29.zip
Remove old Resin 2.1.17.
Package-Manager: portage-2.1.4_rc10
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/resin/ChangeLog7
-rw-r--r--www-servers/resin/Manifest54
-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
8 files changed, 21 insertions, 232 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/Manifest b/www-servers/resin/Manifest
index 42f87f53cbd4..149500cdf434 100644
--- a/www-servers/resin/Manifest
+++ b/www-servers/resin/Manifest
@@ -1,22 +1,6 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 2.1.17/21resin 53 RMD160 62e4ea99f9df806df34d777d121804f5802ef74e SHA1 8a6385133272e1491a4440f9ce31bda4dc27039b SHA256 b3635596eee58b6028bf03ddac3413e00eeb441af978325db062f45d6ab9bfb6
-MD5 a810be4b68e920ebc5d2cf8160a5642a files/2.1.17/21resin 53
-RMD160 62e4ea99f9df806df34d777d121804f5802ef74e files/2.1.17/21resin 53
-SHA256 b3635596eee58b6028bf03ddac3413e00eeb441af978325db062f45d6ab9bfb6 files/2.1.17/21resin 53
-AUX 2.1.17/resin.conf 1180 RMD160 96f793101d97de4740894e4adb68d4b1894df0d4 SHA1 df5315bebc111af5b6eef33a079694f95bc5ac8c SHA256 f6d33c60336e2bee942f9416c8eebffa6a34259ae3ad1a8bd22d95aa5680f8ea
-MD5 d1562e8550c6036def61c00c72decf32 files/2.1.17/resin.conf 1180
-RMD160 96f793101d97de4740894e4adb68d4b1894df0d4 files/2.1.17/resin.conf 1180
-SHA256 f6d33c60336e2bee942f9416c8eebffa6a34259ae3ad1a8bd22d95aa5680f8ea files/2.1.17/resin.conf 1180
-AUX 2.1.17/resin.diff 504 RMD160 5c68c5509f03da3ff9e52ccba075f27f406bf9ab SHA1 5ea54c4249df4ade67e5eb130c78b29c42fba397 SHA256 ea304110358cb34b70cf295a53c9a33c797e8f465ccdb987f1d67dc32dac7362
-MD5 cc895b3b901369aa2c6d80fb88369113 files/2.1.17/resin.diff 504
-RMD160 5c68c5509f03da3ff9e52ccba075f27f406bf9ab files/2.1.17/resin.diff 504
-SHA256 ea304110358cb34b70cf295a53c9a33c797e8f465ccdb987f1d67dc32dac7362 files/2.1.17/resin.diff 504
-AUX 2.1.17/resin.init 753 RMD160 12345a4c50f0d609f9f02b6d145a1762e51ed9f5 SHA1 e504544ffb5ffa43dd22893f850f7a583e43a784 SHA256 45e83ce58b3a3a48620ad30b31555d0640339d9fd35724bf675611933bbe2271
-MD5 7e1a3288eba4385e435c4a2564f86303 files/2.1.17/resin.init 753
-RMD160 12345a4c50f0d609f9f02b6d145a1762e51ed9f5 files/2.1.17/resin.init 753
-SHA256 45e83ce58b3a3a48620ad30b31555d0640339d9fd35724bf675611933bbe2271 files/2.1.17/resin.init 753
AUX 3.0.24/resin.conf 792 RMD160 91b29442c28c6730b9e80df8cc6a32b429289014 SHA1 53668e6b6760c628eb1876d8428dfefb5740a21c SHA256 f079ad48fd8bc43cbb06db2fcf86a2806f815cd425182fc0eaf6bccdae2eb526
MD5 bab22828703014c7ff6d7bb46afd87d9 files/3.0.24/resin.conf 792
RMD160 91b29442c28c6730b9e80df8cc6a32b429289014 files/3.0.24/resin.conf 792
@@ -29,10 +13,10 @@ AUX 3.0.25/resin.conf 792 RMD160 91b29442c28c6730b9e80df8cc6a32b429289014 SHA1 5
MD5 bab22828703014c7ff6d7bb46afd87d9 files/3.0.25/resin.conf 792
RMD160 91b29442c28c6730b9e80df8cc6a32b429289014 files/3.0.25/resin.conf 792
SHA256 f079ad48fd8bc43cbb06db2fcf86a2806f815cd425182fc0eaf6bccdae2eb526 files/3.0.25/resin.conf 792
-AUX 3.0.25/resin.init 951 RMD160 7afa05f0924db80e550e8a36e94b5f51c2499649 SHA1 f92ef3ce279ab7c7d97aecd5b37609636beaecdd SHA256 1341f1036e0772dff7aa8a2caf00c6fef4dd6b75e29ace0f15969d7bcfa9c27d
-MD5 e37247b586a6eba0524b2c788328cf70 files/3.0.25/resin.init 951
-RMD160 7afa05f0924db80e550e8a36e94b5f51c2499649 files/3.0.25/resin.init 951
-SHA256 1341f1036e0772dff7aa8a2caf00c6fef4dd6b75e29ace0f15969d7bcfa9c27d files/3.0.25/resin.init 951
+AUX 3.0.25/resin.init 951 RMD160 c6bb819c7bd225a4a5fb570782f15d4cba9bce7e SHA1 123e2b64bc29f1ebbb5cdc65ea98be10c09cf9f8 SHA256 86d043936058453da710957d9da81644eb67f8a4e656160d6624eb9cd974db17
+MD5 50407716f20b37757aa06c4342a56c9b files/3.0.25/resin.init 951
+RMD160 c6bb819c7bd225a4a5fb570782f15d4cba9bce7e files/3.0.25/resin.init 951
+SHA256 86d043936058453da710957d9da81644eb67f8a4e656160d6624eb9cd974db17 files/3.0.25/resin.init 951
AUX 3.1.3/resin.conf 425 RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c SHA1 c332de715146a0cb2836f0e7a6152e83eb1838bc SHA256 e5822b13d15e35ffaf3b60c16c3cbd9f3d3b7916c7ab3ae421f923895713158c
MD5 4ccfaa3a9f3c4f386c77659a6ef91f71 files/3.1.3/resin.conf 425
RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c files/3.1.3/resin.conf 425
@@ -45,11 +29,10 @@ AUX 3.1.4/resin.conf 425 RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c SHA1 c3
MD5 4ccfaa3a9f3c4f386c77659a6ef91f71 files/3.1.4/resin.conf 425
RMD160 1819e2e38f95b5dbeb950cac7fd28ccb492fbe8c files/3.1.4/resin.conf 425
SHA256 e5822b13d15e35ffaf3b60c16c3cbd9f3d3b7916c7ab3ae421f923895713158c files/3.1.4/resin.conf 425
-AUX 3.1.4/resin.init 826 RMD160 73418f1944066173d54ed9225753a8054ee40c2c SHA1 e55332ca2bcc66d5b9d03b18f5626e499cd333a7 SHA256 58fd4e736ce3a96d20b86ec1f912d99b8c3fb05f8dcad1e144fc84259b6965ab
-MD5 ae0013e1985a7bac237fcd1a2c34a130 files/3.1.4/resin.init 826
-RMD160 73418f1944066173d54ed9225753a8054ee40c2c files/3.1.4/resin.init 826
-SHA256 58fd4e736ce3a96d20b86ec1f912d99b8c3fb05f8dcad1e144fc84259b6965ab files/3.1.4/resin.init 826
-DIST resin-2.1.17.tar.gz 3239401 RMD160 5fcf2e7680bfad1531cf75d384dcd8f15c19f639 SHA1 2d45e885874122931e63d7c59baed50a75f60618 SHA256 70c681d45f34b1992fbdfb2024970c52a6be20b8cd23855903630e1476a89b92
+AUX 3.1.4/resin.init 826 RMD160 afb6542e7d6746e8f72b6bdd363f818109cec1de SHA1 e283f2b34e9c0fb172a39bfd7852905dcc18c5d0 SHA256 8fb90c29decdb7c83db82cd3368191482c2f4385eb752efa7d54580092c2df5b
+MD5 93c5ba39f4a1f0923ddb7a3d15716ba5 files/3.1.4/resin.init 826
+RMD160 afb6542e7d6746e8f72b6bdd363f818109cec1de files/3.1.4/resin.init 826
+SHA256 8fb90c29decdb7c83db82cd3368191482c2f4385eb752efa7d54580092c2df5b files/3.1.4/resin.init 826
DIST resin-3.0.24-src.zip 10688883 RMD160 84aeee1482ac41d4e596c6800c7ab72c3a448d54 SHA1 76e40d628b662d1b64a8ae4772b7140b0eeaed54 SHA256 d7862e12245f5620dd198bdf10e3c5486fe6bd6262bdf0be3a7bb29280e70a1c
DIST resin-3.0.25-src.zip 10690692 RMD160 f613bf9f35a2fb99f16a2253aed715104575d3ca SHA1 48e1cdbb7e1e1501d6c1a920361558c70930463a SHA256 ed1e8ce03ea2c5454980bb5353f625d12bdd0713653dd845ac6b00cb239c1cdc
DIST resin-3.1.3-src.zip 12366224 RMD160 573db137aca6da906f519333b27e67611d2b8a7a SHA1 3ceecbb8f480ad373ca1cf8dcec7401e1cedc577 SHA256 45825f9df5914f6f53633f5e6ce4905a4f9d788ba2b57eedba2a4bff9df78493
@@ -58,10 +41,6 @@ DIST resin-gentoo-patches-3.0.24.tar.bz2 4788 RMD160 63f81074d7db75cc6fb30e2fe5b
DIST resin-gentoo-patches-3.0.25.tar.bz2 4781 RMD160 b7e370e5ce5869e22659caa77f81fe341894e8e6 SHA1 b11675e71cd0a5c019ad4368a2c4440bbe42226a SHA256 6f47dddc3c29ad1465efdb8c912d1625cf769f5f8dc45dd6b0782655ba5c97cd
DIST resin-gentoo-patches-3.1.3.tar.bz2 3516 RMD160 d71da2fc0f439d52d7023ca94cb18528d82f13dc SHA1 9cfd0514cb74ef88f659ad69a0337cab8e2a991e SHA256 49f649d93ee862461954e16b6b7cd73cb3eb8b60be152ebc821fcb222ed4fd63
DIST resin-gentoo-patches-3.1.4.tar.bz2 3551 RMD160 9c431b18d76683b9cbc4a6f4e3231421db865b70 SHA1 f1a90d78bbbb40073ec1ab7afc638ad89a790099 SHA256 54f5d009b79f7b60296044f29daa514d0eccdf6405f1083340b7c1717ed344f8
-EBUILD resin-2.1.17.ebuild 2704 RMD160 7b1f3b711c566ef25afd27175087dfa504383b48 SHA1 8d119c890b48634872068c7de52b563bce80c62d SHA256 809961945e47d16a6c3d8c087dbd717a550b253febc7093ff573ccc9e23cc945
-MD5 0dc9d09531e2440e0915c697d24dc058 resin-2.1.17.ebuild 2704
-RMD160 7b1f3b711c566ef25afd27175087dfa504383b48 resin-2.1.17.ebuild 2704
-SHA256 809961945e47d16a6c3d8c087dbd717a550b253febc7093ff573ccc9e23cc945 resin-2.1.17.ebuild 2704
EBUILD resin-3.0.24.ebuild 4014 RMD160 fb70875eb73141ae69661ad84e25c7d641871858 SHA1 35247f240dd19e0bf1365296eb75477796306b00 SHA256 38a9b241b0e40595b41925c12c58a06de56ab9db2f17888b6c19bdc759353bb6
MD5 31749d0cfdb26219a7ba4abe621edbd8 resin-3.0.24.ebuild 4014
RMD160 fb70875eb73141ae69661ad84e25c7d641871858 resin-3.0.24.ebuild 4014
@@ -78,17 +57,14 @@ EBUILD resin-3.1.4.ebuild 3809 RMD160 1cb25545eeb93f360399fcdc54f9e4053e45e5e4 S
MD5 35173cc7e4ed65f9946e3ca47b56794e resin-3.1.4.ebuild 3809
RMD160 1cb25545eeb93f360399fcdc54f9e4053e45e5e4 resin-3.1.4.ebuild 3809
SHA256 565c49458f076945d66ebb1adb03a4f0419c8b438779ebf100c2d8cca414f95e resin-3.1.4.ebuild 3809
-MISC ChangeLog 12860 RMD160 54e6271f236a73c45547b1912b3bc56b07d34506 SHA1 3dbcb75a8d0f84b5f7b4afbba2a1f2356a81d803 SHA256 d0a0aadc8055a0a8471fe6fb09d6c36b9040e859a46e92faa1acdd2e2bfe644e
-MD5 fb10fe9ef3879779139f114d1945d2ca ChangeLog 12860
-RMD160 54e6271f236a73c45547b1912b3bc56b07d34506 ChangeLog 12860
-SHA256 d0a0aadc8055a0a8471fe6fb09d6c36b9040e859a46e92faa1acdd2e2bfe644e ChangeLog 12860
+MISC ChangeLog 13068 RMD160 d6e5d1f43710f138f8ba74baea24c7b57375323f SHA1 b711d0be0fbe0a9afd1b503988a162fe9679af64 SHA256 d0e4cf692d40954718ef6849b2d71c176d21d59982f057e7457ec38efff18377
+MD5 f87d55f998b8adf6f672a5c093be677c ChangeLog 13068
+RMD160 d6e5d1f43710f138f8ba74baea24c7b57375323f ChangeLog 13068
+SHA256 d0e4cf692d40954718ef6849b2d71c176d21d59982f057e7457ec38efff18377 ChangeLog 13068
MISC metadata.xml 229 RMD160 a9b4042458f9aae459c108c2917745af68bd1d45 SHA1 087c10f53259e3702a47b6c43c4365fd16d8c201 SHA256 79bb370ed491d8c5f4c42086fcbd3affc893943b56254f98b5a9c9f369792884
MD5 2696a2548331ef205bf10abad6802180 metadata.xml 229
RMD160 a9b4042458f9aae459c108c2917745af68bd1d45 metadata.xml 229
SHA256 79bb370ed491d8c5f4c42086fcbd3affc893943b56254f98b5a9c9f369792884 metadata.xml 229
-MD5 07e6b1635b6db18f68bd40814c347673 files/digest-resin-2.1.17 241
-RMD160 4139a546bdfad3a5c0a0bbf3330583eeb38756ac files/digest-resin-2.1.17 241
-SHA256 bc4da846dca614d5ad2d9ddd735df2109aabd6bfc9a7d4c6f550198a5ecd9440 files/digest-resin-2.1.17 241
MD5 c7c462602ca5c349a59a723fa638c5d4 files/digest-resin-3.0.24 527
RMD160 c4beef8a6695578fcadd59dd4d6e25ea70ad3855 files/digest-resin-3.0.24 527
SHA256 a6b9a039e60fc1fed41bd34a877a66d164e3a9cfb7fc0d9aff22a5141bc41c51 files/digest-resin-3.0.24 527
@@ -104,7 +80,7 @@ SHA256 ecbb344cc7d98658202b368a1ad72ba15c4e9a2d41c4651819cee6b5f4193869 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHYlIxgo/w9rxVVVERApR6AKCTkMHLSZXU31bi3erUujQI209NpACfT7LU
-osYhGPgPf4cQFYG062dBHBk=
-=MF2W
+iD8DBQFHYlLtgo/w9rxVVVERAkcfAKCHAhYVOQJeQbAPlBmHTAymrCziCQCfRRft
+JQALNnYmGaXa4TDZIJ77YTE=
+=5j4B
-----END PGP SIGNATURE-----
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
-}