diff options
Diffstat (limited to 'misc/dahdi-kmod')
-rw-r--r-- | misc/dahdi-kmod/Makefile | 81 | ||||
-rw-r--r-- | misc/dahdi-kmod/distinfo | 3 | ||||
-rw-r--r-- | misc/dahdi-kmod/files/dahdi.in | 60 | ||||
-rw-r--r-- | misc/dahdi-kmod/files/patch-tools-Makefile | 24 | ||||
-rw-r--r-- | misc/dahdi-kmod/pkg-descr | 5 | ||||
-rw-r--r-- | misc/dahdi-kmod/pkg-plist | 47 |
6 files changed, 0 insertions, 220 deletions
diff --git a/misc/dahdi-kmod/Makefile b/misc/dahdi-kmod/Makefile deleted file mode 100644 index ed61a62cf3fa..000000000000 --- a/misc/dahdi-kmod/Makefile +++ /dev/null @@ -1,81 +0,0 @@ -# Ports collection makefile for: dahdi -# Date created: 3 Mar 2010 -# Whom: Maxim Khon <fjoe@FreeBSD.org> -# -# $FreeBSD$ -# - -PORTNAME= dahdi -PORTVERSION= ${DAHDI_VERSION:S/-//g} -PORTREVISION= 0 -CATEGORIES= misc kld -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= fjoe -DISTNAME= ${PORTNAME}-freebsd-complete-${DAHDI_VERSION}+${DAHDI_TOOLS_VERSION} - -MAINTAINER= fjoe@FreeBSD.org -COMMENT= Digium/Asterisk Hardware Device Interface - -BUILD_DEPENDS= gmake:${PORTSDIR}/devel/gmake -LIB_DEPENDS= newt.52:${PORTSDIR}/devel/newt - -DAHDI_VERSION= 2.3.0-rc2 -DAHDI_TOOLS_VERSION= 2.3.0 - -NO_PACKAGE= Should be in sync with the kernel to work correctly -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-dahdi=../freebsd --sysconfdir=${PREFIX}/etc --with-newt=${LOCALBASE} -CONFIGURE_ENV= WGET=/usr/bin/fetch -USE_LDCONFIG= yes -USE_RC_SUBR= dahdi - -ONLY_FOR_ARCHS= i386 amd64 -CONFLICTS= zaptel-[0-9]* - -MAN8= dahdi_cfg.8\ - dahdi_monitor.8\ - dahdi_scan.8\ - dahdi_test.8\ - dahdi_tool.8\ - fxotune.8 - -OPTIONS= EXPERIMENTAL "Enable experimental drivers" off - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108) -IGNORE= requires firmware(9) support for kernel modules with hyphens -.endif - -.if ${ARCH} == "i386" || ${ARCH} == "amd64" -PLIST_SUB+= X86="" -.else -PLIST_SUB+= X86="@comment " -.endif - -.if defined(WITH_EXPERIMENTAL) -MAKE_FLAGS+= WITH_EXPERIMENTAL=yes -PLIST_SUB+= WITH_EXPERIMENTAL="" -.else -PLIST_SUB+= WITH_EXPERIMENTAL="@comment " -.endif - -pre-everything:: - @if [ ! -f /usr/src/sys/Makefile ]; then \ - ${ECHO_MSG} ">> The dahdi 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,/etc,${PREFIX}/etc,g'\ - ${WRKSRC}/tools/dahdi_cfg.c ${WRKSRC}/tools/fxotune.c\ - ${WRKSRC}/tools/doc/dahdi_cfg.8 ${WRKSRC}/tools/doc/fxotune.8 - -pre-su-install: - @${MKDIR} ${PREFIX}/lib/dahdi - -post-install: - @${TOUCH} ${PREFIX}/lib/dahdi/linker.hints - -.include <bsd.port.post.mk> diff --git a/misc/dahdi-kmod/distinfo b/misc/dahdi-kmod/distinfo deleted file mode 100644 index ba5f9996b6a6..000000000000 --- a/misc/dahdi-kmod/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (dahdi-freebsd-complete-2.3.0-rc2+2.3.0.tar.gz) = 3885e017536e75cd1cb2a210e6668970 -SHA256 (dahdi-freebsd-complete-2.3.0-rc2+2.3.0.tar.gz) = aa56f9a87584de6c96e8efd4598e74760febaac470bd4616d7ee22b0ac398e08 -SIZE (dahdi-freebsd-complete-2.3.0-rc2+2.3.0.tar.gz) = 2013326 diff --git a/misc/dahdi-kmod/files/dahdi.in b/misc/dahdi-kmod/files/dahdi.in deleted file mode 100644 index ba9f2720c685..000000000000 --- a/misc/dahdi-kmod/files/dahdi.in +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: dahdi -# REQUIRE: NETWORKING -# KEYWORD: shutdown -# BEFORE: asterisk -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# dahdi_enable (bool): YES/NO (default: NO) -# dahdi_modules (list of strings): dahdi modules to load at boot (default: dahdi) -# Valid modules are: dahdi, wct4xxp, wcb4xxp -# -# Example: -# -# dahdi_enable="YES" -# dahdi_modules="wct4xxp" -# - -. /etc/rc.subr - -name="dahdi" -rcvar=`set_rcvar` - -start_cmd="dahdi_start" -stop_cmd="dahdi_stop" -load_rc_config $name -: ${dahdi_enable="NO"} -: ${dahdi_modules="dahdi"} - -kmod_dir=%%PREFIX%%/lib/dahdi -# reverse list -dahdi_modules_unload="" -for m in ${dahdi_modules}; do - dahdi_modules_unload="$m ${dahdi_modules_unload}" -done - -dahdi_start() -{ - echo -n " ${name}" - - kldconfig -mf ${kmod_dir} - for m in ${dahdi_modules}; do - kldload $m || exit 1 - done - %%PREFIX%%/sbin/dahdi_cfg -} - -dahdi_stop() -{ - echo -n " ${name}" - for m in ${dahdi_modules_unload}; do - kldunload $m - done -} - -run_rc_command "$1" diff --git a/misc/dahdi-kmod/files/patch-tools-Makefile b/misc/dahdi-kmod/files/patch-tools-Makefile deleted file mode 100644 index 48028dd64066..000000000000 --- a/misc/dahdi-kmod/files/patch-tools-Makefile +++ /dev/null @@ -1,24 +0,0 @@ ---- tools/Makefile.orig 2010-04-01 22:45:47.000000000 +0700 -+++ tools/Makefile 2010-06-01 17:18:37.000000000 +0700 -@@ -27,7 +27,7 @@ - endif - - SUBDIRS_UTILS_ALL:= ppp --SUBDIRS_UTILS := xpp -+#SUBDIRS_UTILS := xpp - - OPTFLAGS=-O2 - CFLAGS+=-I. $(OPTFLAGS) -g -fPIC -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER -@@ -229,10 +229,8 @@ - install -d $(DESTDIR)$(MAN_DIR) - install -m 644 $(MAN_PAGES) $(DESTDIR)$(MAN_DIR)/ - endif --ifeq (,$(wildcard $(DESTDIR)$(CONFIG_FILE))) -- $(INSTALL) -d $(DESTDIR)$(CONFIG_DIR) -- $(INSTALL) -m 644 system.conf.sample $(DESTDIR)$(CONFIG_FILE) --endif -+ $(INSTALL) -d -m 755 $(DESTDIR)$(CONFIG_DIR) -+ $(INSTALL) -m 644 system.conf.sample $(DESTDIR)$(CONFIG_FILE).sample - - install-libs: libs - $(INSTALL) -d -m 755 $(DESTDIR)/$(LIB_DIR) diff --git a/misc/dahdi-kmod/pkg-descr b/misc/dahdi-kmod/pkg-descr deleted file mode 100644 index d6703144bc6e..000000000000 --- a/misc/dahdi-kmod/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -DAHDi (Digium/Asterisk Hardware Device Interface) is the open source -device interface technology used to control Digium and other telephony -interface cards. - -WWW: http://www.asterisk.org/dahdi/ diff --git a/misc/dahdi-kmod/pkg-plist b/misc/dahdi-kmod/pkg-plist deleted file mode 100644 index f64df1431013..000000000000 --- a/misc/dahdi-kmod/pkg-plist +++ /dev/null @@ -1,47 +0,0 @@ -etc/dahdi/system.conf.sample -include/dahdi/compat/types.h -include/dahdi/tonezone.h -include/dahdi/user.h -include/dahdi/wctdm_user.h -lib/dahdi/dahdi-fw-hx8.bin.ko -lib/dahdi/dahdi-fw-oct6114-064.bin.ko -lib/dahdi/dahdi-fw-oct6114-128.bin.ko -lib/dahdi/dahdi.ko -lib/dahdi/dahdi_dynamic.ko -lib/dahdi/dahdi_dynamic_eth.ko -lib/dahdi/dahdi_dynamic_ethmf.ko -lib/dahdi/dahdi_dynamic_loc.ko -lib/dahdi/dahdi_echocan_jpah.ko -lib/dahdi/dahdi_echocan_kb1.ko -lib/dahdi/dahdi_echocan_mg2.ko -lib/dahdi/dahdi_echocan_sec.ko -lib/dahdi/dahdi_echocan_sec2.ko -lib/dahdi/dahdi_voicebus.ko -lib/dahdi/linker.hints -lib/dahdi/ng_dahdi_netdev.ko -lib/dahdi/wcb4xxp.ko -lib/dahdi/wcfxo.ko -lib/dahdi/wct4xxp.ko -lib/dahdi/wctdm24xxp.ko -%%X86%%%%WITH_EXPERIMENTAL%%lib/dahdi/dahdi_vpmadt032_loader.ko -%%WITH_EXPERIMENTAL%%lib/dahdi/wctdm.ko -%%WITH_EXPERIMENTAL%%lib/dahdi/wcte11xp.ko -%%WITH_EXPERIMENTAL%%lib/dahdi/wcte12xp.ko -lib/libtonezone.a -lib/libtonezone.so -lib/libtonezone.so.1 -lib/libtonezone.so.1.0 -lib/libtonezone.so.2 -lib/libtonezone.so.2.0 -sbin/dahdi_cfg -sbin/dahdi_maint -sbin/dahdi_monitor -sbin/dahdi_scan -sbin/dahdi_speed -sbin/dahdi_test -sbin/dahdi_tool -sbin/fxotune -@dirrm lib/dahdi -@dirrm include/dahdi/compat -@dirrm include/dahdi -@dirrmtry etc/dahdi |