Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160522 Details for
Bug 231929
[java-overlay] JBoss Application server 4.2.2 ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for jboss application server 4.2.2
jboss-application-server-bin-4.2.2.ebuild (text/plain), 2.19 KB, created by
Geaaru
on 2008-07-16 06:36:13 UTC
(
hide
)
Description:
Ebuild for jboss application server 4.2.2
Filename:
MIME Type:
Creator:
Geaaru
Created:
2008-07-16 06:36:13 UTC
Size:
2.19 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >DESCRIPTION="JBoss Application Server" >HOMEPAGE="http://www.jboss.org/jbossas/" >SRC_URI="http://jboss-${PV}.GA.zip" > >LICENSE="" >SLOT="0" >KEYWORDS="~amd64" > >IUSE="doc" > >COMMON_DEP="!dev-java/jboss-application-server" > >RDEPEND=">=virtual/jre-1.4 > ${COMMON_DEP}" >DEPEND=">=virtual/jdk-1.4 > app-arch/unzip > ${COMMON_DEP}" > >pkg_setup() { > ebegin "Creating jboss group and user" > enewgroup jboss > enewuser jboss -1 /bin/false /dev/null jboss > eend ${?} >} > >src_unpack() { > unpack ${A} > cd ${WORKDIR} > > # rename to gentoo name > mv jboss-${PV}.GA/ ${PF} > cd ${S} >} > >src_install() { > INSTDIR="/opt" > dodir /var/run/jboss /var/log/jboss /var/jboss > insinto ${INSTDIR}/${PF}/bin ; newins bin/run.jar run.jar > insinto ${INSTDIR}/${PF}/bin ; newins bin/shutdown.jar shutdown.jar > insinto ${INSTDIR}/${PF}/bin ; newins bin/run.sh run.sh > insinto ${INSTDIR}/${PF}/bin ; newins bin/shutdown.sh shutdown.sh > cp -r {client,lib,server} ${D}/${INSTDIR}/${PF}/ > use doc && cp -r ${S}/docs/ ${D}/${INSTDIR}/${PF}/ >} > >pkg_preinst() { > newconfd "${FILESDIR}"/jboss_conf.d jboss_server > newinitd "${FILESDIR}"/jboss_server jboss_server >} > >pkg_postinst() { > chown -R jboss:jboss /var/jboss > chown -R jboss:jboss /var/run/jboss > chown -R jboss:jboss /var/log/jboss > einfo "${DESCRIPTION}-${PV} is been installed to ${INSTDIR}/${PF}" > einfo "but server instances must be execute under /var/jboss/server" > einfo "Use: emerge ${PV} --config" >} > ># This function take as input one or two params: ># With 2 param: ># - 1st param for source template used to create jboss home directory ># - 2nd param with name of the server to create. ># With 1 param (with possible values): ># - all: all server mode all, default, minimal are copied on /var/jboss ># directory; ># - minimal: only minimal server is copied on /var/jboss directory; ># - default: only default server is copied on /var/jboss directory; ># - name of the server: a default server is copied on /var/jboss directory ># and renamed to name passed in input. >pkg_config() { > local first_param=$1 > local second_param=$2 > > einfo "params $first_param $second_param" >}
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 231929
:
160522
|
160524
|
160526
|
161220
|
161221