[Lunar-commits] <moonbase> asterisk: a new module. There are a few things missing, like

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Tue Apr 14 05:27:15 CEST 2009


commit 336565611dce348783f931a27939d27e920bcc81
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Mon Apr 13 23:27:15 2009 -0400

    asterisk: a new module. There are a few things missing, like
    
    some ISDN stuff, Radius, Voicetronix and a couple of others. I could't
    figure a sane way to do the /etc/asterisk conf files and settled on
    this approach. If anyone has a better idea, feel free to implement.
    
    This is module isn't really tested as I have no free box to really
    give it a go with. But it does compile fine on x86_64, so I presume
    x86 will be fine as well.
    
    Don't bother with --with-blah. It leads down a nasty road of you
    needing to specify paths and just compilcates things.
---
 net/asterisk/BUILD     |   13 +++++++++++++
 net/asterisk/CONFIGURE |    2 ++
 net/asterisk/DEPENDS   |   26 ++++++++++++++++++++++++++
 net/asterisk/DETAILS   |   16 ++++++++++++++++
 4 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/net/asterisk/BUILD b/net/asterisk/BUILD
new file mode 100644
index 0000000..75bbb41
--- /dev/null
+++ b/net/asterisk/BUILD
@@ -0,0 +1,13 @@
+(
+
+  default_build  &&
+
+  if [[ "$MAKE_CONFS" == "y" ]]; then
+    make samples
+  fi &&
+
+  if [[ "MAKE_PROGDOCS" == "y" ]]; then
+    make progdocs
+  fi 
+
+) > $C_FIFO 2>&1
diff --git a/net/asterisk/CONFIGURE b/net/asterisk/CONFIGURE
new file mode 100644
index 0000000..b55a6bf
--- /dev/null
+++ b/net/asterisk/CONFIGURE
@@ -0,0 +1,2 @@
+mquery MAKE_CONFS "Install a set of .conf files in /etc/asterisk? ${PROBLEM_COLOR}CAUTION:will over right existing files.${DEFAULT_COLOR}" n
+mquery MAKE_PROGDOCS "Install the API documentation?" n
diff --git a/net/asterisk/DEPENDS b/net/asterisk/DEPENDS
new file mode 100644
index 0000000..754e4d3
--- /dev/null
+++ b/net/asterisk/DEPENDS
@@ -0,0 +1,26 @@
+optional_depends curl      ""     "--without-curl"      "for URL syntax support"
+optional_depends ncurses   ""     "--witout-curses"     "for text terminal support"
+optional_depends mysql     ""     "--without-mysql"     "for mysql database support"
+optional_depends ffmpeg    ""     "--without-avcodec"   "for ffmpeg audio support"
+optional_depends portaudio ""     "--without-portaudio" "for audio I/O library support"
+optional_depends gmime     ""     "--without-gmime"     "for Multipurpose Internet Mail Extension support"
+optional_depends unixODBC  ""     "--without-odbc"      "for database support"
+optional_depends openssl   ""     "--without-crypto"    "for OpenSSL support"
+optional_depends gtk+-2    ""     "--without-gtk2"      "for gtk2 graphics support"
+optional_depends iksemel   ""     "--without-iksemel"   "for jabber XML parsing support"
+optional_depends jack      ""     "--without-jack"      "for audio streaming support"
+optional_depends openldap  ""     "--without-ldap"      "for ldap support"
+optional_depends net-snmp  ""     "--without-netsnmp"   "for Net-SNMP support"
+optional_depends sqlite    ""     "--without-sqlite"    "for sqlite support"
+optional_depends freetds   ""     "--without-tds"       "for tabular data stream support"
+optional_depends libusb    ""     "--without-usb"       "for usb device support"
+optional_depends SDL       ""     "--without-sdl"       "for SDL support"
+optional_depends SDL_image ""     "--without-SDL_image" "for SDL image support"
+optional_depends lua       ""     "--without-lua"       "for lua scripting support"
+optional_depends speex     ""     "--without-speex"     "for speech encoding support"
+optional_depends newt      ""     "--without-newt"      "for graphic widgets support"
+optional_depends popt      ""     "--withouth-popt"     "for command line parsing support"
+optional_depends zlib      ""     "--without-zlib"      "for lossless data compression support"
+optional_depends libvorbis ""     "--without-vorbis"    "for lossy audio support"
+optional_depends alsa-lib  ""     "--without-asound"    "for alsa sound support"
+optional_depends imap      ""     "--without-imap"      "for IMAP4 protocol support"
diff --git a/net/asterisk/DETAILS b/net/asterisk/DETAILS
new file mode 100644
index 0000000..c871123
--- /dev/null
+++ b/net/asterisk/DETAILS
@@ -0,0 +1,16 @@
+          MODULE=asterisk
+         VERSION=1.6.0.9
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=http://downloads.digium.com/pub/asterisk/
+      SOURCE_VFY=sha1:876b598c3ffec104c388c9bff9c11f264c49030d
+        WEB_SITE=http://www.asterisk.org/
+         ENTERED=20090413
+         UPDATED=20090413
+           SHORT="open source PBX and telephony engine"
+
+PSAFE=no
+cat << EOF
+Asterisk is the world's leading open source PBX, telephony engine, and 
+telephony applications toolkit. Offering flexibility unheard of in the 
+world of proprietary communications,
+EOF


More information about the Lunar-commits mailing list