mirror of
https://git.yoctoproject.org/poky
synced 2026-03-29 23:02:20 +02:00
1. Upgrade to fix the several CVEs: CVE-2014-0488, CVE-2014-0490 2. Remove apt-0.9.9.4-CVE-2014-0478.patch, which was backport. 3. Romve no-ko-translation.patch, apt-1.0.9.9 has ko translation 4. Update use-host.patch no-curl.patch db_linking_hack.patch and noconfigure.patch 5. Not build the test cases since it requires gtest 6. install libapt-private.so.* to libdir, otherwise this file is not installed into sysroot for native, and apt-get will use host's, and lead to fail 7. Revert apt commit[a2a75ff45]"always run 'dpkg --configure -a' at the end of our dpkg callings" for native package, otherwise the postscript for these installed packages will be run, and fail since the rootfs dir is not considered 8. Add lzma dependency by PACKAGECONFIG for target, and add xz dependency for native 9. Support to compile apt-native on centos6 (From OE-Core rev: 7dd4a53a99277b46696dea5558fa321a2267af0a) Signed-off-by: Roy Li <rongqing.li@windriver.com> Acked-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
38 lines
1.3 KiB
PHP
38 lines
1.3 KiB
PHP
SUMMARY = "Advanced front-end for dpkg"
|
|
LICENSE = "GPLv2.0+"
|
|
SECTION = "base"
|
|
|
|
SRC_URI = "http://snapshot.debian.org/archive/debian/20150428T221633Z/pool/main/a/${BPN}/${BPN}_${PV}.tar.xz \
|
|
file://use-host.patch \
|
|
file://makerace.patch \
|
|
file://no-nls-dpkg.patch \
|
|
file://fix-gcc-4.6-null-not-defined.patch \
|
|
file://truncate-filename.patch \
|
|
file://nodoc.patch \
|
|
file://disable-configure-in-makefile.patch \
|
|
file://disable-test.patch \
|
|
"
|
|
|
|
inherit autotools gettext
|
|
|
|
EXTRA_AUTORECONF = "--exclude=autopoint,autoheader"
|
|
|
|
do_configure_prepend() {
|
|
rm -rf ${S}/buildlib/config.sub
|
|
rm -rf ${S}/buildlib/config.guess
|
|
}
|
|
|
|
# Apt wants to know the glibc version by running a binary file, which will
|
|
# fail, so we have to tell configure which version to use Since I don't know
|
|
# the impliations of setting a wrong value I only provide one for angstrom,
|
|
# which uses glibc 2.5 (which claims to be 2.4)
|
|
# Koen - 20070327
|
|
EXTRA_OECONF_append_angstrom = " ac_cv_glibc_ver=libc6.4"
|
|
|
|
# under Debian it is set to libc6.3 as they use glibc 2.3
|
|
# They also provide glibc 2.5 in 'experimental' and it works with APT built
|
|
# for 2.3 so we set it in same way
|
|
EXTRA_OECONF_append = " ac_cv_glibc_ver=libc6.3"
|
|
|
|
FILES_${PN}-dbg += "${libdir}/apt/methods/.debug/"
|