diff options
author | Piotr Jaroszyński <peper@gentoo.org> | 2007-06-25 10:34:20 +0000 |
---|---|---|
committer | Piotr Jaroszyński <peper@gentoo.org> | 2007-06-25 10:34:20 +0000 |
commit | 66ee9df9a34a7253391c557c657cca1157755993 (patch) | |
tree | 93f974be1e76fd279122a075ff7f26e953ca61c8 /net-wireless/ndiswrapper | |
parent | check for ROOT in pkg_postinst, thanks to peper (diff) | |
download | gentoo-2-66ee9df9a34a7253391c557c657cca1157755993.tar.gz gentoo-2-66ee9df9a34a7253391c557c657cca1157755993.tar.bz2 gentoo-2-66ee9df9a34a7253391c557c657cca1157755993.zip |
Clean up.
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'net-wireless/ndiswrapper')
26 files changed, 50 insertions, 1220 deletions
diff --git a/net-wireless/ndiswrapper/ChangeLog b/net-wireless/ndiswrapper/ChangeLog index b85d485f05d9..06bea827eb5b 100644 --- a/net-wireless/ndiswrapper/ChangeLog +++ b/net-wireless/ndiswrapper/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for net-wireless/ndiswrapper # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.85 2007/06/13 09:52:38 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ChangeLog,v 1.86 2007/06/25 10:34:19 peper Exp $ + + 25 Jun 2007; Piotr Jaroszyński <peper@gentoo.org> + -ndiswrapper-1.33.ebuild, -ndiswrapper-1.34.ebuild, + -ndiswrapper-1.35.ebuild, -ndiswrapper-1.36.ebuild, + -ndiswrapper-1.37.ebuild, -ndiswrapper-1.38.ebuild, + -ndiswrapper-1.39.ebuild, -ndiswrapper-1.40.ebuild, + -ndiswrapper-1.41.ebuild, -ndiswrapper-1.42.ebuild, + -ndiswrapper-1.43.ebuild, ndiswrapper-1.45.ebuild, + ndiswrapper-1.46.ebuild, ndiswrapper-1.47.ebuild: + Clean up. *ndiswrapper-1.47 (13 Jun 2007) diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.33 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.33 deleted file mode 100644 index 6bed5dc27471..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.33 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f2ad087d7e2b935520e3eb927952d2eb ndiswrapper-1.33.tar.gz 189876 -RMD160 bc4f94886e174b3f6276e1832aae61a63e2420f6 ndiswrapper-1.33.tar.gz 189876 -SHA256 89658cbea3a1e23190d6ced024d016fb28269e09cdcb44093750851763aa1ad4 ndiswrapper-1.33.tar.gz 189876 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.34 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.34 deleted file mode 100644 index b275cbc8952b..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.34 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a9ecece5ae96f5bc72ee3df84a8f6866 ndiswrapper-1.34.tar.gz 190156 -RMD160 a6041f32a6e2ead26a824d97c665f356545fe982 ndiswrapper-1.34.tar.gz 190156 -SHA256 a096802bc6b01f01c4a950efd9db127227f34f4adc77fdbb8fe49a48ac43a9ae ndiswrapper-1.34.tar.gz 190156 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.35 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.35 deleted file mode 100644 index de7fe6d4bb58..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.35 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 bd6aa8e6a513cf727ba7674959a6cff4 ndiswrapper-1.35.tar.gz 191277 -RMD160 ffbd196a22bd6a432157df4e2d0ec203ff6dc250 ndiswrapper-1.35.tar.gz 191277 -SHA256 d4f396d9dafe94fec374df4ff68283b1078d2c17de86bb430af68390cd0f999c ndiswrapper-1.35.tar.gz 191277 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.36 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.36 deleted file mode 100644 index cb9faa24f631..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.36 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 667ba42463b80ea8a5082f5f0751685c ndiswrapper-1.36.tar.gz 192482 -RMD160 d2bbc34b6ac1a441c6a562105625b8abf84e44cd ndiswrapper-1.36.tar.gz 192482 -SHA256 cc741c973c1a7a29e6d80aeae1b258cd07ee942553934e47dbb2ae2c1f957c3c ndiswrapper-1.36.tar.gz 192482 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.37 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.37 deleted file mode 100644 index cb0188cfddb1..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.37 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 55ee2bd959bfdd3ea4ced6ee8d325c0e ndiswrapper-1.37.tar.gz 192561 -RMD160 4041f205ffa683d8f6b6ad7ac822078429fc135b ndiswrapper-1.37.tar.gz 192561 -SHA256 a3774bcf76132843419aa6902cf65a09b921805fa09427498af2cdd9a25abb3d ndiswrapper-1.37.tar.gz 192561 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.38 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.38 deleted file mode 100644 index 15d1a395d53d..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.38 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4d331bbdaa8e507ff6fa7a4802e68141 ndiswrapper-1.38.tar.gz 192293 -RMD160 2cdb0550ccf908a3c1570292a39308d85c9273dd ndiswrapper-1.38.tar.gz 192293 -SHA256 485893c4bf59c2b712f373f963a4fc7f9c193c504a7d48c20f70a225d982e99b ndiswrapper-1.38.tar.gz 192293 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.39 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.39 deleted file mode 100644 index 264a05ef3302..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.39 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4306fb0466efdfe6426b8a45f93ec56c ndiswrapper-1.39.tar.gz 192211 -RMD160 40c085b48ec1d5fe6aea20fac01d8f8e33000e56 ndiswrapper-1.39.tar.gz 192211 -SHA256 b229cc3d1f2162b50a1e41ae3edd2f35562039b96e0909f2476186481d47862f ndiswrapper-1.39.tar.gz 192211 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.40 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.40 deleted file mode 100644 index 38d30a4094f0..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.40 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 b4df86a3b969f665fa653b069d58c64a ndiswrapper-1.40.tar.gz 192481 -RMD160 1a164749bf6a188a50a8798d507c4dafbcc4711b ndiswrapper-1.40.tar.gz 192481 -SHA256 ad4baf3064ab7c10f190930eb30c9e5efff449e5de465afa731d63c30de652e5 ndiswrapper-1.40.tar.gz 192481 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.41 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.41 deleted file mode 100644 index 4a04e947ff5c..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.41 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c054329ba5a7337fadd3f214b876c658 ndiswrapper-1.41.tar.gz 192853 -RMD160 f71e13eeb4924db7c205123842009e99e10b86a7 ndiswrapper-1.41.tar.gz 192853 -SHA256 f1604e607a6b4f39c411f3808a684877f61780b33df0ad8eb26816a216bddc6d ndiswrapper-1.41.tar.gz 192853 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.42 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.42 deleted file mode 100644 index 83493bb04c15..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.42 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 58d9e743c4d61d53d1ebd57f07fcbf8f ndiswrapper-1.42.tar.gz 192124 -RMD160 a112e7e2d416af98030ebfc0912a9b632019de90 ndiswrapper-1.42.tar.gz 192124 -SHA256 5c3aad7a06287313b6ce22d94d1a9785970e4b939e8b8e7793c80d4347e8bc50 ndiswrapper-1.42.tar.gz 192124 diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.43 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.43 deleted file mode 100644 index 9b2243a4132b..000000000000 --- a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.43 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 95479cb0111b6b28581993e947f6d2c8 ndiswrapper-1.43.tar.gz 193346 -RMD160 dd2716b377408e916ebef64f15db180dace37a03 ndiswrapper-1.43.tar.gz 193346 -SHA256 410080f1c47b9462aa7012c7a38e569f0c8d59ac4527f0834f785d8cf6a35fd3 ndiswrapper-1.43.tar.gz 193346 diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.33.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.33.ebuild deleted file mode 100644 index f31802f7f85c..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.33.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.33.ebuild,v 1.7 2007/04/16 17:44:45 peper Exp $ - -inherit eutils linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" - # New patch for suspend2 kernels - peper - epatch "${FILESDIR}/${PN}-new_suspend2.patch" - - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.34.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.34.ebuild deleted file mode 100644 index 304f8e4d0539..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.34.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.34.ebuild,v 1.6 2007/04/16 17:44:45 peper Exp $ - -inherit eutils linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" - # New patch for suspend2 kernels - peper - epatch "${FILESDIR}/${PN}-new_suspend2.patch" - - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.35.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.35.ebuild deleted file mode 100644 index 282c4a41a77d..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.35.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.35.ebuild,v 1.4 2007/04/16 17:44:45 peper Exp $ - -inherit eutils linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" - # New patch for suspend2 kernels - peper - epatch "${FILESDIR}/${PN}-new_suspend2.patch" - - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.36.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.36.ebuild deleted file mode 100644 index 69d665390bf4..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.36.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.36.ebuild,v 1.4 2007/04/16 17:44:45 peper Exp $ - -inherit linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.37.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.37.ebuild deleted file mode 100644 index f4934aed686d..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.37.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.37.ebuild,v 1.4 2007/04/16 17:44:45 peper Exp $ - -inherit linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.38.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.38.ebuild deleted file mode 100644 index d90ce340b5a4..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.38.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.38.ebuild,v 1.3 2007/04/16 17:44:45 peper Exp $ - -inherit linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.39.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.39.ebuild deleted file mode 100644 index 137baa6ebd4c..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.39.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.39.ebuild,v 1.3 2007/04/16 17:44:45 peper Exp $ - -inherit linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.40.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.40.ebuild deleted file mode 100644 index 509c244345f6..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.40.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.40.ebuild,v 1.3 2007/04/16 17:44:45 peper Exp $ - -inherit linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.41.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.41.ebuild deleted file mode 100644 index c35a7e0bbdff..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.41.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.41.ebuild,v 1.3 2007/04/16 17:44:45 peper Exp $ - -inherit linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.42.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.42.ebuild deleted file mode 100644 index 91cc44b5b724..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.42.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.42.ebuild,v 1.1 2007/04/16 17:44:45 peper Exp $ - -inherit linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.43.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.43.ebuild deleted file mode 100644 index 3674366bcec1..000000000000 --- a/net-wireless/ndiswrapper/ndiswrapper-1.43.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.43.ebuild,v 1.1 2007/04/30 09:34:09 peper Exp $ - -inherit linux-mod - -DESCRIPTION="Wrapper for using Windows drivers for some wireless cards" -HOMEPAGE="http://ndiswrapper.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="debug usb" - -DEPEND="sys-apps/pciutils" -RDEPEND="${DEPEND} - net-wireless/wireless-tools" - -CONFIG_CHECK="NET_RADIO" - -MODULE_NAMES="ndiswrapper(misc:${S}/driver)" -BUILD_TARGETS="all" -MODULESD_NDISWRAPPER_ALIASES=("wlan0 ndiswrapper") - -ERROR_USB="You need to enable USB support in your kernel -to use usb support in ndiswrapper." - -pkg_setup() { - einfo "See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels." - echo "" - use usb && CONFIG_CHECK="${CONFIG_CHECK} USB" - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - convert_to_m "${S}/driver/Makefile" -} - -src_compile() { - local params - - # Enable verbose debugging information - if use debug; then - params="DEBUG=3" - use usb && params="${params} USB_DEBUG=1" - fi - - cd utils - emake || die "Compile of utils failed!" - - use usb || params="DISABLE_USB=1" - - # Does not like parallel builds - # http://bugs.gentoo.org/show_bug.cgi?id=154213 - # KBUILD value can't be quoted - # http://bugs.gentoo.org/show_bug.cgi?id=156319 - BUILD_PARAMS="KSRC=${KV_DIR} KVERS=${KV_FULL} KBUILD=${KV_OUT_DIR} ${params} -j1" - linux-mod_src_compile -} - -src_install() { - dodoc README INSTALL AUTHORS ChangeLog - doman ndiswrapper.8 - - keepdir /etc/ndiswrapper - - linux-mod_src_install - - cd utils - emake DESTDIR="${D}" install || die "emake install failed" -} - -pkg_postinst() { - linux-mod_pkg_postinst - echo - elog "ndiswrapper requires .inf and .sys files from a Windows(tm) driver" - elog "to function. Download these to /root for example, then" - elog "run 'ndiswrapper -i /root/foo.inf'. After that you can delete them." - elog "They will be copied to the proper location." - elog "Once done, please run 'update-modules'." - echo - elog "check http://ndiswrapper.sf.net/mediawiki/index.php/List for drivers" - I=$(lspci -n | egrep 'Class (0280|0200):' | cut -d' ' -f4) - elog "Look for the following on that page for your driver:" - elog "Possible Hardware: ${I}" - echo - elog "Please have a look at http://ndiswrapper.sourceforge.net/wiki/" - elog "for the FAQ, HowTos, Tips, Configuration, and installation" - elog "information." - echo - einfo "ndiswrapper devs need support(_hardware_, cash)." - einfo "Don't hesitate if you can help, see http://ndiswrapper.sf.net for details." - echo - - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - for driver in $(ls /etc/ndiswrapper) - do - einfo "Driver: ${driver}" - mv /etc/ndiswrapper/${driver} ${T} - ndiswrapper -i ${T}/${driver}/${driver}.inf - done -} diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.45.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.45.ebuild index ac876abfe9f4..b9cb07affdba 100644 --- a/net-wireless/ndiswrapper/ndiswrapper-1.45.ebuild +++ b/net-wireless/ndiswrapper/ndiswrapper-1.45.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.45.ebuild,v 1.1 2007/05/28 19:44:59 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.45.ebuild,v 1.2 2007/06/25 10:34:19 peper Exp $ inherit linux-mod @@ -101,14 +101,17 @@ pkg_postinst() { elog "See ${HOMEPAGE} for details." echo - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - echo + if [[ ${ROOT} == "/" ]]; then + + einfo "Attempting to automatically reinstall any Windows drivers" + einfo "you might already have." + echo - local driver - for driver in $(ls /etc/ndiswrapper) ; do - einfo "Driver: ${driver}" - mv "/etc/ndiswrapper/${driver}" "${T}" - ndiswrapper -i "${T}/${driver}/${driver}.inf" - done + local driver + for driver in $(ls /etc/ndiswrapper) ; do + einfo "Driver: ${driver}" + mv "/etc/ndiswrapper/${driver}" "${T}" + ndiswrapper -i "${T}/${driver}/${driver}.inf" + done + fi } diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.46.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.46.ebuild index a0f9b689d54f..8ecf5cf240f0 100644 --- a/net-wireless/ndiswrapper/ndiswrapper-1.46.ebuild +++ b/net-wireless/ndiswrapper/ndiswrapper-1.46.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.46.ebuild,v 1.1 2007/06/12 11:17:35 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.46.ebuild,v 1.2 2007/06/25 10:34:19 peper Exp $ inherit linux-mod @@ -102,14 +102,17 @@ pkg_postinst() { elog "See ${HOMEPAGE} for details." echo - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - echo + if [[ ${ROOT} == "/" ]]; then + + einfo "Attempting to automatically reinstall any Windows drivers" + einfo "you might already have." + echo - local driver - for driver in $(ls /etc/ndiswrapper) ; do - einfo "Driver: ${driver}" - mv "/etc/ndiswrapper/${driver}" "${T}" - ndiswrapper -i "${T}/${driver}/${driver}.inf" - done + local driver + for driver in $(ls /etc/ndiswrapper) ; do + einfo "Driver: ${driver}" + mv "/etc/ndiswrapper/${driver}" "${T}" + ndiswrapper -i "${T}/${driver}/${driver}.inf" + done + fi } diff --git a/net-wireless/ndiswrapper/ndiswrapper-1.47.ebuild b/net-wireless/ndiswrapper/ndiswrapper-1.47.ebuild index 82542afee220..557d3b0fc938 100644 --- a/net-wireless/ndiswrapper/ndiswrapper-1.47.ebuild +++ b/net-wireless/ndiswrapper/ndiswrapper-1.47.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.47.ebuild,v 1.1 2007/06/13 09:52:38 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ndiswrapper/ndiswrapper-1.47.ebuild,v 1.2 2007/06/25 10:34:19 peper Exp $ inherit linux-mod @@ -102,14 +102,17 @@ pkg_postinst() { elog "See ${HOMEPAGE} for details." echo - einfo "Attempting to automatically reinstall any Windows drivers" - einfo "you might already have." - echo + if [[ ${ROOT} == "/" ]]; then + + einfo "Attempting to automatically reinstall any Windows drivers" + einfo "you might already have." + echo - local driver - for driver in $(ls /etc/ndiswrapper) ; do - einfo "Driver: ${driver}" - mv "/etc/ndiswrapper/${driver}" "${T}" - ndiswrapper -i "${T}/${driver}/${driver}.inf" - done + local driver + for driver in $(ls /etc/ndiswrapper) ; do + einfo "Driver: ${driver}" + mv "/etc/ndiswrapper/${driver}" "${T}" + ndiswrapper -i "${T}/${driver}/${driver}.inf" + done + fi } |