Initial import for zaptel-netbsd. I will be adapting the asterisk

package to use these drivers as an option shortly.

DESCR:
This package provides the "zaptel" drivers, which support the Asterisk
software PBX, ported to NetBSD.

These are some drivers and auxiliary tools for NetBSD in support of
the Asterisk PBX.  The wcfxo driver supports the Wildcard X100P/X101P and
clones, the wcfxs driver supports the Wildcard TDM400p, and the ztdummy
driver provides a software-only timer device which makes conferencing
work much better. (That is, if you run Asterisk, you may want these
drivers even if you don't have any of the hardware)

The T1 board driver has not yet been ported.
This commit is contained in:
Jeff Rizzo 2005-03-15 01:03:31 +00:00 committed by Thomas Klausner
parent 283e1cdc37
commit 68eff49784
5 changed files with 76 additions and 0 deletions

11
zaptel-netbsd/DESCR Normal file
View file

@ -0,0 +1,11 @@
This package provides the "zaptel" drivers, which support the Asterisk
software PBX, ported to NetBSD.
These are some drivers and auxiliary tools for NetBSD in support of
the Asterisk PBX. The wcfxo driver supports the Wildcard X100P/X101P and
clones, the wcfxs driver supports the Wildcard TDM400p, and the ztdummy
driver provides a software-only timer device which makes conferencing
work much better. (That is, if you run Asterisk, you may want these
drivers even if you don't have any of the hardware)
The T1 board driver has not yet been ported.

19
zaptel-netbsd/MESSAGE Normal file
View file

@ -0,0 +1,19 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2005/03/15 01:03:31 riz Exp $
To have the zaptel modules automatically loaded at boot time, add the
following to /etc/lkm.conf:
${PREFIX}/lkm/mod_zaptel.o -s - ${PREFIX}/sbin/zaptel_postinstall - -
# Uncomment the drivers you want; use mod_ztdummy.o only if you have
# no hardware
#${PREFIX}/lkm/mod_ztdummy.o -s - - - -
#${PREFIX}/lkm/mod_wcfxo.o -s - - - -
#${PREFIX}/lkm/mod_wcfxs.o -s - - - -
And then add 'lkm=YES' to /etc/rc.conf. Refer to lkm.conf(5) for
additional details. (Make sure to uncomment the appropriate lines for
your hardware, or lack thereof)
The script ${PREFIX}/sbin/zaptel_postinstall creates the relevant device
nodes in /dev, and can be used independently.
===========================================================================

25
zaptel-netbsd/Makefile Normal file
View file

@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.1.1.1 2005/03/15 01:03:31 riz Exp $
#
DISTNAME= zaptel-netbsd-20050314
CATEGORIES= wip
MASTER_SITES= http://www.tastylime.net/netbsd/zaptel/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= riz@NetBSD.org
HOMEPAGE= http://www.tastylime.net/netbsd/zaptel/
COMMENT= zaptel drivers for the Asterisk Software PBX
ONLY_FOR_PLATFORM= NetBSD-[2-9]*-*
INSTALLATION_DIRS= lkm
ZAPTEL_KERNEL_ENV?= # empty
BUILD_DEFS+= ZAPTEL_KERNEL_ENV
MAKE_ENV+= ZAPTEL_KERNEL_ENV=${ZAPTEL_KERNEL_ENV:Q}
CONF_FILES= ${PREFIX}/share/examples/zaptel/zaptel.conf \
${PKG_SYSCONFDIR}
USE_BUILDLINK3= yes
.include "../../wip/newt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

16
zaptel-netbsd/PLIST Normal file
View file

@ -0,0 +1,16 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/15 01:03:31 riz Exp $
bin/fxo_test
bin/ztcfg
bin/ztmonitor
bin/zttest
bin/zttool
include/tonezone.h
include/zaptel.h
lib/libtonezone.a
lkm/mod_wcfxo.o
lkm/mod_wcfxs.o
lkm/mod_zaptel.o
lkm/mod_ztdummy.o
sbin/zaptel_postinstall
share/examples/zaptel/zaptel.conf
@dirrm share/examples/zaptel

5
zaptel-netbsd/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2005/03/15 01:03:31 riz Exp $
SHA1 (zaptel-netbsd-20050314.tar.bz2) = 45baa64bdb2289110f81f86a6bb0d0a877353b8e
RMD160 (zaptel-netbsd-20050314.tar.bz2) = 240e0dda3f7e16264bf00edf61d832107fb7fa98
Size (zaptel-netbsd-20050314.tar.bz2) = 113894 bytes