From owner-freebsd-ports@FreeBSD.ORG Tue Feb 17 13:52:55 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BAA016A4CE for ; Tue, 17 Feb 2004 13:52:55 -0800 (PST) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3083A43D1F for ; Tue, 17 Feb 2004 13:52:55 -0800 (PST) (envelope-from ms@dell-laptop.6bone.nl) Received: by postman.ripe.net (Postfix, from userid 8) id 96D794EE0B; Tue, 17 Feb 2004 22:52:54 +0100 (CET) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by postman.ripe.net (Postfix) with ESMTP id 4B4C74EE0A; Tue, 17 Feb 2004 22:52:54 +0100 (CET) Received: from dell-laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.10/8.11.6) with SMTP id i1HLqse2016392; Tue, 17 Feb 2004 22:52:54 +0100 Received: (nullmailer pid 7128 invoked by uid 1001); Tue, 17 Feb 2004 21:52:53 -0000 Date: Tue, 17 Feb 2004 22:52:53 +0100 From: Mark Santcroos To: marshall@chezmarshall.com Message-ID: <20040217215253.GA7083@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Level: X-RIPE-Spam-Status: N 0.454088 / 0.0 / 0.0 X-RIPE-Signature: 2128fbc2cacc57ce1b130b642d9f3155 cc: ports@freebsd.org Subject: perforce startup script change X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2004 21:52:55 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline What do you think about the attached patch? It configures the startup (default=disabled) of the perforce webserver. Mark --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="perf.diff" diff -ur old/perforce.conf.in new/perforce.conf.in --- old/perforce.conf.in Tue Feb 17 22:40:53 2004 +++ new/perforce.conf.in Tue Feb 17 22:50:08 2004 @@ -58,3 +58,10 @@ # Uncomment this line to have the proxy server started automatically # #PERFORCE_PROXY_START=yes + +# +# Perforce web server +# +PERFORCE_WEB_PORT="6060" +PERFORCE_WEB_OPTIONS="-b -l -w $PERFORCE_WEB_PORT -p $PERFORCE_PORT" +#PERFORCE_WEB_START=yes diff -ur old/perforce.sh.in new/perforce.sh.in --- old/perforce.sh.in Tue Feb 17 22:40:53 2004 +++ new/perforce.sh.in Tue Feb 17 22:47:56 2004 @@ -5,6 +5,7 @@ p4d=@PREFIX@/sbin/p4d p4ftpd=@PREFIX@/sbin/p4ftpd p4p=@PREFIX@/sbin/p4p +p4web=@PREFIX@/bin/p4web case $1 in start) @@ -20,6 +21,10 @@ if [ -x $p4p -a x$PERFORCE_PROXY_START = xyes ]; then echo -n ' p4p' $p4p $PERFORCE_PROXY_OPTIONS + fi + if [ -x $p4web -a x$PERFORCE_WEB_START = xyes ]; then + echo -n ' p4web' + $p4web $PERFORCE_WEB_OPTIONS & fi ;; --tThc/1wpZn/ma/RB--