Ian FREISLICH wrote: > Willem Jan Withagen wrote: >> I've got a basic version of FreePBX 2.5.1 running on 8.0 >> Any one more interested in this. I'm trying to change it into a sort of >> port. > > Having just installed this recently, I wish I could remember the > full set of dependencies. You need at least: > > php5-5.2.10 > php5-xml-5.2.10 > php5-pcre-5.2.10 > pear-DB-1.7.13,1 > pear-1.8.1 > pear-XML_Parser-1.3.2 > pear-XML_DTD-0.5.2 > pear-HTTP_Session2-0.7.2 > php5-session-5.2.10 > mysql-server-5.0.83 > php5-mysql-5.2.10 > php5-gettext-5.2.10 > php5-ctype-5.2.10 > popt-1.7_5 > png-1.2.35 > pcre-7.9
Got a sort of similar list as package requirements So running the package just gets all these requirements. Then we need to start fixing the actual FreePBX source. wrote a perl RE script for that. But there I'm still not quite shure on the approach to follow. #!/usr/bin/perl -pni.bak # Fix exec headers s|\#\!/usr/bin/php -q|\#\!/usr/bin/env php|; s|\#\!/bin/bash|\#\!/bin/sh|; # Rewrite the locations of default essential configuration file m|/usr/local/| || s|etc/amportal.conf|usr/local/etc/amportal.conf|; m|/usr/local/| || s|etc/asterisk|usr/local/etc/asterisk|; # Rewite several locations in FreeBSD style s|usr/lib/asterisk|usr/local/lib/asterisk|; s|var/lib/asterisk|usr/local/share/asterisk|; s|var/www/html|usr/local/www/apache22/data|; s|var/www|usr/local/www/apache22|; s|/html/panel|/data/panel|; s|usr/sbin|usr/local/sbin|; > One of the modules "FreePBX Localization Updates" IIRC uses an > incompatible option to cp to install files. I still need to find > the time to make a patch that will work with both Linux and FreeBSD > which they will accept. My current problem is that upgrades again contain all kinds of new Linux-isms. So I've made a sort of file fixer that could be run over a newly installed package And I saw that cp-problem also, I think while trying to load the upgrade of the core framework. But I posted a similar question on the FreePBX forum, that went completely ignored. So I guess that I'm going to do the same for creating the package. --WjW _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- Asterisk-BSD mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-bsd

