add ltmdm

Driver for the Lucent LT Winmodem chipset

PR:		31924
Submitted by:	Daniel O'Connor <doconnor@gsoft.com.au>
Tested by:	clkao@clkao.org
This commit is contained in:
Ying-Chieh Liao 2001-12-05 19:12:16 +00:00
parent d9b9406833
commit 1301e3e01d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51086
7 changed files with 72 additions and 0 deletions

View file

@ -13,6 +13,7 @@
SUBDIR += hylafax
SUBDIR += kermit
SUBDIR += lrzsz
SUBDIR += ltmdm
SUBDIR += mgetty+sendfax
SUBDIR += minicom
SUBDIR += mlan

39
comms/ltmdm/Makefile Normal file
View file

@ -0,0 +1,39 @@
# New ports collection makefile for: ltmdm
# Date Created: Nov 11, 2001
# Whom: Daniel O'Connor <darius@dons.net.au>
#
# $FreeBSD$
#
PORTNAME= ltmdm
PORTVERSION= 1.0
CATEGORIES= comms
MASTER_SITES= http://www.gsoft.com.au/~doconnor/
EXTRACT_SUFX= .tgz
MAINTAINER= darius@dons.net.au
ONLY_FOR_ARCHS= i386
BUILD_WRKSRC= ${WRKSRC}/sys/modules/ltmdm
NO_WRKSUBDIR= yes
pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
@${ECHO} "*************************************************"; \
${ECHO} "This port requires the kernel source be available"; \
${ECHO} "*************************************************"; \
exit 1
.endif
do-install:
@${PERL} -pi.orig -e "s@%%PREFIX%%@${PREFIX}@g" ${WRKSRC}/ltmdm.sh
@${MKDIR} ${DATADIR}
@${CP} ${WRKSRC}/sys/modules/ltmdm/ltmdm.ko ${DATADIR}
@(cd ${WRKSRC}/sys/modules/ltmdm; ${MAKE} clean)
@${MKDIR} ${PREFIX}/src
${TAR} -C ${WRKSRC} -cf - sys | ${TAR} -C ${PREFIX}/src -xvf -
@${INSTALL_SCRIPT} ${WRKSRC}/ltmdm.sh ${PREFIX}/etc/rc.d/
@${ECHO} ""
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

1
comms/ltmdm/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (ltmdm-1.0.tgz) = be35cef381b531bb27dc01f4e7e82466

1
comms/ltmdm/pkg-comment Normal file
View file

@ -0,0 +1 @@
Driver for the Lucent LT Winmodem chipset

7
comms/ltmdm/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
This port contains a driver for several Winmodems based on the Lucent LT
chipset. It consists of a shim for the Linux binary only object file.
The shim code was written Watanabe Kiyoshi <aab10490@pop16.odn.net.jp>, see
http://www.geocities.com/wtnbkysh/
WWW: http://www.heby.de/ltmodem

9
comms/ltmdm/pkg-message Normal file
View file

@ -0,0 +1,9 @@
*******************************************************************************
* 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 execute the following commands :- *
* cd $PREFIX/src/sys/modules/ltmdm *
* make *
* cp ltmdm.ko $PREFIX/share/ltmdm *
*******************************************************************************

14
comms/ltmdm/pkg-plist Normal file
View file

@ -0,0 +1,14 @@
src/sys/modules/ltmdm/Makefile
@dirrm src/sys/modules/ltmdm
@dirrm src/sys/modules
src/sys/dev/ltmdm/ltmdmsio.c
src/sys/dev/ltmdm/ltmdmobj.o.uu
@dirrm src/sys/dev/ltmdm
@dirrm src/sys/dev
@dirrm src/sys
etc/rc.d/ltmdm.sh
share/ltmdm/ltmdm.ko
@dirrm share/ltmdm
@exec rm -f /dev/cual0
@exec mknod /dev/cual0 c 228 128 uucp:dialer
@unexec rm -f /dev/cual0