zaptel: Initial commit

This commit is contained in:
Alan Mizrahi 2007-10-02 17:36:32 -04:00
parent c902fc27ea
commit 69f6079dad
4 changed files with 146 additions and 0 deletions

111
zaptel/.footprint Normal file
View File

@ -0,0 +1,111 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/hotplug/
drwxr-xr-x root/root etc/hotplug/usb/
lrwxrwxrwx root/root etc/hotplug/usb/xpp_fxloader -> /usr/share/zaptel/xpp_fxloader
-rw-r--r-- root/root etc/hotplug/usb/xpp_fxloader.usermap
drwxr-xr-x root/root etc/udev/
drwxr-xr-x root/root etc/udev/rules.d/
-rw-r--r-- root/root etc/udev/rules.d/xpp.rules
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/modules/
drwxr-xr-x root/root lib/modules/<kernel-version>/
drwxr-xr-x root/root lib/modules/<kernel-version>/misc/
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/pciradio.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/tor2.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/torisa.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/wcfxo.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/wct1xxp.ko
drwxr-xr-x root/root lib/modules/<kernel-version>/misc/wct4xxp/
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/wct4xxp/wct4xxp.ko
drwxr-xr-x root/root lib/modules/<kernel-version>/misc/wctc4xxp/
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/wctc4xxp/wctc4xxp.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/wctdm.ko
drwxr-xr-x root/root lib/modules/<kernel-version>/misc/wctdm24xxp/
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/wctdm24xxp/wctdm24xxp.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/wcte11xp.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/wcte12xp.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/wcusb.ko
drwxr-xr-x root/root lib/modules/<kernel-version>/misc/xpp/
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/xpp/xpd_fxo.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/xpp/xpd_fxs.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/xpp/xpp.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/xpp/xpp_usb.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/zaptel.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/ztd-eth.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/ztd-loc.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/ztdummy.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/ztdynamic.ko
-rw-r--r-- root/root lib/modules/<kernel-version>/misc/zttranscode.ko
drwxr-xr-x root/root sbin/
-rwxr-xr-x root/root sbin/fxotune
-rwxr-xr-x root/root sbin/ztcfg
-rwxr-xr-x root/root sbin/ztmonitor
-rwxr-xr-x root/root sbin/ztspeed
-rwxr-xr-x root/root sbin/zttest
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/zaptel/
-rw-r--r-- root/root usr/include/zaptel/tonezone.h
-rw-r--r-- root/root usr/include/zaptel/zaptel.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libtonezone.a
lrwxrwxrwx root/root usr/lib/libtonezone.so -> libtonezone.so.1.0
lrwxrwxrwx root/root usr/lib/libtonezone.so.1 -> libtonezone.so.1.0
-rwxr-xr-x root/root usr/lib/libtonezone.so.1.0
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Chans.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Config/
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Config/Defaults.pm
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Hardware.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Hardware/
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Hardware/PCI.pm
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Hardware/USB.pm
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Span.pm
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Xpp.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Xpp/
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Xpp/Xbus.pm
-rw-r--r-- root/root usr/lib/perl5/site_perl/5.8.8/Zaptel/Xpp/Xpd.pm
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/fpga_load
-rwxr-xr-x root/root usr/sbin/genzaptelconf
-rwxr-xr-x root/root usr/sbin/lszaptel
-rwxr-xr-x root/root usr/sbin/xpp_blink
-rwxr-xr-x root/root usr/sbin/xpp_sync
-rwxr-xr-x root/root usr/sbin/zapconf
-rwxr-xr-x root/root usr/sbin/zaptel_hardware
-rwxr-xr-x root/root usr/sbin/zt_registration
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/fpga_load.8.gz
-rw-r--r-- root/root usr/share/man/man8/fxotune.8.gz
-rw-r--r-- root/root usr/share/man/man8/genzaptelconf.8.gz
-rw-r--r-- root/root usr/share/man/man8/lszaptel.8.gz
-rw-r--r-- root/root usr/share/man/man8/xpp_blink.8.gz
-rw-r--r-- root/root usr/share/man/man8/xpp_sync.8.gz
-rw-r--r-- root/root usr/share/man/man8/zapconf.8.gz
-rw-r--r-- root/root usr/share/man/man8/zaptel_hardware.8.gz
-rw-r--r-- root/root usr/share/man/man8/zt_registration.8.gz
-rw-r--r-- root/root usr/share/man/man8/ztcfg.8.gz
-rw-r--r-- root/root usr/share/man/man8/ztmonitor.8.gz
-rw-r--r-- root/root usr/share/man/man8/ztspeed.8.gz
-rw-r--r-- root/root usr/share/man/man8/zttest.8.gz
drwxr-xr-x root/root usr/share/zaptel/
-rw-r--r-- root/root usr/share/zaptel/FPGA_1141.hex
-rw-r--r-- root/root usr/share/zaptel/FPGA_1151.hex
-rw-r--r-- root/root usr/share/zaptel/FPGA_FXS.hex
-rw-r--r-- root/root usr/share/zaptel/USB_1130.hex
-rw-r--r-- root/root usr/share/zaptel/USB_1140.hex
-rw-r--r-- root/root usr/share/zaptel/USB_1150.hex
-rwxr-xr-x root/root usr/share/zaptel/astribank_hook
-rwxr-xr-x root/root usr/share/zaptel/calibrate_slics
-rwxr-xr-x root/root usr/share/zaptel/init_card_3_26
-rwxr-xr-x root/root usr/share/zaptel/init_card_4_26
-rwxr-xr-x root/root usr/share/zaptel/init_card_6_26
-rwxr-xr-x root/root usr/share/zaptel/init_card_7_26
-rw-r--r-- root/root usr/share/zaptel/init_fxo_modes
-rwxr-xr-x root/root usr/share/zaptel/xpp_fxloader

2
zaptel/.md5sum Normal file
View File

@ -0,0 +1,2 @@
796b9fae005ab77eec8e3ce9153f1092 zaptel-1.4.5.1.tar.gz
1b72541ecaed82297223db3c8c1c1ab5 zaptel-mmx.patch

22
zaptel/Pkgfile Normal file
View File

@ -0,0 +1,22 @@
# Description: Zaptel driver for various telephony cards
# URL: http://www.voip-info.org/wiki/view/Zaptel
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: libusb
name=zaptel
version=1.4.5.1
release=1
source=(http://ftp.digium.com/pub/$name/$name-$version.tar.gz zaptel-mmx.patch)
build () {
mkdir -p $PKG/usr/share/man/man8
cd $name-$version
./configure --prefix=/usr --disable-nls
patch -p1 < $SRC/zaptel-mmx.patch
make
make prefix=/usr DESTDIR=$PKG install
rm -rf $PKG/dev $PKG/lib/modules/*/modules.*
mkdir -p $PKG/etc/udev/rules.d
./build_tools/genudevrules > $PKG/etc/udev/rules.d/50-zaptel.rules
cp zaptel.conf.sample $PKG/etc/zaptel.conf
}

11
zaptel/zaptel-mmx.patch Normal file
View File

@ -0,0 +1,11 @@
--- zaptel-1.4.5.1/zconfig.h.orig 2007-09-22 13:58:00.705639753 -0400
+++ zaptel-1.4.5.1/zconfig.h 2007-09-22 14:01:16.039840297 -0400
@@ -50,7 +50,7 @@
* processors and can cause system instability!
*
*/
-/* #define CONFIG_ZAPTEL_MMX */
+#define CONFIG_ZAPTEL_MMX
/** If defined: the user must define exactly one ECHO_CAN_ var: */
#ifndef ECHO_CAN_FROMENV