diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2011-08-01 19:03:44 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2011-08-01 19:03:44 +0000 |
commit | 80a17266c7c30d388cfdc7c377af3732353292ad (patch) | |
tree | 1904e3f5c9e4c6afca1ecc15a52da04e28d8cffd /sys-apps/pcmcia-cs/files | |
parent | amd64/x86 stable, bug #373225 (diff) | |
download | gentoo-2-80a17266c7c30d388cfdc7c377af3732353292ad.tar.gz gentoo-2-80a17266c7c30d388cfdc7c377af3732353292ad.tar.bz2 gentoo-2-80a17266c7c30d388cfdc7c377af3732353292ad.zip |
sys-apps/pcmcia-* removals. Bug #236286
Diffstat (limited to 'sys-apps/pcmcia-cs/files')
17 files changed, 0 insertions, 692 deletions
diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-CS_EVENT_RESET_COMPLETE.patch b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-CS_EVENT_RESET_COMPLETE.patch deleted file mode 100644 index 337f91beee8b..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-CS_EVENT_RESET_COMPLETE.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -urp pcmcia-cs-3.2.8/cardmgr/cardinfo.c pcmcia-cs-3.2.9/cardmgr/cardinfo.c ---- pcmcia-cs-3.2.8/cardmgr/cardinfo.c 2004-02-28 17:59:10.000000000 +0100 -+++ pcmcia-cs-3.2.9/cardmgr/cardinfo.c 2005-06-15 07:25:06.000000000 +0200 -@@ -101,7 +101,9 @@ static event_tag_t event_tag[] = { - { CS_EVENT_CARD_REMOVAL, "card removal" }, - { CS_EVENT_RESET_PHYSICAL, "prepare for reset" }, - { CS_EVENT_CARD_RESET, "card reset successful" }, -+#ifdef CS_EVENT_RESET_COMPLETE - { CS_EVENT_RESET_COMPLETE, "reset request complete" }, -+#endif - { CS_EVENT_EJECTION_REQUEST, "user eject request" }, - { CS_EVENT_INSERTION_REQUEST, "user insert request" }, - { CS_EVENT_PM_SUSPEND, "suspend card" }, -diff -urp pcmcia-cs-3.2.8/cardmgr/xcardinfo.c pcmcia-cs-3.2.9/cardmgr/xcardinfo.c ---- pcmcia-cs-3.2.8/cardmgr/xcardinfo.c 2004-02-28 17:59:10.000000000 +0100 -+++ pcmcia-cs-3.2.9/cardmgr/xcardinfo.c 2005-06-15 07:25:06.000000000 +0200 -@@ -94,7 +94,9 @@ static event_tag_t event_tag[] = { - { CS_EVENT_CARD_REMOVAL, "card removal" }, - { CS_EVENT_RESET_PHYSICAL, "prepare for reset" }, - { CS_EVENT_CARD_RESET, "card reset successful" }, -+#ifdef CS_EVENT_RESET_COMPLETE - { CS_EVENT_RESET_COMPLETE, "reset request complete" }, -+#endif - { CS_EVENT_EJECTION_REQUEST, "user eject request" }, - { CS_EVENT_INSERTION_REQUEST, "user insert request" }, - { CS_EVENT_PM_SUSPEND, "suspend card" }, diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-conf.d b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-conf.d deleted file mode 100644 index 8949e090774b..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-conf.d +++ /dev/null @@ -1,21 +0,0 @@ -# Options for the 'cardmgr' daemon -CARDMGR_OPTS="-f" - -# Default PCMCIA scheme -SCHEME="home" - -# If using kernel PCMCIA drivers, PCIC should be "yenta_socket". If -# using the pcmcia-cs drivers, PCIC should be either "i82365" or -# "tcic", depending on your hardware. If using non-modular kernel -# drivers, set PCIC to "" - -PCIC="yenta_socket" -# Options for the PCIC module -PCIC_OPTS="" - -# Alternative PCIC driver to use if PCIC driver fails -PCIC_ALT="i82365" -PCIC_ALT_OPTS="" - -# Options for the pcmcia_core module -CORE_OPTS="" diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-gcc4.patch b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-gcc4.patch deleted file mode 100644 index 11d13706df39..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-gcc4.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urp pcmcia-cs-3.2.8/debug-tools/lspnp.c pcmcia-cs-3.2.8-gcc4/debug-tools/lspnp.c ---- pcmcia-cs-3.2.8/debug-tools/lspnp.c 2002-02-13 06:45:01.000000000 +0100 -+++ pcmcia-cs-3.2.8-gcc4/debug-tools/lspnp.c 2005-05-08 10:08:07.000000000 +0200 -@@ -496,7 +496,7 @@ static char *dump_chain(u_char *buf, int - dump_io_fixed(r); break; - } - } -- (u_char *)p += sz + 1; -+ p = (union pnp_resource *) ((u_char *)p + sz + 1); - } - return (u_char *)p; - } -diff -urp pcmcia-cs-3.2.8/debug-tools/setpnp.c pcmcia-cs-3.2.8-gcc4/debug-tools/setpnp.c ---- pcmcia-cs-3.2.8/debug-tools/setpnp.c 2001-10-10 04:58:12.000000000 +0200 -+++ pcmcia-cs-3.2.8-gcc4/debug-tools/setpnp.c 2005-05-08 10:08:07.000000000 +0200 -@@ -163,7 +163,7 @@ static char *update_chain(u_char *buf, i - break; - } - } -- (u_char *)p += sz + 1; -+ p = (union pnp_resource *) ((u_char *)p + sz + 1); - } - return (u_char *)p; - } diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-init.d b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-init.d deleted file mode 100644 index f378df06c71c..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-init.d +++ /dev/null @@ -1,96 +0,0 @@ -#!/sbin/runscript -# 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/files/pcmcia-cs-3.2.8-init.d,v 1.2 2005/05/09 08:57:55 brix Exp $ - -RUN=/var/run -SCHEME_FILE=${RUN}/pcmcia-scheme - -depend() { - use coldplug -} - -cleanup() { - while read SN CLASS MOD INST DEV EXTRA; do - if [[ "${SN}" != "Socket" ]]; then - /etc/pcmcia/${CLASS} stop ${DEV} 2> /dev/null - fi - done -} - -pcmcia_probe() { - /sbin/modprobe ${1} ${2} 2> /dev/null - return ${?} -} - -start() { - local retval - - # Scheme is set for the /etc/pcmcia/shared script - if [[ -n "${SCHEME}" ]]; then - umask 022 - echo ${SCHEME} > ${SCHEME_FILE} - else - umask 022 - touch ${SCHEME_FILE} - 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 without 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 - if ! pcmcia_probe ${PCIC} ${PCIC_OPTS}; then - ewarn "'modprobe ${PCIC}' failed" - ewarn "Trying alternative PCIC driver: ${PCIC_ALT}" - pcmcia_probe ${PCIC_ALT} ${PCIC_ALT_OPTS} - fi - fi - pcmcia_probe ds - fi - - ebegin "Starting pcmcia" - start-stop-daemon --start --quiet --exec /sbin/cardmgr -- \ - -s ${RUN}/stab ${CARDMGR_OPTS} - retval=${?} - - if [[ ${retval} -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 ${retval} -} - -stop() { - local retval - - ebegin "Stopping pcmcia" - - [[ -w ${SCHEME_FILE} ]] && rm -f ${SCHEME_FILE} - start-stop-daemon --stop --quiet --pidfile /var/run/cardmgr.pid --retry 5 - retval=${?} - - if [[ -e /proc/modules && -n $(fgrep "ds " /proc/modules | head -n1 | cut -c1) ]]; then - /sbin/rmmod ds 2> /dev/null - /sbin/rmmod ${PCIC} 2> /dev/null - /sbin/rmmod ${PCIC_ALT} 2> /dev/null - /sbin/rmmod pcmcia 2> /dev/null - /sbin/rmmod pcmcia_core 2> /dev/null - fi - - eend ${retval} -} - diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-ldflags.patch b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-ldflags.patch deleted file mode 100644 index b29e2a74c981..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-ldflags.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -ur pcmcia-cs-3.2.8/cardmgr/Makefile pcmcia-cs-3.2.8-ldflags/cardmgr/Makefile ---- pcmcia-cs-3.2.8/cardmgr/Makefile 2003-11-22 09:54:13.000000000 +0100 -+++ pcmcia-cs-3.2.8-ldflags/cardmgr/Makefile 2005-04-13 01:36:37.000000000 +0200 -@@ -73,21 +73,21 @@ - @mkdir -p .depfiles ; mv $*.d .depfiles - - cardinfo: cardinfo.o -- $(CC) $< -o $@ $(FLIBS) -+ $(CC) $< -o $@ $(LDFLAGS) $(FLIBS) - - xcardinfo.o: xcardinfo.c - $(CC) $(CFLAGS) -MD $(CPPFLAGS) $(XCPPFLAGS) -c $< - @mkdir -p .depfiles ; mv $*.d .depfiles - - xcardinfo: xcardinfo.o -- $(CC) $< -o $@ -L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lXaw -+ $(CC) $< -o $@ $(LDFLAGS) -L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lXaw - - gpccard.o: gpccard.c - $(CC) -O -Wall -MD $(CPPFLAGS) $(GTK_CFLAGS) -c $< - @mkdir -p .depfiles ; mv $*.d .depfiles - - gpccard: gpccard.o -- $(CC) $< -o $@ $(GTK_LIBS) -+ $(CC) $< -o $@ $(LDFLAGS) $(GTK_LIBS) - - install-cardinfo: cardinfo - @mkdir -p $(PREFIX)/usr/X11R6/bin diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-move-pnp-ids.patch b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-move-pnp-ids.patch deleted file mode 100644 index 2913be2ac090..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-move-pnp-ids.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff -urp pcmcia-cs-3.2.8/debug-tools/lspnp.c pcmcia-cs-3.2.8-move-pnp-ids/debug-tools/lspnp.c ---- pcmcia-cs-3.2.8/debug-tools/lspnp.c 2002-02-13 06:45:01.000000000 +0100 -+++ pcmcia-cs-3.2.8-move-pnp-ids/debug-tools/lspnp.c 2005-04-13 00:21:58.000000000 +0200 -@@ -154,7 +154,7 @@ static void load_ids(void) - 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 -urp pcmcia-cs-3.2.8/debug-tools/Makefile pcmcia-cs-3.2.8-move-pnp-ids/debug-tools/Makefile ---- pcmcia-cs-3.2.8/debug-tools/Makefile 2002-12-21 09:23:22.000000000 +0100 -+++ pcmcia-cs-3.2.8-move-pnp-ids/debug-tools/Makefile 2005-04-13 00:21:37.000000000 +0200 -@@ -65,8 +65,8 @@ install: $(TOOLS) - cp -f dump_cis pack_cis $(PREFIX)/sbin - ifdef CONFIG_PNP_BIOS - cp -f lspnp setpnp $(PREFIX)/sbin -- @mkdir -p $(PREFIX)/usr/share -- cp -f pnp.ids $(PREFIX)/usr/share -+ @mkdir -p $(PREFIX)/usr/share/misc -+ cp -f pnp.ids $(PREFIX)/usr/share/misc - endif - - include ../rules.mk -diff -urp pcmcia-cs-3.2.8/man/lspnp.8 pcmcia-cs-3.2.8-move-pnp-ids/man/lspnp.8 ---- pcmcia-cs-3.2.8/man/lspnp.8 2000-06-12 23:24:49.000000000 +0200 -+++ pcmcia-cs-3.2.8-move-pnp-ids/man/lspnp.8 2005-04-13 00:22:35.000000000 +0200 -@@ -36,8 +36,8 @@ boot (as opposed to current resource inf - .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/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-network b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-network deleted file mode 100644 index 21453e79c14d..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-network +++ /dev/null @@ -1,35 +0,0 @@ -#!/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 --quiet start - ;; - "stop") - /etc/init.d/net.$DEVICE --quiet stop - ;; - "check") - ;; -esac diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-ppc.config.opts b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-ppc.config.opts deleted file mode 100644 index a89546adb8d2..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-ppc.config.opts +++ /dev/null @@ -1,57 +0,0 @@ -# -# 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 0x800-0x8ff -#include memory 0x80080000-0x80ffffff - - -# all other modules should be kernel modules on ppc diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-tools-only.patch b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-tools-only.patch deleted file mode 100644 index 9419998eec93..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-tools-only.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -urp pcmcia-cs-3.2.8/Makefile pcmcia-cs-3.2.8-tools-only/Makefile ---- pcmcia-cs-3.2.8/Makefile 2003-05-16 07:59:44.000000000 +0200 -+++ pcmcia-cs-3.2.8-tools-only/Makefile 2005-04-25 11:37:42.000000000 +0200 -@@ -8,9 +8,6 @@ endif - - ALL = modules clients wireless cardmgr flash debug-tools man etc - DIRS = cardmgr flash debug-tools man etc --ifndef CONFIG_PCMCIA --DIRS := modules clients wireless $(DIRS) --endif - - help: - @echo "Pick one of the following targets:" -diff -urp pcmcia-cs-3.2.8/man/Makefile pcmcia-cs-3.2.8-tools-only/man/Makefile ---- pcmcia-cs-3.2.8/man/Makefile 2003-09-15 07:14:41.000000000 +0200 -+++ pcmcia-cs-3.2.8-tools-only/man/Makefile 2005-04-25 11:38:52.000000000 +0200 -@@ -20,7 +20,7 @@ MAN8 = cardmgr.8 cardctl.8 ftl_format.8 - ifport.8 ifuser.8 ide_info.8 pcinitrd.8 pack_cis.8 dump_cis.8 \ - lspnp.8 setpnp.8 pcic_probe.8 - --all: $(MAN1_X11) $(MAN4) $(MAN5) $(MAN8) -+all: $(MAN1_X11) $(MAN5) $(MAN8) - - dep: - -@@ -44,7 +44,7 @@ install-man8: $(MAN8) - @mkdir -p $(MANDIR)/man8 - cp *.8 $(MANDIR)/man8 - --install: install-man1-x11 install-man4 install-man5 install-man8 -+install: install-man1-x11 install-man5 install-man8 - - man2html: $(MAN1) $(MAN4) $(MAN5) $(MAN8) - for f in *.[1458] ; do \ diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-x11.patch b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-x11.patch deleted file mode 100644 index d996700d841f..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.8-x11.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urp pcmcia-cs-3.2.8/cardmgr/Makefile pcmcia-cs-3.2.8-x11/cardmgr/Makefile ---- pcmcia-cs-3.2.8/cardmgr/Makefile 2003-11-22 09:54:13.000000000 +0100 -+++ pcmcia-cs-3.2.8-x11/cardmgr/Makefile 2005-04-13 00:38:24.000000000 +0200 -@@ -90,14 +90,14 @@ gpccard: gpccard.o - $(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/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-conf.d b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-conf.d deleted file mode 100644 index 8949e090774b..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-conf.d +++ /dev/null @@ -1,21 +0,0 @@ -# Options for the 'cardmgr' daemon -CARDMGR_OPTS="-f" - -# Default PCMCIA scheme -SCHEME="home" - -# If using kernel PCMCIA drivers, PCIC should be "yenta_socket". If -# using the pcmcia-cs drivers, PCIC should be either "i82365" or -# "tcic", depending on your hardware. If using non-modular kernel -# drivers, set PCIC to "" - -PCIC="yenta_socket" -# Options for the PCIC module -PCIC_OPTS="" - -# Alternative PCIC driver to use if PCIC driver fails -PCIC_ALT="i82365" -PCIC_ALT_OPTS="" - -# Options for the pcmcia_core module -CORE_OPTS="" diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-init.d b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-init.d deleted file mode 100644 index 72a61aa0089d..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-init.d +++ /dev/null @@ -1,96 +0,0 @@ -#!/sbin/runscript -# 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/files/pcmcia-cs-3.2.9_pre20050614-init.d,v 1.1 2006/01/20 18:16:08 brix Exp $ - -RUN=/var/run -SCHEME_FILE=${RUN}/pcmcia-scheme - -depend() { - use coldplug -} - -cleanup() { - while read SN CLASS MOD INST DEV EXTRA; do - if [[ "${SN}" != "Socket" ]]; then - /etc/pcmcia/${CLASS} stop ${DEV} 2> /dev/null - fi - done -} - -pcmcia_probe() { - /sbin/modprobe ${1} ${2} 2> /dev/null - return ${?} -} - -start() { - local retval - - # Scheme is set for the /etc/pcmcia/shared script - if [[ -n "${SCHEME}" ]]; then - umask 022 - echo ${SCHEME} > ${SCHEME_FILE} - else - umask 022 - touch ${SCHEME_FILE} - 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 without 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 - if ! pcmcia_probe ${PCIC} ${PCIC_OPTS}; then - ewarn "'modprobe ${PCIC}' failed" - ewarn "Trying alternative PCIC driver: ${PCIC_ALT}" - pcmcia_probe ${PCIC_ALT} ${PCIC_ALT_OPTS} - fi - fi - pcmcia_probe ds - fi - - ebegin "Starting pcmcia" - start-stop-daemon --start --quiet --exec /sbin/cardmgr -- \ - -s ${RUN}/stab ${CARDMGR_OPTS} - retval=${?} - - if [[ ${retval} -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 ${retval} -} - -stop() { - local retval - - ebegin "Stopping pcmcia" - - [[ -w ${SCHEME_FILE} ]] && rm -f ${SCHEME_FILE} - start-stop-daemon --stop --quiet --pidfile /var/run/cardmgr.pid --retry 5 - retval=${?} - - if [[ -e /proc/modules && -n $(fgrep "ds " /proc/modules | head -n1 | cut -c1) ]]; then - /sbin/rmmod ds 2> /dev/null - /sbin/rmmod ${PCIC} 2> /dev/null - /sbin/rmmod ${PCIC_ALT} 2> /dev/null - /sbin/rmmod pcmcia 2> /dev/null - /sbin/rmmod pcmcia_core 2> /dev/null - fi - - eend ${retval} -} - diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-move-pnp-ids.patch b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-move-pnp-ids.patch deleted file mode 100644 index 2913be2ac090..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-move-pnp-ids.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff -urp pcmcia-cs-3.2.8/debug-tools/lspnp.c pcmcia-cs-3.2.8-move-pnp-ids/debug-tools/lspnp.c ---- pcmcia-cs-3.2.8/debug-tools/lspnp.c 2002-02-13 06:45:01.000000000 +0100 -+++ pcmcia-cs-3.2.8-move-pnp-ids/debug-tools/lspnp.c 2005-04-13 00:21:58.000000000 +0200 -@@ -154,7 +154,7 @@ static void load_ids(void) - 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 -urp pcmcia-cs-3.2.8/debug-tools/Makefile pcmcia-cs-3.2.8-move-pnp-ids/debug-tools/Makefile ---- pcmcia-cs-3.2.8/debug-tools/Makefile 2002-12-21 09:23:22.000000000 +0100 -+++ pcmcia-cs-3.2.8-move-pnp-ids/debug-tools/Makefile 2005-04-13 00:21:37.000000000 +0200 -@@ -65,8 +65,8 @@ install: $(TOOLS) - cp -f dump_cis pack_cis $(PREFIX)/sbin - ifdef CONFIG_PNP_BIOS - cp -f lspnp setpnp $(PREFIX)/sbin -- @mkdir -p $(PREFIX)/usr/share -- cp -f pnp.ids $(PREFIX)/usr/share -+ @mkdir -p $(PREFIX)/usr/share/misc -+ cp -f pnp.ids $(PREFIX)/usr/share/misc - endif - - include ../rules.mk -diff -urp pcmcia-cs-3.2.8/man/lspnp.8 pcmcia-cs-3.2.8-move-pnp-ids/man/lspnp.8 ---- pcmcia-cs-3.2.8/man/lspnp.8 2000-06-12 23:24:49.000000000 +0200 -+++ pcmcia-cs-3.2.8-move-pnp-ids/man/lspnp.8 2005-04-13 00:22:35.000000000 +0200 -@@ -36,8 +36,8 @@ boot (as opposed to current resource inf - .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/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-network b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-network deleted file mode 100644 index 21453e79c14d..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-network +++ /dev/null @@ -1,35 +0,0 @@ -#!/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 --quiet start - ;; - "stop") - /etc/init.d/net.$DEVICE --quiet stop - ;; - "check") - ;; -esac diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-ppc.config.opts b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-ppc.config.opts deleted file mode 100644 index a89546adb8d2..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-ppc.config.opts +++ /dev/null @@ -1,57 +0,0 @@ -# -# 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 0x800-0x8ff -#include memory 0x80080000-0x80ffffff - - -# all other modules should be kernel modules on ppc diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-tools-only.patch b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-tools-only.patch deleted file mode 100644 index 9419998eec93..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-tools-only.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff -urp pcmcia-cs-3.2.8/Makefile pcmcia-cs-3.2.8-tools-only/Makefile ---- pcmcia-cs-3.2.8/Makefile 2003-05-16 07:59:44.000000000 +0200 -+++ pcmcia-cs-3.2.8-tools-only/Makefile 2005-04-25 11:37:42.000000000 +0200 -@@ -8,9 +8,6 @@ endif - - ALL = modules clients wireless cardmgr flash debug-tools man etc - DIRS = cardmgr flash debug-tools man etc --ifndef CONFIG_PCMCIA --DIRS := modules clients wireless $(DIRS) --endif - - help: - @echo "Pick one of the following targets:" -diff -urp pcmcia-cs-3.2.8/man/Makefile pcmcia-cs-3.2.8-tools-only/man/Makefile ---- pcmcia-cs-3.2.8/man/Makefile 2003-09-15 07:14:41.000000000 +0200 -+++ pcmcia-cs-3.2.8-tools-only/man/Makefile 2005-04-25 11:38:52.000000000 +0200 -@@ -20,7 +20,7 @@ MAN8 = cardmgr.8 cardctl.8 ftl_format.8 - ifport.8 ifuser.8 ide_info.8 pcinitrd.8 pack_cis.8 dump_cis.8 \ - lspnp.8 setpnp.8 pcic_probe.8 - --all: $(MAN1_X11) $(MAN4) $(MAN5) $(MAN8) -+all: $(MAN1_X11) $(MAN5) $(MAN8) - - dep: - -@@ -44,7 +44,7 @@ install-man8: $(MAN8) - @mkdir -p $(MANDIR)/man8 - cp *.8 $(MANDIR)/man8 - --install: install-man1-x11 install-man4 install-man5 install-man8 -+install: install-man1-x11 install-man5 install-man8 - - man2html: $(MAN1) $(MAN4) $(MAN5) $(MAN8) - for f in *.[1458] ; do \ diff --git a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-x11.patch b/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-x11.patch deleted file mode 100644 index d996700d841f..000000000000 --- a/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-x11.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -urp pcmcia-cs-3.2.8/cardmgr/Makefile pcmcia-cs-3.2.8-x11/cardmgr/Makefile ---- pcmcia-cs-3.2.8/cardmgr/Makefile 2003-11-22 09:54:13.000000000 +0100 -+++ pcmcia-cs-3.2.8-x11/cardmgr/Makefile 2005-04-13 00:38:24.000000000 +0200 -@@ -90,14 +90,14 @@ gpccard: gpccard.o - $(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 |