ports/124597: [NEW PORT] net/callweaver: Fork of the popular Open Source Asterisk PBX formerly known as OpenPBX
Adrian Thearle
adrian at thearle.com.au
Sun Jun 15 05:30:06 UTC 2008
The following reply was made to PR ports/124597; it has been noted by GNATS.
From: Adrian Thearle <adrian at thearle.com.au>
To: bug-followup at 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--
More information about the freebsd-ports-bugs
mailing list