Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73581 Details for
Bug 63246
www-servers/resin can be build from source and version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
resin-3.0.15.ebuild
resin-3.0.15.ebuild (text/plain), 3.82 KB, created by
Krzysztof Pawlik (RETIRED)
on 2005-11-25 08:17:56 UTC
(
hide
)
Description:
resin-3.0.15.ebuild
Filename:
MIME Type:
Creator:
Krzysztof Pawlik (RETIRED)
Created:
2005-11-25 08:17:56 UTC
Size:
3.82 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit java-pkg eutils flag-o-matic > >DESCRIPTION="A fast Servlet 2.4 and JSP 2.0 engine with EJB and distributed session load balancing." >HOMEPAGE="http://www.caucho.com" >SRC_URI="http://www.caucho.com/download/${P}-src.tar.gz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="doc" >DEPEND=">=virtual/jdk-1.5 > dev-lang/perl > dev-java/ant-core > >=dev-java/iso-relax-20041111-r1 > dev-java/aopalliance > dev-libs/openssl" > >RESIN_HOME="/opt/resin" > >src_unpack() { > > unpack "${A}" > > epatch "${FILESDIR}/${PV}/01-Makefile.in.patch" > # Not needed anymore > #epatch "${FILESDIR}/${PV}/02-config.c.patch" > epatch "${FILESDIR}/${PV}/03-build.xml.patch" > epatch "${FILESDIR}/${PV}/04-wrapper.pl.patch" > epatch "${FILESDIR}/${PV}/05-Resin.java.patch" > >} > >pkg_preinst() { > > enewgroup resin > enewuser resin -1 /bin/bash ${RESIN_HOME} resin > > einfo "Fixing ownership..." > chown -R resin:resin ${D}${RESIN_HOME} > chown -R resin:resin ${D}/var/log/resin > > einfo "Fixing permissions..." > chmod 755 ${D}${RESIN_HOME}/bin/* > chmod 644 ${D}/etc/conf.d/resin > chmod 755 ${D}/etc/init.d/resin > >} > >src_compile() { > > append-flags -fPIC -DPIC > > chmod 755 ${S}/configure > econf --prefix=${RESIN_HOME} || die "econf failed" > > einfo "Building libraries..." > emake || die "emake failed" > > CP=`java-config -p iso-relax`:`java-config -p aopalliance`:${CLASSPATH} > einfo "Building jars..." > einfo "CLASSPATH: ${CP}" > CLASSPATH=${CP} ant || die "ant failed" > > if use doc; then > einfo "Building docs..." > CLASSPATH=${CP} ant 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 > > dodir /var/log/resin > keepdir /var/log/resin > dosym /var/log/resin ${RESIN_HOME}/logs > dosym /var/log/resin ${RESIN_HOME}/log > > dodoc README LICENSE > > insinto /etc/init.d ; insopts -m0750 ; newins ${FILESDIR}/${PV}/resin.init resin > insinto /etc/conf.d ; insopts -m0755 ; newins ${FILESDIR}/${PV}/resin.conf resin > insinto /etc/env.d ; insopts -m0755 ; doins ${FILESDIR}/${PV}/21resin > > java-pkg_dojar ${S}/lib/*.jar > rm -fr ${D}/usr/share/${PN}/lib > dosym ${RESIN_HOME}/lib /usr/share/${PN}/ > > # Cleanup: > rm -f ${D}/etc/resin/*.orig > rm -f ${D}${RESIN_HOME}/bin/wrapper.pl.in > >} > >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 "If you are updating from resin-2* your old configuration files" > einfo "have been moved to /etc/resin/conf.old" > 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 " 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" > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 63246
:
62468
|
62469
|
62470
|
62471
|
62472
|
62473
|
62474
|
62475
|
63346
|
63347
|
70975
|
70976
|
70977
|
70978
|
70979
|
70980
| 73581 |
73582
|
73583
|
73584
|
73586