summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/apt/apt.inc')
-rw-r--r--meta/recipes-devtools/apt/apt.inc38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc
new file mode 100644
index 0000000000..378021a327
--- /dev/null
+++ b/meta/recipes-devtools/apt/apt.inc
@@ -0,0 +1,38 @@
1SUMMARY = "Advanced front-end for dpkg"
2LICENSE = "GPLv2.0+"
3SECTION = "base"
4
5SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \
6 file://no-ko-translation.patch \
7 file://use-host.patch \
8 file://makerace.patch \
9 file://no-nls-dpkg.patch \
10 file://fix-gcc-4.6-null-not-defined.patch \
11 file://truncate-filename.patch \
12 file://nodoc.patch \
13 file://disable-configure-in-makefile.patch \
14 file://apt-0.9.9.4-CVE-2014-0478.patch \
15 "
16
17inherit autotools gettext
18
19EXTRA_AUTORECONF = "--exclude=autopoint,autoheader"
20
21do_configure_prepend() {
22 rm -rf ${S}/buildlib/config.sub
23 rm -rf ${S}/buildlib/config.guess
24}
25
26# Apt wants to know the glibc version by running a binary file, which will
27# fail, so we have to tell configure which version to use Since I don't know
28# the impliations of setting a wrong value I only provide one for angstrom,
29# which uses glibc 2.5 (which claims to be 2.4)
30# Koen - 20070327
31EXTRA_OECONF_append_angstrom = " ac_cv_glibc_ver=libc6.4"
32
33# under Debian it is set to libc6.3 as they use glibc 2.3
34# They also provide glibc 2.5 in 'experimental' and it works with APT built
35# for 2.3 so we set it in same way
36EXTRA_OECONF_append = " ac_cv_glibc_ver=libc6.3"
37
38FILES_${PN}-dbg += "${libdir}/apt/methods/.debug/"