Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (4665fa8b333e1431801c2384abad9df06e659194)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (4665fa8b333e1431801c2384abad9df06e659194)
  • Date: Sun, 3 Jun 2007 10:03:16 -0500

GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 2 +
asterisk.gpg |binary
dev/null |binary
net/libpri/BUILD | 1
net/libpri/DETAILS | 17 ++++++++
net/libpri/HISTORY | 5 ++
telephony/asterisk/asterisk.gpg | 0
telephony/zaptel/BUILD | 7 +++
telephony/zaptel/DEPENDS | 11 +++++
telephony/zaptel/DETAILS | 24 ++++++++++++
telephony/zaptel/HISTORY | 8 ++++
telephony/zaptel/INSTALL | 8 ++++
telephony/zaptel/TRIGGERS | 1
telephony/zaptel/init.d/zaptel | 80
++++++++++++++++++++++++++++++++++++++++
14 files changed, 164 insertions(+)

New commits:
commit 4665fa8b333e1431801c2384abad9df06e659194
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

zaptel: added #10270

commit fadfccf6219ffd9ec7d7a3cbf4fd45c7572b0f32
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libpri: 1.4.0 + gpg

commit e9a076ec40909cdb5a358647e3b146641c83bc22
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libpri: added #10269

diff --git a/ChangeLog b/ChangeLog
index f23dae1..f7fdb8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2007-06-02 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* x11/gkrellstock: gkrell stock plugin #10394
+ * net/libpri: a C implementation of the Primary Rate ISDN spec #10269
+ * telephony/zaptel: telephony interface driver #10270

2007-06-02 Treeve Jelbert <treeve AT sourcemage.org>
* telephony/telepathy-qt, telephony/telepathy-glib,
diff --git a/asterisk.gpg b/asterisk.gpg
new file mode 100644
index 0000000..fec1099
Binary files /dev/null and b/asterisk.gpg differ
diff --git a/net/libpri/BUILD b/net/libpri/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/net/libpri/BUILD
@@ -0,0 +1 @@
+make
diff --git a/net/libpri/DETAILS b/net/libpri/DETAILS
new file mode 100755
index 0000000..f5b86b4
--- /dev/null
+++ b/net/libpri/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=libpri
+ VERSION=1.4.0
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=http://ftp.digium.com/pub/$SPELL/$SOURCE
+ SOURCE_URL[1]=http://ftp.digium.com/pub/$SPELL/old/$SOURCE
+
SOURCE_HASH=sha512:59ad06c746f62221d9c8d8c0937b3341d44e7ddf5b1d58701271f8d239d5ea186aedf210ea890827cd1967d6ab0d8efd65af858ccb841320a7b6af3dab76de68
+ WEB_SITE=http://www.asterisk.org/
+ ENTERED=20051223
+ LICENSE[0]=GPL
+ SHORT="An implementation of Primate Rate ISDN"
+cat << EOF
+libpri is a C implementation of the Primary Rate ISDN specification.
+It was based on the Bellcore specification SR-NWT-002343 for National ISDN.
+As of May 12, 2001, it has been tested work with NI-2, Nortel DMS-100, and
+Lucent 5E Custom protocols on switches from Nortel and Lucent.
+EOF
diff --git a/net/libpri/HISTORY b/net/libpri/HISTORY
new file mode 100644
index 0000000..82aad39
--- /dev/null
+++ b/net/libpri/HISTORY
@@ -0,0 +1,5 @@
+2007-06-03 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * DETAILS: updated spell to 1.4.0
+
+2005-12-23 Richard Johns <johnsr AT lincoln.ac.nz>
+ * DETAILS, BUILD: Created spell
diff --git a/telephony/asterisk/asterisk.gpg b/telephony/asterisk/asterisk.gpg
deleted file mode 100644
index fec1099..0000000
Binary files a/telephony/asterisk/asterisk.gpg and /dev/null differ
diff --git a/telephony/zaptel/BUILD b/telephony/zaptel/BUILD
new file mode 100755
index 0000000..5ce3e93
--- /dev/null
+++ b/telephony/zaptel/BUILD
@@ -0,0 +1,7 @@
+default_build &&
+
+local EXE &&
+local BINS="torisatool makefw ztmonitor ztspeed zttool zttest fxotune" &&
+for EXE in $BINS; do
+ make $EXE
+done
diff --git a/telephony/zaptel/DEPENDS b/telephony/zaptel/DEPENDS
new file mode 100755
index 0000000..5699a66
--- /dev/null
+++ b/telephony/zaptel/DEPENDS
@@ -0,0 +1,11 @@
+depends newt &&
+depends libpri &&
+
+# check that the required CRC-CCITT builtin/module is there
+# should be redone with config subdepends once linux has them #13716
+. $GRIMOIRE/FUNCTIONS &&
+local ISDEF=$(get_running_kernel_config CONFIG_CRC_CCITT) &&
+if [[ $ISDEF == n || $ISDEF == -1 ]]; then
+ message "${PROBLEM_COLOR}You will need to recast the linux spell and add "
+ message "CONFIG_CRC_CCITT to the config$DEFAULT_COLOR"
+fi
diff --git a/telephony/zaptel/DETAILS b/telephony/zaptel/DETAILS
new file mode 100755
index 0000000..a454d2a
--- /dev/null
+++ b/telephony/zaptel/DETAILS
@@ -0,0 +1,24 @@
+ SPELL=zaptel
+ VERSION=1.4.2.1
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+ SOURCE_URL[0]=http://ftp.digium.com/pub/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:5bf426ba1e5411b557b69d6a2d68b8581b20cd736e3db616fde76daea3e34fe66d9aa598f49d73e5b03f5ec40bb0b584c1f73b22edfda42f07bf243435afbe78
+ WEB_SITE=http://www.asterisk.org/
+ ENTERED=20051223
+ LICENSE[0]=GPL
+ SHORT="Telephony Interface Driver"
+cat << EOF
+supported cards :-
+T400P - Quad Span T1 Card
+E400P - Quad Span E1 Card
+TE405P - Quad Span T1/E1 Card (5v version)
+TE410P - Quad Span T1/E1 Card (3.3v version)
+T100P - Single Span T1 Card
+E100P - Single Span E1 Card
+TE110P - Single Span T1/E1 Card
+X100P - Single port FXO interface
+X101P - Single port FXO interface
+TDM400P - Modular FXS/FXO interface (1-4 ports)
+S100U - Single port FXS USB Interface
+EOF
diff --git a/telephony/zaptel/HISTORY b/telephony/zaptel/HISTORY
new file mode 100644
index 0000000..fde4cd7
--- /dev/null
+++ b/telephony/zaptel/HISTORY
@@ -0,0 +1,8 @@
+2007-06-03 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * DETAILS: updated spell to 1.4.2.1
+ * BUILD: use default_build
+ * INSTALL: don't install missing files
+ * DEPENDS: fixed the config check
+
+2005-12-21 Richard Johns <johnsr AT lincoln.ac.nz>
+ * DETAILS, DEPENDS, BUILD, INSTALL, init.d, TRIGGERS: Created spell
diff --git a/telephony/zaptel/INSTALL b/telephony/zaptel/INSTALL
new file mode 100755
index 0000000..f5a0a54
--- /dev/null
+++ b/telephony/zaptel/INSTALL
@@ -0,0 +1,8 @@
+default_install
&&
+install -m 644 zaptel.sysconfig $INSTALL_ROOT/etc/sysconfig/zaptel
&&
+
+local EXE &&
+local BINS="torisatool makefw ztmonitor ztspeed zttest fxotune" &&
+for EXE in $BINS; do
+ install -m 544 $EXE $INSTALL_ROOT/sbin
+done
diff --git a/telephony/zaptel/TRIGGERS b/telephony/zaptel/TRIGGERS
new file mode 100755
index 0000000..5c92593
--- /dev/null
+++ b/telephony/zaptel/TRIGGERS
@@ -0,0 +1 @@
+on_cast linux cast_self
diff --git a/telephony/zaptel/init.d/zaptel b/telephony/zaptel/init.d/zaptel
new file mode 100644
index 0000000..fcc601b
--- /dev/null
+++ b/telephony/zaptel/init.d/zaptel
@@ -0,0 +1,80 @@
+#!/bin/bash
+
+. /etc/sysconfig/zaptel
+
+PROGRAM=/bin/false
+RUNLEVEL=3
+
+. /etc/init.d/smgl_init
+
+required_executable /sbin/ztcfg
+required_executable /sbin/modprobe
+
+start()
+{
+ echo "Loading zaptel"
+ modprobe zaptel >& /dev/null
+ evaluate_retval
+
+ echo "Loading zaptel hardware modules"
+ for x in ${MODULES}; do
+ if modprobe ${x} >& /dev/null; then
+ echo -n " ${x}"
+ fi
+ done
+
+ echo
+ echo "Running ztcfg"
+ /sbin/ztcfg >& /dev/null
+ evaluate_retval
+
+ RVAL=$?
+ [ ${RVAL} -eq 0 ] && touch /var/lock/subsys/zaptel
+ }
+
+stop()
+{
+ echo "Unloading zaptel hardware drivers"
+ for x in ${MODULES}; do
+ if rmmod ${x} >& /dev/null; then
+ echo -n " ${x}"
+ fi
+ done
+
+ echo
+ echo "Removing zaptel module"
+ rmmod zaptel >& /dev/null
+ evaluate_retval
+
+ RVAL=$?
+ [ ${RVAL} -eq 0 ] && rm -f /var/lock/subsys/zaptel
+}
+
+restart()
+{
+ run_func stop
+ run_func start
+}
+
+reload()
+{
+ echo "Reloading ztcfg"
+ /sbin/ztcfg >& /dev/null
+ evaluate_retval
+}
+
+
+status()
+{
+ if [[ -f /var/lock/subsys/zaptel ]]; then
+ echo "Zaptel driver loaded"
+ else
+ echo "Zaptel driver not loaded"
+ fi
+}
+
+
+usage()
+{
+ echo "$0 {start|stop|restart|status|reload}"
+}



  • [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (4665fa8b333e1431801c2384abad9df06e659194), Jaka Kranjc, 06/03/2007

Archive powered by MHonArc 2.6.24.

Top of Page