diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-05-31 17:52:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-04 13:27:31 +0100 |
commit | cae9a6c9c8cc1991b8e68b0816fc2db22e3ae129 (patch) | |
tree | 64e897bae1d8e17be8a8cbc9cd369e6e813245d3 /meta/recipes-devtools/apt/files | |
parent | fbb498abd98128a196d059175e3fec99eecee7dc (diff) | |
download | poky-cae9a6c9c8cc1991b8e68b0816fc2db22e3ae129.tar.gz |
apt: update to 1.8.2.1
I took the opportunity to rewrite the recipe from scratch; there was just too much baggage in it.
(From OE-Core rev: f058272de9cba188d96940c8c921cf31727fe4d1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt/files')
-rw-r--r-- | meta/recipes-devtools/apt/files/apt.conf | 42 | ||||
-rw-r--r-- | meta/recipes-devtools/apt/files/db_linking_hack.patch | 29 | ||||
-rw-r--r-- | meta/recipes-devtools/apt/files/environment.patch | 15 | ||||
-rw-r--r-- | meta/recipes-devtools/apt/files/no-curl.patch | 54 |
4 files changed, 0 insertions, 140 deletions
diff --git a/meta/recipes-devtools/apt/files/apt.conf b/meta/recipes-devtools/apt/files/apt.conf deleted file mode 100644 index c95a5b07af..0000000000 --- a/meta/recipes-devtools/apt/files/apt.conf +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | Dir "${STAGING_DIR_NATIVE}/" | ||
2 | { | ||
3 | State "var/lib/apt/" | ||
4 | { | ||
5 | Lists "#APTCONF#/lists/"; | ||
6 | status "#ROOTFS#/var/lib/dpkg/status"; | ||
7 | }; | ||
8 | Cache "var/cache/apt/" | ||
9 | { | ||
10 | Archives "archives/"; | ||
11 | pkgcache ""; | ||
12 | srcpkgcache ""; | ||
13 | }; | ||
14 | Bin "${STAGING_BINDIR_NATIVE}/" | ||
15 | { | ||
16 | methods "${STAGING_LIBDIR}/apt/methods/"; | ||
17 | gzip "/bin/gzip"; | ||
18 | dpkg "dpkg"; | ||
19 | dpkg-source "dpkg-source"; | ||
20 | dpkg-buildpackage "dpkg-buildpackage"; | ||
21 | apt-get "apt-get"; | ||
22 | apt-cache "apt-cache"; | ||
23 | }; | ||
24 | Etc "#APTCONF#" | ||
25 | { | ||
26 | Preferences "preferences"; | ||
27 | }; | ||
28 | }; | ||
29 | |||
30 | APT | ||
31 | { | ||
32 | Install-Recommends "true"; | ||
33 | Immediate-Configure "false"; | ||
34 | Architecture "i586"; | ||
35 | Get | ||
36 | { | ||
37 | Assume-Yes "true"; | ||
38 | Force-Yes "true" | ||
39 | }; | ||
40 | }; | ||
41 | |||
42 | DPkg::Options {"--root=#ROOTFS#";"--admindir=#ROOTFS#/var/lib/dpkg";"--force-all";"--no-force-overwrite";"--no-debsig"}; | ||
diff --git a/meta/recipes-devtools/apt/files/db_linking_hack.patch b/meta/recipes-devtools/apt/files/db_linking_hack.patch deleted file mode 100644 index a61d4b07c2..0000000000 --- a/meta/recipes-devtools/apt/files/db_linking_hack.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | Index: apt-0.7.3/configure.ac | ||
4 | =================================================================== | ||
5 | --- apt-0.7.3.orig/configure.ac 2007-07-01 10:38:45.000000000 +0000 | ||
6 | +++ apt-0.7.3/configure.ac 2007-08-21 13:39:26.000000000 +0000 | ||
7 | @@ -67,8 +67,20 @@ | ||
8 | [AC_DEFINE(HAVE_BDB) | ||
9 | BDBLIB="-ldb" | ||
10 | AC_MSG_RESULT(yes)], | ||
11 | - [BDBLIB="" | ||
12 | - AC_MSG_RESULT(no)] | ||
13 | + | ||
14 | + LIBS="$LIBS -lpthread" | ||
15 | + [AC_MSG_CHECKING(if we can link against BerkeleyDB with pthread) | ||
16 | + AC_LINK_IFELSE( | ||
17 | + [AC_LANG_PROGRAM( | ||
18 | + [#include <db.h>], | ||
19 | + [int r, s, t; db_version(&r, &s, &t);] | ||
20 | + )], | ||
21 | + [AC_DEFINE(HAVE_BDB) | ||
22 | + BDBLIB="-ldb -lpthread" | ||
23 | + AC_MSG_RESULT(yes)], | ||
24 | + [BDBLIB="" | ||
25 | + AC_MSG_RESULT(no)] | ||
26 | + )] | ||
27 | )] | ||
28 | ) | ||
29 | |||
diff --git a/meta/recipes-devtools/apt/files/environment.patch b/meta/recipes-devtools/apt/files/environment.patch deleted file mode 100644 index 9a0303803e..0000000000 --- a/meta/recipes-devtools/apt/files/environment.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | Index: apt-0.6.46.2/buildlib/environment.mak.in | ||
4 | =================================================================== | ||
5 | --- apt-0.6.46.2.orig/buildlib/environment.mak.in 2007-03-29 11:38:58.000000000 +0100 | ||
6 | +++ apt-0.6.46.2/buildlib/environment.mak.in 2007-03-29 11:39:12.000000000 +0100 | ||
7 | @@ -62,7 +62,7 @@ | ||
8 | |||
9 | # Shared library things | ||
10 | HOST_OS = @host_os@ | ||
11 | -ifneq ($(words $(filter linux-gnu gnu% %gnu,$(HOST_OS))),0) | ||
12 | +ifneq ($(words $(filter linux-gnu linux-gnueabi gnu% %gnu,$(HOST_OS))),0) | ||
13 | SONAME_MAGIC=-Wl,-soname -Wl, | ||
14 | LFLAGS_SO= | ||
15 | else | ||
diff --git a/meta/recipes-devtools/apt/files/no-curl.patch b/meta/recipes-devtools/apt/files/no-curl.patch deleted file mode 100644 index 0838552b26..0000000000 --- a/meta/recipes-devtools/apt/files/no-curl.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | From 5d61ac822fd9a3871cd5089389c210606232ecdc Mon Sep 17 00:00:00 2001 | ||
3 | From: =?UTF-8?q?An=C3=ADbal=20Lim=C3=B3n?= <anibal.limon@linux.intel.com> | ||
4 | Date: Thu, 26 May 2016 15:34:45 -0500 | ||
5 | Subject: [PATCH] Upstream-Status: Inappropriate [configuration] | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> | ||
11 | --- | ||
12 | configure.ac | 7 ------- | ||
13 | methods/makefile | 7 ------- | ||
14 | 2 files changed, 14 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index e47f459..cd24264 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -83,13 +83,6 @@ AC_CHECK_HEADER(db.h, | ||
21 | |||
22 | LIBS="$saveLIBS" | ||
23 | |||
24 | -AC_CHECK_LIB(curl, curl_easy_init, | ||
25 | - [AC_CHECK_HEADER(curl/curl.h, | ||
26 | - curl_ok=yes, | ||
27 | - curl_ok=no)], | ||
28 | - AC_MSG_ERROR([failed: I need CURL due https support]), | ||
29 | -) | ||
30 | - | ||
31 | AC_SUBST(BDBLIB) | ||
32 | |||
33 | HAVE_ZLIB=no | ||
34 | diff --git a/methods/makefile b/methods/makefile | ||
35 | index 3274e92..255086b 100644 | ||
36 | --- a/methods/makefile | ||
37 | +++ b/methods/makefile | ||
38 | @@ -51,13 +51,6 @@ LIB_MAKES = apt-pkg/makefile | ||
39 | SOURCE = http.cc http_main.cc rfc2553emu.cc connect.cc server.cc | ||
40 | include $(PROGRAM_H) | ||
41 | |||
42 | -# The https method | ||
43 | -PROGRAM=https | ||
44 | -SLIBS = -lapt-pkg -lcurl $(INTLLIBS) -lresolv | ||
45 | -LIB_MAKES = apt-pkg/makefile | ||
46 | -SOURCE = https.cc server.cc | ||
47 | -include $(PROGRAM_H) | ||
48 | - | ||
49 | # The ftp method | ||
50 | PROGRAM=ftp | ||
51 | SLIBS = -lapt-pkg $(SOCKETLIBS) $(INTLLIBS) -lresolv | ||
52 | -- | ||
53 | 2.1.4 | ||
54 | |||