Date: Sun, 15 Jun 2008 05:30:06 GMT From: Adrian Thearle <adrian@thearle.com.au> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/124597: [NEW PORT] net/callweaver: Fork of the popular Open Source Asterisk PBX formerly known as OpenPBX Message-ID: <200806150530.m5F5U69b043148@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/124597; it has been noted by GNATS. From: Adrian Thearle <adrian@thearle.com.au> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806150530.m5F5U69b043148>