aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tar
Commit message (Collapse)AuthorAgeFilesLines
* tar: control acl PACKAGECONFIG based on acl distro featureAndre McCurdy2018-05-041-0/+2
| | | | | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* tar: merge tar.inc into tar recipeAndre McCurdy2018-05-042-62/+60
| | | | | | | | There's only one user of tar.inc (meta-gplv2 has its own copy), so merge the .inc file into the tar recipe. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* tar: 1.29 -> 1.30Huang Qiyu2018-02-063-71/+4
| | | | | | | | | 1.Upgrade tar from 1.29 to 1.30. 2.Modify musl_dirent.patch, since the data has been changed. 3.Delete CVE-2016-6321.patch, since it is integrated upstream. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* recipes: Move out stale GPLv2 versions to a seperate layerRichard Purdie2017-03-074-104/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These are recipes where the upstream has moved to GPLv3 and these old versions are the last ones under the GPLv2 license. There are several reasons for making this move. There is a different quality of service with these recipes in that they don't get security fixes and upstream no longer care about them, in fact they're actively hostile against people using old versions. The recipes tend to need a different kind of maintenance to work with changes in the wider ecosystem and there needs to be isolation between changes made in the v3 versions and those in the v2 versions. There are probably better ways to handle a "non-GPLv3" system but right now having these in OE-Core makes them look like a first class citizen when I believe they have potential for a variety of undesireable issues. Moving them into a separate layer makes their different needs clearer, it also makes it clear how many of these there are. Some are probably not needed (e.g. mc), I also wonder whether some are useful (e.g. gmp) since most things that use them are GPLv3 only already. Someone could now more clearly see how to streamline the list of recipes here. I'm proposing we mmove to this separate layer for 2.3 with its future maintinership and testing to be determined in 2.4 and beyond. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: CVE-2016-6321Sona Sarmadi2017-03-012-0/+67
| | | | | | | | | | | | | Skip members whose names contain "..". Reference: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6321 Upstream patch: http://git.savannah.gnu.org/cgit/tar.git/commit/?id=7340f67b9860ea0531c1450e5aa261c50f671 Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* tar: upgrade to 1.29Chen Qi2016-06-142-9/+16
| | | | | | | Refresh remove-gets.patch for the latest version. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: Fix build for musl based targetsKhem Raj2016-01-222-0/+25
| | | | | | | | | | | | | | It only considered linux-gnu hosts when cross compiling here we add linux-musl to the mix as well Fixes errors e.g. 1.28-r0/tar-1.28/src/tar.c:1351:5: error: 'SAVEDIR_SORT_INODE' undeclared here (not in a function) | SAVEDIR_SORT_INODE | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add "CVE:" tag to current patches in OE-coreMariano Lopez2016-01-111-0/+1
| | | | | | | | | | | The currnet patches in OE-core doesn't have the "CVE:" tag, now part of the policy of the patches. This is patch add this tag to several patches. There might be patches that I miss; the tag can be added in the future. Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* tar: fix install if bindir == base_bindirDominic Sacré2015-09-211-4/+6
| | | | | | | | | Don't try to move binaries onto themselves if ${bindir} and ${base_bindir} are the same, as is the case on systems with a merged /usr directory. Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
* tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIXPatrick Ohly2015-08-192-12/+5
| | | | | | | | | | | | | | | | | | | | Building tar-replacement-native as replacement of the host's tar in the standard path was meant to be done manually by a user in preparation for the regular bitbake run. Such a usage has been superseeded by installing the pre-compiled buildutils and might have been broken on hosts which need it by the sanity check for tar >= 1.26. Therefore tar-replacement-native_1.28.bb can be removed in favor of adapting the normal tar recipe such that it installs an opt-in binary under a different path. The special do_install logic is explicitly limited to class-target, instead of making it the default and disabling it (which would be the case for class-native and class-nativesdk). Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* tar: Add symlink to tar from gtarRichard Purdie2015-07-131-0/+2
| | | | | | | | | | dpkg-deb accesses tar via "gtar", add a symlink to ensure that nativesdk for example correctly catches these accesses to tar (for buildtools-tarball). This likely also fixes on target dpkg-deb usage. [YOCTO #7988] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: set acpaths to avoid "Argument list too long" errorChong Lu2015-03-221-0/+6
| | | | | | | | | | | | | | | | | | There would be an error when the TMPDIR is long/deep, for example when len(TMPDIR) = 410 while our supported longest value is 410: aclocal: error: cannot open xxx autoreconf: aclocal failed with exit status: 1 ERROR: autoreconf execution failed. Let aclocal use the relative path for the m4 file rather than the absolute would fix the problem. [YOCTO #6138] Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar 1.17: fix unknown-configure-optionRobert Yang2015-02-072-2/+3
| | | | | | | | | WARNING: QA Issue: tar: configure was passed unrecognised options: --without-posix-acls [unknown-configure-option] tar 1.17 doesn't support --without-posix-acls, move it from tar.inc to tar_1.28.bb to fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* tar: upgrade to 2.18Chen Qi2014-12-272-3/+2
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add texinfo.bbclass; recipes that use texinfo utils at build-time inherit it.Max Eliaser2014-05-011-1/+1
| | | | | | | | | | | The class itself currently does nothing. The idea is to mark all recipes that make use of the texinfo utilities. In the future, this class could be used to suppress the generation/formatting of documentation for performance, explicitly track dependencies on these utilities, and eliminate Yocto's current dependency on the host system's texinfo utilities. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: add knob whether acl.h are checkedChong Lu2014-03-191-0/+2
| | | | | | | | | | | Previously, it still was checked when there was no sys/acl.h in sysroots directory. Add knob to decide whether acl.h are checked or not. Fixed by using PACKAGECONFIG to check acl, with default disabled set. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: upgrade to 1.27.1Laurentiu Palcu2013-11-263-2/+2
| | | | | Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: upgrade to 1.27Laurentiu Palcu2013-10-263-12/+12
| | | | | | | Refreshed remove-gets.patch to apply correctly. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tar: remove an erroneous patchChen Qi2013-07-182-37/+0
| | | | | | | | | | | | | | | | | | | | | This removed patch is a workaround for gcc-4.5 manifests buffer overflow with app-arch/tar-1.{22,23}, according to the information from https://bugs.gentoo.org/show_bug.cgi?id=317139. The problem with that patch is that it's only setting the magic field of the header while the original statement sets both the magic and the version field of the header. Because of this, all tar balls created by the tar package in OE will be treated as old V7 format tar balls. As a negative effect of this behaviour, the tar package in OE cannot handle device files correctly. This in turn leads to the udev cache failure in images like core-image-lsb-sdk. [YOCTO #4815] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tar: don't mv tar for nativesdkSaul Wold2013-06-101-0/+1
| | | | | | | | We move tar into /bin for target but it can stay in /usr/bin for nativesdk this will also mean the paths are correct for the buildtools-tarball environment Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git/tar/findutils: Add nativesdk versionsRichard Purdie2013-06-071-0/+4
| | | | | | | | | | | We need to be able to generate a standalone tarball containing tar/git so add nativesdk versions of the appropriate recipes to allow this to be possible. Tweak the git perl paths to avoid warnings when building the nativesdk version, ensure the binaries are wrapped correctly and avoid update-alternatives in nativesdk-tar. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: apply fedora patch for fortify sources sigabortFahad Usman2012-12-132-1/+38
| | | | | | | | | | | | | See https://qa.mandriva.com/show_bug.cgi?id=61419 for details. Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id 333d2e0510a1e052cb83a6f8beed6d8bcea59b2c Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: Split RMT from tarMark Hatle2012-12-063-4/+11
| | | | | | | | | After the recent change of the libexecdir definition, the update-alternatives for the libexec rmt broke. Fix this by moving rmt from libexec to /sbin. Also split the rmt app from tar as it's likely not useful to many users. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* tar: fix build with automake 1.12.xNitin A Kamble2012-07-171-1/+0
| | | | | | | | | | | | | | | | | automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails. cleanup the do_install_append for automake 1.12.x Avoid this error: | rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/tar-1.26-r1/image/usr/sbin/': No such file or directory NOTE: package tar-1.26-r1: task do_install: Failed no PR bump as no change in the output. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibcKhem Raj2012-07-172-1/+24
| | | | | | | | eglibc 2.16 does not export gets anymore Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: use new update-alternativesMark Hatle2012-05-303-12/+10
| | | | Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* tar: Fix unpackaged files warningsRichard Purdie2012-03-162-2/+4
| | | | | | | | WARNING: For recipe tar, the following files/directories were installed but not shipped in any package: WARNING: /usr/sbin WARNING: /usr/bin Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Drop PRIORITY variableRichard Purdie2011-07-011-1/+0
| | | | | | | | | | | | | | As discussed on the mailing list, this variable isn't useful and if wanted would be better implemented by distros using pn-X overrides. This patch executes: find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d' against the tree removing the referenced. Thanks to Phil Blundell for the command. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: upgrade to v1.26Scott Garman2011-06-064-9/+10
| | | | Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* gplv2 recipes update upstream status of patchesNitin A Kamble2011-05-232-0/+4
| | | | | | | | | grep-2.5.1a: update upstream status of patches tar-1.17: update upstream-status of patches at-3.1.12: update upstream-status for patches cpio-2.8: update upstream-status for patches Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* recipes: Fix the Upstream-Status formatNitin A Kamble2011-05-111-1/+1
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* tar-1.17 (GPLv2) bugfixNitin A Kamble2011-04-282-1/+24
| | | | | | This fixes bug [YOCTO #982] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* tar.inc: Fix unintended damageRichard Purdie2011-02-211-2/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar-replacement-native: Fix installRichard Purdie2011-02-212-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar-replacement-native: Add a target to replace the default tarRichard Purdie2011-02-212-2/+14
| | | | | | | | | | | | tar < 1.24 has symlink issues where extracting a tar archive containing a symlink to a directory where that symlink already exists will cause the symlink to be dereferenced. If that target doesn't exist tar can fail with a permissions error. Since we need to be able to do this for packages containing symlinks like xorg-minimal-fonts and eglibc, we have to ensure a tar 1.25 is available early in the build process. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-extended: Add Summary informationMark Hatle2010-12-161-0/+1
| | | | | | Add Summary information and update descriptions as necessary. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* tar: upgrade to version 1.25Scott Garman2010-11-222-9/+9
| | | | Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-275-0/+110
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>