From owner-freebsd-ports Mon Oct 9 8:30:17 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6DA4F37B66E for ; Mon, 9 Oct 2000 08:30:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA09088; Mon, 9 Oct 2000 08:30:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ada.eu.org (marvin.enst.fr [137.194.161.2]) by hub.freebsd.org (Postfix) with ESMTP id 91C0437B503 for ; Mon, 9 Oct 2000 08:29:41 -0700 (PDT) Received: by ada.eu.org (Postfix, from userid 10) id 3265719017; Mon, 9 Oct 2000 17:29:39 +0200 (CEST) Received: by trillian.enst.fr (Postfix, from userid 1000) id 7210120C; Mon, 9 Oct 2000 17:29:23 +0200 (CEST) Message-Id: <20001009152923.7210120C@trillian.enst.fr> Date: Mon, 9 Oct 2000 17:29:23 +0200 (CEST) From: sam@inf.enst.fr Reply-To: sam@inf.enst.fr To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/21863: Port update: devel/perforce Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21863 >Category: ports >Synopsis: Port update: devel/perforce >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 09 08:30:05 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Samuel Tardieu >Release: FreeBSD 4.1-STABLE i386 >Organization: TELECOM Paris >Environment: >Description: Perforce port update >How-To-Repeat: >Fix: Please apply the following patch, and manually add files/perforce and files/perforce.sh.in. --- perforce/Makefile.orig Mon Oct 9 16:56:35 2000 +++ perforce/Makefile Mon Oct 9 17:22:16 2000 @@ -6,28 +6,36 @@ # PORTNAME= perforce -PORTVERSION= 99.2 +PORTVERSION= 00.1 CATEGORIES= devel MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.freebsd/ \ http://www.dsmit.com/p4/ \ ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/doc/man/ EXTRACT_SUFX= -DISTFILES= p4 p4d p4.1 p4d.1 +DISTFILES= p4 p4d p4web p4.1 p4d.1 DIST_SUBDIR= perforce MAINTAINER= sam@inf.enst.fr NO_PACKAGE= Restricted distribution NO_CDROM= Restricted distribution -NO_BUILD= yes MAN1= p4.1 p4d.1 do-extract: @${MKDIR} ${WRKSRC} +do-build: + ${SED} -e "s,@PREFIX@,${PREFIX},g" \ + < files/perforce.sh.in > ${WRKSRC}/perforce.sh + do-install: - ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4 ${PREFIX}/bin - ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4d ${PREFIX}/sbin + ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4 ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4web ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/p4d ${PREFIX}/sbin/ + if [ ! -f ${PREFIX}/etc/perforce ]; then \ + ${INSTALL_DATA} files/perforce ${PREFIX}/etc/; \ + fi + ${INSTALL_SCRIPT} ${WRKSRC}/perforce.sh ${PREFIX}/etc/rc.d/ .for PERFMAN in p4 p4d ${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/${PERFMAN}.1 ${PREFIX}/man/man1 .endfor --- perforce/distinfo.orig Mon Oct 9 16:58:34 2000 +++ perforce/distinfo Mon Oct 9 17:01:36 2000 @@ -1,4 +1,5 @@ -MD5 (perforce/p4) = 6394c00f803fec549b3d22539bbdbe4a -MD5 (perforce/p4d) = 0e14a67349b32ac413876b010ad41024 -MD5 (perforce/p4.1) = 316b0cf0e0c6e0ff63ecdb612e45f58a -MD5 (perforce/p4d.1) = e2f1b2c60690ac4d4d3881faee5aa5e0 +MD5 (perforce/p4) = 9456775cd3acbdf7b61fa5cc9abaa929 +MD5 (perforce/p4d) = f85238c698d4fe724289edd62809a16c +MD5 (perforce/p4web) = efe8d09184767fd1c8d9b63ce6d9f7d4 +MD5 (perforce/p4.1) = ff71fd46bccf768a1681252d358b2b49 +MD5 (perforce/p4d.1) = 17383209ae44dd2383f62cb47fe4ba78 --- perforce/pkg-plist.orig Mon Oct 9 16:58:50 2000 +++ perforce/pkg-plist Mon Oct 9 17:21:15 2000 @@ -1,2 +1,5 @@ bin/p4 +bin/p4web sbin/p4d +etc/perforce +etc/rc.d/perforce.sh --- /dev/null Mon Oct 9 17:23:48 2000 +++ perforce/files/perforce Mon Oct 9 17:17:56 2000 @@ -0,0 +1,18 @@ +# +# Perforce FreeBSD configuration file +# + +# +# Perforce ROOT +# +PERFORCE_ROOT="/usr/p4root" + +# +# Perforce options (see man p4d) +# +PERFORCE_OPTIONS="-v server=1 -L /var/log/perforce" + +# +# Uncomment this line to have the server started automatically +# +#PERFORCE_START=yes --- /dev/null Mon Oct 9 17:23:48 2000 +++ perforce/files/perforce.sh.in Mon Oct 9 17:15:29 2000 @@ -0,0 +1,11 @@ +#!/bin/sh +case $1 in + start) + [ -f @PREFIX@/etc/perforce ] && . @PREFIX@/etc/perforce + if [ x$PERFORCE_START = xyes ]; then + echo -n " perforce server" + p4d -r $PERFORCE_ROOT $PERFORCE_OPTIONS + fi + ;; + *) ;; +esac >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message