Ryan,<br><br>Here you go: <a href="http://bugs.digium.com/view.php?id=15083">http://bugs.digium.com/view.php?id=15083</a>. I hope I filled it in correctly :-/<br><br>with kind regards,<br><br>Stefan van der Eijk<br><br><div class="gmail_quote">
On Mon, May 11, 2009 at 22:46, Ryan Brindley <span dir="ltr"><<a href="mailto:rbrindley@digium.com">rbrindley@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0);">yes, please file a bug report and we'll address this issue when we can. Thanks for your participation!<br><br>-- <br>Ryan Brindley <br>
Digium, Inc. | Software Developer <br>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA <br>main: +1 256-428-6000 fax: +1 256-864-0464 <br>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a><div>
<div></div><div class="h5"><br><br>----- Original Message -----<br>From: "Stefan van der Eijk" <<a href="mailto:stefan.van.der.eijk@gmail.com" target="_blank">stefan.van.der.eijk@gmail.com</a>><br>To: "Asterisk GUI project discussion" <<a href="mailto:asterisk-gui@lists.digium.com" target="_blank">asterisk-gui@lists.digium.com</a>><br>
Sent: Monday, May 11, 2009 3:28:27 PM GMT -06:00 US/Canada Central<br>Subject: [asterisk-gui] hardcoded paths in scripts incompatible with macports<br><br>Hi,<br><br>I'm working on making a macports version of asterisknow. Macports prefixes the paths with /opt/local, so the regulart /var/lib/asterisk should then become /opt/local/var/lib/asterisk. I've noticed that some of the scripts contain paths hardcoded. Can this be changed so they can be prefixed?<br>
<br>Also some paths to binaries don't match up. On macosx tar is found in /usr/bin/tar (instead of /bin/tar).<br><br>These are the issues I've found in the scripts directory:<br><br>scripts/detectdahdi.sh:<br><div style="margin-left: 40px;">
OUTPUTFILE="/etc/asterisk/dahdi_guiread.conf"<br></div><br>scripts/dldsoundpack:<br><div style="margin-left: 40px;">SOUND_BASE="/var/lib/asterisk/sounds"<br>echo "DoneDoneDone" >> /var/lib/asterisk/static-http/config/sysinfo_output.html<br>
</div><br>scripts/editmisdn.sh:<br><div style="margin-left: 40px;">MISDNCONF="/etc/misdn-init.conf"<br>MISDNFILE="/etc/asterisk/applymisdn.conf"<br></div><br>scripts/editzap.sh:<br><div style="margin-left: 40px;">
ZAPCONF="/etc/zaptel.conf"<br>
ZAPCONF="/etc/dahdi/system.conf"<br>
FILENAME="/etc/asterisk/applyzap.conf"<br></div>
<br>scripts/listfiles:<br><div style="margin-left: 40px;">SYSINFO_OUTPUT="/var/lib/asterisk/static-http/config/sysinfo_output.html"<br></div><br>scripts/mastercsvexists:<br><div style="margin-left: 40px;">MASTERCSV="/var/log/asterisk/cdr-csv/Master.csv"<br>
STATICHTTP="/var/lib/asterisk/static-http/"<br>if [ -f /var/log/asterisk/cdr-csv/Master.csv ]; then<br>ln -s $MASTERCSV /var/lib/asterisk/static-http/config/`basename $MASTERCSV`<br></div><br>scripts/registerg729.sh:<br>
<div style="margin-left: 40px;">
INPUTFILE="/etc/asterisk/g729reginfo.conf"<br>
OUTPUTFILE="/etc/asterisk/g729reginfo_tabs.conf"<br></div>
<br>scripts/restorebackup:<br><div style="margin-left: 40px;">
rm /etc/config/dhcpcd*<br></div>
<br>
scripts/takebackup:<br><div style="margin-left: 40px;">
/bin/tar -cf $1 /etc/asterisk /etc/localtime<br>/bin/tar -cf "${SF}"_sounds.tar /var/lib/asterisk/sounds/voicemail /var/lib/asterisk/sounds/record<br></div><br>Would it be appropriate for me to file a bug report?<br>
<br>with kind regards,<br><br>Stefan van der Eijk<br><br>
<br></div></div>_______________________________________________
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a>
asterisk-gui mailing list
To UNSUBSCRIBE or update options visit:
<a href="http://lists.digium.com/mailman/listinfo/asterisk-gui" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-gui</a></div></div><br>_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-gui mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-gui" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-gui</a><br></blockquote></div><br>