apt: Upgrade from 0.9.9.4 to 0.9.11.4
PATCH 1/2 apt: Upgrade from 0.9.9.4 to 0.9.11.4
- no-ko-translation.patch respects new structure of po/LINGUAS file
- replaces configure.in to configure.ac inside multiple patches
- adds libapt-private installation
---
.../disable-configure-in-makefile.patch | 0
.../fix-gcc-4.6-null-not-defined.patch | 0
.../{apt-0.9.9.4 => apt-0.9.11.4}/makerace.patch | 0
.../no-ko-translation.patch | 19 +++++++---
.../no-nls-dpkg.patch | 0
.../noconfigure.patch | 0
.../apt/{apt-0.9.9.4 => apt-0.9.11.4}/nodoc.patch | 0
.../truncate-filename.patch | 0
.../{apt-0.9.9.4 => apt-0.9.11.4}/use-host.patch | 6 +--
meta/recipes-devtools/apt/apt-native.inc | 3 +-
...pt-native_0.9.9.4.bb => apt-native_0.9.11.4.bb} | 4 +-
meta/recipes-devtools/apt/apt-package.inc | 1 +
.../apt/{apt_0.9.9.4.bb => apt_0.9.11.4.bb} | 4 +-
.../apt/files/db_linking_hack.patch | 11 +++---
meta/recipes-devtools/apt/files/no-curl.patch | 39 +++++++++++---------
15 files changed, 51 insertions(+), 36 deletions(-)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 => apt-0.9.11.4}/disable-configure-in-makefile.patch (100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 => apt-0.9.11.4}/fix-gcc-4.6-null-not-defined.patch (100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 => apt-0.9.11.4}/makerace.patch (100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 => apt-0.9.11.4}/no-ko-translation.patch (32%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 => apt-0.9.11.4}/no-nls-dpkg.patch (100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 => apt-0.9.11.4}/noconfigure.patch (100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 => apt-0.9.11.4}/nodoc.patch (100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 => apt-0.9.11.4}/truncate-filename.patch (100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 => apt-0.9.11.4}/use-host.patch (84%)
rename meta/recipes-devtools/apt/{apt-native_0.9.9.4.bb => apt-native_0.9.11.4.bb} (55%)
rename meta/recipes-devtools/apt/{apt_0.9.9.4.bb => apt_0.9.11.4.bb} (74%)meta/recipes-devtools/apt/apt-0.9.11.4/disable-configure-in-makefile.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/disable-configure-in-makefile.patch +0 -0
meta/recipes-devtools/apt/apt-0.9.11.4/fix-gcc-4.6-null-not-defined.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/fix-gcc-4.6-null-not-defined.patch +0 -0
meta/recipes-devtools/apt/apt-0.9.11.4/makerace.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/makerace.patch +0 -0
meta/recipes-devtools/apt/apt-0.9.11.4/no-ko-translation.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/no-ko-translation.patch +14 -5
@@ -4,8 +4,17 @@ Upstream-Status: Inappropriate [configuration] po/LINGUAS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---- a/po/LINGUAS -+++ b/po/LINGUAS -@@ -1 +1 @@ --ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ko ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl uk vi zh_CN zh_TW -+ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl uk vi zh_CN zh_TW +Index: apt-0.9.11.4/po/LINGUAS +=================================================================== +--- apt-0.9.11.4.orig/po/LINGUAS ++++ apt-0.9.11.4/po/LINGUAS +@@ -1,7 +1,8 @@ + ## If a language isn't listed here but a po file is available the build will fail. + ## If a language is disabled deliberately, list it in a line starting with a single '#' + +-ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ko ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl tr uk vi zh_CN zh_TW ++ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl tr uk vi zh_CN zh_TW + + ## disabled by translator request #313283: + # he ++# ko
meta/recipes-devtools/apt/apt-0.9.11.4/no-nls-dpkg.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/no-nls-dpkg.patch +0 -0
meta/recipes-devtools/apt/apt-0.9.11.4/noconfigure.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/noconfigure.patch +0 -0
meta/recipes-devtools/apt/apt-0.9.11.4/nodoc.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/nodoc.patch +0 -0
meta/recipes-devtools/apt/apt-0.9.11.4/truncate-filename.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/truncate-filename.patch +0 -0
meta/recipes-devtools/apt/apt-0.9.11.4/use-host.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/use-host.patch +3 -3
@@ -1,9 +1,9 @@ Upstream-Status: Pending -Index: apt-0.9.7.7/configure.in +Index: apt-0.9.7.7/configure.ic =================================================================== ---- apt-0.9.7.7.orig/configure.in -+++ apt-0.9.7.7/configure.in +--- apt-0.9.7.7.orig/configure.ac ++++ apt-0.9.7.7/configure.ac @@ -112,7 +112,7 @@ dnl This is often the dpkg architecture dnl First check against the full canonical canoncial-system-type in $target dnl and if that fails, just look for the cpu
meta/recipes-devtools/apt/apt-native.inc +2 -1
@@ -46,6 +46,7 @@ do_install_base () { ln -sf libapt-pkg$GLIBC_VER$LIBSTDCPP_VER.so ${D}${libdir}/libapt-pkg.so oe_libinstall -so -C bin libapt-inst$GLIBC_VER$LIBSTDCPP_VER ${D}${libdir}/ ln -sf libapt-inst$GLIBC_VER$LIBSTDCPP_VER.so ${D}${libdir}/libapt-inst.so + oe_libinstall -so -C bin libapt-private ${D}${libdir} install -d ${D}${libdir}/apt/methods install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/
@@ -55,7 +56,7 @@ do_install_base () { install -m 0644 ${S}/dselect/names ${D}${libdir}/dpkg/methods/apt/ install -m 0755 ${S}/dselect/install ${D}${libdir}/dpkg/methods/apt/ install -m 0755 ${S}/dselect/setup ${D}${libdir}/dpkg/methods/apt/ - install -m 0755 ${S}/dselect/update ${D}${libdir}/dpkg/methods/apt/ + install -m 0755 ${S}/dselect/update ${D}${libdir}/dpkg/methods/apt/ install -d ${D}${sysconfdir}/apt install -d ${D}${sysconfdir}/apt/apt.conf.d
meta/recipes-devtools/apt/apt-native_0.9.11.4.bb renamed from meta/recipes-devtools/apt/apt-native_0.9.9.4.bb +2 -2
@@ -3,7 +3,7 @@ require apt-native.inc SRC_URI += "file://noconfigure.patch \ file://no-curl.patch" -SRC_URI[md5sum] = "72b3283acd9b99868da5545f0499b0da" -SRC_URI[sha256sum] = "770cb94d7f4c922c2a1516f2b5ec852d3ad668a8c9c3713ac2528c861b7fa79a" +SRC_URI[md5sum] = "1f8dfacfd7ce4a68ed1fdfa4fa73e628" +SRC_URI[sha256sum] = "f466b00f277f010b32028dbcd81ad5525a5b8ee72b4fdd4b85023e8eae2201fc" LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
meta/recipes-devtools/apt/apt-package.inc +1 -0
@@ -52,6 +52,7 @@ do_install () { oe_libinstall -so -C bin libapt-pkg ${D}${libdir} oe_libinstall -so -C bin libapt-inst ${D}${libdir} + oe_libinstall -so -C bin libapt-private ${D}${libdir} install -d ${D}${libdir}/apt/methods install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/
meta/recipes-devtools/apt/apt_0.9.11.4.bb renamed from meta/recipes-devtools/apt/apt_0.9.9.4.bb +2 -2
@@ -3,8 +3,8 @@ RDEPENDS_${PN} = "dpkg" LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" require apt.inc -SRC_URI[md5sum] = "72b3283acd9b99868da5545f0499b0da" -SRC_URI[sha256sum] = "770cb94d7f4c922c2a1516f2b5ec852d3ad668a8c9c3713ac2528c861b7fa79a" +SRC_URI[md5sum] = "1f8dfacfd7ce4a68ed1fdfa4fa73e628" +SRC_URI[sha256sum] = "f466b00f277f010b32028dbcd81ad5525a5b8ee72b4fdd4b85023e8eae2201fc" require apt-package.inc
meta/recipes-devtools/apt/files/db_linking_hack.patch +5 -6
@@ -1,16 +1,15 @@ Upstream-Status: Backport -Index: apt-0.7.3/configure.in +Index: apt-0.9.11.4/configure.ac =================================================================== ---- apt-0.7.3.orig/configure.in 2007-07-01 10:38:45.000000000 +0000 -+++ apt-0.7.3/configure.in 2007-08-21 13:39:26.000000000 +0000 -@@ -67,8 +67,20 @@ +--- apt-0.9.11.4.orig/configure.ac ++++ apt-0.9.11.4/configure.ac +@@ -75,8 +75,19 @@ AC_CHECK_HEADER(db.h, [AC_DEFINE(HAVE_BDB) BDBLIB="-ldb" AC_MSG_RESULT(yes)], - [BDBLIB="" - AC_MSG_RESULT(no)] -+ + LIBS="$LIBS -lpthread" + [AC_MSG_CHECKING(if we can link against BerkeleyDB with pthread) + AC_LINK_IFELSE(
@@ -23,7 +22,7 @@ Index: apt-0.7.3/configure.in + AC_MSG_RESULT(yes)], + [BDBLIB="" + AC_MSG_RESULT(no)] -+ )] ++ )] )] )
meta/recipes-devtools/apt/files/no-curl.patch +22 -17
@@ -5,23 +5,10 @@ Upstream-Status: Inappropriate [configuration] methods/makefile | 7 ------- 2 files changed, 13 deletions(-) ---- a/configure.in -+++ b/configure.in -@@ -86,12 +86,6 @@ AC_CHECK_HEADER(db.h, - - LIBS="$saveLIBS" - --AC_CHECK_LIB(curl, curl_easy_init, -- [AC_CHECK_HEADER(curl/curl.h, -- curl_ok=yes, -- curl_ok=no)], -- AC_MSG_ERROR([failed: I need CURL due https support]), --) - - AC_SUBST(BDBLIB) - ---- a/methods/makefile -+++ b/methods/makefile +Index: apt-0.9.11.4/methods/makefile +=================================================================== +--- apt-0.9.11.4.orig/methods/makefile ++++ apt-0.9.11.4/methods/makefile @@ -51,13 +51,6 @@ LIB_MAKES = apt-pkg/makefile SOURCE = http.cc http_main.cc rfc2553emu.cc connect.cc include $(PROGRAM_H)
@@ -36,3 +23,21 @@ Upstream-Status: Inappropriate [configuration] # The ftp method PROGRAM=ftp SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS) +Index: apt-0.9.11.4/configure.ac +=================================================================== +--- apt-0.9.11.4.orig/configure.ac ++++ apt-0.9.11.4/configure.ac +@@ -93,13 +93,6 @@ AC_CHECK_HEADER(db.h, + + LIBS="$saveLIBS" + +-AC_CHECK_LIB(curl, curl_easy_init, +- [AC_CHECK_HEADER(curl/curl.h, +- curl_ok=yes, +- curl_ok=no)], +- AC_MSG_ERROR([failed: I need CURL due https support]), +-) +- + AC_SUBST(BDBLIB) + + HAVE_ZLIB=no
Signature · 1 line
1.7.9.5
Quoted 4 lines · Marius Avram
- no-ko-translation.patch respects new structure of po/LINGUAS file
- replaces configure.in to configure.ac inside multiple patches
- adds libapt-private installation
Seems they have moved to 0.9.12.1 already, and the 0.9.11.4 tarball is gone.
Sau!
Quoted 265 lines
Signed-off-by Marius Avram <[email protected]>--- .../disable-configure-in-makefile.patch | 0 .../fix-gcc-4.6-null-not-defined.patch | 0 .../{apt-0.9.9.4 => apt-0.9.11.4}/makerace.patch | 0 .../no-ko-translation.patch | 19 +++++++--- .../no-nls-dpkg.patch | 0 .../noconfigure.patch | 0 .../apt/{apt-0.9.9.4 => apt-0.9.11.4}/nodoc.patch | 0 .../truncate-filename.patch | 0 .../{apt-0.9.9.4 => apt-0.9.11.4}/use-host.patch | 6 +-- meta/recipes-devtools/apt/apt-native.inc | 3 +- ...pt-native_0.9.9.4.bb => apt-native_0.9.11.4.bb} | 4 +- meta/recipes-devtools/apt/apt-package.inc | 1 + .../apt/{apt_0.9.9.4.bb => apt_0.9.11.4.bb} | 4 +- .../apt/files/db_linking_hack.patch | 11 +++--- meta/recipes-devtools/apt/files/no-curl.patch | 39 +++++++++++--------- 15 files changed, 51 insertions(+), 36 deletions(-)rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>
apt-0.9.11.4}/disable-configure-in-makefile.patch(100%) rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/fix-gcc-4.6-null-not-defined.patch(100%) rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/makerace.patch(100%) rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/no-ko-translation.patch(32%) rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/no-nls-dpkg.patch(100%) rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/noconfigure.patch(100%) rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/nodoc.patch(100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/truncate-filename.patch(100%) rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/use-host.patch(84%) rename meta/recipes-devtools/apt/{apt-native_0.9.9.4.bb => apt-native_0.9.11.4.bb} (55%) rename meta/recipes-devtools/apt/{apt_0.9.9.4.bb => apt_0.9.11.4.bb} (74%)meta/recipes-devtools/apt/apt-0.9.11.4/disable-configure-in-makefile.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/disable-configure-in-makefile.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/fix-gcc-4.6-null-not-defined.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/fix-gcc-4.6-null-not-defined.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/makerace.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/makerace.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/no-ko-translation.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/no-ko-translation.patch +14
-5@@ -4,8 +4,17 @@ Upstream-Status: Inappropriate [configuration] po/LINGUAS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---- a/po/LINGUAS -+++ b/po/LINGUAS -@@ -1 +1 @@ --ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ko ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl uk vi zh_CN zh_TW -+ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl uk vi zh_CN zh_TW +Index: apt-0.9.11.4/po/LINGUAS +=================================================================== +--- apt-0.9.11.4.orig/po/LINGUAS ++++ apt-0.9.11.4/po/LINGUAS +@@ -1,7 +1,8 @@ + ## If a language isn't listed here but a po file is available the build will fail. + ## If a language is disabled deliberately, list it in a line starting with a single '#' + +-ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ko ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl tr uk vi zh_CN zh_TW ++ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ku lt mr nb ne nl nn pl pt pt_BR ro ru sk sl sv th tl tr uk vi zh_CN zh_TW + + ## disabled by translator request #313283: + # he ++# kometa/recipes-devtools/apt/apt-0.9.11.4/no-nls-dpkg.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/no-nls-dpkg.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/noconfigure.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/noconfigure.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/nodoc.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/nodoc.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/truncate-filename.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/truncate-filename.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/use-host.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/use-host.patch +3
-3@@ -1,9 +1,9 @@ Upstream-Status: Pending -Index: apt-0.9.7.7/configure.in +Index: apt-0.9.7.7/configure.ic =================================================================== ---- apt-0.9.7.7.orig/configure.in -+++ apt-0.9.7.7/configure.in +--- apt-0.9.7.7.orig/configure.ac ++++ apt-0.9.7.7/configure.ac @@ -112,7 +112,7 @@ dnl This is often the dpkg architecture dnl First check against the full canonical canoncial-system-type in $target dnl and if that fails, just look for the cpumeta/recipes-devtools/apt/apt-native.inc +2
-1@@ -46,6 +46,7 @@ do_install_base () { ln -sf libapt-pkg$GLIBC_VER$LIBSTDCPP_VER.so ${D}${libdir}/libapt-pkg.so oe_libinstall -so -C bin libapt-inst$GLIBC_VER$LIBSTDCPP_VER ${D}${libdir}/ ln -sf libapt-inst$GLIBC_VER$LIBSTDCPP_VER.so ${D}${libdir}/libapt-inst.so + oe_libinstall -so -C bin libapt-private ${D}${libdir} install -d ${D}${libdir}/apt/methods install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/@@ -55,7 +56,7 @@ do_install_base () { install -m 0644 ${S}/dselect/names ${D}${libdir}/dpkg/methods/apt/ install -m 0755 ${S}/dselect/install ${D}${libdir}/dpkg/methods/apt/ install -m 0755 ${S}/dselect/setup ${D}${libdir}/dpkg/methods/apt/ - install -m 0755 ${S}/dselect/update ${D}${libdir}/dpkg/methods/apt/ + install -m 0755 ${S}/dselect/update ${D}${libdir}/dpkg/methods/apt/ install -d ${D}${sysconfdir}/apt install -d ${D}${sysconfdir}/apt/apt.conf.dmeta/recipes-devtools/apt/apt-native_0.9.11.4.bb renamed from meta/recipes-devtools/apt/apt-native_0.9.9.4.bb +2
-2@@ -3,7 +3,7 @@ require apt-native.inc SRC_URI += "file://noconfigure.patch \ file://no-curl.patch" -SRC_URI[md5sum] = "72b3283acd9b99868da5545f0499b0da" -SRC_URI[sha256sum] = "770cb94d7f4c922c2a1516f2b5ec852d3ad668a8c9c3713ac2528c861b7fa79a" +SRC_URI[md5sum] = "1f8dfacfd7ce4a68ed1fdfa4fa73e628" +SRC_URI[sha256sum] = "f466b00f277f010b32028dbcd81ad5525a5b8ee72b4fdd4b85023e8eae2201fc" LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"meta/recipes-devtools/apt/apt-package.inc +1
-0@@ -52,6 +52,7 @@ do_install () { oe_libinstall -so -C bin libapt-pkg ${D}${libdir} oe_libinstall -so -C bin libapt-inst ${D}${libdir} + oe_libinstall -so -C bin libapt-private ${D}${libdir} install -d ${D}${libdir}/apt/methods install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/meta/recipes-devtools/apt/apt_0.9.11.4.bb renamed from meta/recipes-devtools/apt/apt_0.9.9.4.bb +2
-2@@ -3,8 +3,8 @@ RDEPENDS_${PN} = "dpkg" LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" require apt.inc -SRC_URI[md5sum] = "72b3283acd9b99868da5545f0499b0da" -SRC_URI[sha256sum] = "770cb94d7f4c922c2a1516f2b5ec852d3ad668a8c9c3713ac2528c861b7fa79a" +SRC_URI[md5sum] = "1f8dfacfd7ce4a68ed1fdfa4fa73e628" +SRC_URI[sha256sum] = "f466b00f277f010b32028dbcd81ad5525a5b8ee72b4fdd4b85023e8eae2201fc" require apt-package.incmeta/recipes-devtools/apt/files/db_linking_hack.patch +5
-6@@ -1,16 +1,15 @@ Upstream-Status: Backport -Index: apt-0.7.3/configure.in +Index: apt-0.9.11.4/configure.ac =================================================================== ---- apt-0.7.3.orig/configure.in 2007-07-01 10:38:45.000000000 +0000 -+++ apt-0.7.3/configure.in 2007-08-21 13:39:26.000000000 +0000 -@@ -67,8 +67,20 @@ +--- apt-0.9.11.4.orig/configure.ac ++++ apt-0.9.11.4/configure.ac +@@ -75,8 +75,19 @@ AC_CHECK_HEADER(db.h, [AC_DEFINE(HAVE_BDB) BDBLIB="-ldb" AC_MSG_RESULT(yes)], - [BDBLIB="" - AC_MSG_RESULT(no)] -+ + LIBS="$LIBS -lpthread" + [AC_MSG_CHECKING(if we can link against BerkeleyDB with pthread) + AC_LINK_IFELSE(@@ -23,7 +22,7 @@ Index: apt-0.7.3/configure.in + AC_MSG_RESULT(yes)], + [BDBLIB="" + AC_MSG_RESULT(no)] -+ )] ++ )] )] )meta/recipes-devtools/apt/files/no-curl.patch +22
-17@@ -5,23 +5,10 @@ Upstream-Status: Inappropriate [configuration] methods/makefile | 7 ------- 2 files changed, 13 deletions(-) ---- a/configure.in -+++ b/configure.in -@@ -86,12 +86,6 @@ AC_CHECK_HEADER(db.h, - - LIBS="$saveLIBS" - --AC_CHECK_LIB(curl, curl_easy_init, -- [AC_CHECK_HEADER(curl/curl.h, -- curl_ok=yes, -- curl_ok=no)], -- AC_MSG_ERROR([failed: I need CURL due https support]), --) - - AC_SUBST(BDBLIB) - ---- a/methods/makefile -+++ b/methods/makefile +Index: apt-0.9.11.4/methods/makefile +=================================================================== +--- apt-0.9.11.4.orig/methods/makefile ++++ apt-0.9.11.4/methods/makefile @@ -51,13 +51,6 @@ LIB_MAKES = apt-pkg/makefile SOURCE = http.cc http_main.cc rfc2553emu.cc connect.cc include $(PROGRAM_H)@@ -36,3 +23,21 @@ Upstream-Status: Inappropriate [configuration] # The ftp method PROGRAM=ftp SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS) +Index: apt-0.9.11.4/configure.ac +=================================================================== +--- apt-0.9.11.4.orig/configure.ac ++++ apt-0.9.11.4/configure.ac +@@ -93,13 +93,6 @@ AC_CHECK_HEADER(db.h, + + LIBS="$saveLIBS" + +-AC_CHECK_LIB(curl, curl_easy_init, +- [AC_CHECK_HEADER(curl/curl.h, +- curl_ok=yes, +- curl_ok=no)], +- AC_MSG_ERROR([failed: I need CURL due https support]), +-) +- + AC_SUBST(BDBLIB) + + HAVE_ZLIB=no
Quoted 9 lines · Saul Wold
Quoted 4 lines · Marius Avram
- no-ko-translation.patch respects new structure of po/LINGUAS file
- replaces configure.in to configure.ac inside multiple patches
- adds libapt-private installationSeems they have moved to 0.9.12.1 already, and the 0.9.11.4 tarball is gone.
Sau!
On http://packages.qa.debian.org/a/apt.html, it says that the last stable version is 0.9.7.9. Do I have to upload to this one or to 0.9.12.1? Thanks,
Cristiana
Quoted 302 lines
Quoted 288 lines
Signed-off-by Marius Avram <[email protected]>--- .../disable-configure-in-makefile.patch | 0 .../fix-gcc-4.6-null-not-defined.patch | 0 .../{apt-0.9.9.4 => apt-0.9.11.4}/makerace.patch | 0 .../no-ko-translation.patch | 19 +++++++--- .../no-nls-dpkg.patch | 0 .../noconfigure.patch | 0 .../apt/{apt-0.9.9.4 => apt-0.9.11.4}/nodoc.patch | 0 .../truncate-filename.patch | 0 .../{apt-0.9.9.4 => apt-0.9.11.4}/use-host.patch | 6 +-- meta/recipes-devtools/apt/apt-native.inc | 3 +- ...pt-native_0.9.9.4.bb => apt-native_0.9.11.4.bb} | 4 +- meta/recipes-devtools/apt/apt-package.inc | 1 + .../apt/{apt_0.9.9.4.bb => apt_0.9.11.4.bb} | 4 +- .../apt/files/db_linking_hack.patch | 11 +++--- meta/recipes-devtools/apt/files/no-curl.patch | 39 +++++++++++--------- 15 files changed, 51 insertions(+), 36 deletions(-)rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>
apt-0.9.11.4}/disable-configure-in-makefile.patch(100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/fix-gcc-4.6-null-not-defined.patch(100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/makerace.patch(100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/no-ko-translation.patch(32%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/no-nls-dpkg.patch(100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/noconfigure.patch(100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/nodoc.patch(100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/truncate-filename.patch(100%)
rename meta/recipes-devtools/apt/{apt-0.9.9.4 =>apt-0.9.11.4}/use-host.patch(84%)
rename meta/recipes-devtools/apt/{apt-native_0.9.9.4.bb =>
apt-native_0.9.11.4.bb} (55%)
rename meta/recipes-devtools/apt/{apt_0.9.9.4.bb =>
apt_0.9.11.4.bb} (74%)meta/recipes-devtools/apt/apt-0.9.11.4/disable-configure-in-makefile.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/disable-configure-in-makefile.patch +0
-0similarity index 100%
rename frommeta/recipes-devtools/apt/apt-0.9.9.4/disable-configure-in-makefile.patchrename tometa/recipes-devtools/apt/apt-0.9.11.4/disable-configure-in-makefile.patchmeta/recipes-devtools/apt/apt-0.9.11.4/fix-gcc-4.6-null-not-defined.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/fix-gcc-4.6-null-not-defined.patch +0
-0similarity index 100%
rename frommeta/recipes-devtools/apt/apt-0.9.9.4/fix-gcc-4.6-null-not-defined.patchrename tometa/recipes-devtools/apt/apt-0.9.11.4/fix-gcc-4.6-null-not-defined.patchmeta/recipes-devtools/apt/apt-0.9.11.4/makerace.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/makerace.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/no-ko-translation.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/no-ko-translation.patch +0
-4@@ -4,8 +4,17 @@ Upstream-Status: Inappropriate [configuration] po/LINGUAS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---- a/po/LINGUAS -+++ b/po/LINGUAS -@@ -1 +1 @@ --ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ko kult mr nb ne nl nn pl pt
pt_BRro ru sk sl sv th tl uk vizh_CNzh_TW-+ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ku lt mr nb ne nl nn pl ptpt_BRro ru sk sl sv th tl uk vizh_CNzh_TW+Index: apt-0.9.11.4/po/LINGUAS+=================================================================== +--- apt-0.9.11.4.orig/po/LINGUAS++++ apt-0.9.11.4/po/LINGUAS
+@@ -1,7 +1,8 @@
+ ## If a language isn't listed here but a po file is available the build will fail.
+ ## If a language is disabled deliberately, list it in a line starting with a single '#'
+
+-ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ko ku lt mr nb ne nl nn pl ptpt_BRro ru sk sl sv th tl tr uk vizh_CNzh_TW++ar ast bg bs ca cs cy da de dz el es eu fi fr gl hu it ja km ku lt mr nb ne nl nn pl ptpt_BRro ru sk sl sv th tl tr uk vizh_CNzh_TWmeta/recipes-devtools/apt/apt-0.9.11.4/no-ko-translation.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/no-ko-translation.patch +4
-0+ + ## disabled by translator request #313283: + # he ++# kometa/recipes-devtools/apt/apt-0.9.11.4/no-nls-dpkg.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/no-nls-dpkg.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/noconfigure.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/noconfigure.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/nodoc.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/nodoc.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/truncate-filename.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/truncate-filename.patch +0
-0meta/recipes-devtools/apt/apt-0.9.11.4/use-host.patch renamed from meta/recipes-devtools/apt/apt-0.9.9.4/use-host.patch +1
-1@@ -1,9 +1,9 @@ Upstream-Status: Pending -Index: apt-0.9.7.7/configure.in +Index: apt-0.9.7.7/configure.ic===================================================================
---- apt-0.9.7.7.orig/configure.in
-+++ apt-0.9.7.7/configure.in
+--- apt-0.9.7.7.orig/configure.ac
++++ apt-0.9.7.7/configure.ac
@@ -112,7 +112,7 @@ dnl This is often the dpkg architecture
dnl First check against the full canonical canoncial-system-type
in $target
dnl and if that fails, just look for the cpumeta/recipes-devtools/apt/apt-native.inc +0
-0@@ -46,6 +46,7 @@ do_install_base () { ln -sf libapt-pkg$GLIBC_VER$LIBSTDCPP_VER.so${D}${libdir}/libapt-pkg.so
oe_libinstall-so -C bin libapt-inst$GLIBC_VER$LIBSTDCPP_VER
${D}${libdir}/
ln -sf libapt-inst$GLIBC_VER$LIBSTDCPP_VER.so
${D}${libdir}/libapt-inst.someta/recipes-devtools/apt/apt-native.inc +1
-0+ oe_libinstall -so -C bin libapt-private ${D}${libdir} install -d ${D}${libdir}/apt/methods install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/@@ -55,7 +56,7 @@ do_install_base () { install -m 0644 ${S}/dselect/names ${D}${libdir}/dpkg/methods/apt/ install -m 0755 ${S}/dselect/install${D}${libdir}/dpkg/methods/apt/
install -m 0755 ${S}/dselect/setup ${D}${libdir}/dpkg/methods/apt/meta/recipes-devtools/apt/apt-native.inc +1
-1- install -m 0755 ${S}/dselect/update ${D}${libdir}/dpkg/methods/apt/ + install -m 0755 ${S}/dselect/update ${D}${libdir}/dpkg/methods/apt/ install -d ${D}${sysconfdir}/apt install -d ${D}${sysconfdir}/apt/apt.conf.dmeta/recipes-devtools/apt/apt-native_0.9.11.4.bb renamed from meta/recipes-devtools/apt/apt-native_0.9.9.4.bb +0
-2@@ -3,7 +3,7 @@ require apt-native.inc SRC_URI += "file://noconfigure.patch \ file://no-curl.patch" -SRC_URI[md5sum] = "72b3283acd9b99868da5545f0499b0da" -SRC_URI[sha256sum] ="
770cb94d7f4c922c2a1516f2b5ec852d3ad668a8c9c3713ac2528c861b7fa79a"meta/recipes-devtools/apt/apt-native_0.9.11.4.bb renamed from meta/recipes-devtools/apt/apt-native_0.9.9.4.bb +2
-0+SRC_URI[md5sum] = "1f8dfacfd7ce4a68ed1fdfa4fa73e628" +SRC_URI[sha256sum] ="
f466b00f277f010b32028dbcd81ad5525a5b8ee72b4fdd4b85023e8eae2201fc"
LIC_FILES_CHKSUM=
"file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"meta/recipes-devtools/apt/apt-package.inc +1
-0@@ -52,6 +52,7 @@ do_install () { oe_libinstall -so -C bin libapt-pkg ${D}${libdir} oe_libinstall -so -C bin libapt-inst ${D}${libdir} + oe_libinstall -so -C bin libapt-private ${D}${libdir} install -d ${D}${libdir}/apt/methods install -m 0755 bin/methods/* ${D}${libdir}/apt/methods/meta/recipes-devtools/apt/apt_0.9.11.4.bb renamed from meta/recipes-devtools/apt/apt_0.9.9.4.bb +0
-0@@ -3,8 +3,8 @@ RDEPENDS_${PN} = "dpkg" LIC_FILES_CHKSUM ="file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
require apt.incmeta/recipes-devtools/apt/apt_0.9.11.4.bb renamed from meta/recipes-devtools/apt/apt_0.9.9.4.bb +0
-2-SRC_URI[md5sum] = "72b3283acd9b99868da5545f0499b0da" -SRC_URI[sha256sum] ="
770cb94d7f4c922c2a1516f2b5ec852d3ad668a8c9c3713ac2528c861b7fa79a"meta/recipes-devtools/apt/apt_0.9.11.4.bb renamed from meta/recipes-devtools/apt/apt_0.9.9.4.bb +2
-0+SRC_URI[md5sum] = "1f8dfacfd7ce4a68ed1fdfa4fa73e628" +SRC_URI[sha256sum] ="
f466b00f277f010b32028dbcd81ad5525a5b8ee72b4fdd4b85023e8eae2201fc"require apt-package.inc
meta/recipes-devtools/apt/files/db_linking_hack.patch +1
-1@@ -1,16 +1,15 @@ Upstream-Status: Backport -Index: apt-0.7.3/configure.in +Index: apt-0.9.11.4/configure.ac===================================================================
---- apt-0.7.3.orig/configure.in 2007-07-01 10:38:45.000000000 +0000
-+++ apt-0.7.3/configure.in 2007-08-21 13:39:26.000000000 +0000
-@@ -67,8 +67,20 @@
+--- apt-0.9.11.4.orig/configure.ac
++++ apt-0.9.11.4/configure.ac
+@@ -75,8 +75,19 @@ AC_CHECK_HEADER(db.h,[AC_DEFINE(HAVE_BDB) BDBLIB="-ldb" AC_MSG_RESULT(yes)],- [BDBLIB=""
-AC_MSG_RESULT(no)]
-+
+ LIBS="$LIBS -lpthread"
+ [AC_MSG_CHECKING(if we can link against BerkeleyDB with
pthread)
+ AC_LINK_IFELSE(meta/recipes-devtools/apt/files/db_linking_hack.patch +1
-1@@ -23,7 +22,7 @@ Index: apt-0.7.3/configure.in + AC_MSG_RESULT(yes)], + [BDBLIB="" + AC_MSG_RESULT(no)] -+ )] ++ )] )] )meta/recipes-devtools/apt/files/no-curl.patch +12
-17@@ -5,23 +5,10 @@ Upstream-Status: Inappropriate [configuration] methods/makefile | 7 ------- 2 files changed, 13 deletions(-) ---- a/configure.in -+++ b/configure.in -@@ -86,12 +86,6 @@ AC_CHECK_HEADER(db.h, - - LIBS="$saveLIBS" - --AC_CHECK_LIB(curl, curl_easy_init, -- [AC_CHECK_HEADER(curl/curl.h, -- curl_ok=yes, -- curl_ok=no)], -- AC_MSG_ERROR([failed: I need CURL due https support]), --) - - AC_SUBST(BDBLIB) - ---- a/methods/makefile -+++ b/methods/makefile +Index: apt-0.9.11.4/methods/makefile +=================================================================== +--- apt-0.9.11.4.orig/methods/makefile ++++ apt-0.9.11.4/methods/makefile @@ -51,13 +51,6 @@ LIB_MAKES = apt-pkg/makefile SOURCE = http.cc http_main.cc rfc2553emu.cc connect.cc include $(PROGRAM_H)@@ -36,3 +23,21 @@ Upstream-Status: Inappropriate [configuration] # The ftp method PROGRAM=ftp SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS) +Index: apt-0.9.11.4/configure.ac +=================================================================== +--- apt-0.9.11.4.orig/configure.ac ++++ apt-0.9.11.4/configure.ac +@@ -93,13 +93,6 @@ AC_CHECK_HEADER(db.h, + + LIBS="$saveLIBS" +meta/recipes-devtools/apt/files/no-curl.patch Upstream-Status: Inappropriate [configuration] · line 43
Quoted 10 lines
meta/recipes-devtools/apt/files/no-curl.patch +10
-0+-AC_CHECK_LIB(curl, curl_easy_init, +- [AC_CHECK_HEADER(curl/curl.h, +- curl_ok=yes, +- curl_ok=no)], +- AC_MSG_ERROR([failed: I need CURL due https support]), +-) +- + AC_SUBST(BDBLIB) + + HAVE_ZLIB=no_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core