Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | SUMMARY = "Linux Key Management Utilities" |
| 2 | DESCRIPTION = "\ |
| 3 | Utilities to control the kernel key management facility and to provide \ |
| 4 | a mechanism by which the kernel call back to userspace to get a key \ |
| 5 | instantiated. \ |
| 6 | " |
| 7 | HOMEPAGE = "http://people.redhat.com/dhowells/keyutils" |
| 8 | SECTION = "base" |
| 9 | |
| 10 | LICENSE = "LGPLv2.1+ & GPLv2.0+" |
| 11 | |
| 12 | LIC_FILES_CHKSUM = "file://LICENCE.GPL;md5=5f6e72824f5da505c1f4a7197f004b45 \ |
| 13 | file://LICENCE.LGPL;md5=7d1cacaa3ea752b72ea5e525df54a21f" |
| 14 | |
| 15 | |
| 16 | inherit siteinfo ptest |
| 17 | |
| 18 | SRC_URI = "http://people.redhat.com/dhowells/keyutils/${BP}.tar.bz2 \ |
| 19 | file://keyutils-use-relative-path-for-link.patch \ |
| 20 | file://keyutils-test-fix-output-format.patch \ |
| 21 | file://keyutils-fix-error-report-by-adding-default-message.patch \ |
| 22 | file://run-ptest \ |
| 23 | " |
| 24 | |
| 25 | SRC_URI[md5sum] = "3771676319bc7b84b1549b5c63ff5243" |
| 26 | SRC_URI[sha256sum] = "115c3deae7f181778fd0e0ffaa2dad1bf1fe2f5677cf2e0e348cdb7a1c93afb6" |
| 27 | |
| 28 | EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} -Wall' \ |
| 29 | NO_ARLIB=1 \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 30 | BINDIR=${base_bindir} \ |
| 31 | SBINDIR=${base_sbindir} \ |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 32 | LIBDIR=${base_libdir} \ |
| 33 | USRLIBDIR=${base_libdir} \ |
| 34 | BUILDFOR=${SITEINFO_BITS}-bit \ |
| 35 | NO_GLIBC_KEYERR=1 \ |
| 36 | " |
| 37 | |
| 38 | do_install () { |
| 39 | oe_runmake DESTDIR=${D} install |
| 40 | } |
| 41 | |
| 42 | do_install_ptest () { |
| 43 | cp -r ${S}/tests ${D}${PTEST_PATH}/ |
| 44 | sed -i -e 's/OSDIST=Unknown/OSDIST=${DISTRO}/' ${D}${PTEST_PATH}/tests/prepare.inc.sh |
| 45 | } |
| 46 | |
| 47 | RDEPENDS_${PN}-ptest += "glibc-utils" |