Ticket #695 (assigned Feature Requests)

Opened 3 years ago

Last modified 4 months ago

FreeBPX is Linux specific

Reported by: pneumann@gmail.com Assigned to: diego_iastrubni (accepted)
Priority: minor Milestone: Cut Line
Component: Installation Version:
Keywords: Installation SED path Cc: pneumann@gmail.com
Confirmation: Confirmed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

Hello.

I was trying to port FreePBX to FreeBSD, and find myself to patch some things that are linux specific. Djeli told me you guys were about to take a new version out. I hope you can fix somethings for it like; - detect the bash/php/perl binaries. i.e. "#!/usr/bin/env php" instead of just "#!/usr/bin/php" - freepbx, make his own asterisk.conf, wich overrides the ones that asterisk installs. (it install a linux specific one) - install_amp has hard-coded paths too

i was doing a freebsd port/package, but its not ready. maybe its better to wait for your new release, and start from there

thanks!

Phillip.

Change History

04/25/06 11:14:04 changed by RyanCourtnage

  • milestone set to 2.2.

Phillip,

Would you be interested in creating a patch that corrects these issues?

At the very least, we would require a comprehensive list of the items that cause problems.

Thanks,

04/25/06 12:25:43 changed by RyanCourtnage

  • type changed from Bugs to Feature Requests.

05/28/06 06:19:22 changed by wozto1s

  • milestone deleted.

10/22/06 13:06:39 changed by diego_iastrubni

  • owner set to diego_iastrubni.
  • milestone set to 2.2.

I will close this bug for V 2.2

10/23/06 01:26:09 changed by diego_iastrubni

  • status changed from new to assigned.

all php cli scripts use the "/usr/bin/env php". do we need to do this also for perl scripts in freeBSD...? or "/usr/bin/perl" good enough...?

shell scripts (we do not use any shell scripts, but in theory) should use "/bin/sh". is this a good assumption for freeBSD?

10/23/06 01:56:56 changed by diego_iastrubni

About the copied asterisk.conf... look at the code:

outn("Checking for ".ASTERISK_CONF."..");
if (!file_exists(ASTERISK_CONF)) {
        out(ASTERISK_CONF." does not exist, copying default");
        copy("asterisk.conf", ASTERISK_CONF);
}
out("OK");

This means that if the installs runs after asterisk has been installed properly (and a sane asterisk.conf is installed) a new copy is not installed. I suggest you ship your own asterisk.conf anyway, since even in Linux, not everyone installs asterisk into the same locations (this violates Debian fsh for example).

As far as I see, the only problem left, is the hardcoded locations of perl scripts. Give me an accepatble solution, and I can close this bug as "fixed".

12/03/06 08:57:14 changed by p_lindheimer

  • milestone changed from 2.2 to 2.3.

01/08/07 11:46:49 changed by

  • milestone deleted.

Milestone 2.3 deleted

01/08/07 12:05:56 changed by vgster

  • milestone set to 2.3.

01/16/07 23:52:14 changed by diego_iastrubni

  • engine_version changed.
  • svn_rev changed.

Look also at ticket:761

I am thinking closing this as duplicate of ticket:761

Is this bug still valid ? is it fixed? (I think so)

04/17/07 22:33:41 changed by diego_iastrubni

See changeset:3925.

Dud you will have to path the files on install (a simple sed, or a full patch). Sorry.

07/05/07 13:17:35 changed by WAudette

  • keywords set to Installation SED path.
  • priority changed from blocker to minor.
  • milestone changed from 2.3 to 3.0.

This ticket was brought up again so I've added some ongoing notes.

Quote from Groogs: I won't address it until I have to rework the whole installer, which I would sorta like to do (theres a couple tickets about mapping, etc) but its low priority right now.

WAudette...

11/13/07 15:39:56 changed by WAudette

  • confirmation set to Unreviewed.
  • version deleted.
  • milestone deleted.

11/15/07 11:01:28 changed by WAudette

  • confirmation changed from Unreviewed to Confirmed.

07/24/08 18:01:36 changed by ryppn

  • milestone set to Cut Line.

08/17/08 15:10:35 changed by robin

I have had issues with paths also. We have asterisk/freePBX 2.4.1 installed in a freebsd jail environment. I have had issues with the backup module /usr/local/share/asterisk/bin/dumpastdb.php not found tar: /usr/local/share/asterisk/bin: Cannot stat: No such file or directory Can't exec "/bin/tar": No such file or directory at /usr/local/lib/asterisk/bin/ampbackup.pl

Thanks Robin

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads