aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libcap
AgeCommit message (Collapse)Author
2011-01-15libcap2: fix build with and without libpamAndreas Oberritter
* Add libpam to depends if DISTRO_FEATURES contains pam. * Fixes the following compile error, when libpam-dev is installed on the host, but not built for the target: pam_cap.c:19:34: error: security/pam_modules.h: No such file or directory pam_cap.c:20:34: error: security/_pam_macros.h: No such file or directory Signed-off-by: Andreas Oberritter <obi@opendreambox.org> CC: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> CC: Otavio Salvador <otavio@ossystems.com.br> CC: Tom Rini <tom_rini@mentor.com> CC: Khem Raj <raj.khem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-01-12Convert `libcap_1.10` to new staging system by removing `do_stage()` [1].Paul Menzel
This change is build tested with the following configuration and `PREFERRED_BINUTILS_VERSION = "2.21"`. Build Configuration: BB_VERSION = "1.10.2" METADATA_BRANCH = "org.openembedded.dev" METADATA_REVISION = "224c193" TARGET_ARCH = "arm" TARGET_OS = "linux-uclibceabi" MACHINE = "beagleboard" DISTRO = "minimal-uclibc" DISTRO_VERSION = "dev-snapshot-20110109" TARGET_FPU = "soft" [1] http://wiki.openembedded.org/index.php/Legacy_staging Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-01-12libcap, libcap2: use automatic packaging to fix QA errorsPaul Menzel
Since commit 6883f6 [1] packages have been populated manually. FILES_${PN} = "${libdir}" FILES_${PN}-dev = "${includedir}" This gives the following QA errors for `libcap` and `libcap2` (which is based on `libcap` [2]) [3]. • `libcap`: ERROR: QA Issue with libcap: non -dev package contains symlink .so: libcap path '/work/armv7a-oe-linux-uclibceabi/libcap-1.10-r2/packages-split/libcap/usr/lib/libcap.so' ERROR: QA Issue with libcap: non -dev package contains symlink .so: libcap path '/work/armv7a-oe-linux-uclibceabi/libcap-1.10-r2/packages-split/libcap/usr/lib/libcap.so' • `libcap2`: ERROR: QA Issue with libcap2: non -dev package contains symlink .so: libcap2 path '/work/armv7a-oe-linux-uclibceabi/libcap2-2.16-r1/packages-split/libcap2/usr/lib/libcap.so' ERROR: QA Issue with libcap2: non -dev package contains symlink .so: libcap2 path '/work/armv7a-oe-linux-uclibceabi/libcap2-2.16-r1/packages-split/libcap2/usr/lib/libcap.so' Using automatic packages the symlink `libcap.so -> libcap.so.1.10` is put into `libcap{,2}-dev`. Note: The symlink `libcap.so.1 -> libcap.so.1.10` is still put into `libcap1_1.10-r2_armv7a.ipk` but does not raise a QA error. [1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=6883f65588c6aa7e9780ff7c11b15a397382a422 [2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=c71a6ebf796df907ba0d4339e6acf66faa3c6232 [3] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-January/028557.html Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> CC: Rolf Leggewie <no2spam@nospam.arcornews.de> Acked-by: Dirk Opfer <dirk@do13.de> Acked-by: Dirk Opfer <dirk@do13.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-06-17libcap2: use attr instead of libattr as dependencyHenning Heinold
* convert to new staging system, by removing do_stage * bump PR Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Acked-by: Koen Kooi <koen@openembedded.org> Acked-By: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-05-25Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson
For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson
I think this makes the behavior rather more clear. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-04-12recipes: move checksums to recipes from checksums.iniMartin Jansa
* fetch all *.bb with patched utils.bbclass appending all checksums found only in checksums.ini to recipe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-01-22libcap: BUILD_CFLAGS can need the libcap/include tooChris Larson
Signed-off-by: Chris Larson <clarson@mvista.com>
2010-01-21libcap: Append `-fPIC` to `CFLAGS` to fix compilation on newer binutils/ld.Paul Menzel
Doing `bitbake libcap` with PREFERRED_VERSION_binutils = "2.20" PREFERRED_VERSION_binutils-cross = "2.20" PREFERRED_VERSION_binutils-cross-sdk = "2.20" PREFERRED_VERSION_gcc = "4.4.2" PREFERRED_VERSION_gcc-cross = "4.4.2" PREFERRED_VERSION_gcc-cross-sdk = "4.4.2" PREFERRED_VERSION_gcc-cross-initial = "4.4.2" PREFERRED_VERSION_gcc-cross-intermediate = "4.4.2" in `local.conf` made `do_compile` error out with the following message [1]. arm-angstrom-linux-gnueabi-ld -soname libcap.so.1 -x -shared -o libcap.so.1.10 cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o arm-angstrom-linux-gnueabi-ld: cap_text.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC Khem Raj explained it the following way [2]. Am Mittwoch, den 13.01.2010, 02:27 -0800 schrieb Khem Raj: > > I also get the same error which I did not get before with GCC 4.1.1. > > Older versions of binutils/ld can not detect MOVT/MOVW relocations which > are absolute and cant be used in PIC code. > hence even if the error was there it remained latent. Therefore just append `-fPIC` to the CFLAGS and bump the PR variable. The strange thing is still, that other distributions seem to have patched libcap to build with `-fPIC` long ago [3–5]. [1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-January/016142.html [2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-January/016211.html [3] http://www.linuxfromscratch.org/patches/downloads/libcap/libcap-1.10-fedora_fixes-1.patch [4] http://frugalware.org/pipermail/frugalware-darcs/2005-May/000824.html [5] http://cvs.fedoraproject.org/viewvc/rpms/libcap/F-7/libcap-1.10-fPIC.patch?revision=1.1&view=markup Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-03-17rename packages/ to recipes/ per earlier agreementDenys Dmytriyenko
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>