diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-04-25 11:43:34 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-04-25 11:43:34 +0000 |
commit | dbf0abdb7d389c780531a4b9589feb3634a089f2 (patch) | |
tree | 53d5335f68e4e50f5ffdc46c8b7e1743fc0a0aeb /app-laptop | |
parent | Version bump; added metadata.xml for cvs-utils herd. (diff) | |
download | historical-dbf0abdb7d389c780531a4b9589feb3634a089f2.tar.gz historical-dbf0abdb7d389c780531a4b9589feb3634a089f2.tar.bz2 historical-dbf0abdb7d389c780531a4b9589feb3634a089f2.zip |
Moved from sys-apps/pcmcia-cs to app-laptop/pcmcia-cs.
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/pcmcia-cs/ChangeLog | 454 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/Manifest | 16 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/files/cardinfo-install-3.2.7.patch | 24 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r2 | 2 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r3 | 5 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r3 | 4 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r4 | 4 | ||||
-rwxr-xr-x | app-laptop/pcmcia-cs/files/network | 35 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/files/pcmcia-cs-3.2.7-move-pnp-ids-to-usr-share-misc.patch | 38 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/files/pcmcia.conf | 19 | ||||
-rwxr-xr-x | app-laptop/pcmcia-cs/files/pcmcia.rc | 87 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/files/ppc.config.opts | 58 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/metadata.xml | 9 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r2.ebuild | 164 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r3.ebuild | 185 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r3.ebuild | 177 | ||||
-rw-r--r-- | app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r4.ebuild | 179 |
17 files changed, 1460 insertions, 0 deletions
diff --git a/app-laptop/pcmcia-cs/ChangeLog b/app-laptop/pcmcia-cs/ChangeLog new file mode 100644 index 000000000000..30112d263a72 --- /dev/null +++ b/app-laptop/pcmcia-cs/ChangeLog @@ -0,0 +1,454 @@ +# ChangeLog for sys-apps/pcmcia-cs +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pcmcia-cs/ChangeLog,v 1.1 2005/04/25 11:43:34 brix Exp $ + +*pcmcia-cs-3.2.7-r4 (25 Apr 2005) +*pcmcia-cs-3.2.7-r3 (25 Apr 2005) +*pcmcia-cs-3.2.5-r3 (25 Apr 2005) +*pcmcia-cs-3.2.5-r2 (25 Apr 2005) + + 25 Apr 2005; <brix@gentoo.org> + +files/pcmcia-cs-3.2.7-move-pnp-ids-to-usr-share-misc.patch, + +files/cardinfo-install-3.2.7.patch, +files/network, +files/pcmcia.conf, + +files/pcmcia.rc, +files/ppc.config.opts, +metadata.xml, + +pcmcia-cs-3.2.5-r2.ebuild, +pcmcia-cs-3.2.5-r3.ebuild, + +pcmcia-cs-3.2.7-r3.ebuild, +pcmcia-cs-3.2.7-r4.ebuild: + Moved from sys-apps/pcmcia-cs to app-laptop/pcmcia-cs. + + 15 Apr 2005; <brix@gentoo.org> -pcmcia-cs-3.2.5.ebuild, + -pcmcia-cs-3.2.5-r1.ebuild, -pcmcia-cs-3.2.7.ebuild, + -pcmcia-cs-3.2.7-r2.ebuild: + Pruned old ebuilds. + +*pcmcia-cs-3.2.7-r4 (12 Apr 2005) +*pcmcia-cs-3.2.7-r3 (12 Apr 2005) +*pcmcia-cs-3.2.5-r3 (12 Apr 2005) +*pcmcia-cs-3.2.5-r2 (12 Apr 2005) + + 12 Apr 2005; <brix@gentoo.org> metadata.xml, +pcmcia-cs-3.2.5-r2.ebuild, + +pcmcia-cs-3.2.5-r3.ebuild, +pcmcia-cs-3.2.7-r3.ebuild, + +pcmcia-cs-3.2.7-r4.ebuild: + Install a tarball of the configured pcmcia-cs source to /usr/src/pcmcia-cs + for external module ebuilds, use linux-info.eclass to handle kernel info. + + 12 Apr 2005; <brix@gentoo.org> -files/gentoo-pcmcia-cs-3.1.34.patch, + -files/hermes.conf, -files/network.orig, -pcmcia-cs-3.1.34-r8.ebuild, + -pcmcia-cs-3.2.4.ebuild, -pcmcia-cs-3.2.7-r1.ebuild: + Pruned old versions + + 17 Jan 2005; Robin H. Johnson <robbat2@gentoo.org> + pcmcia-cs-3.2.7-r2.ebuild: + ~mips for my XXS1500 hardware. + + 08 Jan 2005; Daniel Black <dragonheart@gentoo.org> files/ppc.config.opts: + Bad char in config file as per bug #77085. Thanks to Hugo Herbelin + <Hugo.Herbelin@inria.fr> + + 21 Oct 2004; <peter@gentoo.org> files/pcmcia.conf: + Make yenta_socket the socket driver to try first when starting pcmcia services. + +*pcmcia-cs-3.2.7-r2 (09 Oct 2004) + + 09 Oct 2004; Doug Goldstein <cardoe@gentoo.org> + +files/pcmcia-cs-3.2.7-move-pnp-ids-to-usr-share-misc.patch, + +pcmcia-cs-3.2.7-r2.ebuild: + path fixing bug #62786 + + 04 Oct 2004; <iggy@gentoo.org> pcmcia-cs-3.2.7-r1.ebuild: + switched custom ARCH setting code to use set_arch_to_* from eutils + + 27 Sep 2004; Doug Goldstein <cardoe@gentoo.org> pcmcia-cs-3.2.5-r1.ebuild, + pcmcia-cs-3.2.5.ebuild, pcmcia-cs-3.2.7-r1.ebuild, pcmcia-cs-3.2.7.ebuild: + added note about CRC32 library functions that need to be modules or compiled in + +*pcmcia-cs-3.2.7-r1 (10 Sep 2004) + + 10 Sep 2004; Doug Goldstein <cardoe@gentoo.org> + +files/cardinfo-install-3.2.7.patch, +pcmcia-cs-3.2.7-r1.ebuild: + QA issue: install cardinfo & xcardinfo into /usr/bin rather then /usr/X11R6/bin + + 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + pcmcia-cs-3.2.7.ebuild: + Masked pcmcia-cs-3.2.7.ebuild stable for ppc + + 30 Aug 2004; Robin H. Johnson <robbat2@gentoo.org> pcmcia-cs-3.2.7.ebuild: + Add ~mips for the XXS1500 unit. + + 09 Jul 2004; Travis Tilley <lv@gentoo.org> pcmcia-cs-3.1.34-r8.ebuild, + pcmcia-cs-3.2.4.ebuild, pcmcia-cs-3.2.5-r1.ebuild, pcmcia-cs-3.2.5.ebuild, + pcmcia-cs-3.2.7.ebuild: + switch linux-headers dependency to virtual/os-headers + + 30 Jun 2004; Aron Griffis <agriffis@gentoo.org> pcmcia-cs-3.1.34-r8.ebuild: + sync IUSE (+apm, +build, +nocardbus, +pnp, +trusted, +wavelan) + + 27 Jun 2004; Aron Griffis <agriffis@gentoo.org> pcmcia-cs-3.1.34-r8.ebuild, + pcmcia-cs-3.2.4.ebuild: + QA - fix use invocation + + 18 Mar 2004; Peter Johanson <latexer@gentoo.org> files/pcmcia.rc: + Added a slightly smarter check for pcmcia present in the kernel before + attempting to modprobe things. Thanks to Scott Taylor <swtaylor@gentoo.org> + for the suggestion. + + 18 Feb 2004; Brad House <brad_mssw@gentoo.org> pcmcia-cs-3.2.7.ebuild: + amd64 stable + + 10 Feb 2004; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.7.ebuild: + Small fix for integer test + + 08 Feb 2004; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.5-r1.ebuild: + Marking stable on x86. Lots of fixes for module-init-tools, SMP, etc. and + 3.2.5 has been in for ages. + + 08 Feb 2004; Luca Barbato <lu_zero@gentoo.org> pcmcia-cs-3.2.7.ebuild: + Marked ~ppc + +*pcmcia-cs-3.2.7 (07 Feb 2004) + + 07 Feb 2004; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.7.ebuild: + New version! has much better detection for 2.6 and newer 2.4 kernels. Using + dgibson's monitor mode patch. Includes PPC fix. + + 07 Feb 2004; Luca Barbato <lu_zero@gentoo.org> pcmcia-cs-3.2.5-r1.ebuild: + Marked ~ppc + + 07 Feb 2004; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.5-r1.ebuild: + Added patch to fix compiling when we have CONFIG_SMP. Mainly so liveCDs can + have SMP and get pcmcia working. + + 07 Feb 2004; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.5-r1.ebuild: + Added a fix for compilation on ppc with recent kernels (bug #40293). Thanks to + rommel for all the testing. + + 06 Feb 2004; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.4.ebuild: + Added a check for 2.6 kernels so we die and give the user useful info for + getting things working + + 04 Feb 2004; Peter Johanson <latexer@gentoo.org> files/pcmcia.conf, + files/pcmcia.rc: + Added ability to have two different PCIC modules attempted to the init system. + This should be useful for liveCDs as well as for people switching between 2.6 + and 2.4 kernels potentially. + + 03 Feb 2004; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.5-r1.ebuild, + pcmcia-cs-3.2.5.ebuild: + Fix to build orinoco drivers. Bug #35912 (thanks jeremy) + + 02 Feb 2004; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.5-r1.ebuild, + pcmcia-cs-3.2.5.ebuild: + Added depmods in pkg_postinst() + + 02 Feb 2004; Eric Sammer <esammer@gentoo.org> pcmcia-cs-3.2.5-r1.ebuild: + Fixed bad URI for one of the patch files. + +*pcmcia-cs-3.2.5-r1 (01 Feb 2004) + + 01 Feb 2004; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.5-r1.ebuild, + pcmcia-cs-3.2.5.ebuild: + Added a fix for module-init-tools systems + + 19 Jan 2004; Ciaran McCreesh <ciaranm@gentoo.org> + pcmcia-cs-3.1.34-r8.ebuild, pcmcia-cs-3.2.4.ebuild, pcmcia-cs-3.2.5.ebuild: + Marking as -sparc. The only vaguely non-broken sparc PCMCIA implementation + comes with its own set of pcmcia-cs patches that are marked "for developers + only". + + 06 Jan 2004; Aron Griffis <agriffis@gentoo.org> pcmcia-cs-3.2.5.ebuild: + Stable on alpha for bug 34771 + + 19 Dec 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.5.ebuild: + Fixes for ARCH and cleanup (bug #34773 and 34771) + + 15 Dec 2003; Michael Sterrett <mr_bones_@gentoo.org> metadata.xml: + <herd>base-system</herd> -> <herd>mobile</herd> + + 02 Dec 2003; Aron Griffis <agriffis@gentoo.org> pcmcia-cs-3.2.5.ebuild: + Mark stable on alpha + +*pcmcia-cs-3.2.5 (09 Oct 2003) + + 09 Oct 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.5.ebuild, + files/pcmcia.conf: + Fixed files/pcmcia.conf to only have one entry in TCIC for bug #22462. + pcmcia-cs-3.2.5 ebuild now fixes modversions.h path if using 2.6.x. Fix for + using module-init-tools coming soon. + + 08 Jun 2003; Peter Johanson <latexer@gentoo.org> files/pcmcia.rc: + Little fix to pcmcia init script. bug #22396 + +*pcmcia-cs-3.2.4 (15 Apr 2003) + + 15 Apr 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.4.ebuild: + Marked stable for x86 + + 8 Mar 2003; Peter Johanson <latexer@gentoo.org> files/pcmcia.conf : + Added two socket drivers to PCIC by default. + + 7 Mar 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.1-r4.ebuild : + Added --force configure option when USE="build" + + 5 Mar 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.3-r2.ebuild, pcmcia-cs-3.2.3-r2.ebuild : + Added IUSE. + + 4 Mar 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.3-r2.ebuild : + Fixed permissions so that src_unpack works with FEATURES="userpriv" enabled. + + 4 Mar 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.1-r4.ebuild : + Changed "wavelan?" to "!wavelan?" to fix bug #16838. + + 2 Mar 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.1-r4.ebuild : + Fixed permissions so that src_unpack works with FEATURES="userpriv" enabled. + Also added wavelan? to SRC_URI to prevent extraneous downloads of orinoco stuff. + + 2 Mar 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.1-r4.ebuild : + Fixed orinoco patch line. + + 1 Mar 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.1-r4.ebuild : + Marked as stable for x86 + +*pcmcia-cs-3.2.3-r4 (25 Feb 2003) + + 25 Feb 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.1-r4 : + Version bump to use latest ornico driver (0.13b) + + 27 Jan 2003; Chad Huneycutt <chadh@gentoo.org> : old ebuilds + Removed old ebuilds. If you really need something, let me know, and I will + rescue it. + + 23 Jan 2003; Chad Huneycutt <chadh@gentoo.org> : files/pcmcia.rc + fixed bugs in init script as reported in bug #13017 + + 15 Dec 2002; Chad Huneycutt <chadh@gentoo.org> : pcmcia-cs-3.1.33-r5.ebuild, pcmcia-cs-3.1.34-r6.ebuild, pcmcia-cs-3.1.34-r7.ebuild, pcmcia-cs-3.1.34-r8.ebuild, pcmcia-cs-3.2.0.ebuild, pcmcia-cs-3.2.1-r1.ebuild, pcmcia-cs-3.2.1-r2.ebuild, pcmcia-cs-3.2.1.ebuild, pcmcia-cs-3.2.2.ebuild, pcmcia-cs-3.2.3.ebuild : + Changed the ebuilds to use new init script name (see below). + + 15 Dec 2002; Chad Huneycutt <chadh@gentoo.org> : files/pcmcia.rc6, files/pcmcia.conf : + Updated init script to load pcmcia modules (according to pcmcia.conf, aka + /etc/conf.d/pcmcia) and changed filename to pcmcia.rc. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*pcmcia-cs-3.2.3-r2 (22 Feb 2003) + + 22 Feb 2003; Peter Johanson <latexer@gentoo.org> pcmcia-cs-3.2.3-r2.ebuild files/digest-pcmcia-cs-3.2.3-r2 : + Version bump to include the latest orinoco driver with monitor mode patch (0.13b) + +*pcmcia-cs-3.2.3-r1 (27 Jan 2003) + + 27 Jan 2003; Chad Huneycutt <chadh@gentoo.org> : pcmcia-cs-3.2.3-r1.ebuild + One ebuild to rule them all ;-). Added the local USE var "monitor" to choose + whether to install the 0.11b orinoco driver with shmoo patch or the newer + 0.13a orinoco drivers and no monitor patch. + +*pcmcia-cs-3.2.3 (17 Nov 2002) + + 17 Nov 2002; Hanno Boeck <hanno@gentoo.org> pcmcia-cs-3.2.3.ebuild : + New version. Cleaned up ebuild a lot. + Changes: + - Updated orinoco-driver to 0.13a + - Removed use of wavelan-keyword, orinoco-driver should be updated always. + - Remove replacement of ide_cs with ide-cs, this is fixed upstream. + - Some cleanups to make ebuild more readable and some lintool-fixes. + +*pcmcia-cs-3.2.2 (28 Oct 2002) + + 11 Nov 2002; Chad Huneycutt <chadh@gentoo.org> pcmcia-cs-3.2.2.ebuild: + Revision bump. + +*pcmcia-cs-3.2.1-r3 (27 Jan 2003) + + 27 Jan 2003; Chad Huneycutt <chadh@gentoo.org> : pcmcia-cs-3.2.1-r3.ebuild + Fixes to apply the orinoco shmoo patch properly. wavelan is no longer needed + in your USE. Also downgraded orinoco version to latest that there is shmoo + patch for (0.11b). For later orinoco drivers, try the pcmcia-cs-3.2.3 ebuilds + +*pcmcia-cs-3.2.1-r2 (28 Oct 2002) + + 28 Oct 2002; Chad Huneycutt <chadh@gentoo.org> pcmcia-cs-3.2.1-r2.ebuild : + This is a patch to make airsnort/kismet work with our package. Added in + response to bug 7242 by jrray@gentoo.org + +*pcmcia-cs-3.2.1-r1 (28 Oct 2002) + + 28 Oct 2002; Chad Huneycutt <chadh@gentoo.org> pcmcia-cs-3.2.1-r1.ebuild : + Version bump and a fix for an xforms bug + +*pcmcia-cs-3.2.0 (25 July 2002) + + 25 Jul 2002; Doug Goldstein <cardoe@gentoo.org> pcmcia-cs-3.2.0.ebuild : + Version bump + +*pcmcia-cs-3.1.34-r4 (14 July 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pcmcia-cs-3.1.34-r4.ebuild : + Added KEYWORDS. + +*pcmcia-cs-3.1.34-r3 (14 July 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pcmcia-cs-3.1.34-r3.ebuild : + Added KEYWORDS. + +*pcmcia-cs-3.1.34-r8 (13 July 2002) + + 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: + updated keywords (ppc) + + 13 July 2002; Doug Goldstein <cardoe@gentoo.org> pcmcia-cs-3.1.34-r8.ebuild + + Corrected an issue where we were attempting "sed"ing the Configure file from the wrong directory so it + never happened. + Includes chadh's cardmgr with -f patch (this was included in -r7 but someone didn't edit the ChangeLog) + Added the use of the wavelan USE var to disable the use of the Orinoco drivers if +wavelan is set. + Corrected a problem where pkg_postinst() was called src_postinst() so our post install info was never + being displayed + +*pcmcia-cs-3.1.35_beta2 (12 July 2002) + + 12 July 2002; Doug Goldstein <cardoe@gentoo.org> pcmcia-cs-3.1.35_beta2.ebuild + + Since .34 and lower have some very very annoying and dibilitating (sp) bugs in them I'm creating this.. + It carries over my fixes from .34-r6 still as they haven't been made upstream yet + There is no beta1 ebuild, only beta2 as the file this ebuild uses is the 2nd beta file released + +*pcmcia-cs-3.1.34 (12 July 2002) + + 12 July 2002; Doug Goldstein <cardoe@gentoo.org> pcmcia-cs-3.1.34-r6.ebuild + + Addressed bug #3400 about /etc/pcmcia/config needing all "ide_cs" renamed to "ide-cs" + It was also a bug on PCMCIA-CS's official site. + Updated orinoco to 0.12b and corrected another ebuild typo. + +*pcmcia-cs-3.1.34 (05 July 2002) + + 05 July 2002; Doug Goldstein <cardoe@gentoo.org> pcmcia-cs-3.1.34-r5.ebuild + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pcmcia-cs-3.1.34-r5.ebuild : + Added KEYWORDS. + + Updated to orinoco 0.12a and got rid of the errors about gentoo-3.1.34.patch missing and correted with lintool + +*pcmcia-cs-3.1.34 (01 July 2002) + + 02 July 2002; Chad Huneycutt <chadh@gentoo.org> pcmcia-cs-3.1.34-r2.ebuild + + Well, it appears that there is bug in cardmgr. This is an attempted fix. + + 01 July 2002; Chad Huneycutt <chadh@gentoo.org> pcmcia-cs-3.1.34-r1.ebuild + + Updated orinoco drivers to version 0.12 + + 01 July 2002; Chad Huneycutt <chadh@gentoo.org> pcmcia-cs-3.1.34.ebuild + + New version. + +*pcmcia-cs-3.1.33-r5 (09 June 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pcmcia-cs-3.1.33-r5.ebuild : + Added KEYWORDS. + + 08 June 2002; Mark Guertin <gerk@gentoo.org> + + Added ppc fixes to this ebuild. Left new orinoco driver section in (but commented as it is still testing) + + +*pcmcia-cs-3.1.33-r4 (01 May 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pcmcia-cs-3.1.33-r4.ebuild : + Added KEYWORDS, SLOT. + + 01 May 2002; Karl Trygve Kalleberg <karltk@gentoo.org> pcmcia-cs-3.1.33-r4.ebuild files/digest-pcmcia-cs-3.1.33-r4 : + + Added new version of the orinoco_cs driver. The SMC2632W card now works + again. + + Cleaned up this horrid ChangeLog somewhat. + + Old revision kept, new revision masked, as the new orinoco driver + hasn't recived adequate testing. + +*pcmcia-cs-3.1.33-r3,pcmcia-cs-3.1.31-r7 (28 Mar 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pcmcia-cs-3.1.33-r3.ebuild : + Added KEYWORDS, SLOT. + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> pcmcia-cs-3.1.31-r7.ebuild : + Added KEYWORDS, SLOT. + + 30 Mar 2002; Daniel Robbins <drobbins@gentoo.org> : + + removed X support, a much-requested change. No rev bump. + + 28 Mar 2002; Chad Huneycutt <chadh@gentoo.org> : + + changed doins to doexe for installing the network script executably + + 28 Mar 2002; Chad Huneycutt <chadh@gentoo.org> : + + typo in the stop code. + +*pcmcia-cs-3.1.33-r2, pcmcia-cs-3.1.31-r6 (19 Mar 2002) + + 19 Mar 2002; Chad Huneycutt <chadh@gentoo.org> : + + hacked up the /etc/pcmcia/network script that cardmgr uses to start network + iterfaces to call Gentoo's network init scripts + +*pcmcia-cs-3.1.33-r1 (18 Mar 2002) + + 18 Mar 2002; Chad Huneycutt <chadh@gentoo.org> : + + newest version of pcmcia-cs + +*pcmcia-cs-3.1.31-r5 (14 Mar 2002) + + 14 Mar 2002; Karl Trygve Kalleberg <karltk@gentoo.org>: pcmcia-cs-3.1.31-r5.ebuild : + + The test for the nocardbus USE flag was reversed. Fixed. + +*pcmcia-cs-3.1.31-r4 (14 Mar 2002) + + 14 Mar 2002; Chad Huneycutt <chadh@gentoo.org> : + + many fixes: + 1. added USE variables for trusted apps, apm, cardbus, and pnp + 2. updated init script to die slightly more gracefully when cardmgr + cannot start + 3. changed configuration settings for init script (previously + /etc/pcmcia.conf) to install instead to /etc/conf.d as the Gentoo-specific + config + 4. Undid drobbins "-f" fix below, as it is not a very good default behavior, + if , say, cardmgr starts dhcpcd, which can take a while to obtain + information. There is a CARDMGR_OPTS variable in /etc/conf.d/pcmcia where + users can specify this if they want. + 5. I also put hermes.conf in ${FILESDIR}, but I am not installing it, as it + causes cardmgr to choose the orinoco_cs driver over wvlan_cs, which may not + be what the user wants. It is documented pretty well that it must be + downloaded, so I think it is safe to leave it out. + +*pcmcia-cs-3.1.31-r3 (05 Mar 2002) + + 05 Mar 2002; Daniel Robbins <drobbins@gentoo.org> : + + properly install the pcmcia rc script into /etc/init.d; add -f option + to cardmgr so that it stays in the foreground until it's done doing its + thing. This ensures that any network interfaces are set up after it + detaches. This closes bug #972. + +*pcmcia-cs-3.1.31-r2 (10 Feb 2002) + + 10 Feb 2002; Daniel Robbins <drobbins@gentoo.org> : + + Configure --srctree option added to tell pcmcia-cs to configure for + kernel described in /usr/src/linux rather than the currently-running + kernel (which is otherwise the default). We're now doing this the "right" + way. + +*pcmcia-cs-3.1.31-r1 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/app-laptop/pcmcia-cs/Manifest b/app-laptop/pcmcia-cs/Manifest new file mode 100644 index 000000000000..18b6ed3d7f8c --- /dev/null +++ b/app-laptop/pcmcia-cs/Manifest @@ -0,0 +1,16 @@ +MD5 cf93b43a7c6f6d4987fbbe331073f39b pcmcia-cs-3.2.5-r2.ebuild 4452 +MD5 bd45772ec06d2e6c5df4922ee1b65d28 pcmcia-cs-3.2.7-r3.ebuild 4900 +MD5 9c24e6836b1acf3a9ed1830e6f5d505a pcmcia-cs-3.2.5-r3.ebuild 5269 +MD5 875edcf974fe8aefe2503ad16fe87f2e ChangeLog 17362 +MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 +MD5 338830e2d0514d080a684e34404424a7 pcmcia-cs-3.2.7-r4.ebuild 4946 +MD5 f8f190b2ddbf95e58f3abf55fc303d27 files/digest-pcmcia-cs-3.2.5-r2 150 +MD5 157ac5bc22e938e1c2268c1f2610420c files/digest-pcmcia-cs-3.2.5-r3 379 +MD5 310551d0852ba9c1fe5c0f8c231c3589 files/digest-pcmcia-cs-3.2.7-r3 287 +MD5 310551d0852ba9c1fe5c0f8c231c3589 files/digest-pcmcia-cs-3.2.7-r4 287 +MD5 693d508b7dd24e64735b5ba4a16e699b files/pcmcia.rc 2038 +MD5 da3f5dc50768f0a5d9868dd5bd227329 files/network 768 +MD5 fb59203b176eea34b5969d465efb85a9 files/ppc.config.opts 1687 +MD5 e4879f03bbdbfbdc094c1f1b6486846b files/pcmcia.conf 549 +MD5 ec6d7ed3b83d1af45933e3e8af41796a files/pcmcia-cs-3.2.7-move-pnp-ids-to-usr-share-misc.patch 1436 +MD5 0f50b04b5efd5cad60974dc51c6ce470 files/cardinfo-install-3.2.7.patch 857 diff --git a/app-laptop/pcmcia-cs/files/cardinfo-install-3.2.7.patch b/app-laptop/pcmcia-cs/files/cardinfo-install-3.2.7.patch new file mode 100644 index 000000000000..ba9c5bb0a1e9 --- /dev/null +++ b/app-laptop/pcmcia-cs/files/cardinfo-install-3.2.7.patch @@ -0,0 +1,24 @@ +diff -urN pcmcia-cs-3.2.7.orig/cardmgr/Makefile pcmcia-cs-3.2.7/cardmgr/Makefile +--- pcmcia-cs-3.2.7.orig/cardmgr/Makefile 2004-08-30 14:16:45.860891080 -0500 ++++ pcmcia-cs-3.2.7/cardmgr/Makefile 2004-08-30 14:17:58.787804504 -0500 +@@ -90,14 +90,14 @@ + $(CC) $< -o $@ $(GTK_LIBS) + + install-cardinfo: cardinfo +- @mkdir -p $(PREFIX)/usr/X11R6/bin +- cp -f cardinfo $(PREFIX)/usr/X11R6/bin +- chmod u+s $(PREFIX)/usr/X11R6/bin/cardinfo ++ @mkdir -p $(PREFIX)/usr/bin ++ cp -f cardinfo $(PREFIX)/usr/bin ++ chmod u+s $(PREFIX)/usr/bin/cardinfo + + install-xcardinfo: xcardinfo +- @mkdir -p $(PREFIX)/usr/X11R6/bin +- cp -f xcardinfo $(PREFIX)/usr/X11R6/bin +- chmod u+s $(PREFIX)/usr/X11R6/bin/xcardinfo ++ @mkdir -p $(PREFIX)/usr/bin ++ cp -f xcardinfo $(PREFIX)/usr/bin ++ chmod u+s $(PREFIX)/usr/bin/xcardinfo + + install-gpccard: gpccard + @mkdir -p $(PREFIX)/usr/bin diff --git a/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r2 b/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r2 new file mode 100644 index 000000000000..2ee56e5aa0f6 --- /dev/null +++ b/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r2 @@ -0,0 +1,2 @@ +MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494 +MD5 cdf1e5021163432f73bc3ef6cc70daf3 pcmcia-cs-3.2.5-orinoco-monitor.diff.gz 7241 diff --git a/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r3 b/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r3 new file mode 100644 index 000000000000..4ab6efff7c28 --- /dev/null +++ b/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r3 @@ -0,0 +1,5 @@ +MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494 +MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460 +MD5 ee4f8227cc28f9a29a609f6e9561ef54 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320 +MD5 cdf1e5021163432f73bc3ef6cc70daf3 pcmcia-cs-3.2.5-orinoco-monitor.diff.gz 7241 +MD5 92e42d6e70fce9f0c4d5e2c5b7d47279 pcmcia-cs-3.2.5-ppc-fix.diff.gz 323 diff --git a/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r3 b/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r3 new file mode 100644 index 000000000000..c3aa9a6290bf --- /dev/null +++ b/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r3 @@ -0,0 +1,4 @@ +MD5 e8498bdbe8ec2dde41fbddcf65cd900a pcmcia-cs-3.2.7.tar.gz 1273963 +MD5 5d3bd937044d982271522b055a04ddc6 pcmcia-cs-3.2.7-module-init-tools.diff.gz 463 +MD5 92e42d6e70fce9f0c4d5e2c5b7d47279 pcmcia-cs-3.2.5-ppc-fix.diff.gz 323 +MD5 2ddaa8ff53be492b4cd3ef4483f7cf1b monitor-0.13e.patch 22530 diff --git a/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r4 b/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r4 new file mode 100644 index 000000000000..c3aa9a6290bf --- /dev/null +++ b/app-laptop/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r4 @@ -0,0 +1,4 @@ +MD5 e8498bdbe8ec2dde41fbddcf65cd900a pcmcia-cs-3.2.7.tar.gz 1273963 +MD5 5d3bd937044d982271522b055a04ddc6 pcmcia-cs-3.2.7-module-init-tools.diff.gz 463 +MD5 92e42d6e70fce9f0c4d5e2c5b7d47279 pcmcia-cs-3.2.5-ppc-fix.diff.gz 323 +MD5 2ddaa8ff53be492b4cd3ef4483f7cf1b monitor-0.13e.patch 22530 diff --git a/app-laptop/pcmcia-cs/files/network b/app-laptop/pcmcia-cs/files/network new file mode 100755 index 000000000000..4cb4ceef1f28 --- /dev/null +++ b/app-laptop/pcmcia-cs/files/network @@ -0,0 +1,35 @@ +#!/bin/sh + +if [ -r ./shared ] ; then . ./shared ; else . /etc/pcmcia/shared ; fi + +# Get device attributes +get_info $DEVICE +HWADDR=`/sbin/ifconfig $DEVICE | sed -ne 's/.*\(..:..:..:..:..:..\).*/\1/p'` + +# Load site-specific settings +ADDRESS="$SCHEME,$SOCKET,$INSTANCE,$HWADDR" + +RESOLV=/etc/resolv.conf + +# Now, run the specific script for Wireless LAN interfaces +# Note : we need the wireless parameters to be set up before IP parameters, +# so that we can perform DHCP over the Wireless link if needed. Jean II +O_INFO=$INFO ; INFO= +if [ -x ./wireless ] ; then + . ./wireless +else + . /etc/pcmcia/wireless +fi +INFO=$O_INFO + + +case "${ACTION}" in + "start" | "resume" ) + /etc/init.d/net.$DEVICE start + ;; + "stop") + /etc/init.d/net.$DEVICE stop + ;; + "check") + ;; +esac diff --git a/app-laptop/pcmcia-cs/files/pcmcia-cs-3.2.7-move-pnp-ids-to-usr-share-misc.patch b/app-laptop/pcmcia-cs/files/pcmcia-cs-3.2.7-move-pnp-ids-to-usr-share-misc.patch new file mode 100644 index 000000000000..67309723db42 --- /dev/null +++ b/app-laptop/pcmcia-cs/files/pcmcia-cs-3.2.7-move-pnp-ids-to-usr-share-misc.patch @@ -0,0 +1,38 @@ +diff -urN pcmcia-cs-3.2.7.orig/debug-tools/Makefile pcmcia-cs-3.2.7/debug-tools/Makefile +--- pcmcia-cs-3.2.7.orig/debug-tools/Makefile 2004-08-30 14:16:45.902884696 -0500 ++++ pcmcia-cs-3.2.7/debug-tools/Makefile 2004-08-30 14:21:01.933962056 -0500 +@@ -66,7 +66,7 @@ + ifdef CONFIG_PNP_BIOS + cp -f lspnp setpnp $(PREFIX)/sbin + @mkdir -p $(PREFIX)/usr/share +- cp -f pnp.ids $(PREFIX)/usr/share ++ cp -f pnp.ids $(PREFIX)/usr/share/misc + endif + + include ../rules.mk +diff -urN pcmcia-cs-3.2.7.orig/debug-tools/lspnp.c pcmcia-cs-3.2.7/debug-tools/lspnp.c +--- pcmcia-cs-3.2.7.orig/debug-tools/lspnp.c 2004-08-30 14:16:45.912883176 -0500 ++++ pcmcia-cs-3.2.7/debug-tools/lspnp.c 2004-08-30 14:21:15.193946232 -0500 +@@ -154,7 +154,7 @@ + char s[133], *t; + int n; + struct eisa_id *id; +- FILE *f = fopen("/usr/share/pnp.ids", "r"); ++ FILE *f = fopen("/usr/share/misc/pnp.ids", "r"); + + if (f == NULL) + return; +diff -urN pcmcia-cs-3.2.7.orig/man/lspnp.8 pcmcia-cs-3.2.7/man/lspnp.8 +--- pcmcia-cs-3.2.7.orig/man/lspnp.8 2004-08-30 14:16:45.918882264 -0500 ++++ pcmcia-cs-3.2.7/man/lspnp.8 2004-08-30 14:21:26.814179688 -0500 +@@ -36,8 +36,8 @@ + .B \-v + Selects more verbose output. Can be used more than once. + .SH FILES +-.TP \w'/usr/share/pnp.ids\ \ \ \ |\|'u +-/usr/share/pnp.ids ++.TP \w'/usr/share/misc/pnp.ids\ \ \ \ |\|'u ++/usr/share/misc/pnp.ids + A database of known Plug and Play device ID's. + .TP + /proc/bus/pnp/... diff --git a/app-laptop/pcmcia-cs/files/pcmcia.conf b/app-laptop/pcmcia-cs/files/pcmcia.conf new file mode 100644 index 000000000000..87a40b809097 --- /dev/null +++ b/app-laptop/pcmcia-cs/files/pcmcia.conf @@ -0,0 +1,19 @@ +# Put cardmgr options here +CARDMGR_OPTS="-f" +# To set the PCMCIA scheme at startup... +SCHEME="home" + +# If using kernel PCMCIA drivers, PCIC should be "yenta_socket". If +# using the pcmcia-cs drivers, this shhould be either "i82365" or "tcic", +# depending on your pcmcia hardware. +# If using kernel drivers not as modules, set PCIC to "" +PCIC="yenta_socket" +# Put socket driver timing parameters here +PCIC_OPTS="" + +# Alternative PCIC driver to use if PCIC driver fails +PCIC_ALT="i82365" +PCIC_ALT_OPTS="" + +# Put pcmcia_core options here +CORE_OPTS="" diff --git a/app-laptop/pcmcia-cs/files/pcmcia.rc b/app-laptop/pcmcia-cs/files/pcmcia.rc new file mode 100755 index 000000000000..e99ed2fce18f --- /dev/null +++ b/app-laptop/pcmcia-cs/files/pcmcia.rc @@ -0,0 +1,87 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pcmcia-cs/files/pcmcia.rc,v 1.1 2005/04/25 11:43:34 brix Exp $ + +RUN=/var/run +SC=${RUN}/pcmcia-scheme + +cleanup() +{ + while read SN CLASS MOD INST DEV EXTRA ; do + if [ "x${SN}" != "xSocket" ] ; then + /etc/pcmcia/${CLASS} stop ${DEV} 2> /dev/null + fi + done +} + +pcmcia_probe() +{ + MODULE=$1 + OPTS=$2 + + /sbin/modprobe $MODULE $OPTS 2>/dev/null + + return $? +} + +start() { + local code + # Scheme is set for the /etc/pcmcia/shared script + if [ -n "${SCHEME}" ] ; then umask 022 ; echo $SCHEME > ${SC} + else umask 022 ; touch ${SC} + fi + + # clean up any old interfaces + if [ -r ${RUN}/stab ] ; then + cat ${RUN}/stab | cleanup + fi + # if /var/lib/pcmcia exists (and sometimes it gets created accidentally + # if you run pcmcia-cs apps w/out the proper flags), then it will really + # confuse the process + if [ -d /var/lib/pcmcia ] ; then + rm -rf /var/lib/pcmcia + fi + + if [ -e /proc/bus/pccard ]; then + einfo "PCMCIA support detected." + else + pcmcia_probe pcmcia_core $CORE_OPTS + if [ -n "${PCIC}" ]; then + pcmcia_probe $PCIC $PCIC_OPTS || { + ewarn "'modprobe ${PCIC}' failed" + ewarn "Trying alternative PCIC driver: ${PCIC_ALT}" + pcmcia_probe $PCIC_ALT $PCIC_ALT_OPTS + } + fi + pcmcia_probe ds + fi + + ebegin "Starting pcmcia" + start-stop-daemon --start --quiet --exec /sbin/cardmgr -- -s ${RUN}/stab ${CARDMGR_OPTS} + code=$? + if [ $code -gt 0 ] ; then + einfo "cardmgr failed to start. Make sure that you have PCMCIA" + einfo "modules built or support compiled into the kernel" + fi + eend $code +} + +stop() { + local code + + if [ -w ${SC} ] ; then rm -f ${SC} ; fi + + ebegin "Stopping pcmcia" + start-stop-daemon --stop --quiet --pidfile /var/run/cardmgr.pid --retry 5 + code=$? + + if [ -n `fgrep "ds " /proc/modules | head -n1 | cut -c1` ]; then + /sbin/rmmod ds 2> /dev/null + /sbin/rmmod $PCIC 2> /dev/null + /sbin/rmmod pcmcia_core 2> /dev/null + fi + + eend $code +} + diff --git a/app-laptop/pcmcia-cs/files/ppc.config.opts b/app-laptop/pcmcia-cs/files/ppc.config.opts new file mode 100644 index 000000000000..9c835b7704bc --- /dev/null +++ b/app-laptop/pcmcia-cs/files/ppc.config.opts @@ -0,0 +1,58 @@ +# +# Local PCMCIA Configuration File +# +#---------------------------------------------------------------------- +# +# +include port 0x1000-0x1fff +include memory 0x90000000-0x9003ffff +# +# As noted in the howto (bug #27753) +# +# include port 0x100-0x4ff, port 0x1000-0x17ff +# include memory 0x80000000-0x80ffffff + + +#Powerbook G4 867 +#http://www.staikos.net/~staikos/tibook/ +#include memory 0xa0003000-0xa0ffffff +#include port 0x9100-0x9fff + +#Powerbook G3 +#http://homepage.mac.com/pauljlucas/personal/powerbook/wireless.html +#include memory 0x80000000-0x80ffffff +#include port 0x100-0x1ff + +#G4 Powerbook? +#http://lists.samba.org/archive/linux/2002-April/003044.html +#include port 0x100-0x4ff, port 0x1000-0x17ff +#include memory 0xa7000000-0xa7ffffff + +#G3 Powerbook Pismo +#http://pcmcia-cs.sourceforge.net/cgi-bin/HyperNews/get/pcmcia/ports/10/1.html?nogifs +#include port 0x1000-0x1fff +#include memory 0x90000000-0x90ffffff + +#Powerbook defaults in pcmcia-cs +#http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-2.html +#include port 0x100-0x4ff, port 0x1000-0x17ff +#include memory 0x80000000-0x80ffffff + +#Powerbook G3 Wallstreet, Lombard and Pismo +#http://www.mpifr-bonn.mpg.de/div/iri/Archiv/LinuxPPC/PCMCIA.html +#include port 0x1000-0x1fff +#include memory 0x90000000-0x9003ffff + +#Powerbook G4 TiBook +#http://www.yellowdoglinux.com/support/solutions/ydl_general/pcmcia-nic.shtml +#include memory 0x80000000-0x80ffffff +#include port 0x100-0x4ff, port 0x1000-0x17ff + +#Powerbook G4 AlBook +#http://lists.debian.org/debian-powerpc/2004/01/msg00248.html +#include port 0x1000-0x10ff +#include port 0x1400-0x14ff +#include memory 0x80000000-0x80ffffff + + +# all other modules should be kernel modules on ppc diff --git a/app-laptop/pcmcia-cs/metadata.xml b/app-laptop/pcmcia-cs/metadata.xml new file mode 100644 index 000000000000..cfbdff13bd61 --- /dev/null +++ b/app-laptop/pcmcia-cs/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mobile</herd> +<maintainer> + <email>brix@gentoo.org</email> + <name>Henrik Brix Andersen</name> +</maintainer> +</pkgmetadata> diff --git a/app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r2.ebuild b/app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r2.ebuild new file mode 100644 index 000000000000..7900ac88a4f8 --- /dev/null +++ b/app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r2.ebuild @@ -0,0 +1,164 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r2.ebuild,v 1.1 2005/04/25 11:43:34 brix Exp $ + +inherit eutils linux-info + +OV="orinoco-0.13e" + +DESCRIPTION="PCMCIA tools for Linux" +SRC_URI="mirror://sourceforge/pcmcia-cs/${P}.tar.gz + http://dev.gentoo.org/~latexer/files/${P}-orinoco-monitor.diff.gz" + +HOMEPAGE="http://pcmcia-cs.sourceforge.net" +IUSE="trusted build apm pnp nocardbus" +DEPEND="virtual/os-headers >=sys-apps/sed-4" +RDEPEND="" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 alpha -sparc" + +src_unpack() { + unpack ${A} + + # 3.2.5 includes the latest orinoco (0.13e), so just patch to add + # monitor mode + cd ${S} + epatch ${WORKDIR}/${P}-orinoco-monitor.diff + + # If we're on 2.5.x or 2.6.x, modversions.h has *moved* + if [ ${KV_MINOR} -ge 5 ]; then + sed -i -e "s:include/linux/modvers:include/config/modvers:" Configure \ + || die "sed Configure failed (1)" + fi + + # Install man-pages into /usr/share/man + sed -i -e 's:usr/man:usr/share/man:g' Configure \ + || die "sed Configure failed (2)" +} + +src_compile() { + local myconf myarch + + if use trusted; then + myconf="${myconf} --trust" + else + myconf="${myconf} --notrust" + fi + + # Note that when built with apm support, pcmcia-cs will require a + # kernel with APM support + if use apm; then + myconf="${myconf} --apm" + else + myconf="${myconf} --noapm" + fi + + # Note that when built with pnp support, pcmcia-cs will require a + # kernel with ISA PnP support + if use pnp; then + myconf="${myconf} --pnp" + else + myconf="${myconf} --nopnp" + fi + + if use nocardbus; then + myconf="${myconf} --nocardbus" + else + myconf="${myconf} --cardbus" + fi + + # x86 is not a valid arch for configure... use a case statement + # here to make it easy for other arches to add their own + # workarounds. + case "${ARCH}" in + x86) myarch="i386" ;; + *) myarch="${ARCH}" ;; + esac + + # Use $CFLAGS for user tools, but standard kernel optimizations + # for the kernel modules (for compatibility). + # + # The --srctree option tells pcmcia-cs to configure for the kernel + # in /usr/src/linux rather than the currently-running kernel. + # It's Gentoo Linux policy to configure for + # the kernel in /usr/src/linux + ./Configure -n \ + --target=${D} \ + --srctree \ + --kernel=${KV_DIR} \ + --arch="${myarch}" \ + --uflags="$CFLAGS" \ + --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ + $myconf || die "failed configuring" + + sed -i -e '/^HAS_FORMS/d ; s/^FLIBS=".*"/FLIBS=""/' config.out config.mk + + ebegin "Building pcmcia-cs development environment" + echo ${PV} > ${S}/pcmcia-cs-version + cd ${S} + tar -cjf ${T}/pcmcia-cs-build-env.tbz2 . + eend ${?} + + emake DO_ORINOCO=1 all || die "failed compiling" +} + +src_install () { + make PREFIX=${D} install || die "failed installing" + + # remove included rc scripts since we have our own + rm -rf ${D}/etc/rc*.d + + # remove X + # this is simply much easier than patching configure or the makefiles + # not to build them in the first place + rm -rf ${D}/usr/X11R6 + # todo: if they are installed, move them to /usr + + insinto /etc/conf.d + newins ${FILESDIR}/pcmcia.conf pcmcia + + exeinto /etc/pcmcia + doexe ${FILESDIR}/network + + # install our own init script + exeinto /etc/init.d + newexe ${FILESDIR}/pcmcia.rc pcmcia + + # documentation + if use build; then + rm -rf ${D}/usr/share/man + else + dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ + README-2.4 SUPPORTED.CARDS doc/* + fi + rm -f ${D}/etc/modules.conf + rm -rf ${D}/var/lib/pcmcia + + # if on ppc set the ppc revised config.opts + if [ "${ARCH}" = "ppc" ]; then + insinto /etc/pcmcia + newins ${FILESDIR}/ppc.config.opts config.opts + fi + + # install the pcmcia-cs development environment tarball + insinto ${ROOT}/usr/src/pcmcia-cs/ + doins ${T}/pcmcia-cs-build-env.tbz2 +} + +pkg_postinst() { + depmod -a + + einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the" + einfo "PCMCIA support in the kernel. (Otherwise, you might experience" + einfo "CardServices version mismatch errors)" + einfo "" + einfo "Proper kernel config for this package is that PCMCIA/CardBus under" + einfo "General Setup is off and Wireless LAN (non-ham radio) is on but" + einfo "no modules or drivers turned on under Network Device Support" + einfo "if you have wireless." + + einfo "" + einfo "Also note it now appears that you need CONFIG_CRC32 turned on" + einfo "These are the CRC32 Library functions in the config" +} diff --git a/app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r3.ebuild b/app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r3.ebuild new file mode 100644 index 000000000000..7f589bcd47ce --- /dev/null +++ b/app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r3.ebuild @@ -0,0 +1,185 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pcmcia-cs/pcmcia-cs-3.2.5-r3.ebuild,v 1.1 2005/04/25 11:43:34 brix Exp $ + +inherit linux-info eutils + +OV="orinoco-0.13e" + +DESCRIPTION="PCMCIA tools for Linux" +SRC_URI="mirror://sourceforge/pcmcia-cs/${P}.tar.gz + http://dev.gentoo.org/~latexer/files/patches/${P}-module-init-tools.diff.gz + http://dev.gentoo.org/~latexer/files/patches/${P}-SMP-fix.diff.gz + http://dev.gentoo.org/~latexer/files/${P}-orinoco-monitor.diff.gz + ppc? ( http://dev.gentoo.org/~latexer/files/patches/${P}-ppc-fix.diff.gz )" + +HOMEPAGE="http://pcmcia-cs.sourceforge.net" +IUSE="trusted build apm pnp nocardbus" +DEPEND="virtual/os-headers + >=sys-apps/sed-4" +RDEPEND="" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ~ppc" + +src_unpack() { + unpack ${A} + cd ${S} + + # 3.2.5 includes the latest orinoco (0.13e), so just patch to add + # monitor mode + epatch ${WORKDIR}/${P}-orinoco-monitor.diff + + # Fix for module-init-tools only systems + epatch ${WORKDIR}/${P}-module-init-tools.diff + + # Fix for compiling with SMP (mainly for liveCDs, does your laptop have + # multiple procs?) + epatch ${WORKDIR}/${P}-SMP-fix.diff + + # Fix for compilation against recent benh kernels + [ "${ARCH}" == "ppc" ] && epatch ${WORKDIR}/${P}-ppc-fix.diff + + # If we're on 2.5.x or 2.6.x, modversions.h has *moved* + if [ ${KV_MINOR} -ge 5 ]; then + sed -i -e "s:include/linux/modvers:include/config/modvers:" Configure \ + || die "sed Configure failed (1)" + fi + + # Install man-pages into /usr/share/man + sed -i -e 's:usr/man:usr/share/man:g' Configure \ + || die "sed Configure failed (2)" +} + +src_compile() { + local myconf myarch + + if use trusted; then + myconf="${myconf} --trust" + else + myconf="${myconf} --notrust" + fi + + # Note that when built with apm support, pcmcia-cs will require a + # kernel with APM support + if use apm; then + myconf="${myconf} --apm" + else + myconf="${myconf} --noapm" + fi + + # Note that when built with pnp support, pcmcia-cs will require a + # kernel with ISA PnP support + if use pnp; then + myconf="${myconf} --pnp" + else + myconf="${myconf} --nopnp" + fi + + if use nocardbus; then + myconf="${myconf} --nocardbus" + else + myconf="${myconf} --cardbus" + fi + + # x86 is not a valid arch for configure... use a case statement + # here to make it easy for other arches to add their own + # workarounds. + case "${ARCH}" in + x86) myarch="i386" ;; + *) myarch="${ARCH}" ;; + esac + + # Use $CFLAGS for user tools, but standard kernel optimizations + # for the kernel modules (for compatibility). + # + # The --srctree option tells pcmcia-cs to configure for the kernel + # in /usr/src/linux rather than the currently-running kernel. + # It's Gentoo Linux policy to configure for + # the kernel in /usr/src/linux + ./Configure -n \ + --target=${D} \ + --srctree \ + --kernel=${KV_DIR} \ + --arch="${myarch}" \ + --uflags="$CFLAGS" \ + --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ + $myconf || die "failed configuring" + + sed -i -e '/^HAS_FORMS/d ; s/^FLIBS=".*"/FLIBS=""/' config.out config.mk + + ebegin "Building pcmcia-cs development environment" + echo ${PV} > ${S}/pcmcia-cs-version + cd ${S} + tar -cjf ${T}/pcmcia-cs-build-env.tbz2 . + eend ${?} + + emake DO_ORINOCO=1 all || die "failed compiling" +} + +src_install () { + make PREFIX=${D} install || die "failed installing" + + # remove included rc scripts since we have our own + rm -rf ${D}/etc/rc*.d + + # remove X + # this is simply much easier than patching configure or the makefiles + # not to build them in the first place + rm -rf ${D}/usr/X11R6 + # todo: if they are installed, move them to /usr + + insinto /etc/conf.d + newins ${FILESDIR}/pcmcia.conf pcmcia + + exeinto /etc/pcmcia + doexe ${FILESDIR}/network + + # install our own init script + exeinto /etc/init.d + newexe ${FILESDIR}/pcmcia.rc pcmcia + + # documentation + if use build; then + rm -rf ${D}/usr/share/man + else + dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ + README-2.4 SUPPORTED.CARDS doc/* + fi + rm -f ${D}/etc/modules.conf + rm -rf ${D}/var/lib/pcmcia + + # if on ppc set the ppc revised config.opts + if [ "${ARCH}" = "ppc" ]; then + insinto /etc/pcmcia + newins ${FILESDIR}/ppc.config.opts config.opts + fi + + # install the pcmcia-cs development environment tarball + insinto ${ROOT}/usr/src/pcmcia-cs/ + doins ${T}/pcmcia-cs-build-env.tbz2 +} + +pkg_postinst() { + if [ ${KV_MINOR} -lt 5 ] + then + depmod -a + + einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the" + einfo "PCMCIA support in the kernel. (Otherwise, you might experience" + einfo "CardServices version mismatch errors)" + einfo "" + einfo "Proper kernel config for this package is that PCMCIA/CardBus under" + einfo "General Setup is off and Wireless LAN (non-ham radio) is on but" + einfo "no modules or drivers turned on under Network Device Support" + einfo "if you have wireless." + einfo "" + einfo "Also note it now appears that you need CONFIG_CRC32 turned on" + einfo "These are the CRC32 Library functions in the config" + + else + einfo "For 2.5/2.6 kernels, the PCMCIA support from the kernel should" + einfo "be used. Enable PCMCIA and any further drivers you need there," + einfo "and then use this package to install the PCMCIA tools." + fi +} diff --git a/app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r3.ebuild b/app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r3.ebuild new file mode 100644 index 000000000000..0fc8b07d803b --- /dev/null +++ b/app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r3.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r3.ebuild,v 1.1 2005/04/25 11:43:34 brix Exp $ + +inherit linux-info eutils + +OV="orinoco-0.13e" + +DESCRIPTION="PCMCIA tools for Linux" +SRC_URI="mirror://sourceforge/pcmcia-cs/${P}.tar.gz + http://dev.gentoo.org/~latexer/files/patches/${P}-module-init-tools.diff.gz + ppc? ( http://dev.gentoo.org/~latexer/files/patches/pcmcia-cs-3.2.5-ppc-fix.diff.gz ) + http://ozlabs.org/people/dgibson/dldwd/monitor-0.13e.patch" + +HOMEPAGE="http://pcmcia-cs.sourceforge.net" +IUSE="X trusted build apm pnp nocardbus" +DEPEND="virtual/os-headers + >=sys-apps/sed-4 + X? ( virtual/x11 )" +RDEPEND="" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ppc amd64 ~mips" + +src_unpack() { + unpack ${P}.tar.gz || die "unpack failed" + + # 3.2.7 includes the latest stable orinoco (0.13e), so just patch to add + # monitor mode + cd ${S}/wireless + epatch ${DISTDIR}/monitor-0.13e.patch + + cd ${S} + + # Fix for module-init-tools systems + epatch ${DISTDIR}/${P}-module-init-tools.diff.gz + + # Fix for ppc on newer benh kernels + [ "${ARCH}" == "ppc" ] && epatch ${DISTDIR}/pcmcia-cs-3.2.5-ppc-fix.diff.gz + + # Install man-pages into /usr/share/man + sed -i -e 's:usr/man:usr/share/man:g' Configure \ + || die "sed Configure failed (2)" +} + +src_compile() { + local myconf myarch + + # There's now a configure option for whether to build X tools + if use X; then + myconf="${myconf} --x11" + else + myconf="${myconf} --nox11" + fi + + if use trusted; then + myconf="${myconf} --trust" + else + myconf="${myconf} --notrust" + fi + + # Note that when built with apm support, pcmcia-cs will require a + # kernel with APM support + if use apm; then + myconf="${myconf} --apm" + else + myconf="${myconf} --noapm" + fi + + # Note that when built with pnp support, pcmcia-cs will require a + # kernel with ISA PnP support + if use pnp; then + myconf="${myconf} --pnp" + else + myconf="${myconf} --nopnp" + fi + + if use nocardbus; then + myconf="${myconf} --nocardbus" + else + myconf="${myconf} --cardbus" + fi + + # x86 is not a valid arch for configure... use a case statement + # here to make it easy for other arches to add their own + # workarounds. + case "${ARCH}" in + x86) myarch="i386" ;; + *) myarch="${ARCH}" ;; + esac + + # Use $CFLAGS for user tools, but standard kernel optimizations + # for the kernel modules (for compatibility). + # + # The --srctree option tells pcmcia-cs to configure for the kernel + # in /usr/src/linux rather than the currently-running kernel. + # It's Gentoo Linux policy to configure for + # the kernel in /usr/src/linux + ./Configure -n \ + --target=${D} \ + --srctree \ + --kernel=${KV_DIR} \ + --arch="${myarch}" \ + --uflags="$CFLAGS" \ + --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ + $myconf || die "failed configuring" + + sed -i -e '/^HAS_FORMS/d ; s/^FLIBS=".*"/FLIBS=""/' config.out config.mk + + ebegin "Building pcmcia-cs development environment" + echo ${PV} > ${S}/pcmcia-cs-version + cd ${S} + tar -cjf ${T}/pcmcia-cs-build-env.tbz2 . + eend ${?} + + emake DO_ORINOCO=1 all || die "failed compiling" +} + +src_install () { + make PREFIX=${D} install || die "failed installing" + + # remove included rc scripts since we have our own + rm -rf ${D}/etc/rc*.d + + insinto /etc/conf.d + newins ${FILESDIR}/pcmcia.conf pcmcia + + exeinto /etc/pcmcia + doexe ${FILESDIR}/network + + # install our own init script + exeinto /etc/init.d + newexe ${FILESDIR}/pcmcia.rc pcmcia + + # documentation + if use build; then + rm -rf ${D}/usr/share/man + else + dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ + README-2.4 SUPPORTED.CARDS doc/* + fi + rm -f ${D}/etc/modules.conf + rm -rf ${D}/var/lib/pcmcia + + # if on ppc set the ppc revised config.opts + if [ "${ARCH}" = "ppc" ]; then + insinto /etc/pcmcia + newins ${FILESDIR}/ppc.config.opts config.opts + fi + + # install the pcmcia-cs development environment tarball + insinto ${ROOT}/usr/src/pcmcia-cs/ + doins ${T}/pcmcia-cs-build-env.tbz2 +} + +pkg_postinst() { + if [ ${KV_MINOR} -lt 5 ] + then + depmod -a + + einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the" + einfo "PCMCIA support in the kernel. (Otherwise, you might experience" + einfo "CardServices version mismatch errors)" + einfo "" + einfo "Proper kernel config for this package is that PCMCIA/CardBus under" + einfo "General Setup is off and Wireless LAN (non-ham radio) is on but" + einfo "no modules or drivers turned on under Network Device Support" + einfo "if you have wireless." + einfo "" + einfo "Also note it now appears that you need CONFIG_CRC32 turned on" + einfo "These are the CRC32 Library functions in the config" + else + einfo "For 2.5/2.6 kernels, the PCMCIA support from the kernel should" + einfo "be used. Enable PCMCIA and any further drivers you need there," + einfo "and then use this package to install the PCMCIA tools." + fi +} diff --git a/app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r4.ebuild b/app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r4.ebuild new file mode 100644 index 000000000000..c81193bbac9d --- /dev/null +++ b/app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r4.ebuild @@ -0,0 +1,179 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/pcmcia-cs/pcmcia-cs-3.2.7-r4.ebuild,v 1.1 2005/04/25 11:43:34 brix Exp $ + +inherit eutils linux-info + +OV="orinoco-0.13e" + +DESCRIPTION="PCMCIA tools for Linux" +SRC_URI="mirror://sourceforge/pcmcia-cs/${P}.tar.gz + http://dev.gentoo.org/~latexer/files/patches/${P}-module-init-tools.diff.gz + ppc? ( http://dev.gentoo.org/~latexer/files/patches/pcmcia-cs-3.2.5-ppc-fix.diff.gz ) + http://ozlabs.org/people/dgibson/dldwd/monitor-0.13e.patch" + +HOMEPAGE="http://pcmcia-cs.sourceforge.net" +IUSE="X trusted build apm pnp nocardbus" +DEPEND="virtual/os-headers + >=sys-apps/sed-4 + X? ( virtual/x11 )" +RDEPEND="" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~mips" + +src_unpack() { + unpack ${P}.tar.gz || die "unpack failed" + + # 3.2.7 includes the latest stable orinoco (0.13e), so just patch to add + # monitor mode + cd ${S}/wireless + epatch ${DISTDIR}/monitor-0.13e.patch + + cd ${S} + + # Fix for module-init-tools systems + epatch ${DISTDIR}/${P}-module-init-tools.diff.gz + + # Fix for ppc on newer benh kernels + [ "${ARCH}" == "ppc" ] && epatch ${DISTDIR}/pcmcia-cs-3.2.5-ppc-fix.diff.gz + + # Install man-pages into /usr/share/man + sed -i -e 's:usr/man:usr/share/man:g' Configure \ + || die "sed Configure failed (2)" + + epatch ${FILESDIR}/pcmcia-cs-3.2.7-move-pnp-ids-to-usr-share-misc.patch + + # Install cardinfo and xcardinfo into /usr/bin instead of /usr/X11R6/bin + cd ${S} + epatch ${FILESDIR}/cardinfo-install-3.2.7.patch +} + +src_compile() { + local myconf myarch + + # There's now a configure option for whether to build X tools + if use X; then + myconf="${myconf} --x11" + else + myconf="${myconf} --nox11" + fi + + if use trusted; then + myconf="${myconf} --trust" + else + myconf="${myconf} --notrust" + fi + + # Note that when built with apm support, pcmcia-cs will require a + # kernel with APM support + if use apm; then + myconf="${myconf} --apm" + else + myconf="${myconf} --noapm" + fi + + # Note that when built with pnp support, pcmcia-cs will require a + # kernel with ISA PnP support + if use pnp; then + myconf="${myconf} --pnp" + else + myconf="${myconf} --nopnp" + fi + + if use nocardbus; then + myconf="${myconf} --nocardbus" + else + myconf="${myconf} --cardbus" + fi + + set_arch_to_kernel + # Use $CFLAGS for user tools, but standard kernel optimizations + # for the kernel modules (for compatibility). + # + # The --srctree option tells pcmcia-cs to configure for the kernel + # in /usr/src/linux rather than the currently-running kernel. + # It's Gentoo Linux policy to configure for + # the kernel in /usr/src/linux + ./Configure -n \ + --target=${D} \ + --srctree \ + --kernel=${KV_DIR} \ + --arch="${myarch}" \ + --uflags="$CFLAGS" \ + --kflags="-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer" \ + $myconf || die "failed configuring" + + sed -i -e '/^HAS_FORMS/d ; s/^FLIBS=".*"/FLIBS=""/' config.out config.mk + + ebegin "Building pcmcia-cs development environment" + echo ${PV} > ${S}/pcmcia-cs-version + cd ${S} + tar -cjf ${T}/pcmcia-cs-build-env.tbz2 . + eend ${?} + + emake DO_ORINOCO=1 all || die "failed compiling" +} + +src_install () { + dodir /usr/share/misc + + make PREFIX=${D} install || die "failed installing" + set_arch_to_portage + + # remove included rc scripts since we have our own + rm -rf ${D}/etc/rc*.d + + insinto /etc/conf.d + newins ${FILESDIR}/pcmcia.conf pcmcia + + exeinto /etc/pcmcia + doexe ${FILESDIR}/network + + # install our own init script + exeinto /etc/init.d + newexe ${FILESDIR}/pcmcia.rc pcmcia + + # documentation + if use build; then + rm -rf ${D}/usr/share/man + else + dodoc BUGS CHANGES COPYING LICENSE MAINTAINERS README \ + README-2.4 SUPPORTED.CARDS doc/* + fi + rm -f ${D}/etc/modules.conf + rm -rf ${D}/var/lib/pcmcia + + # if on ppc set the ppc revised config.opts + if [ "${ARCH}" = "ppc" ]; then + insinto /etc/pcmcia + newins ${FILESDIR}/ppc.config.opts config.opts + fi + + # install the pcmcia-cs development environment tarball + insinto ${ROOT}/usr/src/pcmcia-cs/ + doins ${T}/pcmcia-cs-build-env.tbz2 +} + +pkg_postinst() { + if [ ${KV_MINOR} -lt 5 ] + then + depmod -a + + einfo "To avail yourself of the pcmcia-cs drivers, you have to disable the" + einfo "PCMCIA support in the kernel. (Otherwise, you might experience" + einfo "CardServices version mismatch errors)" + einfo "" + einfo "Proper kernel config for this package is that PCMCIA/CardBus under" + einfo "General Setup is off and Wireless LAN (non-ham radio) is on but" + einfo "no modules or drivers turned on under Network Device Support" + einfo "if you have wireless." + einfo "" + einfo "Also note it now appears that you need CONFIG_CRC32 turned on" + einfo "These are the CRC32 Library functions in the config" + else + einfo "For 2.5/2.6 kernels, the PCMCIA support from the kernel should" + einfo "be used. Enable PCMCIA and any further drivers you need there," + einfo "and then use this package to install the PCMCIA tools." + fi +} |