From bdda8f8b1f3ff21b5f893efcb7c835e69e25852a Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 11 Jul 2011 17:27:18 +0000 Subject: libarchive: remove undistributable copyright content from source The original tarball has two undistributable files that we have removed from the repacked tarball. The issue has been reported upstream at: http://code.google.com/p/libarchive/issues/detail?id=162 Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- .../libarchive/libarchive_2.8.4.bb | 25 -------------------- .../libarchive/libarchive_2.8.4.yocto.1.bb | 27 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 25 deletions(-) delete mode 100644 meta/recipes-extended/libarchive/libarchive_2.8.4.bb create mode 100644 meta/recipes-extended/libarchive/libarchive_2.8.4.yocto.1.bb (limited to 'meta') diff --git a/meta/recipes-extended/libarchive/libarchive_2.8.4.bb b/meta/recipes-extended/libarchive/libarchive_2.8.4.bb deleted file mode 100644 index 6d4fb39d1..000000000 --- a/meta/recipes-extended/libarchive/libarchive_2.8.4.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "C library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats" -HOMEPAGE = "http://code.google.com/p/libarchive/" -SECTION = "devel" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=4255e2e6f0349a4ac8fbd68459296e46" -PR = "r0" - -DEPENDS = "libxml2" - -SRC_URI = "http://libarchive.googlecode.com/files/libarchive-${PV}.tar.gz \ - file://0001-Patch-from-upstream-revision-1990.patch \ - file://0002-Patch-from-upstream-revision-1991.patch \ - file://0003-Patch-from-upstream-rev-2516.patch \ - file://0004-Patch-from-upstream-rev-2514.patch \ - file://0005-Patch-from-upstream-rev-2520.patch \ - file://0006-Patch-from-upstream-rev-2521.patch \ - file://0007-Ignore-ENOSYS-error-when-setting-up-xattrs.-Closes-5.patch \ - " - -SRC_URI[md5sum] = "83b237a542f27969a8d68ac217dc3796" -SRC_URI[sha256sum] = "86cffa3eaa28d3116f5d0b20284026c3762cf4a2b52b9844df2b494d4a89f688" - -inherit autotools lib_package - -BBCLASSEXTEND = "nativesdk" diff --git a/meta/recipes-extended/libarchive/libarchive_2.8.4.yocto.1.bb b/meta/recipes-extended/libarchive/libarchive_2.8.4.yocto.1.bb new file mode 100644 index 000000000..94d261b2a --- /dev/null +++ b/meta/recipes-extended/libarchive/libarchive_2.8.4.yocto.1.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "C library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats" +HOMEPAGE = "http://code.google.com/p/libarchive/" +SECTION = "devel" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=4255e2e6f0349a4ac8fbd68459296e46" +PR = "r0" + +DEPENDS = "libxml2" + +# We need to repack the tarball due undistributable content on the upstream one. +# More details at http://code.google.com/p/libarchive/issues/detail?id=162 +SRC_URI = "http://autobuilder.yoctoproject.org/sources/libarchive-${PV}.tar.gz \ + file://0001-Patch-from-upstream-revision-1990.patch \ + file://0002-Patch-from-upstream-revision-1991.patch \ + file://0003-Patch-from-upstream-rev-2516.patch \ + file://0004-Patch-from-upstream-rev-2514.patch \ + file://0005-Patch-from-upstream-rev-2520.patch \ + file://0006-Patch-from-upstream-rev-2521.patch \ + file://0007-Ignore-ENOSYS-error-when-setting-up-xattrs.-Closes-5.patch \ + " + +SRC_URI[md5sum] = "71242da5191f1218f13dd520d95a870e" +SRC_URI[sha256sum] = "8cd55db11b1d6001ff8007e4d22b6f4a4bb215e70750e19ab44b84b99ab76053" + +inherit autotools lib_package + +BBCLASSEXTEND = "nativesdk" -- cgit v1.2.3