summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-04-15 14:19:33 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-04-15 14:19:33 +0000
commitb395fdff5c80026403365171c8761a2223a92b39 (patch)
tree9067b951ebf7f85bf0e34f6d84c3fcd588c130ef /sys-apps
parentdon't install any more terminfo files, as these clash with the files provided... (diff)
downloadhistorical-b395fdff5c80026403365171c8761a2223a92b39.tar.gz
historical-b395fdff5c80026403365171c8761a2223a92b39.tar.bz2
historical-b395fdff5c80026403365171c8761a2223a92b39.zip
Pruned old ebuilds.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/pcmcia-cs/ChangeLog7
-rw-r--r--sys-apps/pcmcia-cs/Manifest10
-rw-r--r--sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.52
-rw-r--r--sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r15
-rw-r--r--sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.74
-rw-r--r--sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r24
-rw-r--r--sys-apps/pcmcia-cs/pcmcia-cs-3.2.5-r1.ebuild184
-rw-r--r--sys-apps/pcmcia-cs/pcmcia-cs-3.2.5.ebuild163
-rw-r--r--sys-apps/pcmcia-cs/pcmcia-cs-3.2.7-r2.ebuild174
-rw-r--r--sys-apps/pcmcia-cs/pcmcia-cs-3.2.7.ebuild174
10 files changed, 7 insertions, 720 deletions
diff --git a/sys-apps/pcmcia-cs/ChangeLog b/sys-apps/pcmcia-cs/ChangeLog
index a6f8aadcb914..3b54aa578d52 100644
--- a/sys-apps/pcmcia-cs/ChangeLog
+++ b/sys-apps/pcmcia-cs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/pcmcia-cs
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/ChangeLog,v 1.80 2005/04/12 19:09:07 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/ChangeLog,v 1.81 2005/04/15 14:19:33 brix Exp $
+
+ 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)
diff --git a/sys-apps/pcmcia-cs/Manifest b/sys-apps/pcmcia-cs/Manifest
index 4d5e4dc0487d..18b6ed3d7f8c 100644
--- a/sys-apps/pcmcia-cs/Manifest
+++ b/sys-apps/pcmcia-cs/Manifest
@@ -1,22 +1,14 @@
MD5 cf93b43a7c6f6d4987fbbe331073f39b pcmcia-cs-3.2.5-r2.ebuild 4452
MD5 bd45772ec06d2e6c5df4922ee1b65d28 pcmcia-cs-3.2.7-r3.ebuild 4900
-MD5 132b99014b643c5c44b385171366fe52 pcmcia-cs-3.2.5-r1.ebuild 5380
-MD5 8ed50a0f21678c8120a0df6094bd1c8d pcmcia-cs-3.2.5.ebuild 4545
-MD5 0ca8eff3b7640aa35bd86812057f1155 pcmcia-cs-3.2.7-r2.ebuild 4898
MD5 9c24e6836b1acf3a9ed1830e6f5d505a pcmcia-cs-3.2.5-r3.ebuild 5269
-MD5 45aaff0492e6857427a6f48233d7293f pcmcia-cs-3.2.7.ebuild 4878
-MD5 c948d82dff14285707cdf82640c8556a ChangeLog 17196
+MD5 875edcf974fe8aefe2503ad16fe87f2e ChangeLog 17362
MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
MD5 338830e2d0514d080a684e34404424a7 pcmcia-cs-3.2.7-r4.ebuild 4946
-MD5 157ac5bc22e938e1c2268c1f2610420c files/digest-pcmcia-cs-3.2.5-r1 379
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-r2 287
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 f8f190b2ddbf95e58f3abf55fc303d27 files/digest-pcmcia-cs-3.2.5 150
-MD5 310551d0852ba9c1fe5c0f8c231c3589 files/digest-pcmcia-cs-3.2.7 287
MD5 da3f5dc50768f0a5d9868dd5bd227329 files/network 768
MD5 fb59203b176eea34b5969d465efb85a9 files/ppc.config.opts 1687
MD5 e4879f03bbdbfbdc094c1f1b6486846b files/pcmcia.conf 549
diff --git a/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.5 b/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.5
deleted file mode 100644
index 2ee56e5aa0f6..000000000000
--- a/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.5
+++ /dev/null
@@ -1,2 +0,0 @@
-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/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r1 b/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r1
deleted file mode 100644
index 4ab6efff7c28..000000000000
--- a/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.5-r1
+++ /dev/null
@@ -1,5 +0,0 @@
-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/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.7 b/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.7
deleted file mode 100644
index c3aa9a6290bf..000000000000
--- a/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.7
+++ /dev/null
@@ -1,4 +0,0 @@
-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/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r2 b/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r2
deleted file mode 100644
index c3aa9a6290bf..000000000000
--- a/sys-apps/pcmcia-cs/files/digest-pcmcia-cs-3.2.7-r2
+++ /dev/null
@@ -1,4 +0,0 @@
-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/sys-apps/pcmcia-cs/pcmcia-cs-3.2.5-r1.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.2.5-r1.ebuild
deleted file mode 100644
index 8d3422f0a2bf..000000000000
--- a/sys-apps/pcmcia-cs/pcmcia-cs-3.2.5-r1.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.2.5-r1.ebuild,v 1.13 2005/01/08 03:31:58 dragonheart Exp $
-
-inherit 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"
-
-# Note: To use this ebuild, you should have the usr/src/linux symlink to
-# the kernel directory that pcmcia-cs should use for configuration.
-
-src_unpack() {
-
- unpack ${P}.tar.gz || die "unpack failed"
- cd ${S} || die "cd ${S} failed"
-
- # parse out the middle number from the kernel version
- check_KV
- okvminor="${KV#*.}" ; okvminor="${okvminor%%.*}"
- [ -n "${okvminor}" ] || die "couldn't figure out okvminor"
-
- # 3.2.5 includes the latest orinoco (0.13e), so just patch to add
- # monitor mode
- epatch ${DISTDIR}/${P}-orinoco-monitor.diff.gz
-
- # Fix for module-init-tools only systems
- epatch ${DISTDIR}/${P}-module-init-tools.diff.gz
-
- # Fix for compiling with SMP (mainly for liveCDs, does your laptop have
- # multiple procs?)
- epatch ${DISTDIR}/${P}-SMP-fix.diff.gz
-
- # Fix for compilation against recent benh kernels
- [ "${ARCH}" == "ppc" ] && epatch ${DISTDIR}/${P}-ppc-fix.diff.gz
-
- # If we're on 2.5.x or 2.6.x, modversions.h has *moved*
- if [ "${okvminor}" -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=/usr/src/linux \
- --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
-
- 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
-}
-
-pkg_postinst() {
- if [ "${okvminor}" -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/sys-apps/pcmcia-cs/pcmcia-cs-3.2.5.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.2.5.ebuild
deleted file mode 100644
index 2c3896feb964..000000000000
--- a/sys-apps/pcmcia-cs/pcmcia-cs-3.2.5.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.2.5.ebuild,v 1.13 2005/01/08 03:31:58 dragonheart Exp $
-
-inherit 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/${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"
-
-# Note: To use this ebuild, you should have the usr/src/linux symlink to
-# the kernel directory that pcmcia-cs should use for configuration.
-
-src_unpack() {
-
- unpack ${P}.tar.gz || die "unpack failed"
- cd ${S} || die "cd ${S} failed"
-
- # parse out the middle number from the kernel version
- check_KV
- okvminor="${KV#*.}" ; okvminor="${okvminor%%.*}"
- [ -n "${okvminor}" ] || die "couldn't figure out okvminor"
-
- # 3.2.5 includes the latest orinoco (0.13e), so just patch to add
- # monitor mode
- epatch ${DISTDIR}/${P}-orinoco-monitor.diff.gz
-
- # If we're on 2.5.x or 2.6.x, modversions.h has *moved*
- if [ "${okvminor}" -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=/usr/src/linux \
- --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
-
- 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
-}
-
-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/sys-apps/pcmcia-cs/pcmcia-cs-3.2.7-r2.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.2.7-r2.ebuild
deleted file mode 100644
index cdb43d18b933..000000000000
--- a/sys-apps/pcmcia-cs/pcmcia-cs-3.2.7-r2.ebuild
+++ /dev/null
@@ -1,174 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.2.7-r2.ebuild,v 1.3 2005/01/17 10:53:40 robbat2 Exp $
-
-inherit 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 ~mips"
-
-# Note: To use this ebuild, you should have the usr/src/linux symlink to
-# the kernel directory that pcmcia-cs should use for configuration.
-
-src_unpack() {
- # Check to make sure we have a kernel to compile against
- check_KV
-
- 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=/usr/src/linux \
- --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
-
- emake DO_ORINOCO=1 all || die "failed compiling"
-}
-
-src_install () {
- 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
-}
-
-pkg_postinst() {
- okvminor="${KV#*.}" ; okvminor="${okvminor%%.*}"
- if [ "${okvminor}" -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/sys-apps/pcmcia-cs/pcmcia-cs-3.2.7.ebuild b/sys-apps/pcmcia-cs/pcmcia-cs-3.2.7.ebuild
deleted file mode 100644
index be597801a54a..000000000000
--- a/sys-apps/pcmcia-cs/pcmcia-cs-3.2.7.ebuild
+++ /dev/null
@@ -1,174 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcmcia-cs/pcmcia-cs-3.2.7.ebuild,v 1.11 2005/01/08 03:31:58 dragonheart Exp $
-
-inherit 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"
-
-# Note: To use this ebuild, you should have the usr/src/linux symlink to
-# the kernel directory that pcmcia-cs should use for configuration.
-
-src_unpack() {
- # Check to make sure we have a kernel to compile against
- check_KV
-
- 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=/usr/src/linux \
- --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
-
- 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
-}
-
-pkg_postinst() {
- okvminor="${KV#*.}" ; okvminor="${okvminor%%.*}"
- if [ "${okvminor}" -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
-}