diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-29 16:24:22 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-29 16:24:22 +0000 |
commit | 054bda1fe24669700ccf404e22d2487d5cfb2394 (patch) | |
tree | 70d6d53d0afbbf9abce092913a28808d5f37b2e8 /www-servers | |
parent | Marked stable on amd64 for bug #142060 (diff) | |
download | historical-054bda1fe24669700ccf404e22d2487d5cfb2394.tar.gz historical-054bda1fe24669700ccf404e22d2487d5cfb2394.tar.bz2 historical-054bda1fe24669700ccf404e22d2487d5cfb2394.zip |
Version bump of 2.1 series.
Package-Manager: portage-2.1.1_pre4
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/resin/ChangeLog | 9 | ||||
-rw-r--r-- | www-servers/resin/files/digest-resin-2.1.17 | 3 | ||||
-rw-r--r-- | www-servers/resin/resin-2.1.17.ebuild | 116 |
3 files changed, 127 insertions, 1 deletions
diff --git a/www-servers/resin/ChangeLog b/www-servers/resin/ChangeLog index db1279d87edf..e5ba9d97885c 100644 --- a/www-servers/resin/ChangeLog +++ b/www-servers/resin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-servers/resin # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.11 2006/07/23 13:51:05 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.12 2006/07/29 16:24:22 nelchael Exp $ + +*resin-2.1.17 (29 Jul 2006) + + 29 Jul 2006; 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: + Version bump of 2.1 series. 23 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org> resin-3.0.19.ebuild: Added ~ppc, bug #139779 diff --git a/www-servers/resin/files/digest-resin-2.1.17 b/www-servers/resin/files/digest-resin-2.1.17 new file mode 100644 index 000000000000..ab8db8429155 --- /dev/null +++ b/www-servers/resin/files/digest-resin-2.1.17 @@ -0,0 +1,3 @@ +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 new file mode 100644 index 000000000000..155d3ce278eb --- /dev/null +++ b/www-servers/resin/resin-2.1.17.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2006 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.1 2006/07/29 16:24:22 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 ~sparc ~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 + + 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 +} + +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/" + 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 " 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 " 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" +} + |