summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt
Commit message (Collapse)AuthorAgeFilesLines
* apt: fix SRC_URIRobert Yang2015-03-161-1/+1
| | | | | | | | | | Fixed: WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/a/apt/apt_0.9.9.4.tar.gz, attempting MIRRORS if available (From OE-Core rev: 490d20e1a7e6e3a0cae24af37bcb0192a3916409) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Add missing running depency debianutilsRicardo Ribalda Delgado2014-11-091-1/+1
| | | | | | | | | | | | | | | apt-file calls run-parts with options --list and --regex: root@neopili:~/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/work/bobcat_64-poky-linux/apt/0.9.9.4-r0/apt-0.9.9.4# grep run-parts cmdline/apt-key -rn 187: for trusted in $(run-parts --list $TRUSTEDPARTS --regex '^.*\.gpg$'); do busybox implementation of run-parts does not support --regex. And --list option is not enabled on yocto busybox configuration. (From OE-Core rev: 40dd71a4e0beade84ecd686559243a10e55c3a2d) Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: apt-key binary was not being installed, including it in the installationAlejandro Hernandez2014-10-021-0/+1
| | | | | | | | | [YOCTO #6476] (From OE-Core rev: d31fc181005734953c70ba9338d6a5eb88b6fe8b) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: fix for CVE-2014-0478Chong Lu2014-09-302-0/+194
| | | | | | | | | | | | | | APT before 1.0.4 does not properly validate source packages, which allows man-in-the-middle attackers to download and install Trojan horse packages by removing the Release signature. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0478 (From OE-Core rev: 3dd692fcf2b0c11731b3f30abdf2b1878458a898) Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: add bash to RDEPENDS_aptRobert Yang2014-08-231-1/+1
| | | | | | | | | | | Bash scripts: apt/usr/lib64/dpkg/methods/apt/update apt/usr/lib64/dpkg/methods/apt/install (From OE-Core rev: 5533807d3168a4f923c502a0837837dbaa1e0185) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-native: Add missing DEPENDS on db-native and curl-nativeRichard Purdie2014-07-271-1/+1
| | | | | | | | | The target recipe has these DEPENDS but the native version does not and this can lead to none deterministic builds. Fix this. (From OE-Core rev: 9a3240acd0ac64a257bcfd48f743fc85b6c8f449) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt/package_mamager: Ensure WORKDIR is used for lists directoryRichard Purdie2014-03-271-1/+1
| | | | | | | | | | | | The native sysroot should not be used as a store for the lists files since multiple images running at once would conflict over this. Instead redirect this to WORKDIR. This means some extra directories need to be created. Also create apt.conf.d to silence some warnings. (From OE-Core rev: dc4abfc8f99c08e0c1ac9d098ce17838d0eda028) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-native: Install apt-ftparchiveRicardo Ribalda Delgado2014-03-171-0/+1
| | | | | | | | | | | | apt-ftparchive is needed to create a Release file compatible with SecureApt. It is also a more efficient replacement of dpkg-scanpackages. (From OE-Core rev: 383e6c7d5fa1f6f02b50155a77d7c82237c11ba9) Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_deb, apt.conf: fix apt failure in do_rootfs()Laurentiu Palcu2013-09-241-1/+1
| | | | | | | | | | | | | | | | | The changes in this commit, dc5f6c3898555b59f16bf809ae4c5418656e6ac9, moved apt config directory from native SYSROOT to WORKDIR. Unfortunately, Dir::Etc in apt.conf was not changed accordingly and sources.list file could not be found during do_rootfs(). This commit fixes this issue. [YOCTO #5241] (From OE-Core rev: 65a2a1e1d0b0e3dcc34d47f46185f24d753b53dd) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-native: fix SRC_URI Checksum for updateSaul Wold2013-08-061-2/+2
| | | | | | | (From OE-Core rev: c07c477ff96358d3b40cc743ec4adf92193bb336) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Upgrade from 0.9.8.2 to 0.9.9.4Ionut Radu2013-08-0311-8/+8
| | | | | | | | | | makerace.patch: adapted to the new version (From OE-Core rev: ad69f62e42c131dcccd33b0e39c61a431f581bea) Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Add Upstream Status to patchesIonut Radu2013-07-293-0/+6
| | | | | | | | | | | | | | | no-nls-dpkg.patch: Added Upstream Status use-host.patch: Added Upstream Status fix-gcc-4.6-null-not-defined.patch: Added Upstream Status (From OE-Core rev: 9d0da2e46c1b23163ad76b10d5fad889521a68b3) Signed-off-by: Ionut Radu <ionutx.radu@intel.com> [sgw - Squashed patches and fixed up commit subject] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Updated from 0.9.8.1 to 0.9.8.2Ionut Radu2013-07-0211-4/+4
| | | | | | | | | | | (From OE-Core rev: 1500b4e7f6adec612efbdebad6a08a1efeeda7b6) Signed-off-by: Ionut Radu <ionutx.radu@intel.com> [sgw - fixed apt-native checksums] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-native: Fix incorrect checksumsRichard Purdie2013-06-031-3/+3
| | | | | | | | | | | The apt recipe had the correct checksums, the -native did not. Depending on which downloaded first, the build could succeed or fail. This patch corrects the checksums for -native to match the apt recipe. (From OE-Core rev: 86d0708bb59952a139e705a8c396e70dd0084b75) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Updated from 0.9.7.8 to 0.9.8.1Ionut Radu2013-05-2911-2/+2
| | | | | | | | (From OE-Core rev: 76b32bbe16c790ed81fffe37e67d80d1ec754e4e) Signed-off-by: Ionut Radu <ionutx.radu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: update to 0.9.7.8Eric Bénard2013-04-2911-9/+4
| | | | | | | | (From OE-Core rev: 09b3a782bf1c0738ddd7f9622a7fa4a1d51225ca) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix case where ${B} != ${S}Richard Purdie2013-03-223-13/+13
| | | | | | | | Need to reference objects from ${B}. (From OE-Core rev: 0610cf3ef864acc9ca98498b9810bcce0fbb935a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-native: fix checksumsConstantin Musca2013-03-101-3/+3
| | | | | | | (From OE-Core rev: c5632d833a1be4de1dcda18a67019e134844a8ee) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: upgrade to 0.9.7.7Constantin Musca2013-03-0524-455/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bb files: remove invalid config.sub/config.guess files (autotools will generate the correct files) allocate-larger-memory.patch: not needed anymore fix-gcc-4.6-null-not-defined.patch: added - include header that defines NULL includes-fix.patch: not needed anymore localefixes.patch: removed - not necessary anymore (no compiling errors) makerace.patch: adapted to the new version no-ko-translation.patch: adapted to the new version no-nls-dpkg.patch: added - fix build without nls noconfigure.patch: adapted to the new version nodoc.patch: adapted to the new version (apply patch on all cases because the doc generation needs docbook-xsl) remove-redeclaration.patch: not needed anymore truncate-filename.patch: moved use-host.patch: adapted to the new version no-curl.patch: adapted to the new version disable-configure-in-makefile.patch: added - do not run configure at do_compile (From OE-Core rev: 97403b14765331c8c48bb570c6b98f2809214a9a) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Write DPKG_ARCH to /etc/apt/apt.confStefan Eichenberger2013-02-121-0/+5
| | | | | | | | | | | | Apt does not recognize the architecture if a different one is set with DPKG_ARCH (e.g. armel). This patch writes the correct architecture to /etc/apt/apt.conf. (From OE-Core rev: 81b8c36641994dc7a4e025f2d43f9ce57d04b6f0) Signed-off-by: Stefan Eichenberger <stefan.eichenberger@netmodule.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-native: fix the creation of apt.conf.sampleHongxu Jia2013-01-101-3/+4
| | | | | | | | | | | | | | | | | | | | | 1.The file of "apt.conf.sample" is in the outdir, and outdir is assigned by "os.path.join" with the params of ${D}, ${sysconfdir} and "apt". But ${sysconfdir} is an absolute dir and that let ${D} be discarded. The following is the help on function os.path.join(a, *p): Join two or more pathname components, inserting '/' as needed. If any component is an absolute path, all previous path components will be discarded. Use oe.path.join instead which don't have this problem. 2. Create apt.conf.sample if it doesn't exist. [YOCTO #3677] (From OE-Core rev: 95a655a853b7cd43163362d72da0c134d4c0ec85) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-native 0.7.14: remove an extra line from apt.confRobert Yang2012-08-172-2/+1
| | | | | | | | | | | | There is an additional "};" at the end of apt.conf, remove it. [YOCTO #2495] (From OE-Core rev: 2d6d2549676bb6a84a049f41d6ed31107efc28ad) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove a number of unneeded import os/bb callsRichard Purdie2012-07-191-1/+0
| | | | | | | | | | The bb and os modules are always imported so having these extra import calls are a waste of space/execution time. They also set a bad example for people copy and pasting code so clean them up. (From OE-Core rev: 7d674820958be3a7051ea619effe1a6061d9cbe2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-192-29/+29
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt 0.7.14: runtime error: Method file has died unexpectedlyRobert Yang2012-07-094-2/+78
| | | | | | | | | | | | | | | | | When the length of the tmpdir is longer than 400, there is an error when run "apt-get update": Method file has died unexpectedly! This is because the "char S[1024]" is not enough for long URI, S[2048] would be enough. [YOCTO #2689] (From OE-Core rev: 3ed08bd24cef39a85c528159a494e8f0dd001739) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt 0.7.14: runtime error: filename too long (tmpdir length)Robert Yang2012-07-094-2/+38
| | | | | | | | | | | | | | when the tmpdir dir is longer than 220, there is no files saved in tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update, this is because apt-get uses the path as the file name, but the file name can't be longer than 255 according to /usr/include/linux/limits.h. [YOCTO #2688] (From OE-Core rev: 9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt 0.7.14: do_compile failed with gcc 4.7Robert Yang2012-06-084-2/+66
| | | | | | | | | | | | | | | | | | | apt do_compile failed with gcc 4.7: deb/deblistparser.cc: In member function 'virtual short unsigned int debListParser::VersionHash()': deb/deblistparser.cc:212:13: error: redeclaration of 'char* I' deb/deblistparser.cc:202:22: error: 'const char** I' previously declared here Backport the patch from the upstream would fix the problem, both target and native apt need it. [YOCTO #2488] (From OE-Core rev: fae7fc49052720f037bac128084851c09d420381) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-get 0.7.14: hangs at runtimeRobert Yang2012-06-082-61/+2
| | | | | | | | | | | | | | | | | | | | | | | This patch had a little problem, it made a infinite loop: for (K = CmdL.FileList + 1; *K != 0; J++) But the value of "K" will nerver change, so the apt-get hangs, revert this patch first, and will fix the problem in another patch. Note: Increment the PR from 11 to 12 Revert "apt: Fix a latent bug exposed by gcc 4.7" This reverts commit 9d526462fe97564652771812ad1d363e9962b1e3. [YOCTO #2488] (From OE-Core rev: 1e381c83396a65c6c93b8fc1f4e35564c52bd042) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix a latent bug exposed by gcc 4.7Khem Raj2012-04-022-2/+61
| | | | | | | | | Further Details are in patch itself (From OE-Core rev: 0dc952e35da00a753317a4f878b23eab8bb7bc4a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix parallel make raceRichard Purdie2012-03-194-2/+26
| | | | | | | | I was just going to turn off parallel make but ended up fixing this properly. (From OE-Core rev: dcad44962fc78741020584edced0526866d09b53) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie2012-03-051-1/+1
| | | | | | | | sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True)Richard Purdie2012-03-052-5/+5
| | | | | | | | | | | | Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: clarify LICENSE as GPLv2.0Joshua Lock2011-12-211-1/+1
| | | | | | | (From OE-Core rev: 9b8c8ac43fbf9dc73f55306ec103208328a1766c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Fix locale header and hardcoded libname issuesRichard Purdie2011-11-236-10/+104
| | | | | | | | | | | | | apt wasn't building on modern libc/compiler combinations due to missing header includes. The libcpp version was also being hardcoded, this patch generates it dynamically to work on different host systems which no longer have this. (From OE-Core rev: ca8237ee51053d70b5e7579c224a824db2be76b2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-102-6/+6
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* deb packages support: switch from /var/dpkg to /var/lib/dpkgDexuan Cui2011-09-213-4/+4
| | | | | | | | | | | | [YOCTO #1086] The pach was backported from OE: http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f (From OE-Core rev: d1e6f49a6473df3c626100ba01b27485f735c33b) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: Package unpackaged filesRichard Purdie2011-07-072-3/+3
| | | | | | (From OE-Core rev: 1e134055b8c00dd2f93a40a50cf69377c7b325c0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update patch upstream statusQing He2011-05-178-0/+16
| | | | | | | | | | for the following recipes: pcmciautils openssl udev apt gdm (From OE-Core rev: 552c9fa44c2a2bb94bcf83bff802773265a35a27) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt-native: Added licence checksum.Lianhao Lu2011-01-281-0/+2
| | | | | | Added licence checksum for apt-native. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* apt: revert the dso_linking_change patch as the new linker fixes itNitin A Kamble2011-01-242-28/+2
| | | | | | | | | | | | | The newer binutils recipe of version 2.21 has a fix for ld which avoids an issue where weak symbols like pthread_cancel were causing linking to fail wh --no-add-as-needed parameter was passed to ld. See more information here: http://bugs.debian.org/591405 This makes some of the fixes for breakage after gcc dso linking change unnecessary and this is one of them. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* apt: fix build issue with gcc dso linking changeNitin A Kamble2011-01-202-2/+28
| | | | | | | | | All the libraries needs to be specified explicitely with the new gcc dso linking change patch. This was causing build errors for this recipe. Specifying the libpthread library explicitely for linking to work without errors. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN}Koen Kooi2010-12-301-2/+2
| | | | | | | For these recipes the dependencies listed in RDEPENDS and RRECOMMENDS only apply to ${PN} Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* apt: update use-host patch to support x86_64Saul Wold2010-12-231-12/+8
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-092-0/+6
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* apt:Add license checksum to bb fileMei Lei2010-11-231-1/+1
| | | | | | Add COPYING.GPL file checksum to bb file Signed-off-by: Mei Lei <lei.mei@intel.com>
* rootfs_deb: Fix problem with pseduo and rootfs locationSaul Wold2010-10-082-3/+3
| | | | | | This address [BUGID #401] to complete dpkg rootfs support Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-2714-0/+492
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>