[oe-commits] Graeme Gregory : dpkg_1.14.23.bb, dpkg-native_1.14.23.bb : add a new fetchable version of dpkg

GIT User account git at amethyst.openembedded.net
Mon Dec 15 14:20:19 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 7674a3d9c537cbc9e29f8d60f2f3e9c902058412
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7674a3d9c537cbc9e29f8d60f2f3e9c902058412

Author: Graeme Gregory <dp at xora.org.uk>
Date:   Mon Dec 15 14:11:28 2008 +0000

dpkg_1.14.23.bb, dpkg-native_1.14.23.bb : add a new fetchable version of dpkg

---

 .../dpkg/dpkg-1.14.23/ignore_extra_fields.patch    |   24 ++++++++++++++++++++
 packages/dpkg/dpkg-native_1.14.23.bb               |   15 ++++++++++++
 packages/dpkg/dpkg_1.14.23.bb                      |   12 ++++++++++
 3 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/packages/dpkg/dpkg-1.14.23/ignore_extra_fields.patch b/packages/dpkg/dpkg-1.14.23/ignore_extra_fields.patch
new file mode 100644
index 0000000..e47af42
--- /dev/null
+++ b/packages/dpkg/dpkg-1.14.23/ignore_extra_fields.patch
@@ -0,0 +1,24 @@
+ dpkg-deb/build.c |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+Index: dpkg-1.14.23/dpkg-deb/build.c
+===================================================================
+--- dpkg-1.14.23.orig/dpkg-deb/build.c	2008-11-18 10:57:33.000000000 +0000
++++ dpkg-1.14.23/dpkg-deb/build.c	2008-12-15 11:27:08.000000000 +0000
+@@ -243,14 +243,14 @@
+               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++;
+-    }
++    }*/
+     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);
diff --git a/packages/dpkg/dpkg-native_1.14.23.bb b/packages/dpkg/dpkg-native_1.14.23.bb
new file mode 100644
index 0000000..f8d6705
--- /dev/null
+++ b/packages/dpkg/dpkg-native_1.14.23.bb
@@ -0,0 +1,15 @@
+require dpkg.inc
+DEPENDS += "bzip2-native zlib-native virtual/update-alternatives-native"
+SRC_URI += "file://noman.patch;patch=1"
+
+FILESPATH += "dpkg-${PV}"
+
+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/packages/dpkg/dpkg_1.14.23.bb b/packages/dpkg/dpkg_1.14.23.bb
new file mode 100644
index 0000000..0377ce1
--- /dev/null
+++ b/packages/dpkg/dpkg_1.14.23.bb
@@ -0,0 +1,12 @@
+require dpkg.inc
+PR = "r1"
+DEPENDS += "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"





More information about the Openembedded-commits mailing list