summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2013-02-18 14:05:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-22 06:09:21 -0800
commita0277dd67457530db8b97b88f8ad46a7bbcf8b81 (patch)
tree205443286cf1fcedba86b05cb1b3c0331d08d3a3
parente04afd89be7bbe6f2a71c3efc43abc08f3dd7a91 (diff)
downloadpoky-a0277dd67457530db8b97b88f8ad46a7bbcf8b81.tar.gz
augeas: upgrade to 1.0.0
0001-Add-missing-argument-to-escape.patch: removed - included in the new version remove-gets.patch: not needed anymore add-missing-argz-conditional.patch: added - the Makefiles assume that the argz conditional is present in configure.ac (From OE-Core rev: a711a8617c39b06c9a494d0ceae9f96f65b024f9) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/augeas/augeas.inc2
-rw-r--r--meta/recipes-extended/augeas/augeas/0001-Add-missing-argument-to-escape.patch29
-rw-r--r--meta/recipes-extended/augeas/augeas/add-missing-argz-conditional.patch20
-rw-r--r--meta/recipes-extended/augeas/augeas/remove-gets.patch20
-rw-r--r--meta/recipes-extended/augeas/augeas_0.10.0.bb8
-rw-r--r--meta/recipes-extended/augeas/augeas_1.0.0.bb6
6 files changed, 27 insertions, 58 deletions
diff --git a/meta/recipes-extended/augeas/augeas.inc b/meta/recipes-extended/augeas/augeas.inc
index 479fb97cc4..a0aa9ddd41 100644
--- a/meta/recipes-extended/augeas/augeas.inc
+++ b/meta/recipes-extended/augeas/augeas.inc
@@ -6,7 +6,7 @@ LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff" 6LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
7 7
8SRC_URI = "http://augeas.net/download/${BP}.tar.gz \ 8SRC_URI = "http://augeas.net/download/${BP}.tar.gz \
9 file://0001-Add-missing-argument-to-escape.patch \ 9 file://add-missing-argz-conditional.patch \
10 " 10 "
11 11
12DEPENDS = "readline libxml2" 12DEPENDS = "readline libxml2"
diff --git a/meta/recipes-extended/augeas/augeas/0001-Add-missing-argument-to-escape.patch b/meta/recipes-extended/augeas/augeas/0001-Add-missing-argument-to-escape.patch
deleted file mode 100644
index 3d0d0e3726..0000000000
--- a/meta/recipes-extended/augeas/augeas/0001-Add-missing-argument-to-escape.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1Upstream-Status: Backport
2Signed-off-by: Khem Raj <raj.khem@gmail.com>
3
4From 021ea39f8e400225e2d01b4c62eb9d56404f2ecd Mon Sep 17 00:00:00 2001
5From: Michael Chapman <mike@very.puzzling.org>
6Date: Fri, 16 Dec 2011 21:30:07 +1100
7Subject: [PATCH] Add missing argument to escape()
8
9Fixes ticket #242.
10---
11 src/regexp.c | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14diff --git a/src/regexp.c b/src/regexp.c
15index cf0ea5d..811087d 100644
16--- a/src/regexp.c
17+++ b/src/regexp.c
18@@ -50,7 +50,7 @@ char *regexp_escape(const struct regexp *r) {
19 ret = fa_restrict_alphabet(r->pattern->str, strlen(r->pattern->str),
20 &nre, &nre_len, 2, 1);
21 if (ret == 0) {
22- pat = escape(nre, nre_len);
23+ pat = escape(nre, nre_len, RX_ESCAPES);
24 free(nre);
25 }
26 #endif
27--
281.7.5.4
29
diff --git a/meta/recipes-extended/augeas/augeas/add-missing-argz-conditional.patch b/meta/recipes-extended/augeas/augeas/add-missing-argz-conditional.patch
new file mode 100644
index 0000000000..abbdbaa63b
--- /dev/null
+++ b/meta/recipes-extended/augeas/augeas/add-missing-argz-conditional.patch
@@ -0,0 +1,20 @@
1Add missing GL_GENERATE_ARGZ_H conditional
2
3- GL_GENERATE_ARGZ_H is used in gnulib/lib/Makefile.am
4
5Upstream-Status: Pending
6Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
7
8Index: augeas-1.0.0/configure.ac
9===================================================================
10--- augeas-1.0.0.orig/configure.ac
11+++ augeas-1.0.0/configure.ac
12@@ -55,6 +55,8 @@ AC_ARG_WITH([failmalloc],
13
14 AM_CONDITIONAL([WITH_FAILMALLOC], [test x$with_failmalloc != xno])
15
16+AM_CONDITIONAL([GL_GENERATE_ARGZ_H], [test -n "$ARGZ_H"])
17+
18 dnl --enable-debug=(yes|no)
19 AC_ARG_ENABLE([debug],
20 [AC_HELP_STRING([--enable-debug=no/yes],
diff --git a/meta/recipes-extended/augeas/augeas/remove-gets.patch b/meta/recipes-extended/augeas/augeas/remove-gets.patch
deleted file mode 100644
index bd6e92cc66..0000000000
--- a/meta/recipes-extended/augeas/augeas/remove-gets.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1eglibc 2.16 has remove gets so check for it to be there before using it
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4
5Upstream-Status: Pending
6Index: augeas-0.10.0/gnulib/lib/stdio.in.h
7===================================================================
8--- augeas-0.10.0.orig/gnulib/lib/stdio.in.h 2011-03-03 17:07:59.000000000 -0800
9+++ augeas-0.10.0/gnulib/lib/stdio.in.h 2012-07-03 19:46:42.871894833 -0700
10@@ -161,8 +161,10 @@
11 /* It is very rare that the developer ever has full control of stdin,
12 so any use of gets warrants an unconditional warning. Assume it is
13 always declared, since it is required by C89. */
14+#if defined gets
15 #undef gets
16 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
17+#endif
18
19 #if @GNULIB_FOPEN@
20 # if @REPLACE_FOPEN@
diff --git a/meta/recipes-extended/augeas/augeas_0.10.0.bb b/meta/recipes-extended/augeas/augeas_0.10.0.bb
deleted file mode 100644
index 0840428c04..0000000000
--- a/meta/recipes-extended/augeas/augeas_0.10.0.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1require augeas.inc
2
3SRC_URI += "file://remove-gets.patch \
4 "
5PR = "r3"
6
7SRC_URI[md5sum] = "fe1834e90a066c3208ac0214622c7352"
8SRC_URI[sha256sum] = "ec111af06186216930176ebe5ecccdf7bf528528aee9acde1d5d70088484afca"
diff --git a/meta/recipes-extended/augeas/augeas_1.0.0.bb b/meta/recipes-extended/augeas/augeas_1.0.0.bb
new file mode 100644
index 0000000000..2f7061a9b3
--- /dev/null
+++ b/meta/recipes-extended/augeas/augeas_1.0.0.bb
@@ -0,0 +1,6 @@
1require augeas.inc
2
3PR = "r0"
4
5SRC_URI[md5sum] = "82131019432ecf8102e1491610ad2dd1"
6SRC_URI[sha256sum] = "31bf757c5b8197765946b3805f3793c32b03cd92a7a77ec95d37e71a1f131912"