diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2008-05-10 20:17:01 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2008-05-10 20:17:01 +0000 |
commit | 77912f4c4691341a65b36afb82f1cc1eea0a4a61 (patch) | |
tree | db800114977cf788f76c227795f40665ba2ecc95 /www-servers/resin | |
parent | Redigest. (diff) | |
download | historical-77912f4c4691341a65b36afb82f1cc1eea0a4a61.tar.gz historical-77912f4c4691341a65b36afb82f1cc1eea0a4a61.tar.bz2 historical-77912f4c4691341a65b36afb82f1cc1eea0a4a61.zip |
Version bump, removed old versions.
Package-Manager: portage-2.1.5_rc10
Diffstat (limited to 'www-servers/resin')
-rw-r--r-- | www-servers/resin/ChangeLog | 11 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.3/resin.conf | 12 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.3/resin.init | 43 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.4/resin.conf | 12 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.4/resin.init | 43 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.5/resin.conf | 12 | ||||
-rw-r--r-- | www-servers/resin/files/3.1.5/resin.init | 43 | ||||
-rw-r--r-- | www-servers/resin/resin-3.1.3.ebuild | 165 | ||||
-rw-r--r-- | www-servers/resin/resin-3.1.4.ebuild | 165 | ||||
-rw-r--r-- | www-servers/resin/resin-3.1.6.ebuild (renamed from www-servers/resin/resin-3.1.5.ebuild) | 2 |
10 files changed, 11 insertions, 497 deletions
diff --git a/www-servers/resin/ChangeLog b/www-servers/resin/ChangeLog index 56311e0add19..a94ff220f0cb 100644 --- a/www-servers/resin/ChangeLog +++ b/www-servers/resin/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for www-servers/resin # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.69 2008/05/10 19:48:36 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.70 2008/05/10 20:17:00 nelchael Exp $ + +*resin-3.1.6 (10 May 2008) + + 10 May 2008; Krzysiek Pawlik <nelchael@gentoo.org> + -files/3.1.3/resin.conf, -files/3.1.4/resin.conf, -files/3.1.3/resin.init, + -files/3.1.4/resin.init, -files/3.1.5/resin.conf, -files/3.1.5/resin.init, + +files/3.1.6/resin.conf, +files/3.1.6/resin.init, -resin-3.1.3.ebuild, + -resin-3.1.4.ebuild, -resin-3.1.5.ebuild, +resin-3.1.6.ebuild: + Version bump, removed old versions. 10 May 2008; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.25.ebuild: Stable on amd64, ppc. diff --git a/www-servers/resin/files/3.1.3/resin.conf b/www-servers/resin/files/3.1.3/resin.conf deleted file mode 100644 index 0895ad30fbf4..000000000000 --- a/www-servers/resin/files/3.1.3/resin.conf +++ /dev/null @@ -1,12 +0,0 @@ -# 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 JDK 1.5 you want. -# For a list of valid values for GENTOO_VM see output of -# java-config -L -#GENTOO_VM=sun-jdk-1.5 - -# Verbose starting and stopping? (yes/no, defaults to no) -#VERBOSE="yes" diff --git a/www-servers/resin/files/3.1.3/resin.init b/www-servers/resin/files/3.1.3/resin.init deleted file mode 100644 index cf4e29864d95..000000000000 --- a/www-servers/resin/files/3.1.3/resin.init +++ /dev/null @@ -1,43 +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/3.1.3/resin.init,v 1.1 2007/11/09 14:07:03 nelchael Exp $ - -depend() { - need net - use dns logger mysql postgresql -} - -runResin() { - - JAVA_HOME=$(java-config -O) - [ -n "${GENTOO_VM}" ] && JAVA_HOME=$(java-config --select-vm="${GENTOO_VM}" -O) - export JAVA_HOME - - local extraArgs= - if [ "${VERBOSE}" = "yes" ]; then - extraArgs="-verbose" - fi - - local msg="${1}" - shift - - local cmdline="${JAVA_HOME}/bin/java -jar /usr/share/resin/lib/resin.jar ${extraArgs} -resin-home /usr/lib/resin ${@}" - - ebegin "${msg}" - su - resin -c "${cmdline}" - eend $? - -} - -start() { - - runResin "Starting Resin" "start" - -} - -stop() { - - runResin "Stopping Resin" "stop" - -} diff --git a/www-servers/resin/files/3.1.4/resin.conf b/www-servers/resin/files/3.1.4/resin.conf deleted file mode 100644 index 0895ad30fbf4..000000000000 --- a/www-servers/resin/files/3.1.4/resin.conf +++ /dev/null @@ -1,12 +0,0 @@ -# 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 JDK 1.5 you want. -# For a list of valid values for GENTOO_VM see output of -# java-config -L -#GENTOO_VM=sun-jdk-1.5 - -# Verbose starting and stopping? (yes/no, defaults to no) -#VERBOSE="yes" diff --git a/www-servers/resin/files/3.1.4/resin.init b/www-servers/resin/files/3.1.4/resin.init deleted file mode 100644 index 7fd77c98e75c..000000000000 --- a/www-servers/resin/files/3.1.4/resin.init +++ /dev/null @@ -1,43 +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/3.1.4/resin.init,v 1.1 2007/12/14 09:51:51 nelchael Exp $ - -depend() { - need net - use dns logger mysql postgresql -} - -runResin() { - - JAVA_HOME=$(java-config -O) - [ -n "${GENTOO_VM}" ] && JAVA_HOME=$(java-config --select-vm="${GENTOO_VM}" -O) - export JAVA_HOME - - local extraArgs= - if [ "${VERBOSE}" = "yes" ]; then - extraArgs="-verbose" - fi - - local msg="${1}" - shift - - local cmdline="${JAVA_HOME}/bin/java -jar /usr/share/resin/lib/resin.jar ${extraArgs} -resin-home /usr/lib/resin ${@}" - - ebegin "${msg}" - su - resin -c "${cmdline}" - eend $? - -} - -start() { - - runResin "Starting Resin" "start" - -} - -stop() { - - runResin "Stopping Resin" "stop" - -} diff --git a/www-servers/resin/files/3.1.5/resin.conf b/www-servers/resin/files/3.1.5/resin.conf deleted file mode 100644 index 0895ad30fbf4..000000000000 --- a/www-servers/resin/files/3.1.5/resin.conf +++ /dev/null @@ -1,12 +0,0 @@ -# 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 JDK 1.5 you want. -# For a list of valid values for GENTOO_VM see output of -# java-config -L -#GENTOO_VM=sun-jdk-1.5 - -# Verbose starting and stopping? (yes/no, defaults to no) -#VERBOSE="yes" diff --git a/www-servers/resin/files/3.1.5/resin.init b/www-servers/resin/files/3.1.5/resin.init deleted file mode 100644 index c3e45552300e..000000000000 --- a/www-servers/resin/files/3.1.5/resin.init +++ /dev/null @@ -1,43 +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/3.1.5/resin.init,v 1.2 2008/04/08 07:55:34 nelchael Exp $ - -depend() { - need net - use dns logger mysql postgresql -} - -runResin() { - - JAVA_HOME=$(java-config -O) - [ -n "${GENTOO_VM}" ] && JAVA_HOME=$(java-config --select-vm="${GENTOO_VM}" -O) - export JAVA_HOME - - local extraArgs= - if [ "${VERBOSE}" = "yes" ]; then - extraArgs="-verbose" - fi - - local msg="${1}" - shift - - local cmdline="${JAVA_HOME}/bin/java -jar /usr/share/resin/lib/resin.jar -conf /etc/resin/resin.conf -resin-home /usr/lib/resin ${extraArgs} ${@}" - - ebegin "${msg}" - su - resin -c "${cmdline}" - eend $? - -} - -start() { - - runResin "Starting Resin" "start" - -} - -stop() { - - runResin "Stopping Resin" "stop" - -} diff --git a/www-servers/resin/resin-3.1.3.ebuild b/www-servers/resin/resin-3.1.3.ebuild deleted file mode 100644 index f1502aed2765..000000000000 --- a/www-servers/resin/resin-3.1.3.ebuild +++ /dev/null @@ -1,165 +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-3.1.3.ebuild,v 1.3 2007/11/10 20:52:05 nelchael Exp $ - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 eutils flag-o-matic multilib - -DESCRIPTION="A fast Servlet 2.5 and JSP 2.0 engine." -HOMEPAGE="http://www.caucho.com" -SRC_URI="http://www.caucho.com/download/${P}-src.zip - mirror://gentoo/resin-gentoo-patches-${PV}.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -IUSE="admin" - -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" - -COMMON_DEP="~dev-java/resin-servlet-api-${PV} - >=dev-java/iso-relax-20050331 - dev-java/aopalliance - >=dev-java/sun-javamail-1.4 - >=dev-java/sun-jaf-1.1" - -RDEPEND="=virtual/jdk-1.5* - ${COMMON_DEP}" -DEPEND="${RDEPEND} - app-arch/unzip - dev-java/ant-core - dev-libs/openssl - ${COMMON_DEP}" - -RESIN_HOME="/usr/$(get_libdir)/resin" - -# Rewrites build.xml in documentation -JAVA_PKG_BSFIX="off" - -src_unpack() { - - unpack ${A} - for i in "${WORKDIR}"/${PV}/resin-${PV}-*; do - epatch "${i}" - done; - - java-ant_bsfix_one "${S}/build.xml" - - sed -i -e 's/256m/384m/' "${S}/build.xml" - -} - -pkg_setup() { - - java-pkg-2_pkg_setup - enewgroup resin - enewuser resin -1 /bin/bash ${RESIN_HOME} resin - -} - -src_compile() { - - append-flags -fPIC -DPIC - - chmod 755 "${S}/configure" - econf --prefix=${RESIN_HOME} || die "econf failed" - - einfo "Building libraries..." - # Broken with -jn where n > 1 - emake -j1 || die "emake failed" - - mkdir "${S}/lib" - cd "${S}/lib" - java-pkg_jar-from sun-jaf - java-pkg_jar-from sun-javamail - java-pkg_jar-from iso-relax - java-pkg_jar-from aopalliance-1 - java-pkg_jar-from resin-servlet-api-2.5 resin-servlet-api.jar jsdk-15.jar - ln -s $(java-config --jdk-home)/lib/tools.jar - cd "${S}" - - einfo "Building jars..." - eant || die "ant failed" - - if use doc; then - einfo "Building docs..." - eant doc || die "ant doc failed" - fi - -} - -src_install() { - - make DESTDIR="${D}" install || die - - dodir /etc/ - mv "${D}/${RESIN_HOME}/conf" "${D}/etc/resin" - dosym /etc/resin ${RESIN_HOME}/conf - - keepdir /var/log/resin - keepdir /var/log/resin - keepdir /var/run/resin - - dosym /var/log/resin ${RESIN_HOME}/logs - dosym /var/log/resin ${RESIN_HOME}/log - - dodoc README "${S}"/conf/*.conf - - newinitd "${FILESDIR}/${PV}/resin.init" resin - newconfd "${FILESDIR}/${PV}/resin.conf" resin - - rm -f "${S}/lib/tools.jar" - java-pkg_dojar "${S}"/lib/*.jar - rm -fr "${D}/${RESIN_HOME}/lib" - dosym /usr/share/resin/lib ${RESIN_HOME}/lib - keepdir /usr/share/resin/log - - dodir /var/lib/resin/webapps - mv "${D}"/${RESIN_HOME}/webapps/* "${D}/var/lib/resin/webapps" - rm -rf "${D}/${RESIN_HOME}/webapps" - dosym /var/lib/resin/webapps ${RESIN_HOME}/webapps - - dosym /etc/resin/resin.conf /etc/resin/resin.xml - - use admin && { - cp -a "${S}/php" "${D}/${RESIN_HOME}/" || die "cp failed" - } - - use source && { - einfo "Zipping source..." - java-pkg_dosrc "${S}"/modules/*/src/* 2> /dev/null - } - - einfo "Removing unneeded files..." - rm -fr "${D}/${RESIN_HOME}/bin" - rm -f "${D}"/etc/resin/*.orig - - einfo "Fixing permissions..." - chown -R resin:resin "${D}${RESIN_HOME}" - chown -R resin:resin "${D}/etc/resin" - chown -R resin:resin "${D}/var/log/resin" - chown -R resin:resin "${D}/var/lib/resin" - chown -R resin:resin "${D}/var/run/resin" - - chmod 644 "${D}/etc/conf.d/resin" - chmod 755 "${D}/etc/init.d/resin" - chmod 750 "${D}/var/lib/resin" - chmod 750 "${D}/var/run/resin" - chmod 750 "${D}/etc/resin" - -} - -pkg_postinst() { - - elog - elog " User and group 'resin' have been added." - elog - elog " By default, Resin runs on port 8080. You can change this" - elog " value by editing /etc/conf/resin.conf." - elog - elog " webapps directory was moved to /var/lib/resin/webapps" - elog - elog " Most options has been moved from /etc/conf.d/resin to" - elog " /etc/resin/resin.conf." - elog - -} diff --git a/www-servers/resin/resin-3.1.4.ebuild b/www-servers/resin/resin-3.1.4.ebuild deleted file mode 100644 index cd3a40f5ca74..000000000000 --- a/www-servers/resin/resin-3.1.4.ebuild +++ /dev/null @@ -1,165 +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-3.1.4.ebuild,v 1.3 2007/12/14 16:10:37 nelchael Exp $ - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 eutils flag-o-matic multilib - -DESCRIPTION="A fast Servlet 2.5 and JSP 2.0 engine." -HOMEPAGE="http://www.caucho.com" -SRC_URI="http://www.caucho.com/download/${P}-src.zip - mirror://gentoo/resin-gentoo-patches-${PV}-r2.tar.bz2" -LICENSE="GPL-2" -SLOT="0" -IUSE="admin" - -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" - -COMMON_DEP="~dev-java/resin-servlet-api-${PV} - >=dev-java/iso-relax-20050331 - dev-java/aopalliance - >=dev-java/sun-javamail-1.4 - >=dev-java/sun-jaf-1.1" - -RDEPEND="=virtual/jdk-1.5* - ${COMMON_DEP}" -DEPEND="${RDEPEND} - app-arch/unzip - dev-java/ant-core - dev-libs/openssl - ${COMMON_DEP}" - -RESIN_HOME="/usr/$(get_libdir)/resin" - -# Rewrites build.xml in documentation -JAVA_PKG_BSFIX="off" - -src_unpack() { - - unpack ${A} - for i in "${WORKDIR}"/${PV}/resin-${PV}-*; do - epatch "${i}" - done; - - java-ant_bsfix_one "${S}/build.xml" - - sed -i -e 's/256m/384m/' "${S}/build.xml" - -} - -pkg_setup() { - - java-pkg-2_pkg_setup - enewgroup resin - enewuser resin -1 /bin/bash ${RESIN_HOME} resin - -} - -src_compile() { - - append-flags -fPIC -DPIC - - chmod 755 "${S}/configure" - econf --prefix=${RESIN_HOME} || die "econf failed" - - einfo "Building libraries..." - # Broken with -jn where n > 1 - emake -j1 || die "emake failed" - - mkdir "${S}/lib" - cd "${S}/lib" - java-pkg_jar-from sun-jaf - java-pkg_jar-from sun-javamail - java-pkg_jar-from iso-relax - java-pkg_jar-from aopalliance-1 - java-pkg_jar-from resin-servlet-api-2.5 resin-servlet-api.jar jsdk-15.jar - ln -s $(java-config --jdk-home)/lib/tools.jar - cd "${S}" - - einfo "Building jars..." - eant || die "ant failed" - - if use doc; then - einfo "Building docs..." - eant doc || die "ant doc failed" - fi - -} - -src_install() { - - make DESTDIR="${D}" install || die - - dodir /etc/ - mv "${D}/${RESIN_HOME}/conf" "${D}/etc/resin" - dosym /etc/resin ${RESIN_HOME}/conf - - keepdir /var/log/resin - keepdir /var/log/resin - keepdir /var/run/resin - - dosym /var/log/resin ${RESIN_HOME}/logs - dosym /var/log/resin ${RESIN_HOME}/log - - dodoc README "${S}"/conf/*.conf - - newinitd "${FILESDIR}/${PV}/resin.init" resin - newconfd "${FILESDIR}/${PV}/resin.conf" resin - - rm -f "${S}/lib/tools.jar" - java-pkg_dojar "${S}"/lib/*.jar - rm -fr "${D}/${RESIN_HOME}/lib" - dosym /usr/share/resin/lib ${RESIN_HOME}/lib - keepdir /usr/share/resin/log - - dodir /var/lib/resin/webapps - mv "${D}"/${RESIN_HOME}/webapps/* "${D}/var/lib/resin/webapps" - rm -rf "${D}/${RESIN_HOME}/webapps" - dosym /var/lib/resin/webapps ${RESIN_HOME}/webapps - - dosym /etc/resin/resin.conf /etc/resin/resin.xml - - use admin && { - cp -a "${S}/php" "${D}/${RESIN_HOME}/" || die "cp failed" - } - - use source && { - einfo "Zipping source..." - java-pkg_dosrc "${S}"/modules/*/src/* 2> /dev/null - } - - einfo "Removing unneeded files..." - rm -fr "${D}/${RESIN_HOME}/bin" - rm -f "${D}"/etc/resin/*.orig - - einfo "Fixing permissions..." - chown -R resin:resin "${D}${RESIN_HOME}" - chown -R resin:resin "${D}/etc/resin" - chown -R resin:resin "${D}/var/log/resin" - chown -R resin:resin "${D}/var/lib/resin" - chown -R resin:resin "${D}/var/run/resin" - - chmod 644 "${D}/etc/conf.d/resin" - chmod 755 "${D}/etc/init.d/resin" - chmod 750 "${D}/var/lib/resin" - chmod 750 "${D}/var/run/resin" - chmod 750 "${D}/etc/resin" - -} - -pkg_postinst() { - - elog - elog " User and group 'resin' have been added." - elog - elog " By default, Resin runs on port 8080. You can change this" - elog " value by editing /etc/conf/resin.conf." - elog - elog " webapps directory was moved to /var/lib/resin/webapps" - elog - elog " Most options has been moved from /etc/conf.d/resin to" - elog " /etc/resin/resin.conf." - elog - -} diff --git a/www-servers/resin/resin-3.1.5.ebuild b/www-servers/resin/resin-3.1.6.ebuild index 5e473dbc1834..956eaeb03bf4 100644 --- a/www-servers/resin/resin-3.1.5.ebuild +++ b/www-servers/resin/resin-3.1.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-3.1.5.ebuild,v 1.2 2008/04/08 07:55:33 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/resin-3.1.6.ebuild,v 1.1 2008/05/10 20:17:00 nelchael Exp $ EAPI="1" |