summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-03 21:38:07 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2009-11-03 21:38:07 +0100
commitc206dabdc8fc3c142149c44e5bf1aafd98ef560b (patch)
tree94482a04cb0dc28e45e875d21ea93c5e6995dc05
parentefa3f5fd40de50063d000d60cca45969809f97e2 (diff)
parentfbccdee191234fe422df187261de313eb7c15257 (diff)
Merge branch 'org.openembedded.dev' of git.openembedded.org:openembedded into org.openembedded.dev
-rw-r--r--classes/base.bbclass2
-rw-r--r--classes/cmake.bbclass2
-rw-r--r--classes/qmake2.bbclass2
-rw-r--r--conf/checksums.ini20
-rwxr-xr-xcontrib/angstrom/build-feeds.sh2
-rw-r--r--recipes/connman/connman_0.46.bb37
-rw-r--r--recipes/eject/eject_2.1.5.bb3
-rw-r--r--recipes/linux/linux-2.6.31/boc01/005-091103-isl12024.patch (renamed from recipes/linux/linux-2.6.31/boc01/005-091008-isl12024.patch)339
-rw-r--r--recipes/linux/linux_2.6.31.bb2
-rw-r--r--recipes/neon/neon_0.25.5.bb1
-rw-r--r--recipes/neon/neon_0.26.0.bb1
-rwxr-xr-xrecipes/ntp/ntp-4.2.4p7/ntpdate49
-rw-r--r--recipes/ntp/ntp_4.2.4p7.bb10
-rw-r--r--recipes/openvpn/openvpn_2.0.9+2.1rc20.bb9
-rw-r--r--recipes/perl/libxml-parser-perl_2.36.bb21
-rw-r--r--recipes/powervr-drivers/libgles-omap3.inc16
-rw-r--r--recipes/prelink/prelink_20061027.bb9
-rw-r--r--recipes/prelink/prelink_20071009.bb9
-rw-r--r--recipes/usbutils/usbutils_0.86.bb19
19 files changed, 360 insertions, 193 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index d29ba4bfcf..89ee917d20 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -661,7 +661,7 @@ python base_do_fetch() {
bb.note("No conf/checksums.ini found, not checking checksums")
return
except:
- bb.note("Creating the CheckSum parser failed")
+ bb.note("Creating the CheckSum parser failed: %s:%s" % (sys.exc_info()[0], sys.exc_info()[1]))
return
pv = bb.data.getVar('PV', d, True)
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
index b5b7b8655b..4978421b63 100644
--- a/classes/cmake.bbclass
+++ b/classes/cmake.bbclass
@@ -1,7 +1,7 @@
DEPENDS += " cmake-native "
# We want the staging and installing functions from autotools
-inherit autotools
+inherit autotools_stage
# Use in-tree builds by default but allow this to be changed
# since some packages do not support them (e.g. llvm 2.5).
diff --git a/classes/qmake2.bbclass b/classes/qmake2.bbclass
index 26e813a036..37721898d6 100644
--- a/classes/qmake2.bbclass
+++ b/classes/qmake2.bbclass
@@ -19,3 +19,5 @@ export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/qt4"
export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
export OE_QMAKE_LIBS_QT = "qt"
export OE_QMAKE_LIBS_X11 = "-lXext -lX11 -lm"
+export OE_QMAKE_LRELEASE = "${STAGING_BINDIR_NATIVE}/lrelease4"
+export OE_QMAKE_LUPDATE = "${STAGING_BINDIR_NATIVE}/lupdate4"
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 57a7161eb5..6e76e669e5 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -1322,6 +1322,10 @@ sha256=3b732ed179dd34c17d1ba17867b60a36f20d82a3f0eca7b084fcb5396aa2b30c
md5=84d9e0001fe01c14867256c3fe115899
sha256=55386de7bf78f67ad2b9ef664a578db66ee53f512a28eb067cd2303f5e23d740
+[http://www.cpan.org/modules/by-module/XML/XML-Parser-2.36.tar.gz]
+md5=1b868962b658bd87e1563ecd56498ded
+sha256=9fd529867402456bd826fe0e5588d35b3a2e27e586a2fd838d1352b71c2ed73f
+
[http://www.cpan.org/modules/by-module/XML/XML-Simple-2.18.tar.gz]
md5=593aa8001e5c301cdcdb4bb3b63abc33
sha256=a54967c188cda3e20f496c83be4de3f1740eeaa83c0380712ecd969ad8766826
@@ -4374,6 +4378,10 @@ sha256=eacc3c57cffb411b09d834d2225323cde5676165b5d2fc2a27b16cde98e3ba97
md5=f5b84040e99eeff3a18e11e83b1eb12a
sha256=e3a35e2ee2cc729bd637a69c7f82d6672317738d29dacab067468bb0634eb0de
+[http://www.kernel.org/pub/linux/network/connman/connman-0.46.tar.gz]
+md5=9bcdc528f38bc17ecb92519a28b741f1
+sha256=1853ed3d6400e25ef61ba1c98a7ef0f3984a2bf59aaf3485721cbc1de036b75c
+
[ftp://ftp.moblin.org/connman/releases/connman-0.8.tar.gz]
md5=3f1995bf91846b601a25a37832c88cb6
sha256=d40272cfb9a9990a32f6985056735df53d7368eacc28b31b8141de1fb2cb414d
@@ -5842,6 +5850,10 @@ sha256=a0d03208e335610defc3049d8dd03f4ec7fcf477f44c4897b3f68adc478237ee
md5=b96a6d4263122f1711db12701d79f738
sha256=ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55
+[http://sources.openembedded.org/eject-2.1.5.tar.gz]
+md5=b96a6d4263122f1711db12701d79f738
+sha256=ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55
+
[http://ekg.chmurka.net/ekg-1.6.tar.gz]
md5=1094eee5062d9b9900c4b28bd68fb564
sha256=c6dc601e20bb43c94f5689f05bca8e8501af4cff9dd760afdb3d6998c6952c28
@@ -19914,6 +19926,10 @@ sha256=063f00d5b889beee910eb113c8cfbb4fc85cd404693494bcaaf79dd09a98335c
md5=ba2ee667a8b7606b125b7d32f47ca578
sha256=d7f52e2217ed1cf367ca93257b27c8acb29fcae4fcaa31b4a94146a3c7a7de33
+[http://openvpn.net/release/openvpn-2.1_rc20.tar.gz]
+md5=8187f8f21507faac5e320e32747203b8
+sha256=4d423b48cb3ccc66b5669b9404dcb028cb62af410361c09e6056db0c5d2a1267
+
[http://downloads.sourceforge.net/gakusei/openwrt-imagetools-svn-rev7641.tar.bz2]
md5=7f35543286911b827dcbf8d07a7d72be
sha256=bad49b59646dbea380cc88be13a77d17c70488b8e11e85f7dd474930fa9cf36a
@@ -26090,6 +26106,10 @@ sha256=2edc7cc98fd217f6980d8ba0b3792beed4695d4e8429a11c7237faab04ab47f4
md5=6e393cc7423b5d228fa3d34c21481ae4
sha256=9876b0e45a1bd3899222b916ab1d423e9efa3ad9374d55a6a301d5716f2d8a2f
+[http://downloads.sourceforge.net/linux-usb/usbutils-0.86.tar.gz]
+md5=34979f675d2bcb3e1b45012fa830a53f
+sha256=b3b2bea6d2cd87660c8201a47071bf2a9889d8ed90c7203cc768b597799c12f4
+
[http://www.kroah.com/linux-usb/usbview-1.0.tar.gz]
md5=2ac1bdae03a858b965e895b211a75ad7
sha256=7a7add52242142f37a7d220c76dfe77090f6592eacdf796e3d07fa61415340fd
diff --git a/contrib/angstrom/build-feeds.sh b/contrib/angstrom/build-feeds.sh
index 6760a5dff6..7f3dff0dd3 100755
--- a/contrib/angstrom/build-feeds.sh
+++ b/contrib/angstrom/build-feeds.sh
@@ -70,7 +70,7 @@ fi
for machine in ${ARCH_MACHINES}
do
BUILD_MACHINE=$machine
- BUILD_CLEAN="qmake-native qmake2-native qt-x11-free iso-codes python python-native python-pygtk gnome-icon-theme"
+ BUILD_CLEAN="qmake-native qmake2-native qt-x11-free iso-codes perl perl-native python python-native python-pygtk gnome-icon-theme"
BUILD_TARGETS=" \
abiword \
aircrack-ng \
diff --git a/recipes/connman/connman_0.46.bb b/recipes/connman/connman_0.46.bb
new file mode 100644
index 0000000000..26b7b82798
--- /dev/null
+++ b/recipes/connman/connman_0.46.bb
@@ -0,0 +1,37 @@
+require connman.inc
+
+PR = "r1"
+
+EXTRA_OECONF += "\
+ --disable-gtk-doc \
+ --enable-debug \
+ --enable-threads \
+ --enable-loopback \
+ --enable-ethernet \
+ --enable-wifi \
+ --disable-wimax \
+ --enable-bluetooth \
+ --enable-udhcp \
+ --enable-dhclient \
+ --enable-resolvconf \
+ --enable-dnsproxy \
+ --disable-novatel \
+ --disable-huawei \
+ --disable-hso \
+ --enable-ppp \
+# needs udev >= 129
+ --disable-udev \
+ --disable-polkit \
+ --enable-client \
+ --enable-fake \
+# --with-udhcpc=PROGRAM \
+# --with-dhclient=PROGRAM \
+# --with-resolvconf=PROGRAM \
+# --with-pppd=PROGRAM \
+"
+
+SRC_URI = "\
+ http://www.kernel.org/pub/linux/network/connman/connman-${PV}.tar.gz \
+ file://connman \
+"
+
diff --git a/recipes/eject/eject_2.1.5.bb b/recipes/eject/eject_2.1.5.bb
index 6d53aee9a7..f90f8e6993 100644
--- a/recipes/eject/eject_2.1.5.bb
+++ b/recipes/eject/eject_2.1.5.bb
@@ -1,9 +1,10 @@
DESCRIPTION = "Eject allows removable media (typically a CD-ROM, floppy disk, tape, or JAZ or ZIP disk) to be ejected under software control."
+HOMEPAGE = "http://eject.sourceforge.net/"
LICENSE = "GPLv2"
inherit autotools gettext
-SRC_URI = "http://ca.geocities.com/jefftranter@rogers.com/eject-${PV}.tar.gz"
+SRC_URI = "http://sources.openembedded.org/eject-2.1.5.tar.gz"
S = "${WORKDIR}/${PN}"
diff --git a/recipes/linux/linux-2.6.31/boc01/005-091008-isl12024.patch b/recipes/linux/linux-2.6.31/boc01/005-091103-isl12024.patch
index 401ce4d9c8..9daab5acaa 100644
--- a/recipes/linux/linux-2.6.31/boc01/005-091008-isl12024.patch
+++ b/recipes/linux/linux-2.6.31/boc01/005-091103-isl12024.patch
@@ -1,37 +1,44 @@
+Support for the ISL12024 RTC, EEPROM and unique ID.
+
+Signed-off-by: Jeremy Laine <jeremy.laine@m4x.org>
+
Index: linux-2.6.31/drivers/misc/eeprom/at24.c
===================================================================
---- linux-2.6.31.orig/drivers/misc/eeprom/at24.c 2009-10-19 16:55:01.000000000 +0200
-+++ linux-2.6.31/drivers/misc/eeprom/at24.c 2009-10-19 16:55:05.000000000 +0200
+--- linux-2.6.31.orig/drivers/misc/eeprom/at24.c 2009-09-10 00:13:59.000000000 +0200
++++ linux-2.6.31/drivers/misc/eeprom/at24.c 2009-11-03 11:17:22.000000000 +0100
@@ -115,6 +115,8 @@
{ "spd", AT24_DEVICE_MAGIC(2048 / 8,
AT24_FLAG_READONLY | AT24_FLAG_IRUGO) },
{ "24c04", AT24_DEVICE_MAGIC(4096 / 8, 0) },
-+ /* Intersil RTC/Unique-ID isl12024 eeprom handled here */
++ /* Intersil isl12024 eeprom */
+ { "isl12024-eeprom", AT24_DEVICE_MAGIC(4096 / 8, AT24_FLAG_ADDR16) },
/* 24rf08 quirk is handled at i2c-core */
{ "24c08", AT24_DEVICE_MAGIC(8192 / 8, 0) },
{ "24c16", AT24_DEVICE_MAGIC(16384 / 8, 0) },
Index: linux-2.6.31/drivers/rtc/Kconfig
===================================================================
---- linux-2.6.31.orig/drivers/rtc/Kconfig 2009-10-19 16:55:01.000000000 +0200
-+++ linux-2.6.31/drivers/rtc/Kconfig 2009-10-19 16:55:05.000000000 +0200
-@@ -128,6 +128,12 @@
-
- if I2C
+--- linux-2.6.31.orig/drivers/rtc/Kconfig 2009-09-10 00:13:59.000000000 +0200
++++ linux-2.6.31/drivers/rtc/Kconfig 2009-11-03 11:13:42.000000000 +0100
+@@ -193,6 +193,15 @@
+ This driver can also be built as a module. If so, the module
+ will be called rtc-isl1208.
+config RTC_DRV_ISL12024
-+ tristate "Intersil 12024 RTC/Unique-ID"
++ tristate "Intersil 12024"
+ help
-+ If you say yes ....
-+ This driver can also be built as a module.
++ If you say yes here you get support for the Intersil ISL12024
++ RTC chip. This driver also exposes the chip's unique ID.
++
++ This driver can also be built as a module. If so, the module
++ will be called rtc-isl12024.
+
- config RTC_DRV_DS1307
- tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00, EPSON RX-8025"
+ config RTC_DRV_X1205
+ tristate "Xicor/Intersil X1205"
help
Index: linux-2.6.31/drivers/rtc/Makefile
===================================================================
---- linux-2.6.31.orig/drivers/rtc/Makefile 2009-10-19 16:55:01.000000000 +0200
-+++ linux-2.6.31/drivers/rtc/Makefile 2009-10-19 16:55:05.000000000 +0200
+--- linux-2.6.31.orig/drivers/rtc/Makefile 2009-09-10 00:13:59.000000000 +0200
++++ linux-2.6.31/drivers/rtc/Makefile 2009-11-03 11:13:42.000000000 +0100
@@ -40,6 +40,7 @@
obj-$(CONFIG_RTC_DRV_EP93XX) += rtc-ep93xx.o
obj-$(CONFIG_RTC_DRV_FM3130) += rtc-fm3130.o
@@ -43,20 +50,23 @@ Index: linux-2.6.31/drivers/rtc/Makefile
Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.31/drivers/rtc/rtc-isl12024.c 2009-10-19 16:57:37.000000000 +0200
-@@ -0,0 +1,465 @@
++++ linux-2.6.31/drivers/rtc/rtc-isl12024.c 2009-11-03 11:14:33.000000000 +0100
+@@ -0,0 +1,457 @@
+/*
-+ * Intersil ISL12024 class driver
-+ *
++ * Intersil ISL12024 rtc class driver
+ *
+ * Copyright (C) 2007, CenoSYS (www.cenosys.com).
-+ *
++ * Copyright (C) 2009, Bollore telecom (www.bolloretelecom.eu).
++ *
+ * Guillaume Ligneul <guillaume.ligneul@gmail.com>
+ * Sylvain Giroudon <sylvain.giroudon@goobie.fr>
+ * Jeremy Laine <jeremy.laine@bolloretelecom.eu>
+ *
-+ * This software program is licensed subject to the GNU General Public License
-+ * (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html
++ * Based on rtc-x1205.
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License version 2 as
++ * published by the Free Software Foundation.
+ */
+
+#include <linux/module.h>
@@ -67,36 +77,7 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+
+#define DRV_VERSION "0.3"
+
-+#define ISL12024_CCR_BASE 0x30 /* Base address of CCR */
-+#define ISL12024_ALM0_BASE 0x00 /* Base address of ALARM0 */
-+#define ISL12024_INT_AL0E 0x20 /* Alarm 0 enable */
-+
-+/* Register map */
-+
-+/* device id section */
-+#define ISL12024_REG_ID 0x20
-+
-+/* rtc section */
-+#define ISL12024_REG_HR_MIL (1<<7) /* 24h/12h mode */
-+#define ISL12024_REG_HR_PM (1<<5) /* PM/AM bit in 12h mode */
-+#define ISL12024_REG_SC 0x30
-+#define ISL12024_REG_DT 0x33 /* Date */
-+#define ISL12024_REG_MO 0x34 /* Month */
-+#define ISL12024_REG_YR 0x35 /* Year */
-+#define ISL12024_REG_DW 0x36
-+#define ISL12024_REG_Y2K 0x37
-+#define ISL12024_RTC_SECTION_LEN 8
-+
-+/* control/status section */
-+#define ISL12024_REG_SR 0x3F
-+#define ISL12024_REG_SR_BAT (1<<7) /* battery */
-+#define ISL12024_REG_SR_AL1 (1<<6) /* alarm 0 */
-+#define ISL12024_REG_SR_AL0 (1<<5) /* alarm 1 */
-+#define ISL12024_REG_SR_OSCF (1<<4) /* oscillator fail */
-+#define ISL12024_REG_SR_RWEL (1<<2) /* register write enable latch */
-+#define ISL12024_REG_SR_WEL (1<<1) /* write enable latch */
-+#define ISL12024_REG_SR_RTCF (1<<0) /* rtc fail */
-+#define ISL12024_REG_INT 0x11
++/* offsets into CCR area */
+
+#define CCR_SEC 0
+#define CCR_MIN 1
@@ -107,8 +88,31 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+#define CCR_WDAY 6
+#define CCR_Y2K 7
+
-+static int isl12024_get_status(struct i2c_client *client, unsigned char *sr);
-+static int isl12024_fix_osc(struct i2c_client *client);
++/* alarm0 section */
++#define ISL12024_REG_ALARM0 0x08 /* Base address of ALARM0 */
++
++/* device id section */
++#define ISL12024_REG_ID 0x20
++#define ISL12024_ID_SECTION_LEN 8
++
++/* rtc section */
++#define ISL12024_REG_RTC 0x30 /* Base address of RTC */
++#define ISL12024_REG_HR_MIL (1<<7) /* 24h/12h mode */
++#define ISL12024_REG_HR_PM (1<<5) /* AM/PM bit in 12h mode */
++#define ISL12024_RTC_SECTION_LEN 8
++
++/* control/status section */
++#define ISL12024_REG_SR 0x3F
++#define ISL12024_REG_SR_BAT (1<<7) /* battery */
++#define ISL12024_REG_SR_AL1 (1<<6) /* alarm 0 */
++#define ISL12024_REG_SR_AL0 (1<<5) /* alarm 1 */
++#define ISL12024_REG_SR_OSCF (1<<4) /* oscillator fail */
++#define ISL12024_REG_SR_RWEL (1<<2) /* register write enable latch */
++#define ISL12024_REG_SR_WEL (1<<1) /* write enable latch */
++#define ISL12024_REG_SR_RTCF (1<<0) /* rtc fail */
++#define ISL12024_REG_INT 0x11
++
++#define ISL12024_INT_AL0E 0x20 /* Alarm 0 enable */
+
+static struct i2c_driver isl12024_driver;
+
@@ -117,70 +121,68 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+ unsigned len)
+{
+ int ret;
-+ u8 dt_addr[2];
++ u8 dt_addr[2];
+
+ struct i2c_msg msgs[2] = {
-+ {
-+ .addr = client->addr,
-+ .flags = 0,
-+ .len = 2,
-+ .buf = dt_addr,
-+ },
-+ {
-+ .addr = client->addr,
-+ .flags = I2C_M_RD,
-+ .len = len ,
-+ .buf = buf,
-+ },
++ {
++ .addr = client->addr,
++ .flags = 0,
++ .len = 2,
++ .buf = dt_addr,
++ },
++ {
++ .addr = client->addr,
++ .flags = I2C_M_RD,
++ .len = len,
++ .buf = buf,
++ },
+ };
+
+ dt_addr[0] = 0;
+ dt_addr[1] = reg;
+
+ ret = i2c_transfer(client->adapter, msgs, 2);
-+ if ( ret < 0) {
-+ dev_err(&client->dev, "read error\n");
-+ return -EIO;
++ if (ret < 0) {
++ dev_err(&client->dev, "read error (%i)\n", ret);
++ return ret;
+ }
-+ return ret;
++ return 0;
+}
+
-+static int isl12024_i2c_validate_client(struct i2c_client *client)
++static int
++isl12024_i2c_set_regs(struct i2c_client *client, u8 reg, u8 const buf[],
++ unsigned len)
+{
-+ u8 regs[ISL12024_RTC_SECTION_LEN] = { 0, };
-+ u8 zero_mask[ISL12024_RTC_SECTION_LEN] = {
-+ 0x80, 0x80, 0x40, 0xc0, 0xe0, 0x00, 0xf8, 0xc6
-+ };
-+
-+ int i;
+ int ret;
++ u8 i2c_buf[10];
+
-+ ret = isl12024_i2c_read_regs(client, ISL12024_REG_SC, regs, ISL12024_RTC_SECTION_LEN);
-+
-+ if (ret < 0)
-+ return ret;
++ i2c_buf[0] = 0;
++ i2c_buf[1] = reg;
++ memcpy(&i2c_buf[2], &buf[0], len);
+
-+ for (i = 0; i < ISL12024_RTC_SECTION_LEN; ++i) {
-+ if (regs[i] & zero_mask[i]) /* check if bits are cleared */
-+ return -ENODEV;
++ ret = i2c_master_send(client, i2c_buf, len + 2);
++ if (ret != len + 2) {
++ dev_err(&client->dev, "write error (%d)\n", ret);
++ return -EIO;
+ }
-+
+ return 0;
+}
+
+static int isl12024_read_time(struct i2c_client *client,
-+ struct rtc_time *tm)
++ struct rtc_time *tm, u8 reg_base)
+{
+ unsigned char sr;
+ int err;
+ u8 regs[ISL12024_RTC_SECTION_LEN] = { 0, };
+
-+ if (isl12024_get_status(client, &sr) < 0) {
++ if (isl12024_i2c_read_regs(client, ISL12024_REG_SR, &sr,
++ sizeof(sr)) < 0) {
+ dev_err(&client->dev, "reading SR failed\n");
+ return -EIO;
+ }
+
-+ err = isl12024_i2c_read_regs(client, ISL12024_REG_SC, regs, ISL12024_RTC_SECTION_LEN);
++ err = isl12024_i2c_read_regs(client, reg_base, regs,
++ ISL12024_RTC_SECTION_LEN);
+
+ if (err < 0) {
+ dev_err(&client->dev, "reading RTC section failed\n");
@@ -190,15 +192,15 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+ tm->tm_sec = bcd2bin(regs[0]);
+ tm->tm_min = bcd2bin(regs[1]);
+
-+ { /* HR field has a more complex interpretation */
-+ const u8 _hr = regs[2];
-+ if (_hr & ISL12024_REG_HR_MIL) /* 24h format */
-+ tm->tm_hour = bcd2bin(_hr & 0x3f);
-+ else { // 12h format
-+ tm->tm_hour = bcd2bin(_hr & 0x1f);
-+ if (_hr & ISL12024_REG_HR_PM) /* PM flag set */
-+ tm->tm_hour += 12;
-+ }
++ /* HR field has a more complex interpretation */
++ if (regs[2] & ISL12024_REG_HR_MIL) {
++ /* 24h format */
++ tm->tm_hour = bcd2bin(regs[2] & 0x3f);
++ } else {
++ /* 12h format */
++ tm->tm_hour = bcd2bin(regs[2] & 0x1f);
++ if (regs[2] & ISL12024_REG_HR_PM) /* PM flag set */
++ tm->tm_hour += 12;
+ }
+
+ tm->tm_mday = bcd2bin(regs[3]);
@@ -209,36 +211,18 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+ return rtc_valid_tm(tm);
+}
+
-+static int isl12024_get_status(struct i2c_client *client, unsigned char *sr)
-+{
-+ static unsigned char sr_addr[2] = { 0, ISL12024_REG_SR };
-+
-+ struct i2c_msg msgs[] = {
-+ { client->addr, 0, 2, sr_addr }, /* setup read ptr */
-+ { client->addr, I2C_M_RD, 1, sr }, /* read status */
-+ };
-+
-+ /* read status register */
-+ if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) {
-+ dev_err(&client->dev, "%s: read error\n", __func__);
-+ return -EIO;
-+ }
-+
-+ return 0;
-+}
-+
+static int isl12024_set_datetime(struct i2c_client *client, struct rtc_time *tm,
-+ int datetoo, u8 reg_base, unsigned char alm_enable)
++ int datetoo, u8 reg_base,
++ unsigned char alm_enable)
+{
+ int i, xfer, nbytes;
+ unsigned char buf[8];
-+ unsigned char rdata[10] = { 0, reg_base };
+
+ static const unsigned char wel[3] = { 0, ISL12024_REG_SR,
-+ ISL12024_REG_SR_WEL };
++ ISL12024_REG_SR_WEL };
+
+ static const unsigned char rwel[3] = { 0, ISL12024_REG_SR,
-+ ISL12024_REG_SR_WEL | ISL12024_REG_SR_RWEL };
++ ISL12024_REG_SR_WEL | ISL12024_REG_SR_RWEL };
+
+ static const unsigned char diswe[3] = { 0, ISL12024_REG_SR, 0 };
+
@@ -272,17 +256,19 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+ }
+
+ /* If writing alarm registers, set compare bits on registers 0-4 */
-+ if (reg_base < ISL12024_CCR_BASE)
++ if (reg_base == ISL12024_REG_ALARM0)
+ for (i = 0; i <= 4; i++)
+ buf[i] |= 0x80;
+
+ /* this sequence is required to unlock the chip */
-+ if ((xfer = i2c_master_send(client, wel, 3)) != 3) {
++ xfer = i2c_master_send(client, wel, 3);
++ if (xfer != 3) {
+ dev_err(&client->dev, "%s: wel - %d\n", __func__, xfer);
+ return -EIO;
+ }
+
-+ if ((xfer = i2c_master_send(client, rwel, 3)) != 3) {
++ xfer = i2c_master_send(client, rwel, 3);
++ if (xfer != 3) {
+ dev_err(&client->dev, "%s: rwel - %d\n", __func__, xfer);
+ return -EIO;
+ }
@@ -292,20 +278,12 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+ nbytes = 8;
+ else
+ nbytes = 3;
-+ for (i = 0; i < nbytes; i++)
-+ rdata[2+i] = buf[i];
-+
-+ xfer = i2c_master_send(client, rdata, nbytes+2);
-+ if (xfer != nbytes+2) {
-+ dev_err(&client->dev,
-+ "%s: result=%d addr=%02x, data=%02x\n",
-+ __func__,
-+ xfer, rdata[1], rdata[2]);
-+ return -EIO;
-+ }
++ xfer = isl12024_i2c_set_regs(client, reg_base, buf, nbytes);
++ if (xfer < 0)
++ return xfer;
+
+ /* If we wrote to the nonvolatile region, wait 10msec for write cycle*/
-+ if (reg_base < ISL12024_CCR_BASE) {
++ if (reg_base == ISL12024_REG_ALARM0) {
+ unsigned char al0e[3] = { 0, ISL12024_REG_INT, 0 };
+
+ msleep(10);
@@ -316,7 +294,7 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+ xfer = i2c_master_send(client, rwel, 3);
+ if (xfer != 3) {
+ dev_err(&client->dev,
-+ "%s: aloe rwel - %d\n",
++ "%s: al0e rwel - %d\n",
+ __func__,
+ xfer);
+ return -EIO;
@@ -339,7 +317,8 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+ }
+
+ /* disable further writes */
-+ if ((xfer = i2c_master_send(client, diswe, 3)) != 3) {
++ xfer = i2c_master_send(client, diswe, 3);
++ if (xfer != 3) {
+ dev_err(&client->dev, "%s: diswe - %d\n", __func__, xfer);
+ return -EIO;
+ }
@@ -354,31 +333,51 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+
+ tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
+
-+ err = isl12024_set_datetime(client, &tm, 0, ISL12024_CCR_BASE, 0);
-+ if ( err < 0 )
-+ dev_err(&client->dev, "unable to restart the oscillator (%d)\n", err);
++ err = isl12024_set_datetime(client, &tm, 0, ISL12024_REG_RTC, 0);
++ if (err < 0)
++ dev_err(&client->dev,
++ "unable to restart the oscillator (%d)\n", err);
+
+ return err;
+}
+
+static int isl12024_rtc_read_time(struct device *dev, struct rtc_time *tm)
+{
-+ return isl12024_read_time(to_i2c_client(dev), tm);
-+
++ return isl12024_read_time(to_i2c_client(dev), tm,
++ ISL12024_REG_RTC);
+}
+
+static int isl12024_rtc_set_time(struct device *dev, struct rtc_time *tm)
+{
-+ return isl12024_set_datetime(to_i2c_client(dev),
-+ tm, 1, ISL12024_CCR_BASE, 0);
++ return isl12024_set_datetime(to_i2c_client(dev), tm, 1,
++ ISL12024_REG_RTC, 0);
++}
++
++static int isl12024_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm)
++{
++ unsigned char intr;
++ int err;
++ struct i2c_client *client = to_i2c_client(dev);
++
++ err = isl12024_i2c_read_regs(client, ISL12024_REG_INT, &intr,
++ sizeof(intr));
++ if (err < 0)
++ return err;
++ alrm->enabled = (intr & ISL12024_INT_AL0E) ? 1 : 0;
++
++ return isl12024_read_time(client, &alrm->time, ISL12024_REG_ALARM0);
++}
++
++static int isl12024_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm)
++{
++ return isl12024_set_datetime(to_i2c_client(dev), &alrm->time, 1,
++ ISL12024_REG_ALARM0, alrm->enabled);
+}
+
+static int
+isl12024_rtc_proc(struct device *dev, struct seq_file *seq)
+{
-+
+ /* Nothing to do */
-+
+ return 0;
+}
+
@@ -386,19 +385,23 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+ .proc = isl12024_rtc_proc,
+ .read_time = isl12024_rtc_read_time,
+ .set_time = isl12024_rtc_set_time,
++ .read_alarm = isl12024_rtc_read_alarm,
++ .set_alarm = isl12024_rtc_set_alarm,
+};
+
-+static ssize_t isl12024_show_id(struct device *dev, struct device_attribute *attr,
-+ char *buf)
++static ssize_t isl12024_show_id(struct device *dev,
++ struct device_attribute *attr,
++ char *buf)
+{
+ struct i2c_client *client = to_i2c_client(dev);
+ int err;
-+ int len = 0;
++ ssize_t len = 0;
+ int i;
-+ u8 id_buffer[ISL12024_RTC_SECTION_LEN];
++ u8 id_buffer[ISL12024_ID_SECTION_LEN];
+
+ /* Read unique id from eeprom */
-+ err = isl12024_i2c_read_regs(client, ISL12024_REG_ID, id_buffer, sizeof(id_buffer));
++ err = isl12024_i2c_read_regs(client, ISL12024_REG_ID, id_buffer,
++ sizeof(id_buffer));
+ if (err < 0) {
+ dev_err(&client->dev, "reading RTC section failed\n");
+ return err;
@@ -423,26 +426,22 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+ if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
+ return -ENODEV;
+
-+ if (isl12024_i2c_validate_client(client) < 0)
-+ return -ENODEV;
-+
-+ dev_info(&client->dev,
-+ "chip found, driver version " DRV_VERSION "\n");
++ dev_info(&client->dev,
++ "chip found, driver version " DRV_VERSION "\n");
+
+ rtc = rtc_device_register(isl12024_driver.driver.name,
+ &client->dev, &isl12024_rtc_ops,
+ THIS_MODULE);
-+
+ if (IS_ERR(rtc))
+ return PTR_ERR(rtc);
+
+ i2c_set_clientdata(client, rtc);
+
-+ rc = isl12024_get_status(client, &sr);
-+ if (rc < 0) {
-+ dev_err(&client->dev, "reading status failed\n");
-+ goto exit_unregister;
-+ }
++ rc = isl12024_i2c_read_regs(client, ISL12024_REG_SR, &sr, sizeof(sr));
++ if (rc < 0) {
++ dev_err(&client->dev, "reading status failed\n");
++ goto exit_unregister;
++ }
+
+ /* Check for power failures and enable the osc */
+ if (sr & ISL12024_REG_SR_RTCF) {
@@ -477,18 +476,18 @@ Index: linux-2.6.31/drivers/rtc/rtc-isl12024.c
+}
+
+static const struct i2c_device_id isl12024_id[] = {
-+ { "isl12024", 0 },
-+ { }
++ { "isl12024", 0 },
++ { }
+};
+MODULE_DEVICE_TABLE(i2c, isl12024_id);
+
+static struct i2c_driver isl12024_driver = {
-+ .driver = {
-+ .name = "rtc-isl12024",
-+ },
-+ .probe = isl12024_probe,
-+ .remove = isl12024_remove,
-+ .id_table = isl12024_id,
++ .driver = {
++ .name = "rtc-isl12024",
++ },
++ .probe = isl12024_probe,
++ .remove = isl12024_remove,
++ .id_table = isl12024_id,
+};
+
+/* module init/exit */
diff --git a/recipes/linux/linux_2.6.31.bb b/recipes/linux/linux_2.6.31.bb
index d908326016..15597104b6 100644
--- a/recipes/linux/linux_2.6.31.bb
+++ b/recipes/linux/linux_2.6.31.bb
@@ -25,7 +25,7 @@ SRC_URI_append_boc01 = "\
file://boc01.dts \
file://boc01.dts.v1 \
file://004-081205-usb.patch;patch=1 \
- file://005-091008-isl12024.patch;patch=1 \
+ file://005-091103-isl12024.patch;patch=1 \
file://007-091005-lm73.patch;patch=1 \
file://011-091028-gpio.patch;patch=1 \
file://012-091019-capsense.patch;patch=1 \
diff --git a/recipes/neon/neon_0.25.5.bb b/recipes/neon/neon_0.25.5.bb
index 9151a74665..0f99c0ba9b 100644
--- a/recipes/neon/neon_0.25.5.bb
+++ b/recipes/neon/neon_0.25.5.bb
@@ -13,6 +13,7 @@ SRC_URI = "http://www.webdav.org/${PN}/${P}.tar.gz \
inherit autotools binconfig lib_package pkgconfig
EXTRA_OECONF = "--with-ssl=gnutls --with-libxml2 --with-expat --enable-shared"
+EXTRA_AUTORECONF=" -I ${S}/macros "
do_stage() {
autotools_stage_all
diff --git a/recipes/neon/neon_0.26.0.bb b/recipes/neon/neon_0.26.0.bb
index 3a234851aa..4df99f7b2c 100644
--- a/recipes/neon/neon_0.26.0.bb
+++ b/recipes/neon/neon_0.26.0.bb
@@ -11,6 +11,7 @@ SRC_URI = "http://www.webdav.org/${PN}/${P}.tar.gz"
inherit autotools binconfig lib_package pkgconfig
EXTRA_OECONF = "--with-ssl=gnutls --with-libxml2 --with-expat --enable-shared"
+EXTRA_AUTORECONF=" -I ${S}/macros "
do_stage () {
autotools_stage_all
diff --git a/recipes/ntp/ntp-4.2.4p7/ntpdate b/recipes/ntp/ntp-4.2.4p7/ntpdate
new file mode 100755
index 0000000000..784b029ad5
--- /dev/null
+++ b/recipes/ntp/ntp-4.2.4p7/ntpdate
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+PATH=/sbin:/bin:/usr/bin
+
+test -x /usr/bin/ntpdate || exit 0
+
+if test -f /etc/default/ntpdate ; then
+. /etc/default/ntpdate
+else
+NTPSERVERS="pool.ntp.org"
+fi
+
+test -n "$NTPSERVERS" || exit 0
+
+# This is a heuristic: The idea is that if a static interface is brought
+# up, that is a major event, and we can put in some extra effort to fix
+# the system time. Feel free to change this, especially if you regularly
+# bring up new network interfaces.
+if [ "$METHOD" = static ]; then
+ OPTS="-b"
+fi
+
+if [ "$METHOD" = loopback ]; then
+ exit 0
+fi
+
+(
+
+LOCKFILE=/var/lock/ntpdate
+
+# Avoid running more than one at a time
+if [ -x /usr/bin/lockfile-create ]; then
+ lockfile-create $LOCKFILE
+ lockfile-touch $LOCKFILE &
+ LOCKTOUCHPID="$!"
+fi
+
+if /usr/bin/ntpdate -s $OPTS $NTPSERVERS 2>/dev/null; then
+ if [ "$UPDATE_HWCLOCK" = "yes" ]; then
+ hwclock --systohc || :
+ fi
+fi
+
+if [ -x /usr/bin/lockfile-create ] ; then
+ kill $LOCKTOUCHPID
+ lockfile-remove $LOCKFILE
+fi
+
+) &
diff --git a/recipes/ntp/ntp_4.2.4p7.bb b/recipes/ntp/ntp_4.2.4p7.bb
index 5e24e8adb1..4109c40c29 100644
--- a/recipes/ntp/ntp_4.2.4p7.bb
+++ b/recipes/ntp/ntp_4.2.4p7.bb
@@ -1,6 +1,6 @@
require ntp.inc
-PR = "r0"
+PR = "r1"
SRC_URI = "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/${P}.tar.gz \
file://tickadj.c.patch;patch=1 \
@@ -17,24 +17,24 @@ FILES_${PN}-bin = "${bindir}/ntp-wait ${bindir}/ntpdc ${bindir}/ntpq ${bindir}/n
FILES_${PN} = "${bindir}/ntpd ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd"
FILES_${PN}-tickadj = "${bindir}/tickadj"
FILES_ntp-utils = "${bindir}/*"
+FILES_ntpdate = "${bindir}/ntpdate ${sysconfdir}/network/if-up.d/ntpdate"
do_install_append() {
install -d ${D}/${sysconfdir}/init.d
install -m 644 ${WORKDIR}/ntp.conf ${D}/${sysconfdir}
- install -m 755 ${WORKDIR}/ntpdate ${D}/${sysconfdir}/init.d
install -m 755 ${WORKDIR}/ntpd ${D}/${sysconfdir}/init.d
+ install -d ${D}/${sysconfdir}/network/if-up.d
+ install -m 755 ${WORKDIR}/ntpdate ${D}/${sysconfdir}/network/if-up.d
}
pkg_postinst_ntpdate() {
if test "x$D" != "x"; then
exit 1
else
- if ! grep -q ntpdate /etc/cron/crontabs/root; then
+ if ! grep -q -s ntpdate /etc/cron/crontabs/root; then
echo "adding crontab"
test -d /etc/cron/crontabs || mkdir -p /etc/cron/crontabs
echo "30 * * * * /usr/bin/ntpdate -s -u pool.ntp.org" >> /etc/cron/crontabs/root
fi
- update-rc.d -s busybox-cron defaults
- update-rc.d -s ntpdate defaults 30
fi
}
diff --git a/recipes/openvpn/openvpn_2.0.9+2.1rc20.bb b/recipes/openvpn/openvpn_2.0.9+2.1rc20.bb
new file mode 100644
index 0000000000..f671e15165
--- /dev/null
+++ b/recipes/openvpn/openvpn_2.0.9+2.1rc20.bb
@@ -0,0 +1,9 @@
+require openvpn.inc
+
+SRC_URI = "http://openvpn.net/release/openvpn-2.1_rc20.tar.gz \
+ file://openvpn"
+
+S = "${WORKDIR}/openvpn-2.1_rc20"
+
+# I want openvpn to be able to read password from file (hrw)
+EXTRA_OECONF += "--enable-password-save"
diff --git a/recipes/perl/libxml-parser-perl_2.36.bb b/recipes/perl/libxml-parser-perl_2.36.bb
new file mode 100644
index 0000000000..c96489b2de
--- /dev/null
+++ b/recipes/perl/libxml-parser-perl_2.36.bb
@@ -0,0 +1,21 @@
+SECTION = "libs"
+LICENSE = "Artistic"
+DEPENDS += "expat expat-native"
+
+SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz"
+
+S = "${WORKDIR}/XML-Parser-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
+
+inherit cpan
+
+do_compile() {
+ export LIBC="$(find ${STAGING_DIR}/lib -name 'libc-*.so')"
+ cpan_do_compile
+}
+
+
+
+FILES_${PN} = "${PERLLIBDIRS}/auto/XML/Parser/Expat/* \
+ ${PERLLIBDIRS}/XML"
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc
index 1f098da1fe..79dcf59dd0 100644
--- a/recipes/powervr-drivers/libgles-omap3.inc
+++ b/recipes/powervr-drivers/libgles-omap3.inc
@@ -52,7 +52,7 @@ BINLOCATION ?= "${S}/gfx_rel"
PACKAGES += " xserver-kdrive-powervrsgx ${PN}-tests ${PN}-demos"
-FILES_${PN} = "${sysconfdir} ${libdir}/lib*.so.* ${libdir}/ES*/* ${bindir}/pvrsrvinit ${bindir}/*/*"
+FILES_${PN} = "${sysconfdir} ${libdir}/lib*.so.* ${libdir}/ES*/* ${bindir}/pvrsrvinit ${bindir}/cputype ${bindir}/*/*"
FILES_xserver-kdrive-powervrsgx = "${bindir}/Xsgx"
FILES_${PN}-tests = "${bindir}"
FILES_${PN}-demos = "${prefix}/demos ${prefix}/share/applications "
@@ -101,9 +101,10 @@ do_install () {
install -d ${D}${includedir}
cp -pPR ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/* ${D}${includedir}/
cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/* ${D}${includedir}/
- cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/LinuxOMAP3/Include/GLES/* ${D}${includedir}/GLES/
- cp -pPr ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/GLES/* ${D}${includedir}/GLES2/
- cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/v* ${D}${includedir}/
+ cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/LinuxOMAP3/Include/GLES/* ${D}${includedir}/GLES/ || true
+ cp -pPr ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/GLES/* ${D}${includedir}/GLES2/ || true
+ cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/v* ${D}${includedir}/ || true
+ cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/V* ${D}${includedir}/ || true
cp -pPr ${S}/include/*.h ${D}${includedir} || true
install -d ${D}${sysconfdir}/init.d/
@@ -134,10 +135,11 @@ do_stage () {
cp -pPR ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/* ${STAGING_INCDIR}/
cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/* ${STAGING_INCDIR}/
- cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/LinuxOMAP3/Include/GLES/* ${STAGING_INCDIR}/GLES/
- cp -pPr ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/GLES/* ${STAGING_INCDIR}/GLES2/
+ cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/LinuxOMAP3/Include/GLES/* ${STAGING_INCDIR}/GLES/ || true
+ cp -pPr ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/LinuxOMAP3/Include/GLES/* ${STAGING_INCDIR}/GLES2/ || true
cp -pPr ${S}/include/*.h ${STAGING_INCDIR} || true
- cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/v* ${STAGING_INCDIR}/
+ cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/v* ${STAGING_INCDIR}/ || true
+ cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/V* ${STAGING_INCDIR}/ || true
}
pkg_postinst() {
diff --git a/recipes/prelink/prelink_20061027.bb b/recipes/prelink/prelink_20061027.bb
index b650c2c2f1..83f33f382c 100644
--- a/recipes/prelink/prelink_20061027.bb
+++ b/recipes/prelink/prelink_20061027.bb
@@ -4,7 +4,7 @@ DESCRIPTION = " The prelink package contains a utility which modifies ELF shared
and executables, so that far fewer relocations need to be resolved at \
runtime and thus programs come up faster."
LICENSE = "GPL"
-PR = "r5"
+PR = "r6"
SRC_URI = "${DEBIAN_MIRROR}/main/p/prelink/prelink_0.0.${PV}.orig.tar.gz \
file://prelink.conf \
@@ -35,12 +35,15 @@ if [ "x$D" != "x" ]; then
exit 1
fi
-prelink -a
+. ${sysconfdir}/cron.daily/prelink
}
pkg_prerm_prelink() {
#!/bin/sh
-prelink -au
+if [ -f ${sysconfdir}/prelink.cache ]; then
+ prelink -au
+ rm -f ${sysconfdir}/prelink.cache
+fi
}
diff --git a/recipes/prelink/prelink_20071009.bb b/recipes/prelink/prelink_20071009.bb
index b650c2c2f1..83f33f382c 100644
--- a/recipes/prelink/prelink_20071009.bb
+++ b/recipes/prelink/prelink_20071009.bb
@@ -4,7 +4,7 @@ DESCRIPTION = " The prelink package contains a utility which modifies ELF shared
and executables, so that far fewer relocations need to be resolved at \
runtime and thus programs come up faster."
LICENSE = "GPL"
-PR = "r5"
+PR = "r6"
SRC_URI = "${DEBIAN_MIRROR}/main/p/prelink/prelink_0.0.${PV}.orig.tar.gz \
file://prelink.conf \
@@ -35,12 +35,15 @@ if [ "x$D" != "x" ]; then
exit 1
fi
-prelink -a
+. ${sysconfdir}/cron.daily/prelink
}
pkg_prerm_prelink() {
#!/bin/sh
-prelink -au
+if [ -f ${sysconfdir}/prelink.cache ]; then
+ prelink -au
+ rm -f ${sysconfdir}/prelink.cache
+fi
}
diff --git a/recipes/usbutils/usbutils_0.86.bb b/recipes/usbutils/usbutils_0.86.bb
new file mode 100644
index 0000000000..436331dd5a
--- /dev/null
+++ b/recipes/usbutils/usbutils_0.86.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Host side USB console utilities."
+SECTION = "base"
+DEPENDS += "virtual/libusb0"
+LICENSE = "GPL"
+PRIORITY = "optional"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz \
+ "
+inherit autotools
+
+EXTRA_OECONF = "--program-prefix="
+sbindir = "/sbin"
+bindir = "/bin"
+
+FILES_${PN} += "${datadir}/usb*"
+
+do_configure_prepend() {
+ rm -rf ${S}/libusb
+}