[MacPorts] #13749: asterisk - new port submission
#13749: asterisk - new port submission ---------------------------------------+------------------------------------ Reporter: marc.blanchet@viagenie.ca | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: | ---------------------------------------+------------------------------------ new port submission asterisk: An Open Source PBX and telephony toolkit http://www.asterisk.org port tested on tiger and leopard. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: | Keywords: ----------------------------------------+----------------------------------- Changes (by ecronin@macports.org): * cc: ecronin@macports.org (added) * version: 1.6.0 => Comment: Two comments- First, any reason why the build.env changes should use the already existing MacPorts $CFLAGS and $LDFLAGS (which may include additional default flags) And second, while the "let ./configure figure it out" approach is easier it means you'll almost certainly end up with incorrect dependencies which is bad. Take a look at the equally painful multimedia/MPlayer port, which explicitly disables auto-detection of anything not a default dependency and includes the most common options by default. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: | Keywords: ----------------------------------------+----------------------------------- Comment (by marc.blanchet@viagenie.ca): 1) AST*FLAGS is a trick done by Asterisk builder to preserve flags during the multiple stages. It was put there because of some build issues on embedded systems. I've tried to cut it in many ways, but did not succeed without this portfile config. 2) humm. I see (Mplayer portfile). I understand the "full control" approach on the port side. However, it is much more work on creating and specially maintaining the portfile. The main disadavantage being lack of time or delay to make the changes to the portfile when a new release of asterisk is out. suggestion: - start as it is. - if we find issues, then I'll look at the "full control" approach. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: | Keywords: ----------------------------------------+----------------------------------- Comment (by ecronin@macports.org): Sorry, what I meant for the first point is that instead of hard-coding in a particular CFLAGS, why not use the defaults MacPorts already sets (configure.cflags, configure.cppflags, configure.ldflags). Similarly, {{{ configure.cflags-append -I${prefix}/include configure.ldflags-append -L${prefix}/lib }}} are probably not needed (or at least not ldflags for sure) since MacPorts starts out with {{{ default configure.cppflags {"-I${prefix}/include"} default configure.ldflags {"-L${prefix}/lib"} }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: | Keywords: ----------------------------------------+----------------------------------- Comment (by marc.blanchet@viagenie.ca): it seems to now work without, and I can't recall in which circumstances I needed it. so I'll update the portfile without the configure.*-append. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: | Keywords: ----------------------------------------+----------------------------------- Changes (by markd@macports.org): * cc: markd@macports.org (added) Comment: Don't you need some codecs and other stuff for asterisk to work? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: | Keywords: ----------------------------------------+----------------------------------- Comment (by ecronin@macports.org): Destroot is not succeeding for me- it installs directly under ${prefix} both with and without the -t flag to port to enable trace mode. port uninstall then leaves all the files around (`sudo rm -rf /opt/local/var/lib/asterisk /opt/local/lib/asterisk/modules /opt/local/etc/asterisk /opt/local/var/spool/asterisk /opt/local/sbin/rasterisk /opt/local/sbin/asterisk /opt/local/sbin/astgenkey /opt/local/sbin/autosupport /opt/local/sbin/safe_asterisk /opt/local/include/asterisk /opt/local/include/asterisk.h /opt/local/lib/asterisk /opt/local/share/man/man8/asterisk.8 /opt/local/share/man/man8/safe_asterisk.8` cleans up after it I think) I would still recommend addressing the dependency issues sooner rather than later... Binary packages/installs won't work, and it may break unexpectedly down the line for random users when an undetected library dependency gets updated. On my install it seemed to have picked up libtool, gawk, libogg, popt, speex, libusb, libvorbis, pkgconfig, libxml2, and libxslt. Some of those seem like things you'd want variants for, but some like libtool/popt/pkgconfig seem like actual dependencies for a vanilla build. Also, the one dependency in the Portfile, wget, doesn't seem to be used anywhere in the build. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: | Keywords: ----------------------------------------+----------------------------------- Comment (by marc.blanchet@viagenie.ca): codecs: most codecs are included. some patent-protected ones (G729) require a binary license module which is not available on macosx. therefore, nothing special to do about codecs. dependencies: wget is used when installing to get additional sound files from the net. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: mr_bond@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: | Keywords: ----------------------------------------+----------------------------------- Changes (by mr_bond@macports.org): * owner: macports-tickets@lists.macosforge.org => mr_bond@macports.org * status: new => assigned -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: mr_bond@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: | Keywords: ----------------------------------------+----------------------------------- Comment (by mr_bond@macports.org): Added portfile for 1.4.19.1. Testing it before commiting -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#13749: asterisk - new port submission ----------------------------------------+----------------------------------- Reporter: marc.blanchet@viagenie.ca | Owner: mr_bond@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: Resolution: fixed | Keywords: ----------------------------------------+----------------------------------- Changes (by mr_bond@macports.org): * status: assigned => closed * resolution: => fixed Comment: Closed by r36342 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13749#comment:10> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts