# 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: # # ipw-firmware # ipw-firmware/pkg-descr # ipw-firmware/distinfo # ipw-firmware/Makefile # ipw-firmware/pkg-plist # ipw-firmware/files # ipw-firmware/files/pkg-message.in # ipw-firmware/files/ipw.sh.in # ipw-firmware/pkg-req # echo c - ipw-firmware mkdir -p ipw-firmware > /dev/null 2>&1 echo x - ipw-firmware/pkg-descr sed 's/^X//' >ipw-firmware/pkg-descr << 'END-of-ipw-firmware/pkg-descr' XThis project was created by Intel to enable support for the Intel XPRO/Wireless 2100 Network Connection mini PCI adapter. This project X(IPW2100) is intended to be a community effort as much as is possible Xgiven some working constraints (mainly, no HW documentation is available). X XWWW: http://ipw2100.sourceforge.net/ X X- Florent Thoumie Xflz@FreeBSD.org END-of-ipw-firmware/pkg-descr echo x - ipw-firmware/distinfo sed 's/^X//' >ipw-firmware/distinfo << 'END-of-ipw-firmware/distinfo' XMD5 (ipw2100-fw-1.3.tgz) = 46aa75bcda1a00efa841f9707bbbd113 XSIZE (ipw2100-fw-1.3.tgz) = 248471 XMD5 (ipw-freebsd-1.6.4.tgz) = 4af640b3fe9035884dd03cbd2e8b1c27 XSIZE (ipw-freebsd-1.6.4.tgz) = 23051 END-of-ipw-firmware/distinfo echo x - ipw-firmware/Makefile sed 's/^X//' >ipw-firmware/Makefile << 'END-of-ipw-firmware/Makefile' X# New ports collection makefile for: ipw-firmware X# Date created: May 11 2005 X# Whom: Florent Thoumie X# X# $FreeBSD$ X# X XPORTNAME= ipw-firmware XPORTVERSION= 1.3 XCATEGORIES= net sysutils XMASTER_SITES= ${MASTER_SITE_LOCAL} XMASTER_SITE_SUBDIR= flz/ipw XDISTFILES= ipw2100-fw-${PORTVERSION}.tgz X XMAINTAINER= flz@FreeBSD.org XCOMMENT= Intel PRO/Wireless 2100 Driver Firmware X XIPW_VERSION= 1.6.4 XDISTFILES+= ipw-freebsd-${IPW_VERSION}.tgz X XWRKSRC= ${WRKDIR} XSUB_FILES= pkg-message XSUB_LIST= PORTVERSION="${PORTVERSION}" XMAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/man/man" XUSE_RC_SUBR= ipw.sh X XMAN8= ipwcontrol.8 XMANCOMPRESSED= yes X X.include X Xdo-build: X cd ${WRKSRC}/ipw-freebsd-${IPW_VERSION}/src/usr.sbin/ipwcontrol/; make all X Xdo-install: X.if !defined(PACKAGE_BUILDING) X# Let pointyhat build the package, anyway the user will have to agree with license X# terms to install the port/package. X ${SH} ${PKGREQ} ${PORTNAME} INSTALL X.endif X ${MKDIR} ${DATADIR} X cd ${WRKSRC}/ipw-freebsd-${IPW_VERSION}/src/usr.sbin/ipwcontrol/; make install ${MAKE_ENV} X.for i in LICENSE ipw2100-1.3-i.fw ipw2100-1.3-p.fw ipw2100-1.3.fw X ${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR}/ X.endfor X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-ipw-firmware/Makefile echo x - ipw-firmware/pkg-plist sed 's/^X//' >ipw-firmware/pkg-plist << 'END-of-ipw-firmware/pkg-plist' Xsbin/ipwcontrol X%%DATADIR%%/LICENSE X%%DATADIR%%/ipw2100-1.3-i.fw X%%DATADIR%%/ipw2100-1.3-p.fw X%%DATADIR%%/ipw2100-1.3.fw X@dirrm %%DATADIR%% END-of-ipw-firmware/pkg-plist echo c - ipw-firmware/files mkdir -p ipw-firmware/files > /dev/null 2>&1 echo x - ipw-firmware/files/pkg-message.in sed 's/^X//' >ipw-firmware/files/pkg-message.in << 'END-of-ipw-firmware/files/pkg-message.in' X------------------------------------------------------------------ XThis port has installed following files in %%DATADIR%%: X X - LICENSE : License terms, X - ipw2100-1.3-i.fw : IBSS mode (aka ad-hoc mode) firmware, X - ipw2100-1.3-p.fw : Monitor mode firmware, X - ipw2100-1.3.fw : BSS mode (aka infrastructure mode) firmware. X XEnsure you've read license terms carefully before you use this Xfirmware. X XYou must choose the correct image depending on how you want to Xuse your adapter. X XFor instance, to download firmware for BSS mode: X X # ipwcontrol -i ipw0 \ X -f %%DATADIR%%/ipw2100-1.3.fw X XThe port has installed a startup script (ipw.sh). Add these lines Xto /etc/rc.conf to use it : X X - ipw_enable (bool) : defaults to "NO", set it to "YES" to X use the startup script. X - ipw_interfaces (str) : defaults to "ipw0", override it to X change to interface names list (optional). X - ipw_mode_ (str) : defaults to "bss", possible values X are bss, ibss and monitor (optional). X XNote: X XThis port requires ipw(4) driver which has not been MFC'ed to XRELENG_5 yet. Point your web browser at [1] and install it by hand Xif not already done. X X[1] http://damien.bergamini.free.fr/ipw/ X X------------------------------------------------------------------ END-of-ipw-firmware/files/pkg-message.in echo x - ipw-firmware/files/ipw.sh.in sed 's/^X//' >ipw-firmware/files/ipw.sh.in << 'END-of-ipw-firmware/files/ipw.sh.in' X#!/bin/sh X# X# $FreeBSD$ X# X X# PROVIDE: ipw X# REQUIRE: LOGIN abi X# BEFORE: securelevel X# KEYWORD: FreeBSD shutdown X X# Add the following line to /etc/rc.conf to enable `ipw': X# X# ipw_enable="YES" X# X X. "%%RC_SUBR%%" X Xname="ipw" Xrcvar=`set_rcvar` X Xstart_cmd="ipw_start_cmd" Xstop_cmd="ipw_stop_cmd" X Xload_rc_config "$name" X: ${ipw_enable="NO"} X: ${ipw_interfaces="ipw0"} X Xcommand="/usr/sbin/ipwcontrol" X Xipw_start_cmd() X{ X echo -n "Starting ipw" X for i in ${ipw_interfaces}; do X eval _mode=\$ipw_mode_${i} X case ${_mode} in X ""|bss) X eval _ipw_file_${i}="ipw2100-%%PORTVERSION%%.fw" X ;; X ibss) X eval _ipw_file_${i}="ipw2100-%%PORTVERSION%%-i.fw" X ;; X monitor) X eval _ipw_file_${i}="ipw2100-%%PORTVERSION%%-p.fw" X ;; X *) X echo "${_mode} - Possible values for ipw_mode_${i} are bss|ibss|monitor." X exit 1 X ;; X esac X X eval _file=\$_ipw_file_${i} X echo -n " [${i}:${_mode:=bss}]" X ${command} -i ${i} -f %%DATADIR%%/${_file} X done X echo "." X} X Xipw_stop_cmd() X{ X echo "Stopping ipw." X for i in ${ipw_interfaces}; do X ${command} -i ${i} -k X done X} X Xrun_rc_command "$1" END-of-ipw-firmware/files/ipw.sh.in echo x - ipw-firmware/pkg-req sed 's/^X//' >ipw-firmware/pkg-req << 'END-of-ipw-firmware/pkg-req' X#! /bin/sh X Xcase "$2" in XINSTALL) X cat << EOF | more X TERMS AND CONDITIONS X IMPORTANT - PLEASE READ BEFORE INSTALLING OR USING THIS INTEL(C) SOFTWARE X XDo not use or load this firmware (the "Software") until you have carefully read Xthe following terms and conditions. By loading or using the Software, you agree Xto the terms of this Agreement. If you do not wish to so agree, do not install Xor use the Software. X XLICENSEES: X XPlease note: X X* If you are an End-User, only Exhibit A, the SOFTWARE LICENSE AGREEMENT, X applies. X* If you are an Original Equipment Manufacturer (OEM), Independent Hardware X Vendor (IHV), or Independent Software Vendor (ISV), this complete Agreement X applies X X-------------------------------------------------------------------------------- X XFor OEMs, IHVs, and ISVs: X XLICENSE. This Software is licensed for use only in conjunction with Intel Xcomponent products. Use of the Software in conjunction with non-Intel component Xproducts is not licensed hereunder. Subject to the terms of this Agreement, XIntel grants to you a nonexclusive, nontransferable, worldwide, fully paid-up Xlicense under Intel's copyrights to: (i) copy the Software internally for your Xown development and maintenance purposes; (ii) copy and distribute the Software Xto your end-users, but only under a license agreement with terms at least as Xrestrictive as those contained in Intel's Final, Single User License Agreement, Xattached as Exhibit A; and (iii) modify, copy and distribute the end-user Xdocumentation which may accompany the Software, but only in association with Xthe Software. X XIf you are not the final manufacturer or vendor of a computer system or software Xprogram incorporating the Software, then you may transfer a copy of the XSoftware, including any related documentation (modified or unmodified) to your Xrecipient for use in accordance with the terms of this Agreement, provided such Xrecipient agrees to be fully bound by the terms hereof. You shall not otherwise Xassign, sublicense, lease, or in any other way transfer or disclose Software to Xany third party. You may not, nor may you assist any other person or entity to Xmodify, translate, convert to another programming language, decompile, reverse Xengineer, or disassemble any portion of the Software or otherwise attempt to Xderive source code from any object code modules of the Software or any internal Xdata files generated by the Software. Your rights to redistribute the Software Xshall be contingent upon your installation of this Agreement in its entirety in Xthe same directory as the Software. X XCONFIDENTIALITY. If you wish to have a third party consultant or subcontractor X("Contractor") perform work on your behalf which involves access to or use of XSoftware, you shall obtain a written confidentiality agreement from the XContractor which contains provisions with respect to access to or use of the XSoftware no less restrictive than those set forth in this Agreement and Xexcluding any distribution rights, and use for any other purpose. Except as Xexpressly provided herein, you shall not disclose the terms or existence of Xthis Agreement or use Intel's name in any publications, advertisements, or Xother announcements without Intel's prior written consent. You do not have any Xrights to use any Intel trademarks or logos. X XOWNERSHIP OF SOFTWARE AND COPYRIGHTS. Software and accompanying materials, if Xany, are owned by Intel or its suppliers and licensors and may be protected by Xcopyright, trademark, patent and trade secret law and international treaties. XAny rights, express or implied, in the intellectual property embodied in the Xforegoing, other than those specified in this Agreement, are reserved by Intel Xand its suppliers and licensors or otherwise as set forth in any applicable Xopen source license agreement. You will keep the Software free of liens, Xattachments, and other encumbrances. You agree not to remove any proprietary Xnotices and/or any labels from the Software and accompanying materials without Xprior written approval by Intel X XLIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS AND LICENSORS XBE LIABLE FOR ANY DAMAGES WHATSOEVER FROM ANY CAUSE OF ACTION OF ANY KIND X(INCLUDING, WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION, OR LOST XINFORMATION) ARISING OUT OF THE USE, MODIFICATION, OR INABILITY TO USE THE XINTEL SOFTWARE, OR OTHERWISE, NOR FOR PUNITIVE, INCIDENTAL, CONSEQUENTIAL, OR XSPECIAL DAMAGES OF ANY KIND, EVEN IF INTEL OR ITS SUPPLIERS AND LICENSORS HAS XBEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS PROHIBIT XEXCLUSION OR LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES, CONSEQUENTIAL OR XINCIDENTAL DAMAGES, SO CERTAIN LIMITATIONS MAY NOT APPLY. YOU MAY ALSO HAVE XOTHER LEGAL RIGHTS THAT VARY BETWEEN JURISDICTIONS. X XEXCLUSION OF WARRANTIES. THE SOFTWARE IS PROVIDED "AS IS" AND POSSIBLY WITH XFAULTS. UNLESS EXPRESSLY AGREED OTHERWISE, INTEL AND ITS SUPPLIERS AND XLICENSORS DISCLAIM ANY AND ALL WARRANTIES AND GUARANTEES, EXPRESS, IMPLIED OR XOTHERWISE, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, XNONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE. Intel does not warrant Xor assume responsibility for the accuracy or completeness of any information, Xtext, graphics, links or other items contained within the Software. You assume Xall liability, financial or otherwise, associated with Your use or disposition Xof the Software. X XAPPLICABLE LAW. Claims arising under this Agreement shall be governed by the Xlaws of State of California], excluding its principles of conflict of laws and Xthe United Nations Convention on Contracts for the Sale of Goods. X XWAIVER AND AMENDMENT. No modification, amendment or waiver of any provision of Xthis Agreement shall be effective unless in writing and signed by an officer of XIntel. No failure or delay in exercising any right, power, or remedy under Xthis Agreement shall operate as a waiver of any such right, power or remedy. XWithout limiting the foregoing, terms and conditions on any purchase orders or Xsimilar materials submitted by you to Intel, and any terms contained in Intel’s Xstandard acknowledgment form that are in conflict with these terms, shall be of Xno force or effect. X XSEVERABILITY. If any provision of this Agreement is held by a court of Xcompetent jurisdiction to be contrary to law, such provision shall be changed Xand interpreted so as to best accomplish the objectives of the original Xprovision to the fullest extent allowed by law and the remaining provisions of Xthis Agreement shall remain in full force and effect. X XEXPORT RESTRICTIONS. Each party acknowledges that the Software is subject to Xapplicable import and export regulations of the United States and of the Xcountries in which each party transacts business, specifically including U.S. XExport Administration Act and Export Administration Regulations. Each party Xshall comply with such laws and regulations, as well as all other laws and Xregulations applicable to the Software. Without limiting the generality of the Xforegoing, each party agrees that it will not export, re-export, transfer or Xdivert any of the Software or the direct programs thereof to any restricted Xplace or party in accordance with U.S. export regulations. Note that Software Xcontaining encryption may be subject to additional restrictions. X XGOVERNMENT RESTRICTED RIGHTS. The Software is provided with "RESTRICTED RIGHTS." XUse, duplication, or disclosure by the Government is subject to restrictions as Xset forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use Xof the Software by the Government constitutes acknowledgment of Intel's Xproprietary rights therein. Contractor or Manufacturer is Intel Corporation, X2200 Mission College Blvd., Santa Clara, CA 95052. X XTERMINATION OF THE AGREEMENT. Intel may terminate this Agreement if you violate Xits terms. Upon termination, you will immediately destroy the Software or Xreturn all copies of the Software to Intel. X X-------------------------------------------------------------------------------- X XEXHIBIT "A" X XSOFTWARE LICENSE AGREEMENT (Final, Single User) X XIMPORTANT - READ BEFORE COPYING, INSTALLING OR USING. X XDo not use or load this firmware image (the "Software") until you have carefully Xread the following terms and conditions. By loading or using the Software, you Xagree to the terms of this Agreement. If you do not wish to so agree, do not Xinstall or use the Software. X XLICENSE. You may copy and use the Software, subject to these conditions: X1. This Software is licensed for use only in conjunction with Intel component X products. Use of the Software in conjunction with non-Intel component X products is not licensed hereunder. X2. You may not copy, modify, rent, sell, distribute or transfer any part of the X Software except as provided in this Agreement, and you agree to prevent X unauthorized copying of the Software. X3. You may not reverse engineer, decompile, or disassemble the Software. X4. You may not sublicense the Software. X5. The Software may contain the software or other property of third party X suppliers. X XOWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software Xremains with Intel or its suppliers. The Software is copyrighted and protected Xby the laws of the United States and other countries, and international treaty Xprovisions. You may not remove any copyright notices from the Software. Intel Xmay make changes to the Software, or items referenced therein, at any time Xwithout notice, but is not obligated to support or update the Software. Except Xas otherwise expressly provided, Intel grants no express or implied right under XIntel patents, copyrights, trademarks, or other intellectual property rights. XYou may transfer the Software only if a copy of this license accompanies the XSoftware and the recipient agrees to be fully bound by these terms. X XEXCLUSION OF OTHER WARRANTIES EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS PROVIDED X"AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND INCLUDING XWARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR XPURPOSE. Intel does not warrant or assume responsibility for the accuracy or Xcompleteness of any information, text, graphics, links or other items contained Xwithin the Software. X XLIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS BE LIABLE FOR XANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, BUSINESS XINTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF OR INABILITY TO XUSE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH XDAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR LIMITATION OF LIABILITY FOR XIMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE XLIMITATION MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE OTHER LEGAL RIGHTS THAT VARY XBETWEEN JURISDICTIONS. X XTERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time if Xyou violate its terms. Upon termination, you will immediately destroy the XSoftware. X XAPPLICABLE LAWS. Claims arising under this Agreement shall be governed by the Xlaws of California, excluding its principles of conflict of laws and the United XNations Convention on Contracts for the Sale of Goods. You may not export the XSoftware in violation of applicable export laws and regulations. Intel is not Xobligated under any other agreements unless they are in writing and signed by Xan authorized representative Xof Intel. X XGOVERNMENT RESTRICTED RIGHTS. The Software is provided with "RESTRICTED RIGHTS." XUse, duplication, or disclosure by the Government is subject to restrictions as Xset forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use Xof the Software by the Government constitutes acknowledgment of Intel's Xproprietary rights therein. Contractor or Manufacturer is Intel Corporation, X2200 Mission College Blvd., Santa Clara, CA 95052. X XEOF X X echo -n "Do you agree with these terms [y/N] ? " X read answer X X if [ "${answer}" != "y" -a "${answer}" != "Y" ]; then X exit 1 X else X exit 0 X fi X ;; X*) X ;; Xesac END-of-ipw-firmware/pkg-req exit