diff options
| author | Jeremy Laine <jeremy.laine@m4x.org> | 2008-05-06 00:41:48 +0000 |
|---|---|---|
| committer | Jeremy Laine <jeremy.laine@m4x.org> | 2008-05-06 00:41:48 +0000 |
| commit | 5c3a71d6bd2a212d89f2f5c7a7c08d16fa3b7511 (patch) | |
| tree | c51069f41baca16fc7dcc0609a53828ea8853c37 /packages/nonworking | |
| parent | d8261fbae1d661e49f8a0b83e0b3ea481a2f42ea (diff) | |
| parent | 4037c4a087635e50671fee29182cde8e93708bd6 (diff) | |
merge of '5c57f792fa4408bfd1d31632734168b1434d7100'
and 'de01edf0c06eb0cc6e3c6b19195f32bc67519b19'
Diffstat (limited to 'packages/nonworking')
27 files changed, 6726 insertions, 0 deletions
diff --git a/packages/nonworking/atmelwlandriver/.mtn2git_empty b/packages/nonworking/atmelwlandriver/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/nonworking/atmelwlandriver/.mtn2git_empty diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.3.5.6/.mtn2git_empty b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.3.5.6/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.3.5.6/.mtn2git_empty diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.3.5.6/dotconfig b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.3.5.6/dotconfig new file mode 100644 index 0000000000..c08a063593 --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.3.5.6/dotconfig @@ -0,0 +1,31 @@ +CONFIG_PCI= + +#PCMCIA Drivers +CONFIG_PCMCIA=y +CONFIG_PCMCIA_502A=y +CONFIG_PCMCIA_3COM=y +CONFIG_PCMCIA_502AD=y +CONFIG_PCMCIA_502AE=y +CONFIG_PCMCIA_504=y +CONFIG_PCMCIA_504_2958=y +CONFIG_PCMCIA_504A_2958=y +CONFIG_PCI_506=n + +#USB Drivers +CONFIG_USB=n +CONFIG_USB_503A_RFMD=n +CONFIG_USB_505=n +CONFIG_USB_505A=n +CONFIG_USB_505_2958=n + +#Applications Configuration +CONFIG_APPS= +CONFIG_CMD_LINE=n +CONFIG_Winter=n +CONFIG_FW_UPGRADE=y +CONFIG_XAPP=n + +DEBUG= +CONFIG_MODVERSIONS= +# runtime variables. Generated by setup.sh +KERNEL_SRC = diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.3.5.6/makefile.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.3.5.6/makefile.patch new file mode 100644 index 0000000000..4e6efe1df6 --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.3.5.6/makefile.patch @@ -0,0 +1,16 @@ +--- atmelwlandriver/src/Pcmcia_Pci/Makefile~ 2004-06-05 05:11:18.000000000 +0100 ++++ atmelwlandriver/src/Pcmcia_Pci/Makefile 2004-07-03 17:23:35.000000000 +0100 +@@ -72,11 +72,11 @@ + @for i in $(PCMCIA-y); do make $$i || exit 1; done + + final: $(objs) $(DEBUGORNO) fastvnet_cs.o +- ld -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs) ++ $(LD) -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs) + nm $(OBJDIR)/$(MODULE).o |sort -u >$(OBJDIR)/$(patsubst %.o,%.map,$(MODULE).o); + ifeq '$(NEW_KERN)' 'y' + $(CC) $(MODOFLAGS) -c -o $(OBJDIR)/$(MAGICMOD).o $(MAGICMOD).c +- ld -r -o $(OBJDIR)/$(MODULE).ko $(OBJDIR)/$(MODULE).o $(OBJDIR)/$(MAGICMOD).o ++ $(LD) -r -o $(OBJDIR)/$(MODULE).ko $(OBJDIR)/$(MODULE).o $(OBJDIR)/$(MAGICMOD).o + endif + + rfmdD: diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/.mtn2git_empty b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/.mtn2git_empty diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/add-compaq-usb-ids.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/add-compaq-usb-ids.patch new file mode 100644 index 0000000000..6fb70a6497 --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/add-compaq-usb-ids.patch @@ -0,0 +1,11 @@ +diff -Nurd atmelwlandriver-3.4.1.0/src/includes/usb/config.h atmelwlandriver-3.4.1.0-hh/src/includes/usb/config.h +--- atmelwlandriver-3.4.1.0/src/includes/usb/config.h 2004-11-10 01:40:50.000000000 -0800 ++++ atmelwlandriver-3.4.1.0-hh/src/includes/usb/config.h 2005-11-29 14:07:01.767789406 -0800 +@@ -33,6 +33,7 @@ + {USB_DEVICE(0x1371,0x5743)}, /* DSE XH1153 USB adapter */ \ + {USB_DEVICE(0x0864,0x4102)}, /* Netgear MA 101 Rev. B */ \ + {USB_DEVICE(0x04a5,0x9001)}, /* Benq AWL400 USB adapter */ \ ++ {USB_DEVICE(0x049f,0x0032)}, /* Compaq/hp h5[4,5]xx iPAQ internal wlan */ \ + {USB_DEVICE(VNetVID,VNetPID_RFMD)}, /* Atmel's id */ \ + { } /* end with an all-zeroes entry */\ + } /* end marker */ diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig new file mode 100644 index 0000000000..79e699962a --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/dotconfig @@ -0,0 +1,31 @@ +CONFIG_PCI= + +#PCMCIA Drivers +CONFIG_PCMCIA=y +CONFIG_PCMCIA_502A=y +CONFIG_PCMCIA_3COM=y +CONFIG_PCMCIA_502AD=y +CONFIG_PCMCIA_502AE=y +CONFIG_PCMCIA_504=y +CONFIG_PCMCIA_504_2958=y +CONFIG_PCMCIA_504A_2958=y +CONFIG_PCI_506=n + +#USB Drivers +CONFIG_USB=y +CONFIG_USB_503A_RFMD=y +CONFIG_USB_505=n +CONFIG_USB_505A=n +CONFIG_USB_505_2958=n + +#Applications Configuration +CONFIG_APPS= +CONFIG_CMD_LINE=n +CONFIG_Winter=n +CONFIG_FW_UPGRADE=y +CONFIG_XAPP=n + +DEBUG= +CONFIG_MODVERSIONS= +# runtime variables. Generated by setup.sh +KERNEL_SRC = diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch new file mode 100644 index 0000000000..96e2cd947f --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch @@ -0,0 +1,21 @@ +diff -Nurd atmelwlandriver-3.4.1.0/src/usb/vnetusba.c atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c +--- atmelwlandriver-3.4.1.0/src/usb/vnetusba.c 2005-12-02 10:25:21.946561154 -0800 ++++ atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c 2005-12-19 11:34:38.070346125 -0800 +@@ -72,7 +72,7 @@ + #endif + + struct usb_driver vnet_driver = { +-#if LINUX_VERSION_CODE < 0x020415 ++#if (LINUX_VERSION_CODE < 0x020415) && !defined(CONFIG_IPAQ_HANDHELD) + owner : THIS_MODULE, + #endif + #if defined(RFMD) +@@ -2174,7 +2174,7 @@ + return NULL; + } + */ +-#if (LINUX_VERSION_CODE < 0x020413) ++#if (LINUX_VERSION_CODE < 0x020413) && !defined(CONFIG_IPAQ_HANDHELD) + if (!register_netdev(Adapter->net)) { + err("register_netdev failed"); + #else diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch new file mode 100644 index 0000000000..c90c778703 --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/makefile.patch @@ -0,0 +1,45 @@ +diff -Nurd atmelwlandriver-3.4.1.0/src/Pcmcia_Pci/Makefile atmelwlandriver-3.4.1.0-hh/src/Pcmcia_Pci/Makefile +--- atmelwlandriver-3.4.1.0/src/Pcmcia_Pci/Makefile 2004-11-10 01:40:50.000000000 -0800 ++++ atmelwlandriver-3.4.1.0-hh/src/Pcmcia_Pci/Makefile 2005-11-30 11:48:20.830290096 -0800 +@@ -65,7 +65,7 @@ + @for i in $(PCMCIA-y); do make $$i || exit 1; done + + final: $(objs) $(DEBUGORNO) fastvnet_cs.o +- ld -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs) ++ $(LD) -r -o $(OBJDIR)/$(MODULE).o fastvnet_cs.o $(DEBUGORNO) $(objs) + nm $(OBJDIR)/$(MODULE).o |sort -u >$(OBJDIR)/$(patsubst %.o,%.map,$(MODULE).o); + + rfmdD: +@@ -206,9 +206,9 @@ + + fastvnet_cs.o:fastvnet_cs.c $(INC)/pcmcia/vnet.h + ifeq '$(NEW_KERN)' 'y' +- $(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c fastvnet_cs.c -o fastvnet_cs.o ++ $(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c fastvnet_cs.c + else +- $(CC) $(CFLAGS) -DMODULE -c fastvnet_cs.c -o fastvnet_cs.o ++ $(CC) $(CFLAGS) -DMODULE -c fastvnet_cs.c + endif + + clean: +diff -Nurd atmelwlandriver-3.4.1.0/src/usb/Makefile atmelwlandriver-3.4.1.0-hh/src/usb/Makefile +--- atmelwlandriver-3.4.1.0/src/usb/Makefile 2004-11-10 01:40:50.000000000 -0800 ++++ atmelwlandriver-3.4.1.0-hh/src/usb/Makefile 2005-11-30 11:48:45.517730782 -0800 +@@ -40,7 +40,7 @@ + for i in $(USB-y); do make $$i || exit 1; done + + final:$(objs) vnetusba.o +- ld -r -o $(OBJDIR)/$(MODULE).o vnetusba.o $(objs) ++ ${LD} -r -o $(OBJDIR)/$(MODULE).o vnetusba.o $(objs) + @nm $(OBJDIR)/$(MODULE).o |sort >../$(patsubst %.o,%.map, $(MODULE).o); + + +@@ -143,7 +143,7 @@ + callbacks.o : $(INC)/usb/$(fws) + vnetusba.o : vnetusba.c $(INC)/usb/vnetusba.h + ifeq '$(NEW_KERN)' 'y' +- $(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c vnetusba.c -o vnetusba.o ++ $(CC) $(CFLAGS) $(NEWKERNFLAGS) $(KMODNAMEFLAG)$(MODULE) -DMODULE -c vnetusba.c + else + $(CC) $(CFLAGS) -DMODULE -c vnetusba.c + diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch new file mode 100644 index 0000000000..0ac06f1482 --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch @@ -0,0 +1,143 @@ +diff -Nurd atmelwlandriver-3.4.1.0/src/usb/vnetusba.c atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c +--- atmelwlandriver-3.4.1.0/src/usb/vnetusba.c 2005-12-02 10:25:21.946561154 -0800 ++++ atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c 2005-12-02 10:22:42.877486580 -0800 +@@ -31,6 +31,12 @@ + #include "vnetioctl.h" + #include "config.h" + ++#ifdef CONFIG_ARCH_H5400 ++#include <asm/mach-types.h> ++#include <asm/arch/ipaq.h> ++#include <asm/arch-pxa/h5400-asic.h> ++#endif ++ + struct usb_device_id __devinitdata vnet_usb_id[] = + #if defined(RFMD) + RFMD_DEVICES +@@ -151,6 +157,16 @@ + dbgcond(DBG_STATE, "state change %d -> %d\n", + Adapter->StationState, State); + Adapter->StationState = State; ++ ++#ifdef CONFIG_ARCH_H5400 ++ if (machine_is_h5400()) { ++ if (State == STATION_STATE_READY) { ++ ipaq_led_off (RED_LED); ++ } else { ++ ipaq_led_blink (RED_LED, 1, 2); ++ } ++ } ++#endif + } + + static int usb_vnet_open(struct net_device *dev) +@@ -221,6 +237,13 @@ + #endif + #endif // Linux v. < 2.5+ + ++#ifdef CONFIG_ARCH_H5400 ++ if (machine_is_h5400()) { ++ ipaq_led_off (RED_LED); ++ ipaq_led_off (RED_LED_2); ++ } ++#endif ++ + printk("Device %s closed\n", dev->name); + return 0; + } +@@ -1926,6 +1949,32 @@ + return 0; + } + ++#ifdef CONFIG_ARCH_H5400 ++static struct timer_list led_timer; ++ ++static void ++ipaq_clear_led (unsigned long time) ++{ ++ ipaq_led_off (RED_LED_2); ++} ++ ++static void ++ipaq_blink_led (void) ++{ ++ ipaq_led_on (RED_LED_2); ++ ++ mod_timer (&led_timer, jiffies + (HZ / 25)); ++} ++ ++static void ++ipaq_init_led (void) ++{ ++ led_timer.function = ipaq_clear_led; ++ ++ init_timer (&led_timer); ++} ++#endif /* CONFIG_ARCH_H5400*/ ++ + static int usb_vnet_tx(struct sk_buff *skb, struct net_device *dev) + { + PVNet_ADAPTER Adapter = (PVNet_ADAPTER) dev->priv; +@@ -1954,6 +2003,11 @@ + if (Adapter->StationState != STATION_STATE_READY) + return -EAGAIN; + ++#ifdef CONFIG_ARCH_H5400 ++ if (machine_is_h5400()) ++ ipaq_blink_led(); ++#endif ++ + len = (ETH_ZLEN < skb->len) ? skb->len : ETH_ZLEN; + + Adapter->lock = SPIN_LOCK_UNLOCKED; +@@ -2080,6 +2134,10 @@ + kfree(Adapter); + return RETERR; + } ++#ifdef CONFIG_ARCH_H5400 ++ if (machine_is_h5400 ()) ++ ipaq_init_led (); ++#endif + #if (LINUX_VERSION_CODE > 0x020500) + usb_set_intfdata(interface, Adapter); + +@@ -2244,6 +2302,11 @@ + Adapter->flags &= ~VNET_RUNNING; + Adapter->StationState = STATION_STATE_EXITING; + ++#ifdef CONFIG_ARCH_H5400 ++ if (machine_is_h5400()) ++ del_timer(&led_timer); ++#endif ++ + if (waitqueue_active(Adapter->ctrl_wait)) { + Adapter->flags |= WAKE_UP_WITH_ERROR; + wake_up_interruptible(Adapter->ctrl_wait); +@@ -2316,6 +2379,13 @@ + + static int __init usb_vnet_init(void) + { ++#ifdef CONFIG_ARCH_H5400 ++ if (machine_is_h5400()) { ++ /* turn WLAN power on */ ++ SET_H5400_ASIC_GPIO (GPB, RF_POWER_ON, 1); ++ SET_H5400_ASIC_GPIO (GPB, WLAN_POWER_ON, 1); ++ } ++#endif + return usb_register(&vnet_driver); + } + +@@ -2326,6 +2396,13 @@ + #endif + //printk("AtmelWlanDriver Is deregistered!\n"); + usb_deregister(&vnet_driver); ++#ifdef CONFIG_ARCH_H5400 ++ if (machine_is_h5400()) { ++ /* turn WLAN power off */ ++ SET_H5400_ASIC_GPIO (GPB, RF_POWER_ON, 0); ++ SET_H5400_ASIC_GPIO (GPB, WLAN_POWER_ON, 0); ++ } ++#endif + } + + /**************************************************************/ diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver_3.3.5.6.bb b/packages/nonworking/atmelwlandriver/atmelwlandriver_3.3.5.6.bb new file mode 100644 index 0000000000..18df2e860b --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver_3.3.5.6.bb @@ -0,0 +1,39 @@ +SRC_URI = "${SOURCEFORGE_MIRROR}/atmelwlandriver/atmelwlandriver-${PV}.tar.bz2 \ + file://dotconfig \ + file://pcmf502rd.conf \ + file://makefile.patch;patch=1" +S = "${WORKDIR}/atmelwlandriver" +LICENSE = "GPL" + +inherit module +SECTION = "base" + +do_configure() { + install ${WORKDIR}/dotconfig .config +} + +CFLAGS = "-DLINUX_OS -D__KERNEL__ -DMODULE -I${S}/src/includes -I${S}/src/includes/pcmcia -I${STAGING_KERNEL_DIR}/include" + +do_compile() { + export INC="${S}/src/includes" + export OBJDIR="${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/" + export KERNEL_PATH="${STAGING_KERNEL_DIR}" + export KERNEL_SRC="${STAGING_KERNEL_DIR}" + export CC="${KERNEL_CC}" + export LD="${KERNEL_LD}" + export KERNEL_VERSION="${KERNEL_VERSION}" + export TOPDIR="${S}" + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + install -d ${OBJDIR} + #oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS} -DATMEL_WLAN -DRFMD -DINT_ROAM' MODULE:='pcmf502r' LIB:=-RFMD- + oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS} -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_D' MODULE:='pcmf502rd' LIB:=-REVD- + #oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS} -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_E' MODULE:='pcmf502re' LIB:=-REVE- +} + +do_install() { + install -d ${D}${sysconfdir}/pcmcia + install -m 0644 ${WORKDIR}/pcmf502rd.conf ${D}${sysconfdir}/pcmcia/ + + # remove any maps that were installed + rm -f ${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/*.map +} diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver_3.4.1.0.bb b/packages/nonworking/atmelwlandriver/atmelwlandriver_3.4.1.0.bb new file mode 100644 index 0000000000..136f6ca42a --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver_3.4.1.0.bb @@ -0,0 +1,49 @@ +SRC_URI = "${SOURCEFORGE_MIRROR}/atmelwlandriver/atmelwlandriver-${PV}.tar.bz2 \ + file://dotconfig \ + file://pcmf502rd.conf \ + file://makefile.patch;patch=1 \ + file://add-compaq-usb-ids.patch;patch=1 \ + file://power-on-and-leds.patch;patch=1 \ + file://fix-kernel-version-test-for-hh.patch;patch=1" +S = "${WORKDIR}/atmelwlandriver" +LICENSE = "GPL" +PR = "r2" + +inherit module +SECTION = "base" + +PACKAGES = "${PN}-dbg atmelwlandriver-pcmcia atmelwlandriver-usb" + +FILES_atmelwlandriver-pcmcia = "${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/pcmf502rd.o ${sysconfdir}/pcmcia/pcmf502rd.conf" +FILES_atmelwlandriver-usb = "${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/usbvnetr.o" + +do_configure() { + install ${WORKDIR}/dotconfig .config +} + +CFLAGS_pcmcia = "-DLINUX_OS -D__KERNEL__ -DMODULE -I${S}/src/includes -I${S}/src/includes/pcmcia -I${STAGING_KERNEL_DIR}/include" +CFLAGS_usb = "-DLINUX_OS -D__KERNEL__ -DMODULE -I${S}/src/includes -I${S}/src/includes/usb -I${STAGING_KERNEL_DIR}/include" + +do_compile() { + export INC="${S}/src/includes" + export OBJDIR="${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/" + export KERNEL_PATH="${STAGING_KERNEL_DIR}" + export KERNEL_SRC="${STAGING_KERNEL_DIR}" + export CC="${KERNEL_CC}" + export CCC="${KERNEL_CC}" + export LD="${KERNEL_LD}" + export KERNEL_VERSION="${KERNEL_VERSION}" + export TOPDIR="${S}" + unset CFLAGS CCFLAGS CPPFLAGS CXXFLAGS LDFLAGS + install -d ${OBJDIR} + oe_runmake -C src/Pcmcia_Pci final CFLAGS:='${CFLAGS_pcmcia} -DATMEL_WLAN -DRFMD -DINT_ROAM -DREV_D' MODULE:='pcmf502rd' LIB:=-REVD- + oe_runmake -C src/usb final CFLAGS:='${CFLAGS_usb} -DATMEL_WLAN -DRFMD' MODULE:='usbvnetr' +} + +do_install() { + install -d ${D}${sysconfdir}/pcmcia + install -m 0644 ${WORKDIR}/pcmf502rd.conf ${D}${sysconfdir}/pcmcia/ + + # remove any maps that were installed + rm -f ${D}${base_libdir}/modules/${KERNEL_VERSION}/drivers/net/wireless/atmel/*.map +} diff --git a/packages/nonworking/atmelwlandriver/pcmf502rd.conf b/packages/nonworking/atmelwlandriver/pcmf502rd.conf new file mode 100644 index 0000000000..90981830f6 --- /dev/null +++ b/packages/nonworking/atmelwlandriver/pcmf502rd.conf @@ -0,0 +1,6 @@ +device "pcmf502rd" + class "network" module "pcmf502rd" + +card "Actiontec 802CAT1" + version "WLAN", "802.11b PC CARD" + bind "pcmf502rd" diff --git a/packages/nonworking/centericq/.mtn2git_empty b/packages/nonworking/centericq/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/nonworking/centericq/.mtn2git_empty diff --git a/packages/nonworking/centericq/centericq-4.11.0/.mtn2git_empty b/packages/nonworking/centericq/centericq-4.11.0/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/nonworking/centericq/centericq-4.11.0/.mtn2git_empty diff --git a/packages/nonworking/centericq/centericq-4.11.0/configure.patch b/packages/nonworking/centericq/centericq-4.11.0/configure.patch new file mode 100644 index 0000000000..aea7a493f8 --- /dev/null +++ b/packages/nonworking/centericq/centericq-4.11.0/configure.patch @@ -0,0 +1,66 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- centericq-4.11.0/./configure.in~configure ++++ centericq-4.11.0/./configure.in +@@ -85,12 +85,12 @@ + AC_MSG_RESULT([not found or disabled]) + with_ssl="no" + +- AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [ +- CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS" +- LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra" +- AC_DEFINE(HAVE_GNUTLS, 1, [use gnutls]) +- with_ssl="yes" +- ]) ++# AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [ ++# CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS" ++# LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra" ++# AC_DEFINE(HAVE_GNUTLS, 1, [use gnutls]) ++# with_ssl="yes" ++# ]) + fi + fi + +--- centericq-4.11.0/./connwrap-0.1/configure.in~configure ++++ centericq-4.11.0/./connwrap-0.1/configure.in +@@ -45,29 +45,29 @@ + else + AC_MSG_RESULT([not found or disabled]) + +- AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [ +- CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS" +- LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra" +- AC_DEFINE(HAVE_GNUTLS) +- ]) ++# AM_PATH_LIBGNUTLS_EXTRA(0.0.1, [ ++# CXXFLAGS="$CXXFLAGS $LIBGNUTLS_CFLAGS" ++# LIBS="$LIBS $LIBGNUTLS_LIBS -lgnutls-extra" ++# AC_DEFINE(HAVE_GNUTLS) ++# ]) + fi + fi + + AC_MSG_CHECKING(for inet_aton() presence) + +-AC_TRY_LINK([ ++AC_LINK_IFELSE([AC_LANG_PROGRAM([[ + + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <arpa/inet.h> + +-], [ ++]], [[ + + struct in_addr inp; + inet_aton("address", &inp); + +-], have_aton=yes, have_aton=no) ++]])],[have_aton=yes],[have_aton=no]) + + if test "$have_aton" = "yes"; then + AC_DEFINE(HAVE_INET_ATON) diff --git a/packages/nonworking/centericq/centericq-4.11.0/m4.patch b/packages/nonworking/centericq/centericq-4.11.0/m4.patch new file mode 100644 index 0000000000..60276a0ba6 --- /dev/null +++ b/packages/nonworking/centericq/centericq-4.11.0/m4.patch @@ -0,0 +1,1956 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- /dev/null ++++ centericq-4.9.7/m4/codeset.m4 +@@ -0,0 +1,23 @@ ++# codeset.m4 serial AM1 (gettext-0.10.40) ++dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++AC_DEFUN([AM_LANGINFO_CODESET], ++[ ++ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, ++ [AC_TRY_LINK([#include <langinfo.h>], ++ [char* cs = nl_langinfo(CODESET);], ++ am_cv_langinfo_codeset=yes, ++ am_cv_langinfo_codeset=no) ++ ]) ++ if test $am_cv_langinfo_codeset = yes; then ++ AC_DEFINE(HAVE_LANGINFO_CODESET, 1, ++ [Define if you have <langinfo.h> and nl_langinfo(CODESET).]) ++ fi ++]) +--- /dev/null ++++ centericq-4.9.7/m4/gettext.m4 +@@ -0,0 +1,587 @@ ++# gettext.m4 serial 17 (gettext-0.11.5) ++dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++dnl ++dnl This file can can be used in projects which are not available under ++dnl the GNU General Public License or the GNU Library General Public ++dnl License but which still want to provide support for the GNU gettext ++dnl functionality. ++dnl Please note that the actual code of the GNU gettext library is covered ++dnl by the GNU Library General Public License, and the rest of the GNU ++dnl gettext package package is covered by the GNU General Public License. ++dnl They are *not* in the public domain. ++ ++dnl Authors: ++dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. ++dnl Bruno Haible <haible@clisp.cons.org>, 2000-2002. ++ ++dnl Macro to add for using GNU gettext. ++ ++dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). ++dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The ++dnl default (if it is not specified or empty) is 'no-libtool'. ++dnl INTLSYMBOL should be 'external' for packages with no intl directory, ++dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. ++dnl If INTLSYMBOL is 'use-libtool', then a libtool library ++dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, ++dnl depending on --{enable,disable}-{shared,static} and on the presence of ++dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library ++dnl $(top_builddir)/intl/libintl.a will be created. ++dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext ++dnl implementations (in libc or libintl) without the ngettext() function ++dnl will be ignored. If NEEDSYMBOL is specified and is ++dnl 'need-formatstring-macros', then GNU gettext implementations that don't ++dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored. ++dnl INTLDIR is used to find the intl libraries. If empty, ++dnl the value `$(top_builddir)/intl/' is used. ++dnl ++dnl The result of the configuration is one of three cases: ++dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled ++dnl and used. ++dnl Catalog format: GNU --> install in $(datadir) ++dnl Catalog extension: .mo after installation, .gmo in source tree ++dnl 2) GNU gettext has been found in the system's C library. ++dnl Catalog format: GNU --> install in $(datadir) ++dnl Catalog extension: .mo after installation, .gmo in source tree ++dnl 3) No internationalization, always use English msgid. ++dnl Catalog format: none ++dnl Catalog extension: none ++dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. ++dnl The use of .gmo is historical (it was needed to avoid overwriting the ++dnl GNU format catalogs when building on a platform with an X/Open gettext), ++dnl but we keep it in order not to force irrelevant filename changes on the ++dnl maintainers. ++dnl ++AC_DEFUN([AM_GNU_GETTEXT], ++[ ++ dnl Argument checking. ++ ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , ++ [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ++])])])])]) ++ ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , ++ [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ++])])])]) ++ define(gt_included_intl, ifelse([$1], [external], [no], [yes])) ++ define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], [])) ++ ++ AC_REQUIRE([AM_PO_SUBDIRS])dnl ++ ifelse(gt_included_intl, yes, [ ++ AC_REQUIRE([AM_INTL_SUBDIR])dnl ++ ]) ++ ++ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. ++ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) ++ AC_REQUIRE([AC_LIB_RPATH]) ++ ++ dnl Sometimes libintl requires libiconv, so first search for libiconv. ++ dnl Ideally we would do this search only after the ++ dnl if test "$USE_NLS" = "yes"; then ++ dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then ++ dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT ++ dnl the configure script would need to contain the same shell code ++ dnl again, outside any 'if'. There are two solutions: ++ dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. ++ dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. ++ dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not ++ dnl documented, we avoid it. ++ ifelse(gt_included_intl, yes, , [ ++ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) ++ ]) ++ ++ AC_MSG_CHECKING([whether NLS is requested]) ++ dnl Default is enabled NLS ++ AC_ARG_ENABLE(nls, ++ [ --disable-nls do not use Native Language Support], ++ USE_NLS=$enableval, USE_NLS=yes) ++ AC_MSG_RESULT($USE_NLS) ++ AC_SUBST(USE_NLS) ++ ++ ifelse(gt_included_intl, yes, [ ++ BUILD_INCLUDED_LIBINTL=no ++ USE_INCLUDED_LIBINTL=no ++ ]) ++ LIBINTL= ++ LTLIBINTL= ++ POSUB= ++ ++ dnl If we use NLS figure out what method ++ if test "$USE_NLS" = "yes"; then ++ gt_use_preinstalled_gnugettext=no ++ ifelse(gt_included_intl, yes, [ ++ AC_MSG_CHECKING([whether included gettext is requested]) ++ AC_ARG_WITH(included-gettext, ++ [ --with-included-gettext use the GNU gettext library included here], ++ nls_cv_force_use_gnu_gettext=$withval, ++ nls_cv_force_use_gnu_gettext=no) ++ AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) ++ ++ nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" ++ if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ++ ]) ++ dnl User does not insist on using GNU NLS library. Figure out what ++ dnl to use. If GNU gettext is available we use this. Else we have ++ dnl to fall back to GNU NLS library. ++ ++ dnl Add a version number to the cache macros. ++ define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1))) ++ define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc]) ++ define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl]) ++ ++ AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc, ++ [AC_TRY_LINK([#include <libintl.h> ++]ifelse([$2], [need-formatstring-macros], ++[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION ++#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) ++#endif ++changequote(,)dnl ++typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; ++changequote([,])dnl ++], [])[extern int _nl_msg_cat_cntr; ++extern int *_nl_domain_bindings;], ++ [bindtextdomain ("", ""); ++return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], ++ |
