aboutsummaryrefslogtreecommitdiff
path: root/net/zaptel12
diff options
context:
space:
mode:
Diffstat (limited to 'net/zaptel12')
-rw-r--r--net/zaptel12/Makefile52
-rw-r--r--net/zaptel12/distinfo3
-rw-r--r--net/zaptel12/files/patch-qozap::Makefile14
-rw-r--r--net/zaptel12/files/patch-zaphfc::Makefile22
-rw-r--r--net/zaptel12/files/patch-zaptel::Makefile14
-rw-r--r--net/zaptel12/files/pkg-message.in27
-rw-r--r--net/zaptel12/files/zaptel.in51
-rw-r--r--net/zaptel12/pkg-descr3
-rw-r--r--net/zaptel12/pkg-plist20
9 files changed, 0 insertions, 206 deletions
diff --git a/net/zaptel12/Makefile b/net/zaptel12/Makefile
deleted file mode 100644
index d4d6dd8f7658..000000000000
--- a/net/zaptel12/Makefile
+++ /dev/null
@@ -1,52 +0,0 @@
-# Ports collection makefile for: zaptel
-# Date created: 29 April 2004
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= zaptel
-PORTVERSION= 1.1
-CATEGORIES= misc
-MASTER_SITES= http://www.pbxpress.com/~gonzo/
-DISTNAME= ${PORTNAME}-bsd-${PORTVERSION}
-
-MAINTAINER= sobomax@FreeBSD.org
-COMMENT= A FreeBSD Driver for FXO, FXS, BRI and PRI Telephony Cards
-
-LIB_DEPENDS= newt.51:${PORTSDIR}/devel/newt
-
-NO_PACKAGE= Should be in sync with the kernel to work correctly
-
-ONLY_FOR_ARCHS= i386
-
-MAKE_ENV= KMODDIR=${PREFIX}/lib/zaptel
-SUB_FILES= pkg-message
-USE_RC_SUBR= zaptel
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= does not build on FreeBSD \< 5.x
-.endif
-
-pre-everything::
- @if [ ! -f /usr/src/sys/Makefile ]; then \
- ${ECHO_MSG} ">> The zaptel port needs FreeBSD kernel source code to compile."; \
- ${ECHO_MSG} ">> Please install FreeBSD kernel source code in /usr/src/sys."; \
- ${FALSE}; \
- fi
-
-post-patch:
- @${REINPLACE_CMD} -e "s|<getopt.h>|<unistd.h>|g" \
- ${WRKSRC}/test/ztmonitor.c ${WRKSRC}/test/zttool.c \
- ${WRKSRC}/ztcfg/ztcfg.c
-
-pre-su-install:
- @${MKDIR} ${PREFIX}/lib/zaptel
-
-post-install:
- @${TOUCH} ${PREFIX}/lib/zaptel/linker.hints
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/net/zaptel12/distinfo b/net/zaptel12/distinfo
deleted file mode 100644
index f88ee37f8f33..000000000000
--- a/net/zaptel12/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (zaptel-bsd-1.1.tar.gz) = a92b917287595ae6d48dff30f8dfa4dd
-SHA256 (zaptel-bsd-1.1.tar.gz) = 7d6af428a56de91d9460899c71111664f0a360960d0e0fe5e39baaac76b37565
-SIZE (zaptel-bsd-1.1.tar.gz) = 352744
diff --git a/net/zaptel12/files/patch-qozap::Makefile b/net/zaptel12/files/patch-qozap::Makefile
deleted file mode 100644
index 96e2efe5d9da..000000000000
--- a/net/zaptel12/files/patch-qozap::Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- qozap/Makefile
-+++ qozap/Makefile
-@@ -7,7 +7,7 @@
- KMOD= qozap
- SRCS= qozap.c qozap_freebsd.c
- SRCS+= device_if.h bus_if.h isa_if.h pci_if.h
--CFLAGS+=-I../zaptel
-+CFLAGS+=-I../zaptel -DCONFIG_PCI=1
- WERROR= -Wall
-
- #DEBUG_FLAGS= -g
diff --git a/net/zaptel12/files/patch-zaphfc::Makefile b/net/zaptel12/files/patch-zaphfc::Makefile
deleted file mode 100644
index be960a601cff..000000000000
--- a/net/zaptel12/files/patch-zaphfc::Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-
-$FreeBSD$
-
---- zaphfc/Makefile.orig
-+++ zaphfc/Makefile
-@@ -1,4 +1,4 @@
--# $Id$
-+# $Id: Makefile,v 1.1 2006/07/06 05:51:19 root Exp root $
-
-
- # CWARNFLAGS= -D__nothing_because_have_cplusplus_comments__
-@@ -7,9 +7,7 @@
- KMOD= zaphfc
- SRCS= zaphfc.c zaphfc_freebsd.c
- SRCS+= device_if.h bus_if.h isa_if.h pci_if.h
--CFLAGS+=-I../zaptel
-+CFLAGS+=-I../zaptel -DCONFIG_PCI=1 -g
- WERROR= -Wall
--
--DEBUG_FLAGS= -g
-
- .include <bsd.kmod.mk>
diff --git a/net/zaptel12/files/patch-zaptel::Makefile b/net/zaptel12/files/patch-zaptel::Makefile
deleted file mode 100644
index 6d166350a44e..000000000000
--- a/net/zaptel12/files/patch-zaptel::Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- zaptel/Makefile
-+++ zaptel/Makefile
-@@ -3,7 +3,7 @@
- .PATH: /sys/dev/pci
- SRCS=zaptel.c zt_chan.c zt_timer.c zt_zone.c zt_conf.c arith.h tones.h zaptel.h zaptel-compat.h
- KMOD=zaptel
--CFLAGS+=-g
-+CFLAGS+=-g -DZAPATA_DEBUG=0
- CLEANFILES+=gendigits tones.h
- WERROR=-Wall
-
diff --git a/net/zaptel12/files/pkg-message.in b/net/zaptel12/files/pkg-message.in
deleted file mode 100644
index 2865d845bc78..000000000000
--- a/net/zaptel12/files/pkg-message.in
+++ /dev/null
@@ -1,27 +0,0 @@
--------------------------------------------------------------------------------
-IMPORTANT! MAKE SURE TO READ THE FOLLOWING!
-
-To use the driver set zaptel_enable="YES" in your rc.conf.
-
-To load the driver run (as root):
-
-# %%PREFIX%%/etc/rc.d/zaptel start
-
-To unload it:
-
-# %%PREFIX%%/etc/rc.d/zaptel stop
-
-It'll also load the driver automatically when the system is started.
-
-Report problems to Alexander Timoshenko <gonzo@pbxpress.com>. Please note that
-it is still "work in progress" so that your bug reports are welcome and will
-help to improve quality of the drivers.
-
-Great thanks to all companies and individuals who made this driver happen,
-including but not limited to, John Todd, Chris Coleman, Alexander Timoshenko,
-PBXpress, Inc, Max Khon, LF.net, Luigi Rizzo and others contributors.
-
-Thanks and enjoy!
-
--Maxim
--------------------------------------------------------------------------------
diff --git a/net/zaptel12/files/zaptel.in b/net/zaptel12/files/zaptel.in
deleted file mode 100644
index 6420760a61d7..000000000000
--- a/net/zaptel12/files/zaptel.in
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: zaptel
-# REQUIRE: NETWORKING
-# KEYWORD: shutdown
-# BEFORE: asterisk
-#
-# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
-# to enable this service:
-#
-# zaptel_enable (bool): Set to NO by default.
-# Set it to YES to enable zaptel.
-#
-
-. %%RC_SUBR%%
-
-kmod_dir=%%PREFIX%%/lib/zaptel
-
-kmod_load="zaptel.ko qozap.ko tau32pci.ko wcfxo.ko wcfxs.ko wct1xxp.ko wct4xxp.ko wcte11xp.ko"
-kmod_unload="wcte11xp.ko wct4xxp.ko wct1xxp.ko wcfxs.ko wcfxo.ko tau32pci.ko qozap.ko zaptel.ko"
-name="zaptel"
-rcvar=${name}_enable
-
-start_cmd="zaptel_start"
-stop_cmd="zaptel_stop"
-
-zaptel_start()
-{
- echo -n " ${name}"
- for kmod in ${kmod_load}
- do
- kldload ${kmod_dir}/${kmod} || exit 1
- done
- %%PREFIX%%/bin/ztcfg
-}
-
-zaptel_stop()
-{
- echo -n " ${name}"
- for kmod in ${kmod_unload}
- do
- kldunload ${kmod}
- done
-}
-load_rc_config $name
-
-: ${zaptel_enable="NO"}
-
-run_rc_command "$1"
diff --git a/net/zaptel12/pkg-descr b/net/zaptel12/pkg-descr
deleted file mode 100644
index aaf4997bb845..000000000000
--- a/net/zaptel12/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-A FreeBSD Driver for FXO, FXS, BRI and PRI Telephony Cards.
-
-WWW: http://www.digium.com/index.php?menu=hardware_products
diff --git a/net/zaptel12/pkg-plist b/net/zaptel12/pkg-plist
deleted file mode 100644
index 078d9ce0125f..000000000000
--- a/net/zaptel12/pkg-plist
+++ /dev/null
@@ -1,20 +0,0 @@
-bin/fxo_test
-bin/ztcfg
-bin/ztmonitor
-bin/zttest
-bin/zttool
-include/tonezone.h
-include/zaptel.h
-lib/libtonezone.a
-lib/zaptel/linker.hints
-lib/zaptel/qozap.ko
-lib/zaptel/tau32pci.ko
-lib/zaptel/wcfxo.ko
-lib/zaptel/wcfxs.ko
-lib/zaptel/wct1xxp.ko
-lib/zaptel/wct4xxp.ko
-lib/zaptel/wcte11xp.ko
-lib/zaptel/zaphfc.ko
-lib/zaptel/zaptel.ko
-lib/zaptel/ztdummy.ko
-@dirrm lib/zaptel