This port contains a driver for several Winmodems based on the Conexant

HCF chipset (Acorp PIM/PIM2). It consists of a shim for the Linux binary
only object file.

WWW: http://www.linuxant.com/

- Alexey Illarionov <littlesavage@rambler.ru>

PR:		ports/102365
Submitted by:	Alexey Illarionov <littlesavage at rambler.ru>
This commit is contained in:
Boris Samorodov 2006-10-01 23:51:55 +00:00
parent a7d874f565
commit 34950ff644
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174269
6 changed files with 116 additions and 0 deletions

View file

@ -36,6 +36,7 @@
SUBDIR += gsmlib
SUBDIR += hamfax
SUBDIR += hamlib
SUBDIR += hcfmdm
SUBDIR += hcidump
SUBDIR += hf
SUBDIR += hylafax

80
comms/hcfmdm/Makefile Normal file
View file

@ -0,0 +1,80 @@
# New ports collection makefile for: hcfmdm
# Date Created: Jul 30, 2006
# Whom: Alexey Illarionov <littlesavage@rambler.ru>
#
# Based on: ltmdm created by Daniel O'Connor <darius@dons.net.au>
# Based on: $FreeBSD$
#
# $FreeBSD$
#
PORTNAME= hcfmdm
PORTVERSION= 0.99.1
CATEGORIES= comms
MASTER_SITES= http://lug.cbx.ru/files/modem/ \
http://www.int21.de/conexant/ \
${MASTER_SITE_GENTOO} \
http://marvin.lirex.com/~maxx/ \
http://zoltek7.webpark.pl/ \
http://www.linuxant.com/drivers/hsf/free/archive/
DISTFILES= hcfmdm-0.99.1.tar.gz \
hcfpcimodem-0.99lnxtbeta03042700.tar.gz
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= hcfmdm-0.99.1.tar.gz hcfpcimodem-0.99lnxtbeta03042700.tar.gz
MAINTAINER= FreeBSD@FreeBSD.org
COMMENT= Driver for the Conexant HCF PCI winmodem chipset (Acorp PIM/PIM2)
MODULES_WITH_WORLD?= yes
ONLY_FOR_ARCHS= i386
SUB_FILES+= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
RESTRICTED= Redistribution of versions marked lnxtbeta requires explicit written approval from Linuxant
RESTRICTED_FILES= hcfpcimodem-0.99lnxtbeta03042700.tar.gz
NO_CDROM= No redistribution allowed
NO_PACKAGE= ${NO_CDROM}
STRIP= # do not strip kernel module
LNXTDOCS= README FAQ BUGS
PORTDOCS= ${LNXTDOCS} 100498D_RM_HxF_Released.pdf
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600100
IGNORE= is not for FreeBSD versions < 600100
.endif
.if ${OSVERSION} >= 700000
BROKEN= Does not compile at 7.x
.endif
PLIST_SUB+= KMODDIR=${KMODDIR}
.if !defined(NOPORTDOCS)
DISTFILES+= 100498D_RM_HxF_Released.pdf
.endif
pre-fetch:
.if !exists(/usr/src/sys/Makefile)
@${ECHO} "*************************************************"; \
${ECHO} "This port requires the kernel source be available"; \
${ECHO} "*************************************************"; \
exit 1
.endif
do-install:
@${MKDIR} ${KMODDIR}
@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/hcfmdm.ko ${KMODDIR}/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${LNXTDOCS}
@${INSTALL_DATA} ${WRKDIR}/hcfpcimodem-0.99lnxtbeta03042700/${i} ${DOCSDIR}/
.endfor
@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/100498D_RM_HxF_Released.pdf ${DOCSDIR}/
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

9
comms/hcfmdm/distinfo Normal file
View file

@ -0,0 +1,9 @@
MD5 (hcfmdm/hcfmdm-0.99.1.tar.gz) = 89c0776651c878f34c32d536843523fd
SHA256 (hcfmdm/hcfmdm-0.99.1.tar.gz) = 2c1f2fee7c0c09606e32f3a8af0dc95891cb174288ba607f3638af20c3b919be
SIZE (hcfmdm/hcfmdm-0.99.1.tar.gz) = 14113
MD5 (hcfmdm/hcfpcimodem-0.99lnxtbeta03042700.tar.gz) = 30a041128aa5f6e60c23de3aee300bc9
SHA256 (hcfmdm/hcfpcimodem-0.99lnxtbeta03042700.tar.gz) = f99d40553234cd09353b35ce69104be432e501e541fe3ff5d8984c6e48f7ae24
SIZE (hcfmdm/hcfpcimodem-0.99lnxtbeta03042700.tar.gz) = 644608
MD5 (hcfmdm/100498D_RM_HxF_Released.pdf) = e6d8fea8f5f641d7bb4dfb33c6f478e7
SHA256 (hcfmdm/100498D_RM_HxF_Released.pdf) = e05385b094ac97f13aabc9432ba7478c0acf12862b3c4da097272435d43f6ac1
SIZE (hcfmdm/100498D_RM_HxF_Released.pdf) = 718949

View file

@ -0,0 +1,17 @@
*******************************************************************************
* *
* 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. *
* *
*******************************************************************************
To use these drivers, make sure that you have loaded the hcfmdm kernel
module, by doing
# kldload hcfmdm
or adding
hcfmdm_load="YES"
to your /boot/loader.conf.

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

@ -0,0 +1,7 @@
This port contains a driver for several Winmodems based on the Conexant
HCF chipset (Acorp PIM/PIM2). It consists of a shim for the Linux binary
only object file.
WWW: http://www.linuxant.com/
- Alexey Illarionov <littlesavage@rambler.ru>

2
comms/hcfmdm/pkg-plist Normal file
View file

@ -0,0 +1,2 @@
@cwd %%KMODDIR%%
hcfmdm.ko