Upgrade to 0.10. Changes:
o T1/E1 on the fly mode switching for wcte11xp/wct4xxp cards. o Removed define which made TDM cards operate wrong during call detection. o Current version is compatible with 4.x (thanks to Luigi Rizzo). o Fixed bug with spurious PCI ID changes by WCTE11XP card. o Fixed bug with TDM cards Rev.H PCI ids.
This commit is contained in:
parent
c6543f9124
commit
d02ede9337
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137442
22 changed files with 10 additions and 266 deletions
|
@ -6,10 +6,9 @@
|
|||
#
|
||||
|
||||
PORTNAME= zaptel
|
||||
PORTVERSION= 0.9
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.10
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.portaone.com/~sobomax/
|
||||
MASTER_SITES= http://www.portaone.com/~gonzo/
|
||||
DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
@ -24,12 +23,6 @@ ONLY_FOR_ARCHS= i386
|
|||
PKGMESSAGE= ${WRKSRC}/.MESSAGE
|
||||
MAKE_ENV= KMODDIR=${PREFIX}/lib/zaptel
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= "FreeBSD versions below 5.x is not supported yet. If you can add support please do it and send your patches to Alexander Timoshenko <gonzo@portaone.com>. We will integrate into the driver. Thanks!"
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
@if [ ! -f /usr/src/sys/Makefile ]; then \
|
||||
${ECHO_MSG} ">> The zaptel port needs FreeBSD kernel source code to compile."; \
|
||||
|
@ -49,4 +42,4 @@ post-install:
|
|||
@${INSTALL_SCRIPT} ${WRKDIR}/zaptel.sh.sample ${PREFIX}/etc/rc.d
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (zaptel-freebsd-0.9.tar.gz) = bfd61d1cf4ef93e1b75185492c17ea16
|
||||
SIZE (zaptel-freebsd-0.9.tar.gz) = 193215
|
||||
MD5 (zaptel-freebsd-0.10.tar.gz) = 1e12c17e38070b0b233edba07880c786
|
||||
SIZE (zaptel-freebsd-0.10.tar.gz) = 194635
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- qozap/Makefile
|
||||
+++ qozap/Makefile
|
||||
@@ -4,6 +4,7 @@
|
||||
SRCS= qozap.c qozap_freebsd.c
|
||||
SRCS+= device_if.h bus_if.h isa_if.h pci_if.h
|
||||
CFLAGS+=-I../zaptel
|
||||
+WERROR= -Wall
|
||||
|
||||
#DEBUG_FLAGS= -g
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wcfxo/Makefile
|
||||
+++ wcfxo/Makefile
|
||||
@@ -6,6 +6,7 @@
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
SRCS+=wcfxovar.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wcfxo.ko
|
||||
kldload ./wcfxo.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wcfxs/Makefile
|
||||
+++ wcfxs/Makefile
|
||||
@@ -6,6 +6,7 @@
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
SRCS+=wcfxsvar.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wcfxs.ko
|
||||
kldload ./wcfxs.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wct1xxp/Makefile
|
||||
+++ wct1xxp/Makefile
|
||||
@@ -6,6 +6,7 @@
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
SRCS+=wct1xxp_var.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wct1xxp.ko
|
||||
kldload ./wct1xxp.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wct4xxp/Makefile
|
||||
+++ wct4xxp/Makefile
|
||||
@@ -5,6 +5,7 @@
|
||||
KMOD=wct4xxp
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wct4xxp.ko
|
||||
kldload ./wct4xxp.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wcte11xp/Makefile
|
||||
+++ wcte11xp/Makefile
|
||||
@@ -6,6 +6,7 @@
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
SRCS+=wcte11xp_var.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wcte11xp.ko
|
||||
kldload ./wcte11xp.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- zaptel/Makefile
|
||||
+++ zaptel/Makefile
|
||||
@@ -5,6 +5,7 @@
|
||||
KMOD=zaptel
|
||||
CFLAGS+=-g
|
||||
CLEANFILES+=gendigits tones.h
|
||||
+WERROR=-Wall
|
||||
|
||||
SRCS+=device_if.h bus_if.h vnode_if.h
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- ztcfg/Makefile
|
||||
+++ ztcfg/Makefile
|
||||
@@ -32,10 +32,6 @@
|
||||
${BSD_INSTALL_DATA} libtonezone.a ${PREFIX}/lib/
|
||||
${BSD_INSTALL_DATA} tonezone.h ${PREFIX}/include/
|
||||
${BSD_INSTALL_DATA} ../zaptel/zaptel.h ${PREFIX}/include/
|
||||
- ${BSD_INSTALL_DATA} zaptel.conf.sample ${PREFIX}/etc/
|
||||
- if [ ! -e ${PREFIX}/zaptel.conf ]; then \
|
||||
- ${BSD_INSTALL_DATA} zaptel.conf.sample ${PREFIX}/etc/zaptel.conf; \
|
||||
- fi
|
||||
|
||||
clean:
|
||||
rm -f *.o ztcfg *.a
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- ztdummy/Makefile
|
||||
+++ ztdummy/Makefile
|
||||
@@ -4,7 +4,7 @@
|
||||
SRCS=ztdummy.c ztdummy.h
|
||||
KMOD=ztdummy
|
||||
CFLAGS+=-I../zaptel -g
|
||||
-
|
||||
+WERROR= -Wall
|
||||
SRCS+=ztdummy.h
|
||||
|
||||
load: ztdummy.ko
|
|
@ -6,10 +6,9 @@
|
|||
#
|
||||
|
||||
PORTNAME= zaptel
|
||||
PORTVERSION= 0.9
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.10
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.portaone.com/~sobomax/
|
||||
MASTER_SITES= http://www.portaone.com/~gonzo/
|
||||
DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
@ -24,12 +23,6 @@ ONLY_FOR_ARCHS= i386
|
|||
PKGMESSAGE= ${WRKSRC}/.MESSAGE
|
||||
MAKE_ENV= KMODDIR=${PREFIX}/lib/zaptel
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= "FreeBSD versions below 5.x is not supported yet. If you can add support please do it and send your patches to Alexander Timoshenko <gonzo@portaone.com>. We will integrate into the driver. Thanks!"
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
@if [ ! -f /usr/src/sys/Makefile ]; then \
|
||||
${ECHO_MSG} ">> The zaptel port needs FreeBSD kernel source code to compile."; \
|
||||
|
@ -49,4 +42,4 @@ post-install:
|
|||
@${INSTALL_SCRIPT} ${WRKDIR}/zaptel.sh.sample ${PREFIX}/etc/rc.d
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (zaptel-freebsd-0.9.tar.gz) = bfd61d1cf4ef93e1b75185492c17ea16
|
||||
SIZE (zaptel-freebsd-0.9.tar.gz) = 193215
|
||||
MD5 (zaptel-freebsd-0.10.tar.gz) = 1e12c17e38070b0b233edba07880c786
|
||||
SIZE (zaptel-freebsd-0.10.tar.gz) = 194635
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- qozap/Makefile
|
||||
+++ qozap/Makefile
|
||||
@@ -4,6 +4,7 @@
|
||||
SRCS= qozap.c qozap_freebsd.c
|
||||
SRCS+= device_if.h bus_if.h isa_if.h pci_if.h
|
||||
CFLAGS+=-I../zaptel
|
||||
+WERROR= -Wall
|
||||
|
||||
#DEBUG_FLAGS= -g
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wcfxo/Makefile
|
||||
+++ wcfxo/Makefile
|
||||
@@ -6,6 +6,7 @@
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
SRCS+=wcfxovar.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wcfxo.ko
|
||||
kldload ./wcfxo.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wcfxs/Makefile
|
||||
+++ wcfxs/Makefile
|
||||
@@ -6,6 +6,7 @@
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
SRCS+=wcfxsvar.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wcfxs.ko
|
||||
kldload ./wcfxs.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wct1xxp/Makefile
|
||||
+++ wct1xxp/Makefile
|
||||
@@ -6,6 +6,7 @@
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
SRCS+=wct1xxp_var.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wct1xxp.ko
|
||||
kldload ./wct1xxp.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wct4xxp/Makefile
|
||||
+++ wct4xxp/Makefile
|
||||
@@ -5,6 +5,7 @@
|
||||
KMOD=wct4xxp
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wct4xxp.ko
|
||||
kldload ./wct4xxp.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- wcte11xp/Makefile
|
||||
+++ wcte11xp/Makefile
|
||||
@@ -6,6 +6,7 @@
|
||||
CFLAGS+=-I../zaptel -g
|
||||
SRCS+=device_if.h bus_if.h isa_if.h pci_if.h
|
||||
SRCS+=wcte11xp_var.h
|
||||
+WERROR= -Wall
|
||||
|
||||
load: wcte11xp.ko
|
||||
kldload ./wcte11xp.ko
|
|
@ -1,13 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- zaptel/Makefile
|
||||
+++ zaptel/Makefile
|
||||
@@ -5,6 +5,7 @@
|
||||
KMOD=zaptel
|
||||
CFLAGS+=-g
|
||||
CLEANFILES+=gendigits tones.h
|
||||
+WERROR=-Wall
|
||||
|
||||
SRCS+=device_if.h bus_if.h vnode_if.h
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- ztcfg/Makefile
|
||||
+++ ztcfg/Makefile
|
||||
@@ -32,10 +32,6 @@
|
||||
${BSD_INSTALL_DATA} libtonezone.a ${PREFIX}/lib/
|
||||
${BSD_INSTALL_DATA} tonezone.h ${PREFIX}/include/
|
||||
${BSD_INSTALL_DATA} ../zaptel/zaptel.h ${PREFIX}/include/
|
||||
- ${BSD_INSTALL_DATA} zaptel.conf.sample ${PREFIX}/etc/
|
||||
- if [ ! -e ${PREFIX}/zaptel.conf ]; then \
|
||||
- ${BSD_INSTALL_DATA} zaptel.conf.sample ${PREFIX}/etc/zaptel.conf; \
|
||||
- fi
|
||||
|
||||
clean:
|
||||
rm -f *.o ztcfg *.a
|
|
@ -1,14 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- ztdummy/Makefile
|
||||
+++ ztdummy/Makefile
|
||||
@@ -4,7 +4,7 @@
|
||||
SRCS=ztdummy.c ztdummy.h
|
||||
KMOD=ztdummy
|
||||
CFLAGS+=-I../zaptel -g
|
||||
-
|
||||
+WERROR= -Wall
|
||||
SRCS+=ztdummy.h
|
||||
|
||||
load: ztdummy.ko
|
Loading…
Reference in a new issue