summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Quinteiro <gentoo@quinteiro.org>2015-10-27 19:22:16 -0700
committerJose Quinteiro <gentoo@quinteiro.org>2015-10-27 20:30:37 -0700
commit64261eac693e8630efe0fcadf2eced30daf07ee8 (patch)
tree16e6095cdef3a6bbced725d1c550d77cd4508674
parentwww-apps/trac-accountmanager version bump to 0.4.4 (diff)
downloadJoseQ-64261eac693e8630efe0fcadf2eced30daf07ee8.tar.gz
JoseQ-64261eac693e8630efe0fcadf2eced30daf07ee8.tar.bz2
JoseQ-64261eac693e8630efe0fcadf2eced30daf07ee8.zip
Remove counterproductive Gentoo patches
-rw-r--r--www-servers/resin/ChangeLog609
-rw-r--r--www-servers/resin/Manifest7
-rw-r--r--www-servers/resin/files/4.0.44/build.xml.patch59
-rw-r--r--www-servers/resin/files/4.0.44/resin.conf16
-rw-r--r--www-servers/resin/files/4.0.44/resin.init37
-rw-r--r--www-servers/resin/metadata.xml8
-rw-r--r--www-servers/resin/resin-4.0.44-r5.ebuild185
7 files changed, 921 insertions, 0 deletions
diff --git a/www-servers/resin/ChangeLog b/www-servers/resin/ChangeLog
new file mode 100644
index 0000000..6d78bb7
--- /dev/null
+++ b/www-servers/resin/ChangeLog
@@ -0,0 +1,609 @@
+# ChangeLog for www-servers/resin
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/resin/ChangeLog,v 1.120 2015/03/28 23:06:53 mrueg Exp $
+
+ 28 Mar 2015; Manuel Rüger <mrueg@gentoo.org> -resin-4.0.13-r1.ebuild,
+ -resin-4.0.14.ebuild, -resin-4.0.15.ebuild:
+ Remove old.
+
+ 10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> resin-4.0.13-r1.ebuild,
+ resin-4.0.14.ebuild, resin-4.0.15.ebuild, resin-4.0.22.ebuild,
+ resin-4.0.25.ebuild, resin-4.0.26.ebuild:
+ QA: drop trailing '.' from DESCRIPTION
+
+ 08 Jan 2014; Mike Frysinger <vapier@gentoo.org> resin-4.0.13-r1.ebuild,
+ resin-4.0.14.ebuild, resin-4.0.15.ebuild, resin-4.0.22.ebuild,
+ resin-4.0.25.ebuild, resin-4.0.26.ebuild:
+ Inherit the user eclass for enewuser/etc...
+
+ 16 Dec 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
+ Cleanup due retirement, #95685
+
+ 07 May 2012; Andreas Schuerch <nativemad@gentoo.org> resin-4.0.22.ebuild:
+ x86 stable, see bug 403199
+
+*resin-4.0.26 (04 Mar 2012)
+
+ 04 Mar 2012; Krzysztof Pawlik <nelchael@gentoo.org> +files/4.0.26/resin.conf,
+ +files/4.0.26/resin.init, +resin-4.0.26.ebuild:
+ Version bump.
+
+ 24 Feb 2012; Krzysztof Pawlik <nelchael@gentoo.org> resin-4.0.25.ebuild:
+ Update ebuild for EAPI 4.
+
+ 24 Feb 2012; Krzysztof Pawlik <nelchael@gentoo.org> resin-4.0.22.ebuild:
+ Improve ebuild, see bug #405585 and bug #405587.
+
+ 24 Feb 2012; Agostino Sarubbo <ago@gentoo.org> resin-4.0.22.ebuild:
+ Stable for amd64, wrt bug #403199
+
+ 23 Feb 2012; Krzysztof Pawlik <nelchael@gentoo.org> resin-4.0.25.ebuild:
+ Use -r1 of patches for Resin 4.0.25, fixes build issues.
+
+ 23 Feb 2012; Krzysztof Pawlik <nelchael@gentoo.org> resin-4.0.22.ebuild:
+ Use -r1 of patches for Resin 4.0.22, fixes build issues, see bug #405433.
+
+*resin-4.0.25 (11 Feb 2012)
+
+ 11 Feb 2012; Krzysztof Pawlik <nelchael@gentoo.org> +files/4.0.25/resin.conf,
+ +files/4.0.25/resin.init, +resin-4.0.25.ebuild:
+ Version bump.
+
+*resin-4.0.22 (06 Sep 2011)
+
+ 06 Sep 2011; Krzysztof Pawlik <nelchael@gentoo.org> +files/4.0.22/resin.conf,
+ +files/4.0.22/resin.init, +resin-4.0.22.ebuild:
+ Version bump.
+
+*resin-4.0.15 (15 Mar 2011)
+
+ 15 Mar 2011; Krzysztof Pawlik <nelchael@gentoo.org> +files/4.0.15/resin.conf,
+ +files/4.0.15/resin.init, +resin-4.0.15.ebuild:
+ Version bump.
+
+ 15 Mar 2011; Krzysztof Pawlik <nelchael@gentoo.org> -files/3.2.1/resin.conf,
+ -files/3.2.1/resin.init, -files/4.0.5/resin.conf, -files/4.0.5/resin.init,
+ -files/4.0.6/resin.conf, -files/4.0.6/resin.init, -files/4.0.9/resin.conf,
+ -resin-3.2.1-r3.ebuild, -resin-4.0.5.ebuild, -resin-4.0.6.ebuild,
+ -resin-4.0.9.ebuild, -files/4.0.9/resin.init:
+ Remove old versions.
+
+ 07 Mar 2011; Markos Chandras <hwoarang@gentoo.org> resin-4.0.13-r1.ebuild:
+ Stable on amd64 wrt bug #353881
+
+ 03 Mar 2011; Thomas Kahle <tomka@gentoo.org> resin-4.0.13-r1.ebuild:
+ x86 stable per bug 353881
+
+*resin-4.0.14 (08 Feb 2011)
+
+ 08 Feb 2011; Krzysztof Pawlik <nelchael@gentoo.org> +files/4.0.14/resin.conf,
+ +files/4.0.14/resin.init, +resin-4.0.14.ebuild:
+ Version bump.
+
+*resin-4.0.13-r1 (12 Dec 2010)
+
+ 12 Dec 2010; Krzysztof Pawlik <nelchael@gentoo.org> files/4.0.13/resin.conf,
+ files/4.0.13/resin.init, -resin-4.0.13.ebuild, +resin-4.0.13-r1.ebuild:
+ Revision bump; add support for specifying which server configuration should
+ be used in init.d script.
+
+ 12 Dec 2010; Krzysztof Pawlik <nelchael@gentoo.org> +files/4.0.13/resin.conf,
+ +files/4.0.13/resin.init:
+ Provide correct init.d script.
+
+*resin-4.0.13 (12 Dec 2010)
+
+ 12 Dec 2010; Krzysztof Pawlik <nelchael@gentoo.org> +resin-4.0.13.ebuild:
+ Version bump.
+
+ 14 Oct 2010; Vlastimil Babka <caster@gentoo.org> -files/3.0.25/resin.conf,
+ -resin-3.0.25.ebuild, -files/3.0.25/resin.init, -resin-3.1.8.ebuild,
+ -files/3.1.8/resin.conf, -resin-3.1.9.ebuild, -files/3.1.8/resin.init,
+ resin-3.2.1-r3.ebuild, -files/3.1.9/resin.conf, -files/3.1.9/resin.init:
+ Drop old versions and ppc/ppc64 keywords due to reliance on sun.* classes
+ not available in IBM JDK's.
+
+ 31 Aug 2010; Krzysztof Pawlik <nelchael@gentoo.org> resin-4.0.9.ebuild:
+ Respect LDFLAGS when linking, see bug #334417.
+
+*resin-4.0.9 (19 Aug 2010)
+
+ 19 Aug 2010; Krzysztof Pawlik <nelchael@gentoo.org>
+ +files/4.0.9/resin.conf, +resin-4.0.9.ebuild, +files/4.0.9/resin.init:
+ Version bump.
+
+ 30 Jun 2010; Vlastimil Babka <caster@gentoo.org> resin-3.0.25.ebuild:
+ Keywords cleanup.
+
+*resin-4.0.6 (19 Apr 2010)
+
+ 19 Apr 2010; Krzysztof Pawlik <nelchael@gentoo.org>
+ +files/4.0.6/resin.conf, +resin-4.0.6.ebuild, +files/4.0.6/resin.init:
+ Version bump.
+
+ 06 Apr 2010; Krzysztof Pawlik <nelchael@gentoo.org> resin-3.1.9.ebuild,
+ resin-3.2.1-r3.ebuild:
+ Add symlink for hosts for easy virtual host management also for Resin
+ 3.1.9 and 3.2.1.
+
+ 02 Apr 2010; Krzysztof Pawlik <nelchael@gentoo.org> resin-4.0.5.ebuild:
+ Add symlink for hosts for easy virtual host management.
+
+*resin-4.0.5 (02 Apr 2010)
+
+ 02 Apr 2010; Krzysztof Pawlik <nelchael@gentoo.org>
+ +files/4.0.5/resin.conf, +resin-4.0.5.ebuild, +files/4.0.5/resin.init:
+ Version bump.
+
+*resin-3.1.9 (12 Dec 2009)
+
+ 12 Dec 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.1.9/resin.conf, +resin-3.1.9.ebuild, +files/3.1.9/resin.init:
+ Version bump.
+
+ 02 Aug 2009; Markus Meier <maekke@gentoo.org> resin-3.2.1-r3.ebuild:
+ amd64 stable, bug #275672
+
+ 30 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
+ resin-3.2.1-r3.ebuild:
+ stable x86, bug 275672
+
+*resin-3.2.1-r3 (09 May 2009)
+
+ 09 May 2009; Krzysiek Pawlik <nelchael@gentoo.org> -resin-3.2.1-r2.ebuild,
+ +resin-3.2.1-r3.ebuild:
+ Use new J2EE deployment-api.
+
+*resin-3.2.1-r2 (03 May 2009)
+
+ 03 May 2009; Krzysiek Pawlik <nelchael@gentoo.org> -resin-3.2.1-r1.ebuild,
+ +resin-3.2.1-r2.ebuild:
+ Revision bump, use latest set of patches including patch for boot
+ classpath.
+
+*resin-3.2.1-r1 (01 May 2009)
+
+ 01 May 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/3.0.26/resin.conf, -resin-3.1.6-r2.ebuild,
+ -files/3.0.26/resin.init, -resin-3.2.1.ebuild, -files/3.1.6/resin.conf,
+ +resin-3.2.1-r1.ebuild, -files/3.1.6/resin.init, files/3.2.1/resin.init,
+ -resin-3.0.26.ebuild:
+ Fix installation of resin.xml, drop old versions.
+
+ 07 Mar 2009; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.2.1.ebuild:
+ Rewrite build-common.xml.
+
+ 02 Feb 2009; Krzysiek Pawlik <nelchael@gentoo.org> ChangeLog:
+ Fix ChangeLog entries.
+
+*resin-3.2.1 (02 Feb 2009)
+
+ 02 Feb 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.2.1/resin.conf, +files/3.2.1/resin.init, +resin-3.2.1.ebuild:
+ Version bump.
+
+ 13 Jan 2009; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.1.8.ebuild:
+ Fix patching, see bug #254681.
+
+*resin-3.1.8 (10 Jan 2009)
+
+ 10 Jan 2009; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.1.8/resin.conf, +files/3.1.8/resin.init, +resin-3.1.8.ebuild:
+ Version bump.
+
+ 22 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
+ add GLEP 56 USE flag desc from use.local.desc
+
+*resin-3.1.6-r2 (20 Jun 2008)
+
+ 20 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org> files/3.1.6/resin.conf,
+ -resin-3.1.6-r1.ebuild, +resin-3.1.6-r2.ebuild:
+ Fix dependencies for users of JDK 1.6.
+
+*resin-3.0.26 (10 Jun 2008)
+
+ 10 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.0.26/resin.conf, +files/3.0.26/resin.init, +resin-3.0.26.ebuild:
+ Version bump.
+
+*resin-3.1.6-r1 (09 Jun 2008)
+
+ 09 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org> files/3.1.6/resin.init,
+ -resin-3.1.6.ebuild, +resin-3.1.6-r1.ebuild:
+ Fix root-directory issue, see bug #222865.
+
+ 12 May 2008; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.1.6.ebuild:
+ Add ~ppc keyword.
+
+ 12 May 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/3.0.24/resin.conf, -files/3.0.24/resin.init, -resin-3.0.24.ebuild:
+ Remove old version.
+
+ 12 May 2008; Markus Rothe <corsair@gentoo.org> resin-3.0.25.ebuild:
+ Stable on ppc64; bug #221263
+
+ 11 May 2008; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.24.ebuild,
+ resin-3.0.25.ebuild, resin-3.1.6.ebuild:
+ Fix config file location in elog.
+
+ 11 May 2008; Markus Meier <maekke@gentoo.org> resin-3.0.25.ebuild:
+ x86 stable, bug #221263
+
+ 10 May 2008; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.1.6.ebuild:
+ Use revision 1 of patches.
+
+*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.
+
+ 08 Apr 2008; Krzysiek Pawlik <nelchael@gentoo.org> files/3.1.5/resin.init,
+ resin-3.1.5.ebuild:
+ Fix config location, see bug #216832.
+
+ 17 Mar 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.1.5/resin.conf, +files/3.1.5/resin.init:
+ Add init.d/conf.d scripts for 3.1.5.
+
+*resin-3.1.5 (27 Feb 2008)
+
+ 27 Feb 2008; Krzysiek Pawlik <nelchael@gentoo.org> +resin-3.1.5.ebuild:
+ Version bump.
+
+ 14 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.1.4.ebuild:
+ Use correct patches for 3.1.4.
+
+ 14 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.1.4.ebuild:
+ Use r1 version of patches.
+
+ 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,
+ +files/3.1.4/resin.conf, +files/3.1.4/resin.init:
+ Add missing init.d/conf.d files.
+
+*resin-3.1.4 (14 Dec 2007)
+*resin-3.0.25 (14 Dec 2007)
+
+ 14 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org> +resin-3.0.25.ebuild,
+ +resin-3.1.4.ebuild:
+ Version bump.
+
+ 10 Nov 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/3.0.22/resin.conf, -files/3.0.22/resin-3.0.22-gentoo.patch,
+ -files/3.0.22/resin.init, files/3.0.24/resin.conf, -resin-3.0.22.ebuild,
+ resin-3.0.24.ebuild, resin-3.1.3.ebuild:
+ multilib fixes, stable on amd64, see bug #191740.
+
+ 10 Nov 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/3.0.24/resin-3.0.24-gentoo.patch,
+ -files/3.1.3/resin-3.1.3-gentoo.patch, resin-3.0.24.ebuild,
+ resin-3.1.3.ebuild:
+ Use tarball of patches.
+
+*resin-3.1.3 (09 Nov 2007)
+
+ 09 Nov 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/3.1.2/resin.init, -files/3.1.2/resin-3.1.2-gentoo.patch,
+ +files/3.1.3/resin.conf, +files/3.1.3/resin-3.1.3-gentoo.patch,
+ -files/3.1.2/resin.conf, +files/3.1.3/resin.init, -resin-3.1.2.ebuild,
+ +resin-3.1.3.ebuild:
+ Version bump.
+
+ 06 Nov 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.24.ebuild,
+ resin-3.1.2.ebuild:
+ Add missing app-arch/unzip to DEPEND.
+
+ 13 Oct 2007; Markus Rothe <corsair@gentoo.org> resin-3.0.24.ebuild:
+ Stable on ppc64; bug #191740
+
+ 08 Oct 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-2.1.17.ebuild,
+ resin-3.0.24.ebuild, resin-3.1.2.ebuild:
+ Fix variable quoting.
+
+ 08 Oct 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.1.2.ebuild:
+ Raise maximum memory to 384m, see bug #194860.
+
+ 19 Sep 2007; Lars Weiler <pylon@gentoo.org> resin-3.0.24.ebuild:
+ Stable on ppc; bug #191740.
+
+ 16 Sep 2007; Christian Faulhammer <opfer@gentoo.org> resin-3.0.24.ebuild:
+ stable x86, bug 191740
+
+ 08 Sep 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/3.0.23/resin.init, -files/3.0.23/resin-3.0.23-gentoo.patch,
+ -files/3.1.1/resin.conf, -files/3.1.1/resin-3.1.1-gentoo.patch,
+ -files/3.0.23/resin.conf, -files/3.1.1/resin.init,
+ -resin-3.0.23-r1.ebuild, -resin-3.1.1-r1.ebuild:
+ Remove unneeded versions.
+
+*resin-3.1.2 (17 Aug 2007)
+*resin-3.0.24 (17 Aug 2007)
+
+ 17 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.0.24/resin.init, +files/3.0.24/resin-3.0.24-gentoo.patch,
+ +files/3.1.2/resin.conf, +files/3.1.2/resin-3.1.2-gentoo.patch,
+ +files/3.0.24/resin.conf, +files/3.1.2/resin.init, +resin-3.0.24.ebuild,
+ +resin-3.1.2.ebuild:
+ Version bump.
+
+ 17 Jun 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ files/3.0.22/resin.conf, files/3.0.23/resin.conf:
+ Add -d to java-config to resolve dependecies.
+
+ 26 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.22.ebuild,
+ resin-3.0.23-r1.ebuild:
+ Add calls to java-pkg-2_pkg_setup, see bug #179788.
+
+ 24 May 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ files/3.0.22/resin.init, files/3.0.23/resin.init, files/3.1.1/resin.init:
+ Make the init.d script free of bash syntax, see bug #179633.
+
+ 18 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.22.ebuild:
+ Fix RDEPEND.
+
+ 18 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> files/3.1.1/resin.conf,
+ files/3.1.1/resin.init, resin-3.1.1-r1.ebuild:
+ Fix starting of resin (bug #178149).
+
+*resin-3.1.1-r1 (16 May 2007)
+*resin-3.0.23-r1 (16 May 2007)
+
+ 16 May 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ files/3.0.23/resin-3.0.23-gentoo.patch,
+ files/3.1.1/resin-3.1.1-gentoo.patch, -resin-3.0.23.ebuild,
+ +resin-3.0.23-r1.ebuild, -resin-3.1.1.ebuild, +resin-3.1.1-r1.ebuild:
+ Use dev-java/resin-servlet-api.
+
+*resin-3.1.1 (15 May 2007)
+*resin-3.0.23 (15 May 2007)
+
+ 15 May 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/3.1.0/resin-3.1.0-gentoo.patch, +files/3.0.23/resin.conf,
+ -files/3.1.0/resin.conf, +files/3.0.23/resin-3.0.23-gentoo.patch,
+ +files/3.0.23/resin.init, -files/3.1.0/resin.init,
+ +files/3.1.1/resin.conf, +files/3.1.1/resin-3.1.1-gentoo.patch,
+ +files/3.1.1/resin.init, +resin-3.0.23.ebuild, -resin-3.1.0.ebuild,
+ +resin-3.1.1.ebuild:
+ Version bumps.
+
+ 29 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> resin-3.1.0.ebuild:
+ Fix dependencies and call java-pkg-2_pkg_setup in pkg_setup.
+
+ 21 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-2.1.17.ebuild:
+ Use newinitd, newconfd and doenvd, see bug #174266.
+
+ 11 Apr 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.22.ebuild,
+ resin-3.1.0.ebuild:
+ Fix few QA issues.
+
+ 03 Feb 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/3.0.21/resin.conf, -files/3.0.21/resin-3.0.21-gentoo.patch,
+ -files/3.0.21/resin.init, -resin-3.0.21.ebuild:
+ Remove old version.
+
+ 03 Feb 2007; Steve Dibb <beandog@gentoo.org> resin-3.0.22.ebuild:
+ amd64 stable, bug 161021
+
+ 20 Jan 2007; nixnut <nixnut@gentoo.org> resin-3.0.22.ebuild:
+ Stable on ppc wrt bug 161021
+
+ 11 Jan 2007; Christian Faulhammer <opfer@gentoo.org> resin-3.0.22.ebuild:
+ stable x86, bug #161021
+
+ 09 Jan 2007; Krzysiek Pawlik <nelchael@gentoo.org> resin-2.1.17.ebuild,
+ resin-3.0.22.ebuild, resin-3.1.0.ebuild:
+ Fix one warning and einfo usage.
+
+ 09 Jan 2007; Markus Rothe <corsair@gentoo.org> resin-3.0.22.ebuild:
+ Stable on ppc64; bug #161021
+
+ 08 Jan 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ files/3.0.22/resin.init:
+ Fix init.d script for bug #149460 (empty GENTOO_VM).
+
+ 02 Jan 2007; Krzysiek Pawlik <nelchael@gentoo.org> files/3.1.0/resin.conf,
+ files/3.1.0/resin.init:
+ Fix init.d script.
+
+*resin-3.1.0 (26 Dec 2006)
+
+ 26 Dec 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.1.0/resin.conf, +files/3.1.0/resin-3.1.0-gentoo.patch,
+ +files/3.1.0/resin.init, +resin-3.1.0.ebuild:
+ Version bump.
+
+ 24 Nov 2006; Krzysiek Pawlik <nelchael@gentoo.org> -files/3.0.8/21resin,
+ -files/3.0.8/resin.conf, -files/3.0.8/resin.init,
+ -files/3.0.8/wrapper.pl.diff, -resin-3.0.8-r1.ebuild:
+ Remove old version.
+
+ 24 Nov 2006; Markus Rothe <corsair@gentoo.org> resin-3.0.21.ebuild:
+ Stable on ppc64; bug #154682
+
+ 23 Nov 2006; Tobias Scherbaum <dertobi123@gentoo.org> resin-3.0.21.ebuild:
+ ppc stable, bug #154682
+
+ 23 Nov 2006; <blubb@gentoo.org> resin-3.0.21.ebuild:
+ stable on amd64
+
+*resin-3.0.22 (19 Nov 2006)
+
+ 19 Nov 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.0.22/resin.conf, +files/3.0.22/resin-3.0.22-gentoo.patch,
+ +files/3.0.22/resin.init, +resin-3.0.22.ebuild:
+ Version bump.
+
+ 10 Nov 2006; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.21.ebuild:
+ Stable on x86.
+
+ 11 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> -files/2.1.14/21resin,
+ -files/2.1.14/resin.conf, -files/2.1.14/resin.diff,
+ -files/2.1.14/resin.init, -resin-2.1.14.ebuild:
+ Remove old version.
+
+ 07 Oct 2006; Vlastimil Babka <caster@gentoo.org>
+ files/digest-resin-3.0.8-r1, Manifest:
+ Fixed digest wrt bug #150322.
+
+ 05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> resin-2.1.14.ebuild,
+ resin-2.1.17.ebuild, resin-3.0.8-r1.ebuild:
+ Dropping sparc keywords, see #96229
+
+ 04 Oct 2006; Simon Stelling <blubb@gentoo.org> resin-2.1.17.ebuild:
+ stable on amd64
+
+ 28 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> resin-2.1.17.ebuild:
+ Stable on x86.
+
+ 28 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ files/3.0.21/resin.conf, files/3.0.21/resin.init, resin-3.0.21.ebuild:
+ Fix bug #149447 and bug #149451.
+
+ 24 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.21.ebuild:
+ Update DEPEND to use new sun-jaf and sun-javamail.
+
+ 11 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml:
+ Updated metadata.xml to list me as primary maintainer.
+
+ 11 Sep 2006; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.21.ebuild:
+ Added source USE flag.
+
+*resin-3.0.21 (14 Aug 2006)
+
+ 14 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org> -files/3.0.12/21resin,
+ -files/3.0.12/gentoo.diff, -files/3.0.12/resin.conf,
+ -files/3.0.12/resin.init, -files/3.0.12/wrapper.pl.diff,
+ -files/3.0.19/resin-3.0.19-gentoo.patch, -files/3.0.19/resin.conf,
+ -files/3.0.19/resin.init, -files/3.0.20/resin-3.0.20-gentoo.patch,
+ -files/3.0.20/resin.conf, -files/3.0.20/resin.init,
+ +files/3.0.21/resin-3.0.21-gentoo.patch, +files/3.0.21/resin.conf,
+ +files/3.0.21/resin.init, -resin-3.0.12.ebuild, -resin-3.0.19.ebuild,
+ -resin-3.0.20.ebuild, +resin-3.0.21.ebuild:
+ Version bump, cleaned up old versions.
+
+ 02 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org> resin-3.0.20.ebuild:
+ Fixed DEPEND on dev-java/sun-jaf-bin.
+
+*resin-3.0.20 (02 Aug 2006)
+
+ 02 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.0.20/resin.conf, +files/3.0.20/resin-3.0.20-gentoo.patch,
+ +files/3.0.20/resin.init, +resin-3.0.20.ebuild:
+ Version bump.
+
+*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
+
+ 20 Jul 2006; Markus Rothe <corsair@gentoo.org> resin-3.0.19.ebuild:
+ Added ~ppc64; bug #139779
+
+*resin-3.0.19 (01 Jul 2006)
+
+ 01 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/3.0.19/resin.conf, +files/3.0.19/resin-3.0.19-gentoo.patch,
+ +files/3.0.19/resin.init, +resin-3.0.19.ebuild:
+ Version bump, uses new Java build system. Closes bug #63246.
+
+ 29 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> +files/3.0.12/gentoo.diff,
+ resin-3.0.12.ebuild:
+ added patch to fix #90003. patch also corrects fpic issue for a shared object.
+
+ 19 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> +files/3.0.12/21resin,
+ +files/3.0.12/resin.conf, +files/3.0.12/resin.init,
+ +files/3.0.12/wrapper.pl.diff, resin-3.0.12.ebuild, resin-3.0.8-r1.ebuild:
+ added missing patchset, fixes #89602. also corrected license for resin > 3.0,
+ fixes #89595
+
+*resin-3.0.12 (18 Apr 2005)
+
+ 18 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> -files/2.1.9/21resin,
+ -files/2.1.9/resin.conf, -files/2.1.9/resin.diff, -files/2.1.9/resin.init,
+ resin-2.1.14.ebuild, -resin-2.1.9.ebuild, +resin-3.0.12.ebuild,
+ resin-3.0.8-r1.ebuild, -resin-3.0.8.ebuild:
+ new upstream version, fixes #89156. did some cleanup, marked 2.1.14 and
+ 3.0.8-r1 stable on amd64 and x86.
+
+ 17 Dec 2004; Markus Rothe <corsair@gentoo.org> resin-3.0.8-r1.ebuild:
+ Stable on ppc64
+
+ 17 Nov 2004; Markus Rothe <corsair@gentoo.org> resin-3.0.8-r1.ebuild:
+ marked ~ppc64; bug #55691
+
+*resin-3.0.8-r1 (10 Sep 2004)
+
+ 10 Sep 2004; Thomas Matthijs <axxo@gentoo.org> files/3.0.8/21resin,
+ +resin-3.0.8-r1.ebuild:
+ fixed the symlink and the conf chown also added a check if /opt/resin/conf is
+ a dir (from 2.* ebuilds), and if it is, i move the files too
+ /etc/resin/conf.old. So that portage can created the symlink.
+ closes bug 63492
+
+ 05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
+ Fixed ChangeLog header.
+
+*resin-2.1.14 (08 Aug 2004)
+
+ 08 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml,
+ +files/2.1.14/21resin, +files/2.1.14/resin.conf, +files/2.1.14/resin.diff,
+ +files/2.1.14/resin.init, +files/2.1.9/21resin, +files/2.1.9/resin.conf,
+ +files/2.1.9/resin.diff, +files/2.1.9/resin.init, +files/3.0.8/21resin,
+ +files/3.0.8/resin.conf, +files/3.0.8/resin.init,
+ +files/3.0.8/wrapper.pl.diff, +resin-2.1.14.ebuild, +resin-2.1.9.ebuild,
+ +resin-3.0.8.ebuild:
+ Moved from net-www/resin to www-servers/resin.
+
+*resin-3.0.8 (30 Jul 2004)
+
+ 30 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +files/3.0.8/21resin,
+ +files/3.0.8/resin.conf, +files/3.0.8/resin.init,
+ +files/3.0.8/wrapper.pl.diff, resin-2.1.14.ebuild, +resin-3.0.8.ebuild:
+ new upstream version
+
+*resin-2.1.14 (30 Jul 2004)
+
+ 27 Jul 2004; Thomas Matthijs <axxo@gentoo.org> resin-2.1.14.ebuild:
+ Version bump
+
+ 26 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ resin-2.1.9.ebuild:
+ ebuild cleanup
+
+ 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> resin-2.1.9.ebuild:
+ Add inherit eutils
+
+ 15 Dec 2003; <spider@gentoo.org> resin-2.1.9.ebuild:
+ QA: fixing chown user.group to user:group, bug #35127
+
+ 30 Apr 2003; Dylan Carlson <absinthe@gentoo.org> resin-2.1.9.ebuild:
+ With the addition of resin-ee, the two are now set to block each other.
+
+*resin-2.1.9 (30 Apr 2003)
+
+ 30 Apr 2003; Dylan Carlson <absinthe@gentoo.org> resin-2.1.9.ebuild,
+ files/2.1.9/21resin, files/2.1.9/resin.conf, files/2.1.9/resin.diff,
+ files/2.1.9/resin.init:
+ Initial import -- also closes #11778.
+
+ This is a binary ebuild until the source dist is sane enough where this
+ can be changed.
+
+ There are verbose post-installation comments; be sure to read them.
diff --git a/www-servers/resin/Manifest b/www-servers/resin/Manifest
new file mode 100644
index 0000000..db4eb0a
--- /dev/null
+++ b/www-servers/resin/Manifest
@@ -0,0 +1,7 @@
+AUX 4.0.44/build.xml.patch 2259 SHA256 80f3f9c3677b4c2e114485490409f5328f1855ff3d331f372557e4ad12909404 SHA512 a1792fa2afd100238967c3d93fbe14a276a647ea5902d7fbabe70fe2d2416233486bdb604a879bd0fe8564289c5d20fb4dba3b9a8dd3eadb51c5ae0ef635de93 WHIRLPOOL 6a2503a33495b7d348e029a4dbd0a7808f0d2f27ddd0b7936eb4cc9fd27b82be3f23c0739ece0912aaf74a3eaca1c9114a16485621953e679c6eca87031260f6
+AUX 4.0.44/resin.conf 542 SHA256 d240091b3306ae4562c82cfcaf016e1d21e8abbd92a927a069beecd74383bd1e SHA512 61b34c022712f31d3cadcf8e78095900085c8cde5ba5b8cc46d603019f461ae3271fc41a9f6b63d89aeb675de9fb72b27123fc6c6774eaee5349d37cc2c9693f WHIRLPOOL 39f0ea78e56c67a9d8c7129a10e19c4b7113ed5c5b4c1ca62b847f867ecbbbd1795c39a7b7febd261142fd725d47466083cf45f37fb22b90dc8181056922f1af
+AUX 4.0.44/resin.init 797 SHA256 54645e9ad791f08bb88da68de3b83a4fc4d439bef467d7b7fef8790b0b86ea21 SHA512 bf37f00a366b6b7afaaf7229c381a0d6c9e9166b3b4e30c84188874f13c5b43cff65ff635f62e70e612ce4cb4e97c0c451763334697c488e0a2dd24f4807ab0a WHIRLPOOL debb00cea116c89363cef29b357ba7219541871a7c349640a830fcfc8d6e7fe0d7ac3ee9439f5a2a1f7cb0e750cb8cc302abea6b48296d0812947991496ddf48
+DIST resin-4.0.44-src.zip 40342346 SHA256 dc2900e03d5a328ad4801df4ea2413f5d96bc1408301fa0f74545b3061c4ddfd SHA512 bef7cc8e42522396b6041e6b38858f8f2ef92f0a753b7a86e191f62f6060810930765cb834eeb53404e08f8b9b3f2e4c4d3b632cb9b80edf929b4a41bbb3d5f8 WHIRLPOOL bec0fa955dc2c6f1b04b18eb9f68424ba05814f25b690018fdb6fbe9c424730c9f19cfcec3f93f0ff1b6ce2e998d22a435788bcd52370b7c9653ef17a4cc75fa
+EBUILD resin-4.0.44-r5.ebuild 4678 SHA256 f3d910c0aadde729742462324453c0e9b9cc3940964be05903fcc3b75411739a SHA512 19b3dbbcd830c05cd5cc75f8cf9a5ae4e284116003994d81d7f62302027fb3e209316fccd31264018e84a3c5b790872caf2a93e133d0aa14e43a1eb1282776e2 WHIRLPOOL 1332734c44146f453906e86ee89ce7955e617674ea3ceca8e88405905f48ca393aacaf8fadf81236092059157add93cf67d12dd6c08aedb6bd4ffbc80f6c8965
+MISC ChangeLog 22242 SHA256 1f459878766899ae094d51aa9ed2a000983f4038817be13567ee0973f329b636 SHA512 6540168f3dc33a70794dab9247d06e72fdcd3b92529101594c0e6d4fc4c9da56610fcebb6d0191e4766fa8c15f175bcd7bebd8dd0a52dd3f568e81c5c6abcd24 WHIRLPOOL 06a22d8a9ebc4c7b6acf15651f58a9e0d18fe1ec239924e22f45f128cda24818e22bfbb458a347cd01fd537107ddad7da4fcaca30862da2c8921cd288ec743e5
+MISC metadata.xml 231 SHA256 33d3f517124d06617e64c345f581fdd273eaef8c77bcc85ddbf4dd099fceb2d7 SHA512 de2d5cf2ccd9c18fa371274c350a3c6620e1e880f8a143619963e528c7306bb62826449d8bf5f34cb289eb91946ebe139cef35aacba93436dbd57c3c8e10b77a WHIRLPOOL dc0a422577c25ff52ddda0ac9e6272a1e7d6a72bebae2b5c063695b01b51913fe24eba913a25f540e54059e293bcfba8a4f465936dd89755cd2ace8c53ada490
diff --git a/www-servers/resin/files/4.0.44/build.xml.patch b/www-servers/resin/files/4.0.44/build.xml.patch
new file mode 100644
index 0000000..dc3a413
--- /dev/null
+++ b/www-servers/resin/files/4.0.44/build.xml.patch
@@ -0,0 +1,59 @@
+--- build.xml.orig 2015-08-12 23:14:20.302000000 +0000
++++ build.xml 2015-08-12 23:14:47.909000000 +0000
+@@ -12,7 +12,7 @@
+ <property name="eclipse.home" value="${user.home}/eclipse"/>
+
+ <target name="compile"
+- depends="init, hessian, javaee, jaxstream, portlet, script, resin-kernel, quercus-dev, resin, ecmascript, cdi, webutil, conf, ext, j2ee-management, resin-eclipselink, gae, jasper">
++ depends="init, hessian, javaee, jaxstream, portlet, script, resin-kernel, quercus-dev, resin, ecmascript, cdi, webutil, conf, ext, j2ee-management, gae">
+ </target>
+
+ <!--
+@@ -27,10 +27,6 @@
+ </antcall>
+ </target>
+ -->
+- <target name="resin-eclipselink" depends="eclipselink">
+- <copy file="modules/eclipselink/dist/resin-eclipselink.jar"
+- todir="${resin.lib}"/>
+- </target>
+
+ <target name="richfaces" depends="init">
+ <antcall target="artifact" inheritRefs="true">
+@@ -92,13 +88,6 @@
+ </antcall>
+ </target>
+
+- <target name="eclipselink" depends="init">
+- <antcall target="module" inheritRefs="true">
+- <param name="module.name" value="eclipselink"/>
+- <param name="module.jar" value="resin-eclipselink.jar"/>
+- </antcall>
+- </target>
+-
+ <!-- gae APIs for quercus testing -->
+ <target name="gae" depends="init">
+ <antcall target="module" inheritRefs="true">
+@@ -437,13 +426,6 @@
+ </antcall>
+ </target>
+
+- <target name="jasper" depends="init">
+- <antcall target="module" inheritRefs="true">
+- <param name="module.name" value="jasper"/>
+- <param name="module.jar" value="resin-jasper.jar"/>
+- </antcall>
+- </target>
+-
+ <target name="version">
+ <copy file="${resin.modules}/kernel/src/com/caucho/Version.tmpl"
+ tofile="${resin.modules}/kernel/src/com/caucho/Version.java"
+@@ -903,7 +885,7 @@
+ <delete dir="${dist}/${dist.name}"/>
+ </target>
+
+- <target name="dist" depends="dist.clean, configure, compile, update, junit, eclipselink, artifacts, resin.dist.build, dist.package, quercus.war"/>
++ <target name="dist" depends="dist.clean, configure, compile, update, junit, artifacts, resin.dist.build, dist.package, quercus.war"/>
+
+ <target name="configure" depends="init">
+ <copy tofile="modules/c/src/resin/Makefile.in"
diff --git a/www-servers/resin/files/4.0.44/resin.conf b/www-servers/resin/files/4.0.44/resin.conf
new file mode 100644
index 0000000..a48840b
--- /dev/null
+++ b/www-servers/resin/files/4.0.44/resin.conf
@@ -0,0 +1,16 @@
+# 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 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"
+
+# Select which server will be started, this is an advanced feature, please refer
+# to Resin documentation.
+SERVER_ID=""
diff --git a/www-servers/resin/files/4.0.44/resin.init b/www-servers/resin/files/4.0.44/resin.init
new file mode 100644
index 0000000..6103369
--- /dev/null
+++ b/www-servers/resin/files/4.0.44/resin.init
@@ -0,0 +1,37 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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.xml -server \"${SERVER_ID}\" -resin-home __RESIN_HOME__ -root-directory __RESIN_HOME__ ${extraArgs} ${@}"
+
+ ebegin "${msg}"
+ su - resin -c "${cmdline}"
+ eend $?
+}
+
+start() {
+ runResin "Starting Resin" "start"
+}
+
+stop() {
+ runResin "Stopping Resin" "shutdown"
+}
diff --git a/www-servers/resin/metadata.xml b/www-servers/resin/metadata.xml
new file mode 100644
index 0000000..3447822
--- /dev/null
+++ b/www-servers/resin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <use>
+ <flag name='admin'>Enable Resin admin webapp</flag>
+ </use>
+</pkgmetadata>
diff --git a/www-servers/resin/resin-4.0.44-r5.ebuild b/www-servers/resin/resin-4.0.44-r5.ebuild
new file mode 100644
index 0000000..f34b81f
--- /dev/null
+++ b/www-servers/resin/resin-4.0.44-r5.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 eutils flag-o-matic multilib user
+
+DESCRIPTION="A fast Servlet and JSP engine"
+HOMEPAGE="http://www.caucho.com"
+SRC_URI="http://www.caucho.com/download/${P}-src.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="admin doc"
+
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="dev-java/resin-servlet-api:3.1
+ dev-java/jsr101:0
+ dev-java/mojarra:2.2
+ dev-java/oracle-javamail:0
+ dev-java/validation-api:1.0
+ dev-java/glassfish-xmlrpc-api:0
+ dev-java/glassfish-deployment-api:1.2"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/unzip
+ dev-libs/openssl
+ dev-java/ant-core:0
+ ${CDEPEND}"
+
+RESIN_HOME="/usr/$(get_libdir)/resin"
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+EANT_GENTOO_CLASSPATH="
+jsr101
+mojarra-2.2
+oracle-javamail
+validation-api-1.0
+glassfish-xmlrpc-api
+resin-servlet-api-3.1
+glassfish-deployment-api-1.2"
+
+PATCHES=(
+ "${FILESDIR}"/"${PV}"/build.xml.patch
+)
+
+pkg_setup() {
+ java-pkg-2_pkg_setup
+ enewgroup resin
+ enewuser resin -1 /bin/bash ${RESIN_HOME} resin
+}
+
+src_prepare() {
+ local vm_version=$(java-pkg_get-vm-version)
+
+ epatch "${PATCHES[@]}"
+
+ # No bundled JARs!
+ rm -f "${S}/modules/ext/"*.jar || die
+ rm -rf "${S}/project-jars" || die
+
+ java-ant_bsfix_one "${S}/build.xml"
+ java-ant_bsfix_one "${S}/build-common.xml"
+
+ rm -rf lib/* || die
+
+ ln -s $(java-config --jdk-home)/lib/tools.jar || die
+}
+
+src_configure() {
+ append-flags -fPIC -DPIC
+
+ chmod 755 "${S}/configure" || die
+ econf --prefix=${RESIN_HOME} || die "econf failed"
+}
+
+src_compile() {
+ einfo "Building libraries..."
+ emake || die "make failed"
+
+ einfo "Building jars..."
+ eant || die "ant failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ einfo "Moving configuration to /etc ..."
+ dodir /etc/
+ mv "${D}/${RESIN_HOME}/conf" "${D}/etc/resin" || die "mv of conf failed"
+ dosym /etc/resin ${RESIN_HOME}/conf
+
+ einfo "Rewriting resin.xml ..."
+ sed -i \
+ -e 's,${resin.root}/doc/resin-doc,webapps/resin-doc,' \
+ -e 's,${resin.root}/doc/admin,webapps/admin,' \
+ "${D}/etc/resin/resin.xml" || die
+
+ einfo "Fixing log directory ..."
+ rm -rf "${D}/${RESIN_HOME}/log" || die
+ keepdir /var/log/resin
+ dosym /var/log/resin ${RESIN_HOME}/log
+
+ einfo "Installing basic documentation ..."
+ dodoc README "${S}"/conf/*.xml
+
+ einfo "Installing init.d script ..."
+ newinitd "${FILESDIR}/${PV}/resin.init" resin
+ newconfd "${FILESDIR}/${PV}/resin.conf" resin
+
+ sed -i -e "s,__RESIN_HOME__,${RESIN_HOME},g" "${D}/etc/init.d/resin" || die
+
+ einfo "Fixing location of jars ..."
+ rm -f "${S}/lib/tools.jar" || die
+ java-pkg_dojar "${S}"/lib/*.jar
+ rm -fr "${D}/${RESIN_HOME}/lib" || die
+ dosym /usr/share/resin/lib ${RESIN_HOME}/lib
+
+ einfo "Symlinking directories from /var/lib/resin ..."
+ rm -rf "${D}/${RESIN_HOME}/resin-data" || die
+ rm -rf "${D}/${RESIN_HOME}/watchdog-data" || die
+ dodir /var/lib/resin/webapps
+ keepdir /var/lib/resin/hosts
+ keepdir /var/lib/resin/resin-data
+ keepdir /var/lib/resin/watchdog-data
+ mv "${D}"/${RESIN_HOME}/webapps/* "${D}/var/lib/resin/webapps" || \
+ die "mv of webapps failed"
+ rm -rf "${D}/${RESIN_HOME}/webapps" || die
+ dosym /var/lib/resin/webapps ${RESIN_HOME}/webapps
+ dosym /var/lib/resin/hosts ${RESIN_HOME}/hosts
+ dosym /var/lib/resin/resin-data ${RESIN_HOME}/resin-data
+ dosym /var/lib/resin/watchdog-data ${RESIN_HOME}/watchdog-data
+
+ dosym \
+ "$(java-pkg_getjar resin-servlet-api-3.1 resin-servlet-api.jar)" \
+ "${JAVA_PKG_JARDEST}/resin-servlet-api.jar"
+
+ use admin && {
+ einfo "Installing administration app ..."
+ cp -a "${S}/doc/admin" "${D}/var/lib/resin/webapps/" || die
+ }
+ use doc && {
+ einfo "Installing documentation app ..."
+ cp -a "${S}/doc/resin-doc" "${D}/var/lib/resin/webapps/" || die
+ }
+
+ use source && {
+ einfo "Installing sources ..."
+ java-pkg_dosrc "${S}"/modules/*/src/* > /dev/null
+ }
+
+ einfo "Removing stale directories ..."
+ rm -fr "${D}/${RESIN_HOME}/bin" || die
+ rm -fr "${D}/${RESIN_HOME}/doc" || die
+ rm -fr "${D}/${RESIN_HOME}/keys" || die
+ rm -fr "${D}/${RESIN_HOME}/licenses" || die
+ rm -fr "${D}/etc/resin/"*.orig || die
+
+ einfo "Fixing ownerships and permissions ..."
+ fowners -R 0:root /
+ fowners -R resin:resin /etc/resin
+ fowners -R resin:resin /var/lib/resin
+ fowners -R resin:resin /var/log/resin
+
+ fperms 644 /etc/conf.d/resin
+ fperms 755 /etc/init.d/resin
+ fperms 750 /var/lib/resin
+ fperms 750 /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/resin/resin.properties."
+ elog
+}