From owner-freebsd-ports Wed Nov 14 9: 0:40 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3495437B421 for ; Wed, 14 Nov 2001 09:00:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAEH05i16485; Wed, 14 Nov 2001 09:00:05 -0800 (PST) (envelope-from gnats) Received: from mail.wlcg.com (mail.wlcg.com [198.92.199.5]) by hub.freebsd.org (Postfix) with ESMTP id EA4C937B417 for ; Wed, 14 Nov 2001 08:55:11 -0800 (PST) Received: (from root@localhost) by mail.wlcg.com (8.11.6/8.11.6) id fAEGtBE25593 for freebsd-gnats-submit@freebsd.org; Wed, 14 Nov 2001 11:55:11 -0500 (EST) (envelope-from rsimmons) Received: (from rsimmons@localhost) by mail.wlcg.com (8.11.6/8.11.6av) id fAEGtAX25582; Wed, 14 Nov 2001 11:55:10 -0500 (EST) (envelope-from rsimmons) Message-Id: <200111141655.fAEGtAX25582@mail.wlcg.com> Date: Wed, 14 Nov 2001 11:55:10 -0500 (EST) From: Rob Simmons Reply-To: Rob Simmons To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/31984: Update orion port for config of rmi server during install Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 @@ -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} "//s///" \ + > ${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