pax-utils: upgrade to 0.2.1

- update metadata. license checksum is skipped, as pax-utils is depended by do_package task itself.
  I.e. the 1st do_package will be run after pax-utils-native is built. So far checksum verification
  is included in do_package task
- no need to override {S} since {S} uses {BPN}
- no need to define "_GNU_SOURCE" which has been included by source
  tar ball. Also remove do_compile override accordingly
- remove recipe internal md5sum, which is not used by Poky

Signed-off-by Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
Kevin Tian 2010-06-16 06:37:17 +08:00 committed by Richard Purdie
parent f91911a0e0
commit 3627ee3d7f
2 changed files with 14 additions and 24 deletions

View File

@ -1,24 +0,0 @@
DESCRIPTION = "Various ELF utilities"
HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml"
LICENSE = "GPLv2"
SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.bz2"
S = "${WORKDIR}/pax-utils-${PV}"
PR = "r2"
CPPFLAGS += "-D_GNU_SOURCE "
do_compile() {
oe_runmake
}
do_install() {
oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
}
NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"
SRC_URI[md5sum] = "98f6b9fe17a740a8cc577255422c6103"
SRC_URI[sha256sum] = "3918628e9f2508708a1a28f5ed4cb39d07cbd5711747bbb3ddf63816d056c11e"

View File

@ -0,0 +1,14 @@
DESCRIPTION = "pax-utils is a small set of various PaX aware and related utilities for ELF binaries. PaX's main goal is to research various defense mechanisms against the exploitation of software bugs that give an attacker arbitrary read/write access to the attacked task's address space"
HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml"
LICENSE = "GPLv2+"
SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.bz2"
PR = "r0"
do_install() {
oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
}
NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND = "native"