From 90fc8302c2dfe2a47ecfc2f189c0c71a9cdd205d Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Fri, 1 Sep 2006 12:14:20 +0000 Subject: drop old versions that use the deprecated pcmcia eclass and hppa keyword thanks to gmsoft, bug 140166 (Portage version: 2.1.1_rc1-r2) (Unsigned Manifest commit) --- net-wireless/linux-wlan-ng/Manifest | 58 +------ .../files/digest-linux-wlan-ng-0.2.0-r3 | 21 --- .../files/digest-linux-wlan-ng-0.2.1_pre23 | 6 - .../linux-wlan-ng/files/digest-linux-wlan-ng-0.2.3 | 3 - .../files/digest-linux-wlan-ng-0.2.3-r1 | 3 - .../linux-wlan-ng/files/linux-wlan-2.6.10-fix.diff | 107 ------------- .../linux-wlan-ng/linux-wlan-ng-0.2.0-r3.ebuild | 171 -------------------- .../linux-wlan-ng/linux-wlan-ng-0.2.1_pre23.ebuild | 145 ----------------- .../linux-wlan-ng/linux-wlan-ng-0.2.3-r1.ebuild | 158 ------------------- .../linux-wlan-ng/linux-wlan-ng-0.2.3.ebuild | 172 --------------------- 10 files changed, 4 insertions(+), 840 deletions(-) delete mode 100644 net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r3 delete mode 100644 net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre23 delete mode 100644 net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.3 delete mode 100644 net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.3-r1 delete mode 100644 net-wireless/linux-wlan-ng/files/linux-wlan-2.6.10-fix.diff delete mode 100644 net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r3.ebuild delete mode 100644 net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre23.ebuild delete mode 100644 net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3-r1.ebuild delete mode 100644 net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3.ebuild (limited to 'net-wireless') diff --git a/net-wireless/linux-wlan-ng/Manifest b/net-wireless/linux-wlan-ng/Manifest index b6c5748b20af..76ee821fd68e 100644 --- a/net-wireless/linux-wlan-ng/Manifest +++ b/net-wireless/linux-wlan-ng/Manifest @@ -1,10 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX linux-wlan-2.6.10-fix.diff 3670 RMD160 a4b9147fd817c9e346f98db02ad583e8e05be139 SHA1 4a2e765c4cbf705fcb77f08f382bf0384b884fd9 SHA256 a105eebe4085979a36707e25f12c8806282bd60aba4f75cd447db03e6bb27479 -MD5 e2ca4c6c0bc3d8daef9ea0f822b88dca files/linux-wlan-2.6.10-fix.diff 3670 -RMD160 a4b9147fd817c9e346f98db02ad583e8e05be139 files/linux-wlan-2.6.10-fix.diff 3670 -SHA256 a105eebe4085979a36707e25f12c8806282bd60aba4f75cd447db03e6bb27479 files/linux-wlan-2.6.10-fix.diff 3670 AUX linux-wlan-ng-0.2.3-shared.patch 448 RMD160 0797a25148b6ff6ec673f7192dd3a8a598f168a2 SHA1 e65300103e2106e6c2846398fb0a94287be43a64 SHA256 0fc73ee43745095d4821d04ad27e1f2ecdfc5fc4b0733bfc394950a63f86264f MD5 dd98a7ef21f438a53f94e2c664819d17 files/linux-wlan-ng-0.2.3-shared.patch 448 RMD160 0797a25148b6ff6ec673f7192dd3a8a598f168a2 files/linux-wlan-ng-0.2.3-shared.patch 448 @@ -13,62 +6,19 @@ AUX linux-wlan-ng-gentoo-init 1934 RMD160 b0b6bb79e92d56859b5be5008c0bfbebdbeb22 MD5 7fd052d0b20448622b9d05bd474f509b files/linux-wlan-ng-gentoo-init 1934 RMD160 b0b6bb79e92d56859b5be5008c0bfbebdbeb2237 files/linux-wlan-ng-gentoo-init 1934 SHA256 7d0863c996f518c962030d3b45a489fd8a8d98534ffb606b310d9354c21017b4 files/linux-wlan-ng-gentoo-init 1934 -DIST linux-wlan-ng-0.2.0.tar.gz 329432 RMD160 506d2bda58f3480a0a40c669d409989688a06ec8 SHA1 5ad3afbc42fc2fc6be7408d3f3383f5ebd447790 SHA256 eec2e6beffe59bce5abd91120ee5e347f48f7b2d08098ca5960f439f7b93b776 -DIST linux-wlan-ng-0.2.1pre23.tar.bz2 447233 RMD160 06b8289a68d40e03e41ee912383b9c08068c9b48 SHA1 daae4f9410b2892f3f07b4abcfad5f790dbc1bec SHA256 82752d79ee335412faa7806d415151809dca18ca7085dc68a33e7f889cdef335 DIST linux-wlan-ng-0.2.3.tar.bz2 454053 RMD160 a39a6f17dd8a745992a557605d3f5734d8b7de95 SHA1 72fdb2d7af8e071db169b56df594d0ce8a91abc8 SHA256 97004d6cefd1b5c5f37efc1603e4103f9a809d79f8cc0faf2397fa882cdd6ee6 -DIST linux-wlan-ng-gentoo-init.gz 859 RMD160 f3480f599bf2e3f34a7eb102081ea71facb22493 SHA1 3f16b48a27498503a296650b24f248644af15654 SHA256 953b10f55248f4eacaaf4eaa694e564813a159205eb69992038556bd30d85d49 -DIST pcmcia-cs-3.2.5-3.2.6.diff.gz 23034 RMD160 012ec90c3b03c0752d80ecd8dc70655f12d5c135 SHA1 f2dabcacdd7a9bc9e6f3a9a728047dd945590a00 SHA256 1a150e0941b4d128b88dfed2c6a9f0ed975d5723f3e2796d789a2e172e7fddf8 -DIST pcmcia-cs-3.2.5-3.2.7.diff.gz 28244 RMD160 106ec0334589ab9f036be92332d7048ebc09b51d SHA1 419e1d7faa51c11f2be3b66942c64264b852d389 SHA256 542f5b66920c403bb68bfcadedae389bbeca695afbecd2ef582e32c7547a1d84 -DIST pcmcia-cs-3.2.5-SMP-fix.diff.gz 320 RMD160 33e3e3da5ac822b072375174f6bc35ce81d24683 SHA1 71171db4d334e336c8ffc9af60944c1952fef53f SHA256 c5e06e180be39370803df9c0bc8048b30515f221d6702e64adf410404dbdd6f3 -DIST pcmcia-cs-3.2.5-module-init-tools.diff.gz 460 RMD160 d4d14be50c62eccd94f40568757991486c6b92b7 SHA1 8944c6bf8e195263d50fb7ed7ffdd4282b79553a SHA256 dcbe1d31d0d0af01abb2caada72eb55e30b1abbd821fb785ee6cd76e1fd20b00 -DIST pcmcia-cs-3.2.5.tar.gz 1266494 RMD160 43d43e63812c370c9092ddaf5b7de3b45704ced9 SHA1 aa29b9c451e2181fa1eea6c26e9c03eb05f53743 SHA256 39cc8747aa377482b61873287c65d5f9d387cd18b33ac3a28aa586843ad054bc -EBUILD linux-wlan-ng-0.2.0-r3.ebuild 4854 RMD160 b789f8e507e574e5aa89eda84347bd98c34f9af5 SHA1 35e4475977b4ef6560e58d27b47908f5bcaf21b9 SHA256 8e2720b76e325e3a5d437c1adcb4310630610219bfc8949da35bd27acba7bc96 -MD5 9f780d2e360aff75ec7949bd43ab1c87 linux-wlan-ng-0.2.0-r3.ebuild 4854 -RMD160 b789f8e507e574e5aa89eda84347bd98c34f9af5 linux-wlan-ng-0.2.0-r3.ebuild 4854 -SHA256 8e2720b76e325e3a5d437c1adcb4310630610219bfc8949da35bd27acba7bc96 linux-wlan-ng-0.2.0-r3.ebuild 4854 -EBUILD linux-wlan-ng-0.2.1_pre23.ebuild 3831 RMD160 554960985761e1743bbf7ae4f5836bf75b5bd1e6 SHA1 e29adadd4cb64c935a744345029d4bab0791c43d SHA256 7e8185adcd4329977a82501115de95fab5ee95032a696ddc49ca729b19b2eefb -MD5 fb8021f1e563a5f4dec736741e8449e0 linux-wlan-ng-0.2.1_pre23.ebuild 3831 -RMD160 554960985761e1743bbf7ae4f5836bf75b5bd1e6 linux-wlan-ng-0.2.1_pre23.ebuild 3831 -SHA256 7e8185adcd4329977a82501115de95fab5ee95032a696ddc49ca729b19b2eefb linux-wlan-ng-0.2.1_pre23.ebuild 3831 -EBUILD linux-wlan-ng-0.2.3-r1.ebuild 4003 RMD160 c6f438f1abe6d7c06939726926a0cf912767af16 SHA1 c37c67c8dfecc685f2ecabb7a56d3086333ba35c SHA256 292667aba4cd9a78fdb0c0bb0fcd39a4394d4de714a1aea04f60722fe7f7e241 -MD5 a01167d3855cec7a8f0f01ac04109ac2 linux-wlan-ng-0.2.3-r1.ebuild 4003 -RMD160 c6f438f1abe6d7c06939726926a0cf912767af16 linux-wlan-ng-0.2.3-r1.ebuild 4003 -SHA256 292667aba4cd9a78fdb0c0bb0fcd39a4394d4de714a1aea04f60722fe7f7e241 linux-wlan-ng-0.2.3-r1.ebuild 4003 EBUILD linux-wlan-ng-0.2.3-r2.ebuild 4055 RMD160 5eea511f81c7e85e0a7b5f8832781945da65cdb6 SHA1 62003dada34e0c2b0d91a87dc879e13fe378e09d SHA256 26a6faba03a40bebefe6784263608ae4d3d1f9ab5fa87b8a6207edf9c8c19233 MD5 eb91d466a57c7301f757efe10ba360db linux-wlan-ng-0.2.3-r2.ebuild 4055 RMD160 5eea511f81c7e85e0a7b5f8832781945da65cdb6 linux-wlan-ng-0.2.3-r2.ebuild 4055 SHA256 26a6faba03a40bebefe6784263608ae4d3d1f9ab5fa87b8a6207edf9c8c19233 linux-wlan-ng-0.2.3-r2.ebuild 4055 -EBUILD linux-wlan-ng-0.2.3.ebuild 4483 RMD160 80489543e0898f2424e936fa7a438dbedd2d012d SHA1 c68bf23d2272badb6a6eae4cb4c1c5f41e0aa47c SHA256 8f231c655d8a81225e7d037e2bf4a68e45f7bc81ef1b51254805e6e63236db06 -MD5 66c18a4ea3ece9f3121e444a516fd6ec linux-wlan-ng-0.2.3.ebuild 4483 -RMD160 80489543e0898f2424e936fa7a438dbedd2d012d linux-wlan-ng-0.2.3.ebuild 4483 -SHA256 8f231c655d8a81225e7d037e2bf4a68e45f7bc81ef1b51254805e6e63236db06 linux-wlan-ng-0.2.3.ebuild 4483 -MISC ChangeLog 12167 RMD160 2c036ffb9d25b22dd7df6bedd5f66bfefa0052b9 SHA1 8aedcb232f64d8e44b3db4f2435400845ee097b4 SHA256 d28360314e04fbd9356cc992dbfd8a7080fcb438f4a6941d2a4f0afb50e9419c -MD5 ca4c8f282c73ab6ce949019079626f2e ChangeLog 12167 -RMD160 2c036ffb9d25b22dd7df6bedd5f66bfefa0052b9 ChangeLog 12167 -SHA256 d28360314e04fbd9356cc992dbfd8a7080fcb438f4a6941d2a4f0afb50e9419c ChangeLog 12167 +MISC ChangeLog 12498 RMD160 aa1293e4a4e041fbe139e1d1dd2c78f7d901479b SHA1 bb175998634001933c208dd306ed96f7b9d5e5a3 SHA256 983fcd970a85e88d187fc7559295ae322ee797ff95457377ea25bbbbc9bd5144 +MD5 e728cf40a018496eac61c1d6d9191a5c ChangeLog 12498 +RMD160 aa1293e4a4e041fbe139e1d1dd2c78f7d901479b ChangeLog 12498 +SHA256 983fcd970a85e88d187fc7559295ae322ee797ff95457377ea25bbbbc9bd5144 ChangeLog 12498 MISC metadata.xml 254 RMD160 405142be32b3bd0c5b01406de510a6f6eddeb877 SHA1 88ebd9738b470bb9f297a4c1ff0d61a69331c670 SHA256 cf0ce33c8adaba16d53ca70e86c8f768757e89a172711ce03f69baf17912ed15 MD5 6ad1de0749fc3b426ff7f4f422d2484c metadata.xml 254 RMD160 405142be32b3bd0c5b01406de510a6f6eddeb877 metadata.xml 254 SHA256 cf0ce33c8adaba16d53ca70e86c8f768757e89a172711ce03f69baf17912ed15 metadata.xml 254 -MD5 7db77dbea0258d9513f0066ca9e579b6 files/digest-linux-wlan-ng-0.2.0-r3 1855 -RMD160 d5a285cd9cebf44a6a347d7d603d36c0ac7450a6 files/digest-linux-wlan-ng-0.2.0-r3 1855 -SHA256 e2dd8709914bcf60146c8ff88bbbf780193336feb04d05a5462184605fa0d3c2 files/digest-linux-wlan-ng-0.2.0-r3 1855 -MD5 069912c4cc0662dc4fbb173759f03c78 files/digest-linux-wlan-ng-0.2.1_pre23 533 -RMD160 27ab102f22db1d6621f3dbc32542383042d4986a files/digest-linux-wlan-ng-0.2.1_pre23 533 -SHA256 2622143104dbf2fc2c94a3d260f8a0d9dfdb168d679032b77262859844220398 files/digest-linux-wlan-ng-0.2.1_pre23 533 -MD5 b0151277be475255f82139fc101eae7f files/digest-linux-wlan-ng-0.2.3 262 -RMD160 6e6a482a8ebdaf4bd7f77040cd3f717c25180b53 files/digest-linux-wlan-ng-0.2.3 262 -SHA256 1755efc1d6124109999f9dda7aa3b4240e849ceaf3116244ff149783f635df09 files/digest-linux-wlan-ng-0.2.3 262 -MD5 b0151277be475255f82139fc101eae7f files/digest-linux-wlan-ng-0.2.3-r1 262 -RMD160 6e6a482a8ebdaf4bd7f77040cd3f717c25180b53 files/digest-linux-wlan-ng-0.2.3-r1 262 -SHA256 1755efc1d6124109999f9dda7aa3b4240e849ceaf3116244ff149783f635df09 files/digest-linux-wlan-ng-0.2.3-r1 262 MD5 b0151277be475255f82139fc101eae7f files/digest-linux-wlan-ng-0.2.3-r2 262 RMD160 6e6a482a8ebdaf4bd7f77040cd3f717c25180b53 files/digest-linux-wlan-ng-0.2.3-r2 262 SHA256 1755efc1d6124109999f9dda7aa3b4240e849ceaf3116244ff149783f635df09 files/digest-linux-wlan-ng-0.2.3-r2 262 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.4 (GNU/Linux) - -iD8DBQFEz7GYQlM6RnzZP+IRAp+UAJsEOPSQjpAVhxnMXhVvfqpGvzfQCwCgiukr -ILyV+vgy3hTfDMe8KEri0oY= -=EiSd ------END PGP SIGNATURE----- diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r3 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r3 deleted file mode 100644 index ae027744f87c..000000000000 --- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.0-r3 +++ /dev/null @@ -1,21 +0,0 @@ -MD5 42b6d21a29cb5f75f8b1e8a3ad69b19a linux-wlan-ng-0.2.0.tar.gz 329432 -RMD160 506d2bda58f3480a0a40c669d409989688a06ec8 linux-wlan-ng-0.2.0.tar.gz 329432 -SHA256 eec2e6beffe59bce5abd91120ee5e347f48f7b2d08098ca5960f439f7b93b776 linux-wlan-ng-0.2.0.tar.gz 329432 -MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859 -RMD160 f3480f599bf2e3f34a7eb102081ea71facb22493 linux-wlan-ng-gentoo-init.gz 859 -SHA256 953b10f55248f4eacaaf4eaa694e564813a159205eb69992038556bd30d85d49 linux-wlan-ng-gentoo-init.gz 859 -MD5 2b2cba3fdd498b001ea3c27d8b2da31b pcmcia-cs-3.2.5-3.2.6.diff.gz 23034 -RMD160 012ec90c3b03c0752d80ecd8dc70655f12d5c135 pcmcia-cs-3.2.5-3.2.6.diff.gz 23034 -SHA256 1a150e0941b4d128b88dfed2c6a9f0ed975d5723f3e2796d789a2e172e7fddf8 pcmcia-cs-3.2.5-3.2.6.diff.gz 23034 -MD5 f2feda5eb46c1a2b99ae9db274879afc pcmcia-cs-3.2.5-3.2.7.diff.gz 28244 -RMD160 106ec0334589ab9f036be92332d7048ebc09b51d pcmcia-cs-3.2.5-3.2.7.diff.gz 28244 -SHA256 542f5b66920c403bb68bfcadedae389bbeca695afbecd2ef582e32c7547a1d84 pcmcia-cs-3.2.5-3.2.7.diff.gz 28244 -MD5 ee4f8227cc28f9a29a609f6e9561ef54 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320 -RMD160 33e3e3da5ac822b072375174f6bc35ce81d24683 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320 -SHA256 c5e06e180be39370803df9c0bc8048b30515f221d6702e64adf410404dbdd6f3 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320 -MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460 -RMD160 d4d14be50c62eccd94f40568757991486c6b92b7 pcmcia-cs-3.2.5-module-init-tools.diff.gz 460 -SHA256 dcbe1d31d0d0af01abb2caada72eb55e30b1abbd821fb785ee6cd76e1fd20b00 pcmcia-cs-3.2.5-module-init-tools.diff.gz 460 -MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494 -RMD160 43d43e63812c370c9092ddaf5b7de3b45704ced9 pcmcia-cs-3.2.5.tar.gz 1266494 -SHA256 39cc8747aa377482b61873287c65d5f9d387cd18b33ac3a28aa586843ad054bc pcmcia-cs-3.2.5.tar.gz 1266494 diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre23 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre23 deleted file mode 100644 index 467049119d94..000000000000 --- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.1_pre23 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 873d73d092cdc00200dc5230160d8f65 linux-wlan-ng-0.2.1pre23.tar.bz2 447233 -RMD160 06b8289a68d40e03e41ee912383b9c08068c9b48 linux-wlan-ng-0.2.1pre23.tar.bz2 447233 -SHA256 82752d79ee335412faa7806d415151809dca18ca7085dc68a33e7f889cdef335 linux-wlan-ng-0.2.1pre23.tar.bz2 447233 -MD5 686631f6942aa47fc0503203c26bfe16 linux-wlan-ng-gentoo-init.gz 859 -RMD160 f3480f599bf2e3f34a7eb102081ea71facb22493 linux-wlan-ng-gentoo-init.gz 859 -SHA256 953b10f55248f4eacaaf4eaa694e564813a159205eb69992038556bd30d85d49 linux-wlan-ng-gentoo-init.gz 859 diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.3 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.3 deleted file mode 100644 index 0680fd82180a..000000000000 --- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f26e41336a2838d69a366ab3a2d93ea0 linux-wlan-ng-0.2.3.tar.bz2 454053 -RMD160 a39a6f17dd8a745992a557605d3f5734d8b7de95 linux-wlan-ng-0.2.3.tar.bz2 454053 -SHA256 97004d6cefd1b5c5f37efc1603e4103f9a809d79f8cc0faf2397fa882cdd6ee6 linux-wlan-ng-0.2.3.tar.bz2 454053 diff --git a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.3-r1 b/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.3-r1 deleted file mode 100644 index 0680fd82180a..000000000000 --- a/net-wireless/linux-wlan-ng/files/digest-linux-wlan-ng-0.2.3-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f26e41336a2838d69a366ab3a2d93ea0 linux-wlan-ng-0.2.3.tar.bz2 454053 -RMD160 a39a6f17dd8a745992a557605d3f5734d8b7de95 linux-wlan-ng-0.2.3.tar.bz2 454053 -SHA256 97004d6cefd1b5c5f37efc1603e4103f9a809d79f8cc0faf2397fa882cdd6ee6 linux-wlan-ng-0.2.3.tar.bz2 454053 diff --git a/net-wireless/linux-wlan-ng/files/linux-wlan-2.6.10-fix.diff b/net-wireless/linux-wlan-ng/files/linux-wlan-2.6.10-fix.diff deleted file mode 100644 index e6e05595e67d..000000000000 --- a/net-wireless/linux-wlan-ng/files/linux-wlan-2.6.10-fix.diff +++ /dev/null @@ -1,107 +0,0 @@ -diff -uNr linux-wlan-ng-0.2.1pre23.orig/src/p80211/p80211netdev.c linux-wlan-ng-0.2.1pre23/src/p80211/p80211netdev.c ---- linux-wlan-ng-0.2.1pre23.orig/src/p80211/p80211netdev.c 2005-01-02 18:55:44.054613192 +0100 -+++ linux-wlan-ng-0.2.1pre23/src/p80211/p80211netdev.c 2005-01-02 18:56:53.988981552 +0100 -@@ -1051,7 +1051,7 @@ - if (wlandev->name[0] == '\0' || wlandev->name[0] == ' ') { - do { - sprintf(wlandev->name, "wlan%d", i++); -- } while (dev_get(wlandev->name)); -+ } while (dev_get_by_name(wlandev->name)); - } - - #if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) ) -@@ -1456,7 +1456,7 @@ - sprintf(action_str, "ACTION=%s", action); - - i = 0; -- argv[i++] = hotplug_path; -+ argv[i++] = "/sbin/hotplug"; - argv[i++] = "wlan"; - argv[i] = 0; - -diff -uNr linux-wlan-ng-0.2.1pre23.orig/src/prism2/driver/hfa384x_usb.c linux-wlan-ng-0.2.1pre23/src/prism2/driver/hfa384x_usb.c ---- linux-wlan-ng-0.2.1pre23.orig/src/prism2/driver/hfa384x_usb.c 2005-01-02 18:55:44.089607872 +0100 -+++ linux-wlan-ng-0.2.1pre23/src/prism2/driver/hfa384x_usb.c 2005-01-02 18:57:01.889780448 +0100 -@@ -533,7 +533,7 @@ - if (test_bit(WORK_RX_HALT, &hw->work_flags)) { - int ret; - -- usb_unlink_urb(&hw->rx_urb); /* Cannot be holding spinlock! */ -+ usb_kill_urb(&hw->rx_urb); /* Cannot be holding spinlock! */ - ret = usb_clear_halt(hw->usb, - usb_rcvbulkpipe(hw->usb, hw->endp_in)); - if (ret != 0) { -@@ -553,7 +553,7 @@ - if (test_bit(WORK_TX_HALT, &hw->work_flags)) { - int ret; - -- usb_unlink_urb(&hw->tx_urb); -+ usb_kill_urb(&hw->tx_urb); - ret = usb_clear_halt(hw->usb, - usb_sndbulkpipe(hw->usb, hw->endp_out)); - if (ret != 0) { -@@ -3363,7 +3363,9 @@ - - spin_unlock_irqrestore(&hw->ctlxq.lock, flags); - -- return usb_unlink_urb(&ctlx->outurb); -+ usb_kill_urb(&ctlx->outurb); -+ -+ return 0; - } - - /*---------------------------------------------------------------- -@@ -4614,19 +4616,19 @@ - * the system, if it hasn't already expired. - */ - ctlx->outurb.transfer_flags |= URB_ASYNC_UNLINK; -- if (usb_unlink_urb(&ctlx->outurb) == -EINPROGRESS) { -+ usb_kill_urb(&ctlx->outurb); - -- /* We are cancelling this CTLX, so we're -- * not going to need to wait for a response. -- */ -- del_timer(&ctlx->resptimer); -+ /* We are cancelling this CTLX, so we're -+ * not going to need to wait for a response. -+ */ -+ del_timer(&ctlx->resptimer); -+ -+ /* This URB was active, but has now been -+ * cancelled. It will now have a status of -+ * -ECONNRESET in the callback function. -+ */ -+ ctlx->state = CTLX_REQ_TIMEOUT; - -- /* This URB was active, but has now been -- * cancelled. It will now have a status of -- * -ECONNRESET in the callback function. -- */ -- ctlx->state = CTLX_REQ_TIMEOUT; -- } - - spin_unlock_irqrestore(&hw->ctlxq.lock, flags); - -diff -uNr linux-wlan-ng-0.2.1pre23.orig/src/prism2/driver/prism2_usb.c linux-wlan-ng-0.2.1pre23/src/prism2/driver/prism2_usb.c ---- linux-wlan-ng-0.2.1pre23.orig/src/prism2/driver/prism2_usb.c 2005-01-02 18:55:44.093607264 +0100 -+++ linux-wlan-ng-0.2.1pre23/src/prism2/driver/prism2_usb.c 2005-01-02 18:57:06.661055104 +0100 -@@ -247,8 +247,8 @@ - /* Unlink the tx/rx URBs. This "removes the wheels" - * from the entire CTLX handling mechanism. - */ -- usb_unlink_urb(&hw->rx_urb); -- usb_unlink_urb(&hw->tx_urb); -+ usb_kill_urb(&hw->rx_urb); -+ usb_kill_urb(&hw->tx_urb); - - flush_scheduled_work(); - -@@ -266,7 +266,7 @@ - del_timer_sync(&ctlx->reqtimer); - - /* Unlink the CTLX OUT URB */ -- usb_unlink_urb(&ctlx->outurb); -+ usb_kill_urb(&ctlx->outurb); - - if (ctlx->is_async) { - /* We've stopped the BULK-IN pipe, diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r3.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r3.ebuild deleted file mode 100644 index 6d294a49cd2c..000000000000 --- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r3.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.0-r3.ebuild,v 1.13 2006/08/01 19:54:47 ticho Exp $ - -inherit pcmcia - -IUSE="build pcmcia usb" - -DESCRIPTION="The linux-wlan Project" -SRC_URI="${SRC_URI} - ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${P}.tar.gz - mirror://gentoo/${PN}-gentoo-init.gz" - -HOMEPAGE="http://linux-wlan.org" -DEPEND="virtual/os-headers" -RDEPEND="dev-libs/openssl - sys-apps/baselayout - >=sys-apps/sed-4.0" - -SLOT="0" -# includes dual licensed files but also stuff only under MPL-1.1 -LICENSE="|| ( GPL-2 MPL-1.1 ) MPL-1.1" -KEYWORDS="~x86" - -pkg_setup() { - check_KV - - okvminor="${KV#*.}" ; okvminor="${okvminor%%.*}" - if [ "${okvminor}" -gt 4 ]; then - eerror "This version of linux-wlan-ng will NOT work with 2.6 kernels" - eerror "Please use >=linux-wlan-ng-0.2.1_pre17 for 2.6 kernels." - eerror "For now, you will need to disable sandbox to get this to merge." - eerror "See bug #32737 for info on work being done to fix this." - die "This version of linux-wlan-ng does not support 2.6 kernels" - fi -} - -# Note: To use this ebuild, you should have the usr/src/linux symlink to -# the kernel directory that linux-wlan-ng should use for configuration. -# -# linux-wlan-ng requires a configured pcmcia-cs source tree. -# unpack/configure it in WORKDIR. No need to compile it though. - -src_unpack() { - unpack ${P}.tar.gz - unpack ${PN}-gentoo-init.gz - - # Use pcmcia.eclass to figure out what to do about pcmcia - pcmcia_src_unpack - - # install a gentoo style init script - cp ${WORKDIR}/${PN}-gentoo-init ${S}/etc/rc.wlan - - # Lots of sedding to do to get the man pages and a few other - # things to end up in the right place. - - cd ${S} - #mv man/Makefile man/Makefile.orig - sed -i -e "s:mkdir:#mkdir:" \ - -e "s:cp nwepgen.man:#cp nwepgen.man:" \ - -e "s:\t\$(TARGET_:\t#\$(TARGET_:" \ - man/Makefile - - #mv etc/wlan/Makefile etc/wlan/Makefile.orig - sed -i -e "s:/etc/wlan:/etc/conf.d:g" \ - etc/wlan/Makefile - - #mv etc/wlan/wlancfg-DEFAULT etc/wlan/wlancfg-DEFAULT.orig - sed -i -e "s:/sbin/nwepgen:/sbin/keygen:" \ - etc/wlan/wlancfg-DEFAULT - - #mv etc/wlan/shared etc/wlan/shared.orig - sed -i -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \ - -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \ - etc/wlan/shared - -} - -src_compile() { - # Configure the pcmcia-cs sources if we actually are going to use them - pcmcia_configure - - # now lets build wlan-ng - cd ${S} - - #cp config.in default.config - - sed -i -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \ - -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \ - config.in - #mv default.config config.in - - if use pcmcia; then - if [ -n "${PCMCIA_SOURCE_DIR}" ] - then - export PCMCIA_SOURCE_DIR=${PCMCIA_SOURCE_DIR} - sed -i -e 's:PCMCIA_SRC=:PCMCIA_SRC=${PCMCIA_SOURCE_DIR}:' \ - config.in - fi - sed -i -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \ - config.in - else - sed -i -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \ - config.in - fi - #mv default.config config.in - - if use usb; then - sed -i -e 's:PRISM2_USB=n:PRISM2_USB=y:' \ - config.in - #mv default.config config.in - fi - - #mv default.config config.in - cp config.in default.config - - emake default_config || die "failed configuring WLAN" - emake all || die "failed compiling" - - # compile add-on keygen program. It seems to actually provide usable keys. - cd ${S}/add-ons/keygen - - emake || die "Failed to compile add-on keygen program" -} - -src_install () { - - make install || die "failed installing" - - dodir etc/wlan - mv ${D}/etc/conf.d/shared ${D}/etc/wlan/ - - if ! use build; then - - dodir /usr/share/man/man1 - newman ${S}/man/nwepgen.man nwepgen.1 - newman ${S}/man/wlancfg.man wlancfg.1 - newman ${S}/man/wlanctl-ng.man wlanctl-ng.1 - newman ${S}/man/wland.man wland.1 - - dodoc CHANGES COPYING LICENSE FAQ README THANKS TODO \ - doc/config* doc/capturefrm.txt - fi - - exeinto /sbin - doexe add-ons/keygen/keygen - -} - -pkg_postinst() { - depmod -a - - einfo "Setup:" - einfo "" - einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices." - einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of" - einfo "PCMCIA devices." - einfo "" - einfo "The wlan-ng.opts file in /etc/pcmcia/ is now depricated." - einfo "" - einfo "Modify /etc/conf.d/wlan.conf to set global parameters." - einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters." - einfo "There are detailed instructions in these config files." - einfo "" - einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net." - einfo "" - ewarn "Wireless cards which you want to use drivers other than wlan-ng for" - ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf" - ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding" - ewarn "line from that file." -} diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre23.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre23.ebuild deleted file mode 100644 index 6b5422844bc1..000000000000 --- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre23.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.1_pre23.ebuild,v 1.7 2005/12/19 11:01:40 betelgeuse Exp $ - -inherit linux-info pcmcia - -IUSE="build pcmcia usb" - -MY_P=${PN}-${PV/_/} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="The linux-wlan Project" -SRC_URI=" - ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2 - mirror://gentoo/${PN}-gentoo-init.gz" - -HOMEPAGE="http://linux-wlan.org" -DEPEND="virtual/os-headers" -RDEPEND="dev-libs/openssl - >=sys-apps/sed-4.0" - -SLOT="0" -# includes dual licensed files but also stuff only under MPL-1.1 -LICENSE="|| ( GPL-2 MPL-1.1 ) MPL-1.1 Conexant-firmware" -KEYWORDS="~amd64 ~hppa ~ppc ~x86" - -src_unpack() { - - unpack ${MY_P}.tar.bz2 - unpack ${PN}-gentoo-init.gz - - # Use pcmcia.eclass to setup pcmcia-cs sources as needed - pcmcia_src_unpack - - cp ${WORKDIR}/${PN}-gentoo-init ${S}/etc/rc.wlan - - cd ${S} - epatch ${FILESDIR}/linux-wlan-2.6.10-fix.diff - - # Lots of sedding to do to get the man pages and a few other - # things to end up in the right place. - - sed -i -e "s:/usr/local/man/:/usr/share/man/:" \ - man/Makefile - - sed -i -e "s:/etc/wlan:/etc/conf.d:g" \ - etc/wlan/Makefile - - sed -i -e "s:/sbin/nwepgen:/sbin/keygen:" \ - etc/wlan/wlancfg-DEFAULT - - sed -i -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \ - -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \ - etc/wlan/shared - - if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ] - then - sed -i 's:SUBDIRS=:M=:g' ${S}/Makefile - fi -} - -src_compile() { - # Configure the pcmcia-cs tree if it exists - pcmcia_configure - - # now lets build wlan-ng - cd ${S} - - sed -i -e 's:TARGET_ROOT_ON_HOST=:TARGET_ROOT_ON_HOST=${D}:' \ - -e 's:PRISM2_PCI=n:PRISM2_PCI=y:' \ - config.in - - if use pcmcia; then - if [ -n "${PCMCIA_SOURCE_DIR}" ]; - then - export PCMCIA_SOURCE_DIR=${PCMCIA_SOURCE_DIR} - sed -i -e 's:PCMCIA_SRC=:PCMCIA_SRC=${PCMCIA_SOURCE_DIR}:' \ - config.in - fi - sed -i -e 's:PRISM2_PLX=n:PRISM2_PLX=y:' \ - config.in - else - sed -i -e 's:PRISM2_PCMCIA=y:PRISM2_PCMCIA=n:' \ - config.in - fi - - if use usb; then - sed -i -e 's:PRISM2_USB=n:PRISM2_USB=y:' \ - config.in - fi - - cp config.in default.config - - # 2.6 needs ARCH unset since it uses it - unset ARCH - emake default_config || die "failed configuring WLAN" - emake all || die "failed compiling" - - # compile add-on keygen program. It seems to actually provide usable keys. - cd ${S}/add-ons/keygen - emake || die "Failed to compile add-on keygen program" - cd ${S}/add-ons/lwepgen - emake || die "Failed to compile add-on lwepgen program" -} - -src_install () { - - make install || die "failed installing" - - dodir etc/wlan - mv ${D}/etc/conf.d/shared ${D}/etc/wlan/ - - if use build; then - ( cd ${D}/usr/share && rm -r man ) - fi - - exeinto /sbin - doexe add-ons/keygen/keygen - doexe add-ons/lwepgen/lwepgen - -} - -pkg_postinst() { - depmod -a - - einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices." - einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of" - einfo "PCMCIA devices." - einfo "" - einfo "Modify /etc/conf.d/wlan.conf to set global parameters." - einfo "Modify /etc/conf.d/wlancfg-* to set individual card parameters." - einfo "There are detailed instructions in these config files." - einfo "" - einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen." - einfo "keygen seems provide more usable keys at the moment." - einfo "" - einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net." - einfo "" - ewarn "Wireless cards which you want to use drivers other than wlan-ng for" - ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf" - ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding" - ewarn "line from that file." -} - - diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3-r1.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3-r1.ebuild deleted file mode 100644 index 12457f669747..000000000000 --- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3-r1.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3-r1.ebuild,v 1.1 2006/04/02 10:19:59 betelgeuse Exp $ - -#The configure script needs prepared sources. -inherit linux-mod - -DESCRIPTION="Programs/files needed for Prism2/2.5/3 based USB wireless LAN products" -HOMEPAGE="http://linux-wlan.org" -SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${P}.tar.bz2" - -# includes dual licensed files but also stuff only under MPL-1.1 -LICENSE="|| ( GPL-2 MPL-1.1 ) MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -IUSE="debug doc" - -DEPEND="~net-wireless/linux-wlan-ng-modules-${PV} - ~net-wireless/linux-wlan-ng-utils-0.2.2 - ~net-wireless/linux-wlan-ng-firmware-0.2.2" - -RDEPEND=${DEPEND} - -#relative to src/ -COMPILE_DIRS="mkmeta wlanctl wland nwepgen wlancfg prism2/download" -INSTALL_DIRS="${COMPILE_DIRS} ../etc" - -CONFIG_FILE="${S}/default.config" -CONFIG_DIR="/etc/conf.d" - -config_by_usevar() { - local config=${3} - [[ -z ${config} ]] && config=${CONFIG_FILE} - - if use ${2}; then - echo "${1}=y" >> ${config} - else - echo "${1}=n" >> ${config} - fi -} - -set_option() { - local config=${3} - [[ -z ${config} ]] && config=${CONFIG_FILE} - - echo "${1}=${2}" >> ${config} -} - -src_unpack() { - local config=${CONFIG_FILE} - - unpack ${A} - - rm ${S}/doc/rh71notes - - cd ${S}/etc - mv rc.wlan rc.wlan.orig - cp ${FILESDIR}/${PN}-gentoo-init rc.wlan - - #IMHO this should not be done but better to not upset users at this point - sed -i -e "s:/etc/wlan:/etc/conf.d:g" ${S}/etc/wlan/Makefile - sed -i -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \ - -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \ - ${S}/etc/wlan/shared - - cp ${S}/config.in ${config} - - set_option TARGET_ROOT_ON_HOST ${D} - set_option LINUX_SRC ${KERNEL_DIR} - set_option PRISM2_USB n - set_option PRISM2_PCI n - set_option PRISM2_PLX n - set_option PRISM2_PCMCIA n - - if kernel_is gt 2 4; then - set_option KERN_25 y - fi - - config_by_usevar WLAN_DEBUG debug -} - -src_compile() { - set_arch_to_kernel - emake default_config || die "emake default_config failed" - set_arch_to_portage - - CONFIG_FILE="config.mk" - - set_option FIRMWARE_DIR "/lib/firmware" - set_option PRISM2_PCMCIA n - - #For the scripts that go to /etc - set_option TARGET_PCMCIA_DIR ${D}/etc/pcmcia - - cd ${S}/src/ - for dir in ${COMPILE_DIRS}; do - pushd ${dir} - make || die "make in ${dir} failed" - popd - done -} - -src_install() { - cd ${S}/man - doman *.1 - - # Does not install hotplug rules if /etc/hotplug - # does not exist in ${D} - # Needs to be patch because expects stuff to be in /etc/wlan - # dodir /etc/hotplug - - for dir in ${INSTALL_DIRS}; do - pushd ${S}/src/${dir} - make install || die "make install in ${dir} failed" - popd - done - - cd ${S} - - dodir etc/wlan - mv ${D}/etc/conf.d/shared ${D}/etc/wlan/ - - if use doc; then - insinto /usr/share/doc/${PF}/ - pushd ${S}/doc - for file in $(ls); do - [[ "${file}" != "Makefile" ]] && doins -r ${file} - done - popd - fi - - dodoc CHANGES FAQ README THANKS TODO -} - -pkg_postinst() { - einfo "/etc/init.d/wlan is used to control startup and shutdown of the" - einfo "driver." - einfo "" - einfo "Modify ${CONFIG_DIR}/wlan.conf to set global parameters." - einfo "Modify ${CONFIG_DIR}/wlancfg-* to set individual card parameters." - einfo "There are detailed instructions in these config files." - einfo "" - einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen." - einfo "keygen seems provide more usable keys at the moment." - einfo "You can change the keygen in your wlancfg-* files." - einfo "" - einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net." - einfo "" - einfo "" - einfo "Support for pci, plx and pcmcia drivers has been removed in" - einfo "revision. For pci, plx and pcmcia drivers try for example" - einfo "the hostap-driver or orinoco drivers. They both work with the" - einfo "standard wireless tools." - einfo "" - einfo "If they do not work, please report this to betelgeuse@gentoo.org." -} - diff --git a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3.ebuild b/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3.ebuild deleted file mode 100644 index 3018d7cd86e4..000000000000 --- a/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng/linux-wlan-ng-0.2.3.ebuild,v 1.2 2005/12/29 18:51:15 blubb Exp $ - -#The configure script needs prepared sources. -inherit linux-mod - -DESCRIPTION="Programs/files needed for Prism2/2.5/3 based wireless LAN products" -HOMEPAGE="http://linux-wlan.org" -SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${P}.tar.bz2" - -# includes dual licensed files but also stuff only under MPL-1.1 -LICENSE="|| ( GPL-2 MPL-1.1 ) MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -IUSE="debug doc pcmcia" - -DEPEND="~net-wireless/linux-wlan-ng-modules-${PV} - ~net-wireless/linux-wlan-ng-utils-0.2.2 - ~net-wireless/linux-wlan-ng-firmware-0.2.2" - -RDEPEND=${DEPEND} - -#relative to src/ -COMPILE_DIRS="mkmeta wlanctl wland nwepgen wlancfg prism2/download" -INSTALL_DIRS="${COMPILE_DIRS} ../etc" - -CONFIG_FILE="${S}/default.config" -CONFIG_DIR="/etc/conf.d" - -show_deprecated_message() { - if use pci || use plx || use pcmcia; then - einfo "" - einfo "You really should try other alternatives for prism support." - einfo "For example the hostap-driver or orinoco drivers should work" - einfo "with your wireless card. Support for pci, plx and pcmcia drivers" - einfo "will most likely be removed in the near future. If the alternatives" - einfo "don't work for you, please report this to betelgeuse@gentoo.org." - einfo "" - fi -} - -pkg_setup() { - show_deprecated_message -} - -config_by_usevar() { - local config=${3} - [[ -z ${config} ]] && config=${CONFIG_FILE} - - if use ${2}; then - echo "${1}=y" >> ${config} - else - echo "${1}=n" >> ${config} - fi -} - -set_option() { - local config=${3} - [[ -z ${config} ]] && config=${CONFIG_FILE} - - echo "${1}=${2}" >> ${config} -} - -src_unpack() { - local config=${CONFIG_FILE} - - unpack ${A} - - rm ${S}/doc/rh71notes - - cd ${S}/etc - mv rc.wlan rc.wlan.orig - cp ${FILESDIR}/${PN}-gentoo-init rc.wlan - - #IMHO this should not be done but better to not upset users at this point - sed -i -e "s:/etc/wlan:/etc/conf.d:g" ${S}/etc/wlan/Makefile - sed -i -e "s:/etc/wlan/wlan.conf:/etc/conf.d/wlan.conf:g" \ - -e "s:/etc/wlan/wlancfg:/etc/conf.d/wlancfg:g" \ - ${S}/etc/wlan/shared - - cp ${S}/config.in ${config} - - set_option TARGET_ROOT_ON_HOST ${D} - set_option LINUX_SRC ${KERNEL_DIR} - set_option PRISM2_USB n - set_option PRISM2_PCI n - set_option PRISM2_PLX n - set_option PRISM2_PCMCIA n - - if kernel_is gt 2 4; then - set_option KERN_25 y - fi - - config_by_usevar WLAN_DEBUG debug -} - -src_compile() { - set_arch_to_kernel - emake default_config || die "emake default_config failed" - set_arch_to_portage - - CONFIG_FILE="config.mk" - - set_option FIRMWARE_DIR "/lib/firmware" - config_by_usevar PRISM2_PCMCIA pcmcia - - #For the scripts that go to /etc - set_option TARGET_PCMCIA_DIR ${D}/etc/pcmcia - - cd ${S}/src/ - for dir in ${COMPILE_DIRS}; do - pushd ${dir} - make || die "make in ${dir} failed" - popd - done -} - -src_install() { - cd ${S}/man - doman *.1 - - for dir in ${INSTALL_DIRS}; do - pushd ${S}/src/${dir} - make install || die "make install in ${dir} failed" - popd - done - - cd ${S} - - dodir etc/wlan - mv ${D}/etc/conf.d/shared ${D}/etc/wlan/ - - if use doc; then - insinto /usr/share/doc/${PF}/ - pushd ${S}/doc - for file in $(ls); do - [[ "${file}" != "Makefile" ]] && doins -r ${file} - done - popd - fi - - dodoc CHANGES FAQ README THANKS TODO -} - -pkg_postinst() { - einfo "/etc/init.d/wlan is used to control startup and shutdown of non-PCMCIA devices." - if use pcmcia; then - einfo "/etc/init.d/pcmcia from pcmcia-cs is used to control startup and shutdown of" - einfo "PCMCIA devices." - fi - einfo "" - einfo "Modify ${CONFIG_DIR}/wlan.conf to set global parameters." - einfo "Modify ${CONFIG_DIR}/wlancfg-* to set individual card parameters." - einfo "There are detailed instructions in these config files." - einfo "" - einfo "Three keygen programs are included: nwepgen, keygen, and lwepgen." - einfo "keygen seems provide more usable keys at the moment." - einfo "You can change the keygen in your wlancfg-* files." - einfo "" - einfo "Be sure to add iface_wlan0 parameters to /etc/conf.d/net." - einfo "" - if use pcmcia; then - ewarn "Wireless cards which you want to use drivers other than wlan-ng for" - ewarn "need to have the appropriate line removed from /etc/pcmcia/wlan-ng.conf" - ewarn "Do 'cardctl info' to see the manufacturer ID and remove the corresponding" - ewarn "line from that file." - fi - show_deprecated_message -} - -- cgit v1.2.3-65-gdbad