1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

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.
This commit is contained in:
Roger Hardiman 2002-01-14 14:52:46 +00:00
parent 1827e477d5
commit ed1e1f00ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53055
8 changed files with 114 additions and 0 deletions

View File

@ -14,6 +14,7 @@
SUBDIR += gkermit
SUBDIR += gnokii
SUBDIR += hylafax
SUBDIR += ixj
SUBDIR += kermit
SUBDIR += lrzsz
SUBDIR += ltmdm

40
comms/ixj/Makefile Normal file
View File

@ -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>

1
comms/ixj/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ixj_freebsd-1.0.0.tar.gz) = 1128bff3642a1197864cd18ac0928f92

24
comms/ixj/files/ixj.sh Normal file
View File

@ -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

1
comms/ixj/pkg-comment Normal file
View File

@ -0,0 +1 @@
Driver for Quicknet Internet PhoneJack and LineJack. Used by OpenH323

23
comms/ixj/pkg-descr Normal file
View File

@ -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

7
comms/ixj/pkg-message Normal file
View File

@ -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. *
*******************************************************************************

17
comms/ixj/pkg-plist Normal file
View File

@ -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