diff options
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/apt')
3 files changed, 36 insertions, 3 deletions
diff --git a/yocto-poky/meta/recipes-devtools/apt/apt.inc b/yocto-poky/meta/recipes-devtools/apt/apt.inc index 3248b9a7b..78ef5a7e1 100644 --- a/yocto-poky/meta/recipes-devtools/apt/apt.inc +++ b/yocto-poky/meta/recipes-devtools/apt/apt.inc @@ -11,11 +11,16 @@ SRC_URI = "http://snapshot.debian.org/archive/debian/20150805T094928Z/pool/main/ file://nodoc.patch \ file://disable-configure-in-makefile.patch \ file://disable-test.patch \ + file://0001-environment.mak-musl-based-systems-can-generate-shar.patch \ " SRC_URI[md5sum] = "6505c4297b338adb2087ce87bbc4a276" SRC_URI[sha256sum] = "3fb1de9598363c416591d49e3c285458e095b035e6c06d5b944a54e15fc9b543" LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" +# the package is taken from snapshots.debian.org; that source is static and goes stale +# so we check the latest upstream from a directory that does get updated +UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/a/apt/" + inherit autotools gettext EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" @@ -24,5 +29,3 @@ do_configure_prepend() { rm -rf ${S}/buildlib/config.sub rm -rf ${S}/buildlib/config.guess } - -FILES_${PN}-dbg += "${libdir}/apt/methods/.debug/" diff --git a/yocto-poky/meta/recipes-devtools/apt/apt/0001-environment.mak-musl-based-systems-can-generate-shar.patch b/yocto-poky/meta/recipes-devtools/apt/apt/0001-environment.mak-musl-based-systems-can-generate-shar.patch new file mode 100644 index 000000000..042372b51 --- /dev/null +++ b/yocto-poky/meta/recipes-devtools/apt/apt/0001-environment.mak-musl-based-systems-can-generate-shar.patch @@ -0,0 +1,29 @@ +From 2f8aa21ace375c18977ed908b291c80a210a93c6 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 31 Dec 2015 08:06:12 +0000 +Subject: [PATCH] environment.mak: musl based systems can generate shared + objects too + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- +Upstream-Status: Pending + + buildlib/environment.mak.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in +index b0a8d9d..3a52344 100644 +--- a/buildlib/environment.mak.in ++++ b/buildlib/environment.mak.in +@@ -68,7 +68,7 @@ NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@ + + # Shared library things + HOST_OS = @host_os@ +-ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0) ++ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu linux-musl%,$(HOST_OS))),0) + SONAME_MAGIC=-Wl,-soname -Wl, + LFLAGS_SO= + else +-- +2.6.4 + diff --git a/yocto-poky/meta/recipes-devtools/apt/apt_1.0.10.1.bb b/yocto-poky/meta/recipes-devtools/apt/apt_1.0.10.1.bb index bf77e2a30..85c0d5615 100644 --- a/yocto-poky/meta/recipes-devtools/apt/apt_1.0.10.1.bb +++ b/yocto-poky/meta/recipes-devtools/apt/apt_1.0.10.1.bb @@ -1,4 +1,4 @@ -DEPENDS = "curl db" +DEPENDS = "curl db zlib" RDEPENDS_${PN} = "dpkg bash debianutils" require apt.inc @@ -6,6 +6,7 @@ require apt-package.inc PACKAGECONFIG ??= "lzma" PACKAGECONFIG[lzma] = "ac_cv_lib_lzma_lzma_easy_encoder=yes,ac_cv_lib_lzma_lzma_easy_encoder=no,xz" +PACKAGECONFIG[bz2] = "ac_cv_lib_bz2_BZ2_bzopen=yes,ac_cv_lib_bz2_BZ2_bzopen=no,bzip2" FILES_${PN} += "${bindir}/apt-key" apt-manpages += "doc/apt-key.8" |