aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2010-12-14 02:36:20 +0000
committerMax Khon <fjoe@FreeBSD.org>2010-12-14 02:36:20 +0000
commitae08b48a275b7443447bcde65ce2716b243eea69 (patch)
treec072f7b849de38066e16728dfe012c04954c94db /misc
parent82f441c794fac6e356ea2478c4e6196b1274c083 (diff)
downloadports-ae08b48a275b7443447bcde65ce2716b243eea69.tar.gz
ports-ae08b48a275b7443447bcde65ce2716b243eea69.zip
Notes
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/zaptel/Makefile53
-rw-r--r--misc/zaptel/distinfo3
-rw-r--r--misc/zaptel/files/pkg-message.in15
-rw-r--r--misc/zaptel/files/zaptel.in64
-rw-r--r--misc/zaptel/pkg-descr3
-rw-r--r--misc/zaptel/pkg-plist24
7 files changed, 0 insertions, 163 deletions
diff --git a/misc/Makefile b/misc/Makefile
index de63a7b4682e..66be7851e073 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -579,7 +579,6 @@
SUBDIR += xyzcmd
SUBDIR += yaunc
SUBDIR += ytree
- SUBDIR += zaptel
SUBDIR += zoneinfo
.include <bsd.port.subdir.mk>
diff --git a/misc/zaptel/Makefile b/misc/zaptel/Makefile
deleted file mode 100644
index 4cc0f761b5a0..000000000000
--- a/misc/zaptel/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-# Ports collection makefile for: zaptel
-# Date created: 29 April 2004
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= zaptel
-PORTVERSION= 1.4.11.3
-PORTREVISION= 1
-CATEGORIES= misc kld
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= fjoe
-DISTNAME= ${PORTNAME}-bsd-${PORTVERSION}
-
-MAINTAINER= fjoe@FreeBSD.org
-COMMENT= A FreeBSD Driver for FXO, FXS, BRI and PRI Telephony Cards
-
-LIB_DEPENDS= newt.52:${PORTSDIR}/devel/newt
-
-NO_PACKAGE= Should be in sync with the kernel to work correctly
-
-ONLY_FOR_ARCHS= i386 amd64
-CONFLICTS= dahdi-[0-9]*
-
-MAKE_ENV= KMODDIR=${PREFIX}/lib/zaptel
-SUB_FILES= pkg-message
-USE_RC_SUBR= zaptel
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-bsd-${PORTVERSION}
-
-.include <bsd.port.pre.mk>
-
-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}/tools/ztmonitor.c ${WRKSRC}/tools/zttool.c \
- ${WRKSRC}/tools/ztcfg.c ${WRKSRC}/tools/zttest.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/misc/zaptel/distinfo b/misc/zaptel/distinfo
deleted file mode 100644
index 19dd6d87c485..000000000000
--- a/misc/zaptel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (zaptel-bsd-1.4.11.3.tar.gz) = 4ddd116772b84667ab058555ca8af43c
-SHA256 (zaptel-bsd-1.4.11.3.tar.gz) = 8ff2f1926c82cd4a41803fce946869669f4996cced74d02a7689208111fcb668
-SIZE (zaptel-bsd-1.4.11.3.tar.gz) = 386112
diff --git a/misc/zaptel/files/pkg-message.in b/misc/zaptel/files/pkg-message.in
deleted file mode 100644
index d952ebcd0e1e..000000000000
--- a/misc/zaptel/files/pkg-message.in
+++ /dev/null
@@ -1,15 +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.
--------------------------------------------------------------------------------
diff --git a/misc/zaptel/files/zaptel.in b/misc/zaptel/files/zaptel.in
deleted file mode 100644
index c4bffe8aefb9..000000000000
--- a/misc/zaptel/files/zaptel.in
+++ /dev/null
@@ -1,64 +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.
-#
-
-. /etc/rc.subr
-
-kmod_dir=%%PREFIX%%/lib/zaptel
-
-name="zaptel"
-rcvar=${name}_enable
-
-start_cmd="zaptel_start"
-stop_cmd="zaptel_stop"
-
-load_rc_config $name
-
-: ${zaptel_enable="NO"}
-
-: ${zaptel_kmod_load="zaptel.ko qozap.ko wctdm.ko wctdm24xxp.ko wct1xxp.ko wct4xxp.ko wcte11xp.ko wcte12xp.ko"}
-# Reverse list
-zaptel_kmod_unload=""
-for kmod in ${zaptel_kmod_load}
-do
- zaptel_kmod_unload="${kmod} ${zaptel_kmod_unload}"
-done
-
-zaptel_start()
-{
- echo -n " ${name}"
- for kmod in ${zaptel_kmod_load}
- do
- if [ -e ${kmod_dir}/${kmod} ]
- then
- kldload ${kmod_dir}/${kmod} || exit 1
- fi
- done
- %%PREFIX%%/bin/ztcfg
-}
-
-zaptel_stop()
-{
- echo -n " ${name}"
- for kmod in ${zaptel_kmod_unload}
- do
- if [ -e ${kmod_dir}/${kmod} ]
- then
- kldunload ${kmod}
- fi
- done
-}
-
-run_rc_command "$1"
diff --git a/misc/zaptel/pkg-descr b/misc/zaptel/pkg-descr
deleted file mode 100644
index aaf4997bb845..000000000000
--- a/misc/zaptel/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/misc/zaptel/pkg-plist b/misc/zaptel/pkg-plist
deleted file mode 100644
index f1602f014604..000000000000
--- a/misc/zaptel/pkg-plist
+++ /dev/null
@@ -1,24 +0,0 @@
-bin/fxotune
-bin/fxstest
-bin/wct4xxp-diag
-bin/ztcfg
-bin/ztmonitor
-bin/ztscan
-bin/ztspeed
-bin/zttest
-bin/zttool
-etc/zaptel.conf.sample
-include/zaptel/tonezone.h
-include/zaptel/zaptel.h
-lib/libtonezone.a
-lib/zaptel/linker.hints
-lib/zaptel/qozap.ko
-lib/zaptel/wct1xxp.ko
-lib/zaptel/wctdm.ko
-lib/zaptel/wctdm24xxp.ko
-lib/zaptel/wcte11xp.ko
-lib/zaptel/wcte12xp.ko
-lib/zaptel/zaptel.ko
-lib/zaptel/ztdummy.ko
-@dirrm lib/zaptel
-@dirrm include/zaptel