Index: head/net/ipw-firmware/Makefile =================================================================== --- head/net/ipw-firmware/Makefile (revision 151743) +++ head/net/ipw-firmware/Makefile (revision 151744) @@ -1,148 +1,148 @@ # New ports collection makefile for: ipw-firmware # Date created: May 11 2005 # Whom: Florent Thoumie # # $FreeBSD$ # PORTNAME?= ipw-firmware RELNAME?= ipw2100 PORTVERSION?= 1.3 -PORTREVISION?= 4 +PORTREVISION?= 5 CATEGORIES= net sysutils MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= flz/ipw DISTFILES= ${RELNAME}-fw-${PORTVERSION}.tgz MAINTAINER= flz@FreeBSD.org COMMENT?= Intel PRO/Wireless 2100 Driver Firmware DRIVERNAME?= ipw DRIVERVERSION?= 1.6.4 DRIVERDISTNAME= ${DRIVERNAME}-freebsd-${DRIVERVERSION} DISTFILES+= ${DRIVERDISTNAME}.tgz FIRMWARES?= ${RELNAME}-${PORTVERSION}-i.fw:${DRIVERNAME}-i.fw \ ${RELNAME}-${PORTVERSION}-p.fw:${DRIVERNAME}-p.fw \ ${RELNAME}-${PORTVERSION}.fw:${DRIVERNAME}.fw OPTIONS= MODULE "Install ${DRIVERNAME}(4) kernel module (very old snapshot)" off \ CONTROL "Install ${DRIVERNAME}control(8) utility" on # Override PREFIX to install ${DRIVERNAME}control(8) somewhere we hope it'll # be available soon enough. PREFIX= /usr WRKSRC= ${WRKDIR} KERNDIR= /boot/kernel KMODDIR= /boot/modules FWDIR= /boot/firmware SUB_FILES= pkg-message SUB_LIST= DRIVERNAME="${DRIVERNAME}" \ RELNAME="${RELNAME}" \ KMODDIR="${KMODDIR}" \ FWDIR="${FWDIR}" PLIST_SUB:= ${SUB_LIST} MAKE_ENV= BINDIR="${PREFIX}/sbin" \ MANDIR="${PREFIX}/share/man/man" \ KMODDIR="${KMODDIR}" MANCOMPRESSED= yes # Dummy OSVERSION for ipw. MIN7OSVERSION?= 999999 .if !defined(PACKAGE_BUILDING) IS_INTERACTIVE= yes .endif .include # That's a bit arbitrary since I have no idea if ${DRIVERNAME}(4) can be # compiled on FreeBSD previous to 5.3-RELEASE. This is just too old, people # should move on. I may change this if I get successful reports though. # Comment this IGNORE line if you want to test it anyway. .if ${OSVERSION} < 503000 IGNORE= needs at least FreeBSD 5.3-RELEASE .endif .if ${OSVERSION} > ${MIN7OSVERSION} SUB_LIST+= DONT_NEED_CONTROL="@comment " PLIST_SUB+= MTREE_DIRRM="@comment " . if !defined(WITHOUT_CONTROL) IGNORE= is configured with ${DRIVERNAME}control(8) which you don't need . endif .else SUB_LIST+= DONT_NEED_CONTROL="" PLIST_SUB+= MTREE_DIRRM="" MAN8+= ${DRIVERNAME}control.8 USE_RCORDER= ${DRIVERNAME}.sh .endif .if defined(WITH_MODULE) . if ${OSVERSION} > 600023 IGNORE= is configured with ${DRIVERNAME}(4) support which you don't need . else PLIST_SUB+= WITH_MODULE="" MAN4+= ${DRIVERNAME}.4 . endif .else PLIST_SUB+= WITH_MODULE="@comment MODULE " .endif .if !defined(WITHOUT_CONTROL) PLIST_SUB+= WITH_CONTROL="" .else PLIST_SUB+= WITH_CONTROL="@comment CONTROL " .endif # "Might" because people still can include ${DRIVERNAME}(4) support in kernel by extracting # its source in src/ and tweaking src/sys/conf/files. .if ${OSVERSION} <= 600023 && !exists(${KERNDIR}/if_${DRIVERNAME}.ko) && !defined(WITH_MODULE) SUB_LIST+= MIGHT_NEED_MODULE="" .else SUB_LIST+= MIGHT_NEED_MODULE="@comment " .endif do-build: .if defined(WITH_MODULE) . for i in share sys cd ${WRKSRC}/${DRIVERDISTNAME}/src/${i}; make all . endfor .endif .if !defined(WITHOUT_CONTROL) cd ${WRKSRC}/${DRIVERDISTNAME}/src/usr.sbin/${DRIVERNAME}control/; make all .endif do-install: .if !defined(PACKAGE_BUILDING) # Let pointyhat build the package, anyway the user will have to agree with license # terms to install the port/package. ${SH} ${PKGREQ} ${PORTNAME} INSTALL .endif .if defined(WITH_MODULE) . for i in share sys cd ${WRKSRC}/${DRIVERDISTNAME}/src/${i}; make install ${MAKE_ENV} . endfor .endif .if !defined(WITHOUT_CONTROL) cd ${WRKSRC}/${DRIVERDISTNAME}/src/usr.sbin/${DRIVERNAME}control/; make install ${MAKE_ENV} .endif ${MKDIR} ${FWDIR} ${INSTALL_DATA} ${WRKSRC}/LICENSE ${FWDIR}/LICENSE.${DRIVERNAME} .for i in ${FIRMWARES} ${INSTALL_DATA} ${WRKSRC}/${i:C/:.*//} ${FWDIR}/${i:C/.*://} .endfor post-install: @${CAT} ${PKGMESSAGE} .if defined(WITH_MODULE) @${ECHO_CMD} "You asked for ${DRIVERNAME}(4) module to be installed but" @${ECHO_CMD} "be aware that this is a *very* *old* snapshot of the code" @${ECHO_CMD} "and that it probably won't work correctly." @${ECHO_CMD} "This option will probably go away in a near future." @${ECHO_CMD} "SLIPPERY WHEN WET ! BEWARE OF THE DOGS !" @${ECHO_CMD} "You have been warned." .endif .include Property changes on: head/net/ipw-firmware/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.12 \ No newline at end of property +1.13 \ No newline at end of property Index: head/net/ipw-firmware/files/pkg-message.in =================================================================== --- head/net/ipw-firmware/files/pkg-message.in (revision 151743) +++ head/net/ipw-firmware/files/pkg-message.in (revision 151744) @@ -1,37 +1,37 @@ ------------------------------------------------------------------ This port has installed following files in %%FWDIR%%: - LICENSE.%%DRIVERNAME%% : License terms, - %%DRIVERNAME%%-i.fw : IBSS mode (aka ad-hoc mode) firmware, - %%DRIVERNAME%%-p.fw : Monitor mode firmware, - %%DRIVERNAME%%.fw : BSS mode (aka infrastructure mode) firmware. Ensure you've read license terms carefully before you use this firmware. %%DONT_NEED_CONTROL%% %%DONT_NEED_CONTROL%%You must choose the correct image depending on how you want to %%DONT_NEED_CONTROL%%use your adapter. %%DONT_NEED_CONTROL%% %%DONT_NEED_CONTROL%%For instance, to download firmware for BSS mode: %%DONT_NEED_CONTROL%% %%DONT_NEED_CONTROL%% # %%DRIVERNAME%%control -i %%DRIVERNAME%%0 \ -%%DONT_NEED_CONTROL%% -f %%DATADIR%%/%%DRIVERNAME%%.fw +%%DONT_NEED_CONTROL%% -f %%FWDIR%%/%%DRIVERNAME%%.fw %%DONT_NEED_CONTROL%% %%DONT_NEED_CONTROL%%The port has installed a startup script (%%DRIVERNAME%%.sh). Add these lines %%DONT_NEED_CONTROL%%to /etc/rc.conf to use it : %%DONT_NEED_CONTROL%% %%DONT_NEED_CONTROL%% - %%DRIVERNAME%%_enable (bool) : defaults to "NO", set it to "YES" to %%DONT_NEED_CONTROL%% use the startup script. %%DONT_NEED_CONTROL%% - %%DRIVERNAME%%_interfaces (str) : defaults to "%%DRIVERNAME%%0", override it to %%DONT_NEED_CONTROL%% change to interface names list (optional). %%DONT_NEED_CONTROL%% - %%DRIVERNAME%%_mode_ (str) : defaults to "bss", possible values %%DONT_NEED_CONTROL%% are bss, ibss and monitor (optional). %%MIGHT_NEED_MODULE%% %%MIGHT_NEED_MODULE%%Note: %%MIGHT_NEED_MODULE%% %%MIGHT_NEED_MODULE%%This port requires %%DRIVERNAME%%(4) driver which has not been MFC'ed to %%MIGHT_NEED_MODULE%%RELENG_5. Point your web browser at [1] and install it by hand %%MIGHT_NEED_MODULE%%if not already done or rebuild the port with WITH_MODULE=yes. %%MIGHT_NEED_MODULE%% %%MIGHT_NEED_MODULE%%[1] http://damien.bergamini.free.fr/ipw/ ------------------------------------------------------------------ Property changes on: head/net/ipw-firmware/files/pkg-message.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/net/iwi-firmware/Makefile =================================================================== --- head/net/iwi-firmware/Makefile (revision 151743) +++ head/net/iwi-firmware/Makefile (revision 151744) @@ -1,35 +1,35 @@ # New ports collection makefile for: iwi-firmware # Date created: Jun 11 2005 # Whom: Florent Thoumie # # $FreeBSD$ # PORTNAME= iwi-firmware RELNAME= ipw2200 PORTVERSION= 2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net sysutils MAINTAINER= flz@FreeBSD.org COMMENT= Intel PRO/Wireless 2200 Driver Firmware MASTERDIR= ${.CURDIR}/../ipw-firmware MD5_FILE= ${.CURDIR}/distinfo PLIST= ${.CURDIR}/pkg-plist DESCR= ${.CURDIR}/pkg-descr FILESDIR= ${.CURDIR}/files DRIVERNAME= iwi DRIVERVERSION= 1.3.4 FIRMWARES= ipw-${PORTVERSION}-boot.fw:${DRIVERNAME}-boot.fw \ ipw-${PORTVERSION}-bss.fw:${DRIVERNAME}-bss.fw \ ipw-${PORTVERSION}-bss_ucode.fw:${DRIVERNAME}-ucode-bss.fw \ ipw-${PORTVERSION}-ibss.fw:${DRIVERNAME}-ibss.fw \ ipw-${PORTVERSION}-ibss_ucode.fw:${DRIVERNAME}-ucode-ibss.fw \ ipw-${PORTVERSION}-sniffer.fw:${DRIVERNAME}-sniffer.fw \ ipw-${PORTVERSION}-sniffer_ucode.fw:${DRIVERNAME}-ucode-sniffer.fw MIN7OSVERSION= 700006 .include "${MASTERDIR}/Makefile" Property changes on: head/net/iwi-firmware/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/net/iwi-firmware/files/pkg-message.in =================================================================== --- head/net/iwi-firmware/files/pkg-message.in (revision 151743) +++ head/net/iwi-firmware/files/pkg-message.in (revision 151744) @@ -1,40 +1,40 @@ ------------------------------------------------------------------ This port has installed following files in %%FWDIR%%: - LICENSE.%%DRIVERNAME%% : License terms, - %%DRIVERNAME%%-boot.fw : Boot mode firmware, - %%DRIVERNAME%%-bss.fw : BSS mode firmware, - %%DRIVERNAME%%-ucode-bss.fw : BSS mode micro-code, - %%DRIVERNAME%%-ibss.fw : IBSS mode firmware, - %%DRIVERNAME%%-ucode-ibss.fw : IBSS mode micro-code, - %%DRIVERNAME%%-sniffer.fw : Sniffer mode firmware, - %%DRIVERNAME%%-ucode-sniffer.fw : Sniffer mode micro-code. Ensure you've read license terms carefully before you use this firmware. %%DONT_NEED_CONTROL%% %%DONT_NEED_CONTROL%%You must choose the correct mode depending on how you want to %%DONT_NEED_CONTROL%%use your adapter. %%DONT_NEED_CONTROL%% %%DONT_NEED_CONTROL%%For instance, to download firmware for BSS mode: %%DONT_NEED_CONTROL%% -%%DONT_NEED_CONTROL%% # %%DRIVERNAME%%control -i %%DRIVERNAME%%0 -d %%DATADIR%% -m bss +%%DONT_NEED_CONTROL%% # %%DRIVERNAME%%control -i %%DRIVERNAME%%0 -d %%FWDIR%% -m bss %%DONT_NEED_CONTROL%% %%DONT_NEED_CONTROL%%The port has installed a startup script (%%DRIVERNAME%%.sh). Add these lines %%DONT_NEED_CONTROL%%to /etc/rc.conf to use it : %%DONT_NEED_CONTROL%% %%DONT_NEED_CONTROL%% - %%DRIVERNAME%%_enable (bool) : defaults to "NO", set it to "YES" to %%DONT_NEED_CONTROL%% use the startup script. %%DONT_NEED_CONTROL%% - %%DRIVERNAME%%_interfaces (str) : defaults to "%%DRIVERNAME%%0", override it to %%DONT_NEED_CONTROL%% change to interface names list (optional). %%DONT_NEED_CONTROL%% - %%DRIVERNAME%%_mode_ (str) : defaults to "bss", possible values %%DONT_NEED_CONTROL%% are bss, ibss and sniffer (optional). %%MIGHT_NEED_MODULE%% %%MIGHT_NEED_MODULE%%Note: %%MIGHT_NEED_MODULE%% %%MIGHT_NEED_MODULE%%This port requires %%DRIVERNAME%%(4) driver which has not been MFC'ed to %%MIGHT_NEED_MODULE%%RELENG_5. Point your web browser at [1] and install it by hand %%MIGHT_NEED_MODULE%%if not already done or rebuild the port with WITH_MODULE=yes. %%MIGHT_NEED_MODULE%% %%MIGHT_NEED_MODULE%%[1] http://damien.bergamini.free.fr/ipw/ ------------------------------------------------------------------ Property changes on: head/net/iwi-firmware/files/pkg-message.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property