summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-19 15:16:11 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-19 15:16:11 +0000
commit7e8cf4d8d6e6f923e4b6dacd9b4df6f03d8649ad (patch)
treef92a9ba6d770120f9596c7612819b10f89fdfdd4
parent2bbbafbf5fafff8006d19dc08a699fa89d487b83 (diff)
downloadopenembedded-core-7e8cf4d8d6e6f923e4b6dacd9b4df6f03d8649ad.tar.gz
openembedded-core-7e8cf4d8d6e6f923e4b6dacd9b4df6f03d8649ad.tar.bz2
openembedded-core-7e8cf4d8d6e6f923e4b6dacd9b4df6f03d8649ad.zip
dpkg: upgrade to 1.14.19
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4709 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/dpkg/dpkg-native_1.14.19.bb13
-rw-r--r--meta/packages/dpkg/dpkg_1.14.19.bb11
-rw-r--r--meta/packages/dpkg/files/ignore_extra_fields.patch15
3 files changed, 34 insertions, 5 deletions
diff --git a/meta/packages/dpkg/dpkg-native_1.14.19.bb b/meta/packages/dpkg/dpkg-native_1.14.19.bb
new file mode 100644
index 0000000000..b21e95dd1f
--- /dev/null
+++ b/meta/packages/dpkg/dpkg-native_1.14.19.bb
@@ -0,0 +1,13 @@
+require dpkg.inc
+DEPENDS += "ncurses-native bzip2-native zlib-native virtual/update-alternatives-native"
+SRC_URI += "file://noman.patch;patch=1"
+
+inherit native
+
+EXTRA_OECONF = "--without-static-progs \
+ --without-dselect \
+ --with-start-stop-daemon \
+ --with-zlib \
+ --with-bz2lib \
+ --without-selinux \
+ --without-sgml-doc"
diff --git a/meta/packages/dpkg/dpkg_1.14.19.bb b/meta/packages/dpkg/dpkg_1.14.19.bb
new file mode 100644
index 0000000000..81415f6b54
--- /dev/null
+++ b/meta/packages/dpkg/dpkg_1.14.19.bb
@@ -0,0 +1,11 @@
+require dpkg.inc
+DEPENDS += "ncurses zlib bzip2"
+RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
+SRC_URI += "file://noman.patch;patch=1"
+
+EXTRA_OECONF = "--without-static-progs \
+ --without-dselect \
+ --with-start-stop-daemon \
+ --with-zlib \
+ --with-bz2lib \
+ --without-sgml-doc"
diff --git a/meta/packages/dpkg/files/ignore_extra_fields.patch b/meta/packages/dpkg/files/ignore_extra_fields.patch
index 43878463e9..d09343c6e5 100644
--- a/meta/packages/dpkg/files/ignore_extra_fields.patch
+++ b/meta/packages/dpkg/files/ignore_extra_fields.patch
@@ -1,16 +1,19 @@
dpkg-deb/build.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-Index: dpkg-1.13.22/dpkg-deb/build.c
-===================================================================
---- dpkg-1.13.22.orig/dpkg-deb/build.c 2006-05-19 23:11:08.000000000 +0100
-+++ dpkg-1.13.22/dpkg-deb/build.c 2006-11-17 14:43:20.000000000 +0000
-@@ -220,11 +220,11 @@ void do_build(const char *const *argv) {
+--- dpkg-1.14.19.orig/dpkg-deb/build.c
++++ dpkg-1.14.19/dpkg-deb/build.c
+@@ -241,18 +241,18 @@ void do_build(const char *const *argv) {
+ if (checkedinfo->priority == pri_other) {
+ fprintf(stderr, _("warning, `%s' contains user-defined Priority value `%s'\n"),
controlfile, checkedinfo->otherpriority);
warns++;
}
- for (field= checkedinfo->available.arbs; field; field= field->next) {
+ /*for (field= checkedinfo->available.arbs; field; field= field->next) {
+ if (known_arbitrary_field(field))
+ continue;
+
fprintf(stderr, _("warning, `%s' contains user-defined field `%s'\n"),
controlfile, field->name);
warns++;
@@ -19,3 +22,5 @@ Index: dpkg-1.13.22/dpkg-deb/build.c
checkversion(checkedinfo->available.version.version,"(upstream) version",&errs);
checkversion(checkedinfo->available.version.revision,"Debian revision",&errs);
if (errs) ohshit(_("%d errors in control file"),errs);
+
+ if (subdir) {