Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31724 Details for
Bug 18352
Tomcat: make build from source
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
first quick attempt at the ebuild
tomcat-5.0.24.ebuild (text/plain), 2.02 KB, created by
Pavel
on 2004-05-19 15:56:52 UTC
(
hide
)
Description:
first quick attempt at the ebuild
Filename:
MIME Type:
Creator:
Pavel
Created:
2004-05-19 15:56:52 UTC
Size:
2.02 KB
patch
obsolete
>S=${WORKDIR}/jakarta-${P}-src >DESCRIPTION="Apache Servlet Engine (binary distribution)" >SRC_URI="http://apache.mirror.mcgill.ca/jakarta/tomcat-5/v${PV}/src/jakarta-tomcat-${PV}-src.tar.gz" >HOMEPAGE="http://jakarta.apache.org/tomcat" >KEYWORDS="x86 amd64" >LICENSE="Apache-1.1" >SLOT="0" > >DEPEND=">=virtual/jdk-1.4 > >=dev-java/ant-1.4 > >=dev-java/commons-beanutils-1.4 > >=dev-java/commons-collections-2.0 > >=dev-java/commons-logging-1.0.1 > >=dev-java/regexp-1.3 > >=dev-java/xerces-2.6.1" >RDEPEND=">=virtual/jdk-1.3" >IUSE="doc" > >pkg_setup() { > enewgroup tomcat 265 > enewuser tomcat 265 /bin/bash /opt/jakarta/tomcat tomcat >} > >src_compile() { > addpredict /dev/random > local antflags="build" > antflags="${antflags} -Dbase.path=${WORKDIR} -Djavac.target=1.4" > ant ${antflags} || die "compile failed" >} > ># http://www.galatea.com/flashguides/virtual-hosting-tomcat.xml ># http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html ># http://www.firthsoftware.co.uk/Setup12.jsp ># http://www.firthsoftware.co.uk/PAYPAL.jsp ># http://cephas.net/blog/2004/01/19/ant_tomcat_manager_on_virtual_hosts.html ># http://www.csse.uwa.edu.au/~ryan/tech/tomcat.html > >src_install() { > > TOMCAT_HOME=/opt/jakarta/tomcat > TOMCAT_CONF=/etc/tomcat5/conf > > cd ${S}/jakarta-${PN}-5/build > > > > dodir ${TOMCAT_HOME} > > diropts -o tomcat -g tomcat > dodir ${TOMCAT_HOME}/{work,temp} > dodir ${ROOT}/etc/tomcat5 > dodir /var/log/${PN} > dodir /var/webapps > > > dosym ${TOMCAT_CONF} ${TOMCAT_HOME}/conf > dosym /var/log/${PN} ${TOMCAT_HOME}/logs > dosym /var/webapps/localhost ${TOMCAT_HOME}/webapps > > # 1) root owned directory install.. > cp -Rdp bin common server shared ${D}${TOMCAT_HOME} > > # 2) tomcat owned directory install.. > mv -v conf ${D}/etc/tomcat5 > mv -v webapps ${D}/var/webapps/localhost > > chown -R tomcat:tomcat ${D}{${TOMCAT_CONF},/var/webapps} > > # 3) init script install, config files .. > > insinto /etc/conf.d; newins ${FILESDIR}/${PV}/tomcat.conf tomcat > exeinto /etc/init.d; newexe ${FILESDIR}/${PV}/tomcat.init tomcat > insinto /etc/env.d; doins ${FILESDIR}/${PV}/21tomcat >}
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 18352
:
31724
|
31738
|
41145
|
41226
|
41360
|
41373
|
42407
|
43029