From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 15 05:30:06 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64C631065685 for ; Sun, 15 Jun 2008 05:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 45C648FC16 for ; Sun, 15 Jun 2008 05:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5F5U6sJ043153 for ; Sun, 15 Jun 2008 05:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5F5U69b043148; Sun, 15 Jun 2008 05:30:06 GMT (envelope-from gnats) Date: Sun, 15 Jun 2008 05:30:06 GMT Message-Id: <200806150530.m5F5U69b043148@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Adrian Thearle Cc: Subject: Re: ports/124597: [NEW PORT] net/callweaver: Fork of the popular Open Source Asterisk PBX formerly known as OpenPBX X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Adrian Thearle List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2008 05:30:06 -0000 The following reply was made to PR ports/124597; it has been noted by GNATS. From: Adrian Thearle To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/124597: [NEW PORT] net/callweaver: Fork of the popular Open Source Asterisk PBX formerly known as OpenPBX Date: Sun, 15 Jun 2008 15:24:05 +1000 This is a multi-part message in MIME format. --------------010205050507030900090409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Opps, found one more little thing, apply this patch before committing/using It fixes up the copying of the sample config files in pkg-install --------------010205050507030900090409 Content-Type: text/plain; name="patchfile" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patchfile" --- pkg-install 2008-06-15 10:41:52.462179000 +1000 +++ ../../user/callweaver/pkg-install 2008-06-15 14:57:56.000000000 +1000 @@ -43,10 +43,10 @@ POST-INSTALL) for samplefile in ${PKG_PREFIX}/etc/callweaver/*.conf.sample do - echo "Copying configfile $samplefile" configfile=`/usr/bin/basename ${samplefile} .sample` - if [ ! -f $samplefile ]; then \ - ${CP} -p ${PREFIX}/etc/orbit.conf ; \ + if [ ! -f $configfile ]; then \ + echo "Copying configfile $samplefile to ${PKG_PREFIX}/etc/callweaver/$configfile" + cp -p ${samplefile} ${PKG_PREFIX}/etc/callweaver/${configfile} fi done --------------010205050507030900090409--