conf/bitbake.conf:
authorHolger Freyther <zecke@selfish.org>
Sun, 12 Feb 2006 19:03:27 +0000 (19:03 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 12 Feb 2006 19:03:27 +0000 (19:03 +0000)
    - Add GENTOO_MIRROR
packages/pax-utils:
    - Add version 0.1.9 of the pax utilities including
      scanelf. I will use it in a dedicated QA bbclass
      to check for common security issues.

conf/bitbake.conf
packages/pax-utils/.mtn2git_empty [new file with mode: 0644]
packages/pax-utils/pax-utils-native_0.1.9.bb [new file with mode: 0644]
packages/pax-utils/pax-utils_0.1.9.bb [new file with mode: 0644]

index 89ab4ff..c28e3a7 100644 (file)
@@ -304,6 +304,7 @@ XORG_MIRROR = "http://xorg.freedesktop.org/releases"
 GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources"
 FREEBSD_MIRROR = "ftp://ftp.freebsd.org/pub/FreeBSD/"
 HANDHELDS_CVS = "cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs"
+GENTOO_MIRROR = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles"
 
 # You can use the mirror of your country to get faster downloads by putting
 #  export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool"
diff --git a/packages/pax-utils/.mtn2git_empty b/packages/pax-utils/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/pax-utils/pax-utils-native_0.1.9.bb b/packages/pax-utils/pax-utils-native_0.1.9.bb
new file mode 100644 (file)
index 0000000..d586dcb
--- /dev/null
@@ -0,0 +1,7 @@
+inherit native
+
+require pax-utils_${PV}.bb
+
+do_stage() {
+    oe_runmake PREFIX=${STAGING_DIR}/${HOST_SYS} install
+}
diff --git a/packages/pax-utils/pax-utils_0.1.9.bb b/packages/pax-utils/pax-utils_0.1.9.bb
new file mode 100644 (file)
index 0000000..3aa6b22
--- /dev/null
@@ -0,0 +1,16 @@
+DESCRIPTION = "Various ELF utilities"
+HOMEPAGE    = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml"
+LICENSE     = "GPLv2"
+MAINTAINER  = "freyther@handhelds.org"
+
+SRC_URI     = "${GENTOO_MIRROR}/pax-utils-${PV}.tar.bz2;md5sum=71e8d13d072efcbc4123960211a34d4f"
+S           = "${WORKDIR}/pax-utils-${PV}"
+
+do_compile() {
+    oe_runmake
+}
+
+do_install() {
+    oe_runmake DESTDIR=${D} install
+}
+