aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/acx100/Makefile66
-rw-r--r--net/acx100/distinfo4
-rw-r--r--net/acx100/pkg-descr13
-rw-r--r--net/acx100/pkg-message7
-rw-r--r--net/acx100/pkg-plist10
6 files changed, 101 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 9c63dba722ac..afab0f14b2ac 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -11,6 +11,7 @@
SUBDIR += DarwinStreamingServer
SUBDIR += GeoIP
SUBDIR += SSLtelnet
+ SUBDIR += acx100
SUBDIR += adasockets
SUBDIR += aget
SUBDIR += aim
diff --git a/net/acx100/Makefile b/net/acx100/Makefile
new file mode 100644
index 000000000000..3caa27fbea3d
--- /dev/null
+++ b/net/acx100/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: acx100
+# Date created: 2004-07-01
+# Whom: Leonid Zolotarev <leoz@saunalahti.fi>
+#
+# $FreeBSD$
+#
+
+PORTNAME= acx100
+PORTVERSION= 20040701
+CATEGORIES= net
+MASTER_SITES= http://wlan.kewl.org/download/:file_0 \
+ ftp://ftp.dlink.co.uk/wireless/dwl-650+/:file_1
+DISTFILES= ${DISTFILE_0}:file_0 \
+ ${DISTFILE_1}:file_1
+DIST_SUBDIR= acx
+EXTRACT_ONLY= ${DISTFILE_0}
+
+MAINTAINER= leoz@saunalahti.fi
+COMMENT= Texas Instruments (TI) ACX100 IEEE 802.11 driver
+
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
+NO_PACKAGE= This port should be recompiled for a particular FreeBSD kernel
+ONLY_FOR_ARCHS= i386
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+MAN4= if_acx.4
+
+DISTFILE_0= ${DISTNAME}.tgz
+DISTFILE_1= dwl-650+_drv_v3.06_1007_inc_utility.zip
+FIRMWAREDIR= firmware
+INCLUDEDIR= ${PREFIX}/include/acx
+
+pre-fetch:
+.if !exists(${SRC_BASE}/sys/Makefile)
+ @${ECHO} "This port requires the kernel sources to be available"
+.endif
+
+pre-build:
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_1} ${WRKSRC}/${FIRMWAREDIR} && \
+ cd ${WRKSRC}/${FIRMWAREDIR} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
+
+pre-install:
+ @${INSTALL_MAN} ${WRKSRC}/if_acx.4 ${PREFIX}/man/man4
+#
+# Comment this out when headers will be up to date.
+#
+#.if !exists($INCLUDEDIR})
+# @${MKDIR} ${INCLUDEDIR}
+#.endif
+# @${CP} ${WRKSRC}/include/if_acxioctl.h ${INCLUDEDIR}
+# @${CP} ${WRKSRC}/include/if_acxpacket.h ${INCLUDEDIR}
+#
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 501107
+IGNORE= This port requires newer kernel sources that include /sys/dev/owi/if_ieee80211.h
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/acx100/distinfo b/net/acx100/distinfo
new file mode 100644
index 000000000000..90d752b8ae8e
--- /dev/null
+++ b/net/acx100/distinfo
@@ -0,0 +1,4 @@
+MD5 (acx/acx100-20040701.tgz) = 6f026815dbe5de0629e95853fc9c2ff8
+SIZE (acx/acx100-20040701.tgz) = 49013
+MD5 (acx/dwl-650+_drv_v3.06_1007_inc_utility.zip) = 599bfdea54f540b0b68341951a8e2a9f
+SIZE (acx/dwl-650+_drv_v3.06_1007_inc_utility.zip) = 2464165
diff --git a/net/acx100/pkg-descr b/net/acx100/pkg-descr
new file mode 100644
index 000000000000..c96d9bd38341
--- /dev/null
+++ b/net/acx100/pkg-descr
@@ -0,0 +1,13 @@
+Texas Instruments (TI) ACX100 IEEE 802.11 driver.
+
+The acx driver supports ACX100 based Cardbus or PCI network adapters.
+
+The following cards are known to work with the acx driver:
+
+Card Bus
+Binatone WL-1000 CARDBUS
+D-Link DWL-650+ CARDBUS
+US Robotics USR2210 CARDBUS
+US Robotics USR2216 PCI
+
+WWW: http://wlan.kewl.org/
diff --git a/net/acx100/pkg-message b/net/acx100/pkg-message
new file mode 100644
index 000000000000..065777d5adb6
--- /dev/null
+++ b/net/acx100/pkg-message
@@ -0,0 +1,7 @@
+------------------------------------------------------------------------------
+ Please, remember to reinstall the port after kernel source update.
+------------------------------------------------------------------------------
+ To enable the driver, execute:
+
+ # echo 'if_acx_load="YES"' >> /boot/loader.conf
+------------------------------------------------------------------------------
diff --git a/net/acx100/pkg-plist b/net/acx100/pkg-plist
new file mode 100644
index 000000000000..e5b45fa07250
--- /dev/null
+++ b/net/acx100/pkg-plist
@@ -0,0 +1,10 @@
+@comment $FreeBSD$
+@comment
+@comment Comment this out when headers will be up to date.
+@comment
+@comment include/acx/if_acxioctl.h
+@comment include/acx/if_acxpacket.h
+@comment @dirrm include/acx
+@comment
+@cwd /boot/kernel
+if_acx.ko