Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 11:55:10 -0500 (EST)
From:      Rob Simmons <rsimmons@mail.wlcg.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31984: Update orion port for config of rmi server during install
Message-ID:  <200111141655.fAEGtAX25582@mail.wlcg.com>

next in thread | raw e-mail | index | archive | help

>Number:         31984
>Category:       ports
>Synopsis:       Update orion port for config of rmi server during install
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 14 09:00:04 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Rob Simmons
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD mail 4.4-STABLE FreeBSD 4.4-STABLE #1: Tue Oct 9 11:45:16
EDT 2001 rsimmons@mail:/usr/obj/usr/src/sys/WASABI i386


	
>Description:
Update to the orionserver port so that the port that the rmi server runs
on can be configured during install.  This patch also shows users, by
example, where they can configure the host that the rmi server is bound to.
>How-To-Repeat:
>Fix:
--- www/orion/Makefile.orig     Wed Nov 14 11:23:56 2001
+++ www/orion/Makefile  Wed Nov 14 11:40:26 2001
@@ -43,6 +43,7 @@
 GROUP_ID?=     ${USER_ID}
 PW?=           /usr/sbin/pw
 LISTEN_PORT?=  8090
+RMI_PORT?=     23791
 AUTO_START?=   YES
 
 .include <bsd.port.pre.mk>
@@ -57,6 +58,7 @@
        @${ECHO} "   Using Jikes:             ${WITH_JIKES}"
        @${ECHO} "   Running as (user/group): ${USER_NAME}/${GROUP_NAME} (${USER_ID}:${GROUP_ID})"
        @${ECHO} "   Port to listen at:       ${LISTEN_PORT}"
+       @${ECHO} "   Port for rmi server:     ${RMI_PORT}"
        @${ECHO} "   Starting after install:  ${AUTO_START}"
 
 do-install:
@@ -82,6 +84,11 @@
        ${CAT} ${WRKSRC}/config/default-web-site.xml \
        | ${SED} "/port=\"80\"/s//port=\"${LISTEN_PORT}\"/" \
        > ${ORION_HOME}/config/default-web-site.xml
+
+       @# Configure the port for the rmi server to listen to
+       ${CAT} ${WRKSRC}/config/rmi.xml \
+       | ${SED} "/<rmi-server>/s//<rmi-server host=\"\[ALL\]\" port=\"${RMI_PORT}\">/" \
+       > ${ORION_HOME}/config/rmi.xml
 
        @# Install the 'orionctl' script
        ${CAT} ${FILESDIR}/${ORIONCTL_NAME} \
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111141655.fAEGtAX25582>