summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/attr
Commit message (Collapse)AuthorAgeFilesLines
* attr: update 2.4.48 -> 2.5.1Alexander Kanavin2021-03-202-6/+5
| | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipesMeh Mbeh Ida Delphine2021-03-022-5/+6
| | | | | | | Fixes: [YOCTO #13471] Signed-off-by: Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add missing descriptions in some support recipesMaxime Roussin-Bélanger2020-12-182-0/+6
| | | | | Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* License-Update: attr: Add a missing file to LIC_FILES_CHKSUM.Akira Shibakawa2020-10-171-0/+1
| | | | | | | | Although attr is licensed under LGPLv2.1 and GPLv2, LIC_FILES_CHKSUM does not include license file of LGPLv2.1, COPYING.LGPL. Signed-off-by: Akira Shibakawa <arabishi900@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl/attr: update to latest upstream releasesAlexander Kanavin2020-01-1624-1905/+205
| | | | | | | | | | The latest release use standard autotools, so drop all the build system related hacks and patches. Ptests have been rewritten, with 100% pass rate for both. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: add a missing perl runtime dependencyAlexander Kanavin2019-08-081-1/+1
| | | | | | | /usr/lib/attr/ptest/test/sort-getfattr-output is a perl script. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packagesRichard Purdie2019-05-161-1/+1
| | | | | | | This solves ptest runtime errors where make was missing causing the ptests to fail. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Strip build host paths and tool versions from ptest filesDouglas Royds2018-12-031-6/+3
| | | | | | | | Using the new PTEST_BUILD_HOST_FILES mechanism. Specifically remove reference to build host rpm version, if any. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: Strip build host tool details from installed ptest fileDouglas Royds2018-12-031-5/+2
| | | | | | | | Adopt the PTEST_BUILD_HOST_FILES mechanism to strip build host paths from the installed builddefs file. Also strip the record of the build host rpm version. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: Use install instead of cpDouglas Royds2018-12-031-2/+2
| | | | | Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: Make it compatible with externalsrcPeter Kjellerstedt2018-10-101-1/+1
| | | | | | | | | | | | | Make the subdir fetch path for configure.ac relative. This avoids the following error after having done `devtool modify acl`: ERROR: acl-2.2.52-r0 do_unpack: Unpack failure for URL: 'file://configure.ac;subdir=.../builds/qemux86-64/workspace/sources/acl'. subdir argument isn't a subdirectory of unpack root .../builds/qemux86-64/tmp/work/core2-64-poky-linux/acl/2.2.52-r0 Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: use u-a for setfattrMartin Jansa2018-09-111-1/+5
| | | | | | | | | | setfattr is now provided also by busybox since 1.29.2 upgrade and do_rootfs is failing with: update-alternatives: Error: not linking usr/bin/setfattr to /bin/busybox.nosuid since usr/bin/setfattr exists and is not a link Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr/acl: disable make cleanRoss Burton2018-06-151-0/+3
| | | | | | | | | | These packages use hand-grown makefiles which don't handle cleans as they can invoke /usr/bin/gmake directly which may not exist. Until new upstream releases are made (which have ported to automake) set CLEANBROKEN to work around this. [ YOCTO #12775 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr: refresh patchesRoss Burton2018-03-111-30/+22
| | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr-doc: improve reproducibilityJuro Bystricky2018-01-051-1/+1
| | | | | | | | Use gzip compression without timestamps in the metadata. (Use gzip -n). Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Backports to fix exported headersKhem Raj2017-09-182-0/+70
| | | | | | | | | Packages which depends on attr headers fail due to uint32_t not being defined, this needed header to include sys/types.h Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* acl_2.25: improve reproducibilityJuro Bystricky2017-08-241-0/+5
| | | | | | | Remove all host build references from the acl-ptest package. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: improve reproducibilityJuro Bystricky2017-08-241-0/+6
| | | | | | | Remove all host build references from the attr-ptest package. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: reduce local pending patchesDengke Du2017-07-211-3/+14
| | | | | Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* meta: Add/fix missing Upstream-Status to patchesRichard Purdie2017-06-271-0/+2
| | | | | | | This adds or fixes the Upstream-Status for all remaining patches missing it in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Drop remnants of uclibc supportRichard Purdie2017-06-161-3/+0
| | | | | | | | | | | | uclibc support was removed a while ago and musl works much better. Start to remove the various overrides and patches related to uclibc which are no longer needed. uclibc support in a layer would still be possible. I have strong reasons to believe nobody is still using uclibc since patches are missing and I doubt the metadata even parses anymore. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Fix build failure when image includes man-pages pkgMark Asselstine2017-06-143-0/+908
| | | | | | | | | | | | | | | | | | | | | | If you attempt to build an image with both attr(-doc) and man-pages packages your rootfs might fail to assemble. The error will be something like: Error: Transaction check error: file /usr/share/man/man2/fgetxattr.2 from install of \ attr-doc-2.4.47-r0.core2_64 conflicts with file from \ package man-pages-4.11-r0.core2_64 (the error is usually only seen on builders which don't have manpages installed, if you have /usr/share/man/man1/man.1.gz your build will complete but you will have duplicate manpages, just one zipped and one not) Backporting changes from upstream attr removes the conflicted files in favour of those in the man-pages package. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: fix race issue when do_compileRobert Yang2017-04-192-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed race issue: In file included from acl_copy_entry.c:22:0: libacl.h:19:21: fatal error: sys/acl.h: No such file or directory #include <sys/acl.h> [snip] compilation terminated. acl_get_file.c:27:24: fatal error: acl/libacl.h: No such file or directory #include <acl/libacl.h> ^ The acl.h is in "include" directory, and include/Makefile creates symlink "sys" and "acl" poinst to current dirctory: $ ls include/ -l acl -> . sys -> . So if "libacl" target runs before "include", the error would happen since no "acl" or "sys" directory. Let libacl depend on include can fix the problem. [YOCTO #11349] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr/acl: Do not create broken static library link when not neededAmarnath Valluri2017-03-212-0/+72
| | | | | | | Stop creating the static library archive(liba(ttr|cl).a) when --disable-static configure option used. Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
* acl: drop in instead of patching configure.acRoss Burton2017-01-313-61/+51
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* acl: merge pointless .incRoss Burton2017-01-312-44/+41
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr: move attr-specific patches into attr/Ross Burton2017-01-312-0/+0
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr/ea-acl: pass --disable-gettext when USE_NLS=noDenys Dmytriyenko2017-01-091-0/+1
| | | | | | | | | Fixes following error in configure: FATAL ERROR: msgfmt does not seem to be installed. attr cannot be built without a working gettext installation. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* meta/scripts: Various getVar/getVarFlag expansion parameter fixesRichard Purdie2017-01-061-2/+2
| | | | | | | | | | | | | | | There were a few straggling expansion parameter removals left for getVar/getVarFlag where the odd whitespace meant they were missed on previous passes. There were also some plain broken ussages such as: d.getVar('ALTERNATIVE_TARGET', old_name, True) path = d.getVar('PATH', d, True) d.getVar('IMAGE_ROOTFS', 'True') which I've corrected (they happend to work by luck). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove True option to getVar callsJoshua Lock2016-12-161-4/+4
| | | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr: Convert SSTATEPOSTINSTFUNCS to a do_install_appendRichard Purdie2016-12-071-25/+22
| | | | | | | | A SSTATEPOSTINSTFUNCS function here is overkill, just do this in a do_install_append_class-native and create relative symlinks rather than absolute ones which would then have to be relocated. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "attr: Added ncurses to depends"Ross Burton2016-10-051-1/+1
| | | | | | | | | | There doesn't appear to be any reason to keep this dependency on ncurses in attr, so remove it. This reverts commit 7c474dc3d65bb3f71b375d36d81959cb405be80a. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt/acl/attc/sed: Fix use of tar's --exclude option for tar >= 1.29Mariano Lopez2016-08-102-2/+2
| | | | | | | | | | | | Starting from tar 1.29 the --exclude option won't work anymore if is not used before the path. There are some recipes that copy the ptest using tar and --exclude option. This fixes these for OE-Core recipes. [YOCTO #9763] Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* acl.inc, run-ptest: improve ptest functionality on limited rootfsPeter Seebach2016-05-203-5/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | ACL's ptest has a handful of failure modes which can be triggered by a restrictive or small system. First, the ptest requires that daemon be in the bin group, which run-ptest attempts to do using gpasswd, but gpasswd is part of shadow, and oe-core removes shadow when it doesn't think shadow will be needed. Even if, say, a package has RDEPENDS on it. Whoops. So we manually sed the group file. This will probably work. Second, the filesystem used for the test has to support ACLs, so we create a dummy ext3 filesystem and use that. Third, the root/permissions test relies on the assumption that "mkdir d" produces a directory which non-root users can access, but in a secure product which defaults to umask 077, this doesn't work. (That fix has been separately reported to upstream acl through their bug report form.) (This may prevent the test from running without mkfs.ext3, but it allows the test to run on targets where root doesn't have ACL support. Tradeoffs, tradeoffs everywhere.) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr: Remove redundant "+=" after "_append"Robert P. J. Day2016-04-291-3/+3
| | | | | Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Ross Burton <ross.burton@intel.com>
* acl: Fix re pattern in test casesHe Zhe2016-03-063-0/+194
| | | | | | | | | ls adds a '.' at the end of the permission field list on SELinux machines, filter this out so root tests work on SELinux machines. And backport one patch for other tests. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Add patch to account for use of internal glibc headerKhem Raj2015-12-122-1/+59
| | | | | | | | based on suggestions on musl FAQ http://wiki.musl-libc.org/wiki/FAQ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr: add attr dependency to attr-ptestRoss Burton2015-12-121-2/+2
| | | | | | | | If attr-ptest is explicitly installed it will fail as attr isn't a dependency. [ YOCTO #8766 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr: narrow fix_symlink to populate_sysrootRoy Li2015-08-161-0/+5
| | | | | | | | | | | | | | fix_symlink will be called many times, like populate_sysroot and populate_lic; which maybe lead to rpm-native building failure, due to the below error: ".../usr/lib/libacl.so: No such file or directory" since after acl/attr finished populate_sysroot task, rpm start to be compiled but acl/attr populate_lic, which run fix_symlink, maybe remove the .../usr/lib/libacl.so In fact, fix_symlink only needs to be called after populate_sysroot Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* acl/attr: remove extra dev and staticdev from PACKAGESRobert Yang2015-04-131-12/+1
| | | | | | | There should be only one dev and dbg package. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: use EXTRA_AUTORECONF to disable autoheaderRoss Burton2014-12-031-1/+1
| | | | | | | Disable autoheader by setting EXTRA_AUTORECONF to --exclude=autoheader instead of setting AUTOHEADER to true. Signed-off-by: Ross Burton <ross.burton@intel.com>
* acl: add acl dependency to acl-ptestRoss Burton2014-11-061-1/+1
| | | | | | | The acl test suite doesn't work without the acl binaries, so add an explicit dependency. Signed-off-by: Ross Burton <ross.burton@intel.com>
* attr: Allow use during build and SDKOtavio Salvador2014-08-151-0/+2
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors.bbclass: Add mirror site for savannahChanghyeok Bae2014-05-112-2/+2
| | | | | | | | | | | | | | * The SRC_URI is not accessible. So need to add mirror site referred by the original site. * The problem is that http://download.savannah.gnu.org/releases redirects to closest mirror and few mirrors (e.g. .jp) weren't working correctly while http://download-mirror.savannah.gnu.org/releases/ seems to be reliable. * Add SAVANNAH_GNU_MIRROR and SAVANNAH_NONGNU_MIRROR variable in bitbake.conf. * Change the SRC_URI using the new variable. Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: Fix uclibc buildsRichard Purdie2014-05-082-3/+3
| | | | | | | | attr needs libintl headers and libs. Add in the missing dependency and ensure the linker flag gets passed in multilib builds by replacing the PN == BPN check with a class-target override instead. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* acl: fix the order of expected output of getfaclChong Lu2014-03-242-0/+199
| | | | | | | | | | The result of getfacl is sorted by user id. In Centos or RHEL, bin user id is 1 and daemon user id is 2. But in our image, bin user id is 2 and daemon user id is 1. The patch fixes this issue to make ptest pass. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie2014-02-281-1/+1
| | | | | | | | | | This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* attr: enable ptest supportChong Lu2014-02-172-1/+21
| | | | | | | | | Install attr test suite and run it as ptest. ext test cases need depend on specific filesystem. So exclude them order to make ptest all pass. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* acl: enable ptest supportChong Lu2014-02-172-1/+20
| | | | | | | | | Install acl test suite and run it as ptest. nfs test cases need depend on nfs service. So exclude them order to make ptest all pass. Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-022-2/+2
| | | | | | | | | | | 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. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>