ports/68612: New port: net/acx100 Texas Instruments (TI) ACX100 IEEE 802.11 driver
Leonid Zolotarev
leoz at saunalahti.fi
Fri Jul 2 19:31:47 UTC 2004
>Number: 68612
>Category: ports
>Synopsis: New port: net/acx100 Texas Instruments (TI) ACX100 IEEE 802.11 driver
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 02 19:30:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Leonid Zolotarev
>Release: 5.2.1
>Organization:
N/A
>Environment:
FreeBSD inspiron.leoz.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #4: Thu May 20 01:39:03 EEST 2004 root at inspiron.leoz.org:/usr/src/sys/i386/compile/INSPIRON i386
>Description:
Texas Instruments (TI) ACX100 IEEE 802.11 driver.
>How-To-Repeat:
N/A
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# acx100
# acx100/pkg-descr
# acx100/Makefile
# acx100/pkg-plist
# acx100/distinfo
# acx100/pkg-message
#
echo c - acx100
mkdir -p acx100 > /dev/null 2>&1
echo x - acx100/pkg-descr
sed 's/^X//' >acx100/pkg-descr << 'END-of-acx100/pkg-descr'
XTexas Instruments (TI) ACX100 IEEE 802.11 driver.
X
XThe acx driver supports ACX100 based Cardbus or PCI network adapters.
X
XThe following cards are known to work with the acx driver:
X
XCard Bus
XBinatone WL-1000 CARDBUS
XD-Link DWL-650+ CARDBUS
XUS Robotics USR2210 CARDBUS
XUS Robotics USR2216 PCI
X
XWWW: http://wlan.kewl.org/
END-of-acx100/pkg-descr
echo x - acx100/Makefile
sed 's/^X//' >acx100/Makefile << 'END-of-acx100/Makefile'
X# New ports collection makefile for: acx100
X# Date created: 2004-07-01
X# Whom: Leonid Zolotarev <leoz at saunalahti.fi>
X#
X# $FreeBSD$
X#
X
XPORTNAME= acx100
XPORTVERSION= 20040701
XCATEGORIES= net
XMASTER_SITES= http://wlan.kewl.org/download/:file_0 \
X ftp://ftp.dlink.co.uk/wireless/dwl-650+/:file_1
XDISTFILES= ${DISTFILE_0}:file_0 \
X ${DISTFILE_1}:file_1
XDIST_SUBDIR= acx
XEXTRACT_ONLY= ${DISTFILE_0}
X
XMAINTAINER= leoz at saunalahti.fi
XCOMMENT= Texas Instruments (TI) ACX100 IEEE 802.11 driver
X
XBUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
X
XNO_PACKAGE= This port should be recompiled for a particular FreeBSD kernel
XONLY_FOR_ARCHS= i386
X
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
XMAN4= if_acx.4
X
XDISTFILE_0= ${DISTNAME}.tgz
XDISTFILE_1= dwl-650+_drv_v3.06_1007_inc_utility.zip
XFIRMWAREDIR= firmware
XINCLUDEDIR= ${PREFIX}/include/acx
X
Xpre-fetch:
X.if !exists(${SRC_BASE}/sys/Makefile)
X @${ECHO} "This port requires the kernel sources to be available"; \
X exit 1
X.endif
X
Xpre-build:
X ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_1} ${WRKSRC}/${FIRMWAREDIR} && \
X cd ${WRKSRC}/${FIRMWAREDIR} && \
X ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
X
Xpre-install:
X @${INSTALL_MAN} ${WRKSRC}/if_acx.4 ${PREFIX}/man/man4
X#
X# Comment this out when headers will be up to date.
X#
X#.if !exists($INCLUDEDIR})
X# @${MKDIR} ${INCLUDEDIR}
X#.endif
X# @${CP} ${WRKSRC}/include/if_acxioctl.h ${INCLUDEDIR}
X# @${CP} ${WRKSRC}/include/if_acxpacket.h ${INCLUDEDIR}
X#
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 501107
XIGNORE= This port requires newer kernel sources that include /sys/dev/owi/if_ieee80211.h
X.endif
X
X.include <bsd.port.post.mk>
END-of-acx100/Makefile
echo x - acx100/pkg-plist
sed 's/^X//' >acx100/pkg-plist << 'END-of-acx100/pkg-plist'
X at comment $FreeBSD$
X at comment
X at comment Comment this out when headers will be up to date.
X at comment
X at comment include/acx/if_acxioctl.h
X at comment include/acx/if_acxpacket.h
X at comment @dirrm include/acx
X at comment
X at cwd /boot/kernel
Xif_acx.ko
END-of-acx100/pkg-plist
echo x - acx100/distinfo
sed 's/^X//' >acx100/distinfo << 'END-of-acx100/distinfo'
XMD5 (acx/acx100-20040701.tgz) = 6f026815dbe5de0629e95853fc9c2ff8
XSIZE (acx/acx100-20040701.tgz) = 49013
XMD5 (acx/dwl-650+_drv_v3.06_1007_inc_utility.zip) = 599bfdea54f540b0b68341951a8e2a9f
XSIZE (acx/dwl-650+_drv_v3.06_1007_inc_utility.zip) = 2464165
END-of-acx100/distinfo
echo x - acx100/pkg-message
sed 's/^X//' >acx100/pkg-message << 'END-of-acx100/pkg-message'
X------------------------------------------------------------------------------
X Please, remember to reinstall the port after kernel source update.
X------------------------------------------------------------------------------
X To enable the driver, execute:
X
X # echo 'if_acx_load="YES"' >> /boot/loader.conf
X------------------------------------------------------------------------------
END-of-acx100/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list