Asterisknow version 2.0 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    asterisknow  most recent diff


    version 2.0

      View the most recent changes for the asterisknow port at: asterisknow.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for asterisknow.
      The raw portfile for asterisknow 2.0 is located here:
      http://asterisknow.darwinports.com/dports/net/asterisknow/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/asterisknow


      The asterisknow Portfile 53684 2009-07-11 21:58:41Z macsforever2000 macports.org $

      PortSystem 1.0

      Name: asterisknow
      Version: 2.0
      Category: net
      Platform: darwin
      Maintainers: gmail.com:stefan.van.der.eijk

      Description: GUI for configuring Asterisk
      Long Description: Asterisk in minutes. The most popular open source PBX software, Asterisk, can now be easily configured with a graphical interface. AsteriskNOW.

      Homepage: http://www.asterisknow.org
      fetch.type svn
      svn.url http://svn.digium.com/svn/asterisk-gui/branches/2.0/
      worksrcdir ${version}

      configure.args --localstatedir=${prefix}/var --sysconfdir=${prefix}/etc/asterisk

      depends_run port:asterisk

      post-destroot {
      file mkdir ${destroot}/${prefix}/var/lib/asterisk/gui_backups
      file mkdir ${destroot}/${prefix}/var/lib/asterisk/static-http/private/bkps
      }

      post-patch {
      reinplace "s|\"/etc|\"${prefix}/etc|g" ${worksrcpath}/scripts/detectdahdi.sh
      reinplace "s|\"/var|\"${prefix}/var|g" ${worksrcpath}/scripts/dldsoundpack
      reinplace "s|\ /var|\ ${prefix}/var|g" ${worksrcpath}/scripts/dldsoundpack
      reinplace "s|\"/etc|\"${prefix}/etc|g" ${worksrcpath}/scripts/editmisdn.sh
      reinplace "s|\"/etc|\"${prefix}/etc|g" ${worksrcpath}/scripts/editzap.sh
      reinplace "s|\"/var|\"${prefix}/var|g" ${worksrcpath}/scripts/listfiles
      reinplace "s|\"/var|\"${prefix}/var|g" ${worksrcpath}/scripts/mastercsvexists
      reinplace "s|\ /var|\ ${prefix}/var|g" ${worksrcpath}/scripts/mastercsvexists
      reinplace "s|\"/etc|\"${prefix}/etc|g" ${worksrcpath}/scripts/registerg729.sh
      reinplace "s|/bin|/usr/bin|g" ${worksrcpath}/scripts/takebackup
      reinplace "s|\ /etc/asterisk|\ ${prefix}/etc/asterisk|g" ${worksrcpath}/scripts/takebackup
      reinplace "s|\ /var|\ ${prefix}/var|g" ${worksrcpath}/scripts/takebackup
      reinplace "s|\ /etc|\ ${prefix}/etc|g" ${worksrcpath}/config/js/index.js
      reinplace "s|\'/etc|\'${prefix}/etc|g" ${worksrcpath}/config/js/index.js
      reinplace "s|\'/var|\'${prefix}/var|g" ${worksrcpath}/config/js/index.js
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/asterisknow
      % sudo port install asterisknow
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching asterisknow
      ---> Verifying checksum for asterisknow
      ---> Extracting asterisknow
      ---> Configuring asterisknow
      ---> Building asterisknow with target all
      ---> Staging asterisknow into destroot
      ---> Installing asterisknow
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using asterisknow with these commands:
      %  man asterisknow
      % apropos asterisknow
      % which asterisknow
      % locate asterisknow

     Where to find more information:

    Darwin Ports



    Lightbox this page.