diff options
author | roger <roger@FreeBSD.org> | 2002-01-14 22:52:46 +0800 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 2002-01-14 22:52:46 +0800 |
commit | 3be3cdf5b6a808f4f6b39588704d61a3481d3a60 (patch) | |
tree | dd924a2c27280cc7026d8f9be8789bba27cea514 | |
parent | 5905359d4efa1999197eb54084c63e9a9f82edad (diff) | |
download | freebsd-ports-gnome-3be3cdf5b6a808f4f6b39588704d61a3481d3a60.tar.gz freebsd-ports-gnome-3be3cdf5b6a808f4f6b39588704d61a3481d3a60.tar.zst freebsd-ports-gnome-3be3cdf5b6a808f4f6b39588704d61a3481d3a60.zip |
Add FreeBSD port of the ixj driver for Quicknet LineJack and
PhoneJack cards.
These ISA and PCI telephony cards allow VoIP and Video Conferencing
using the OpenH323 suite of applications with a standard
telephone handset (including making the phone ring for incomming calls,
allowing dialing via the telephone and using the phone's speaker and mic
for the audio (freeing up the sound card).
They also feature a hardware G.723.1 audio codec making it easier to talk
to NetMeeting and H.323 users.
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/ixj/Makefile | 40 | ||||
-rw-r--r-- | comms/ixj/distinfo | 1 | ||||
-rw-r--r-- | comms/ixj/files/ixj.sh | 24 | ||||
-rw-r--r-- | comms/ixj/pkg-comment | 1 | ||||
-rw-r--r-- | comms/ixj/pkg-descr | 23 | ||||
-rw-r--r-- | comms/ixj/pkg-message | 7 | ||||
-rw-r--r-- | comms/ixj/pkg-plist | 17 |
8 files changed, 114 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index 0ce28d39769d..0db37ea767ab 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -14,6 +14,7 @@ SUBDIR += gkermit SUBDIR += gnokii SUBDIR += hylafax + SUBDIR += ixj SUBDIR += kermit SUBDIR += lrzsz SUBDIR += ltmdm diff --git a/comms/ixj/Makefile b/comms/ixj/Makefile new file mode 100644 index 000000000000..5c75e8129737 --- /dev/null +++ b/comms/ixj/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: ixj +# Date Created: Mon Jan 14 2002 +# Whom: Roger Hardiman <roger@freebsd.org> +# +# $FreeBSD$ +# + +PORTNAME= ixj +PORTVERSION= 1.0.0 +CATEGORIES= comms +MASTER_SITES= ftp://telepresence.dmem.strath.ac.uk/pub/openh323/ +DISTNAME= ixj_freebsd-${PORTVERSION} + +MAINTAINER= roger@freebsd.org + +ONLY_FOR_ARCHS= i386 + +WRKSRC= ${WRKDIR}/ixj_freebsd +MAKEFILE= Makefile.BSD + +pre-fetch: +.if !exists(${SRC_BASE}/sys/Makefile) + @${ECHO} "*************************************************"; \ + ${ECHO} "This port requires the kernel source be available"; \ + ${ECHO} "*************************************************"; \ + exit 1 +.endif + +post-patch: + ${CP} ${FILESDIR}/ixj.sh ${WRKSRC} + ${PERL} -pi.orig -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/ixj.sh + +do-install: + @${INSTALL_DATA} ${WRKSRC}/ixj.ko ${PREFIX}/modules + @${INSTALL_DATA} ${WRKSRC}/ixjuser.h ${PREFIX}/include + @${INSTALL_DATA} ${WRKSRC}/telephony.h ${PREFIX}/include + @${INSTALL_SCRIPT} ${WRKSRC}/ixj.sh ${PREFIX}/etc/rc.d/ + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/comms/ixj/distinfo b/comms/ixj/distinfo new file mode 100644 index 000000000000..bf650b5275ec --- /dev/null +++ b/comms/ixj/distinfo @@ -0,0 +1 @@ +MD5 (ixj_freebsd-1.0.0.tar.gz) = 1128bff3642a1197864cd18ac0928f92 diff --git a/comms/ixj/files/ixj.sh b/comms/ixj/files/ixj.sh new file mode 100644 index 000000000000..2975cbc5c7c7 --- /dev/null +++ b/comms/ixj/files/ixj.sh @@ -0,0 +1,24 @@ +#!/bin/sh + +$PREFIX=%%PREFIX%% + +case "$1" in + restart) + $0 stop + sleep 2 + $0 start + ;; + stop) + kldstat -n ixj 2>/dev/null >/dev/null && kldunload ixj + ;; + start) + echo -n ' ixj' + rm -f /dev/phone0 /dev/phone1 /dev/phone2 /dev/phone3 + mknod /dev/phone0 c 155 0 + mknod /dev/phone1 c 155 1 + mknod /dev/phone2 c 155 2 + mknod /dev/phone3 c 155 3 + + kldstat -n ixj 2>/dev/null >/dev/null || kldload $PREFIX/modules/ixj.ko + ;; +esac diff --git a/comms/ixj/pkg-comment b/comms/ixj/pkg-comment new file mode 100644 index 000000000000..5661b05aea18 --- /dev/null +++ b/comms/ixj/pkg-comment @@ -0,0 +1 @@ +Driver for Quicknet Internet PhoneJack and LineJack. Used by OpenH323 diff --git a/comms/ixj/pkg-descr b/comms/ixj/pkg-descr new file mode 100644 index 000000000000..833912ad1d09 --- /dev/null +++ b/comms/ixj/pkg-descr @@ -0,0 +1,23 @@ +This is the ixj driver for Quicknet Internet LineJack and PhoneJack +hardware, ported from Linux. +Hardware can be found at http://www.quicknet.com +Note there is a Linux page where hardware can be purchased +without the Windows drivers at a reduced rate. You can then +use these FreeBSD ixj drivers. + +The driver is used by the OpenH323 applications +(ohphone, openam and possibly GnomeMeeting in a future release). + +It allows a standard telephone to be plugged into a FreeBSD machine +and used for Voice over IP or Video Conferencing. +When making a call, simply lift the handset and dial. +When receiving a call, your normal telephone actually rings. + +In addition the cards support G.723.1 audio compression which +means you can communicate with a wider range of H.323 applications +such as NetMeeting, when using a modem to connect to the internet. + +The port was originally made by Devin Butterfield <dbutter@wireless.net> +and is now being maintained by Roger Hardiman <roger@freebsd.org> + +WWW: http://www.openh323.org diff --git a/comms/ixj/pkg-message b/comms/ixj/pkg-message new file mode 100644 index 000000000000..67bfbfcbefa1 --- /dev/null +++ b/comms/ixj/pkg-message @@ -0,0 +1,7 @@ + +******************************************************************************* +* This port contains a prebuilt kernel module. Due to the ever changing * +* nature of FreeBSD it may be necessary to rebuild the module after a kernel * +* source update. To do this reinstall the port. * +******************************************************************************* + diff --git a/comms/ixj/pkg-plist b/comms/ixj/pkg-plist new file mode 100644 index 000000000000..cbcc8f7ff586 --- /dev/null +++ b/comms/ixj/pkg-plist @@ -0,0 +1,17 @@ +@unexec kldunload ixj || true +modules/ixj.ko +include/telephony.h +include/ixjuser.h +etc/rc.d/ixj.sh +@exec rm -f /dev/phone0 +@exec rm -f /dev/phone1 +@exec rm -f /dev/phone2 +@exec rm -f /dev/phone3 +@exec mknod /dev/phone0 c 155 0 +@exec mknod /dev/phone1 c 155 1 +@exec mknod /dev/phone2 c 155 2 +@exec mknod /dev/phone3 c 155 3 +@unexec rm -f /dev/phone0 +@unexec rm -f /dev/phone1 +@unexec rm -f /dev/phone2 +@unexec rm -f /dev/phone3 |