diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-04-25 12:48:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-28 10:44:42 +0100 |
commit | af40ff0ca68409a00962fa93735436c515e513a9 (patch) | |
tree | f7888de90846219cd84513d3edd08377cfcd0e26 | |
parent | 7bd1a635ec7afb68663b4f6666399d2b64c56299 (diff) | |
download | poky-af40ff0ca68409a00962fa93735436c515e513a9.tar.gz |
cdrtools: recipe and patch cleanup
* Recipe cleanup, added missing metadata fields and fixed
whitespace issues
* Added Upstream-Status to patches
* Confirmed that CVE-2003-0655 does not apply to this recipe
as rscsi is not packaged
(From OE-Core rev: f7c35ad6267c7dfd37bad9c7521488c329f879b5)
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 files changed, 28 insertions, 9 deletions
diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native/glibc-conflict-rename.patch b/meta/recipes-devtools/cdrtools/cdrtools-native/glibc-conflict-rename.patch index 0b9b892aa2..2fd5696561 100644 --- a/meta/recipes-devtools/cdrtools/cdrtools-native/glibc-conflict-rename.patch +++ b/meta/recipes-devtools/cdrtools/cdrtools-native/glibc-conflict-rename.patch | |||
@@ -1,3 +1,11 @@ | |||
1 | This patch fixes collisions between locally defined functions | ||
2 | and glibc's fexecve() and getline() functions. | ||
3 | |||
4 | Upstream-Status: Inappropriate [Other] | ||
5 | Upstream no longer maintains a GPL version of this utility. | ||
6 | |||
7 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
8 | |||
1 | Index: cdrtools-2.01/include/schily.h | 9 | Index: cdrtools-2.01/include/schily.h |
2 | =================================================================== | 10 | =================================================================== |
3 | --- cdrtools-2.01.orig/include/schily.h 2009-06-18 11:30:45.000000000 +0100 | 11 | --- cdrtools-2.01.orig/include/schily.h 2009-06-18 11:30:45.000000000 +0100 |
diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch b/meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch index 0318d31a6d..82e57d182d 100644 --- a/meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch +++ b/meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch | |||
@@ -1,3 +1,10 @@ | |||
1 | Remove hard-coded references to /usr/src/linux/include to avoid | ||
2 | host contamination. | ||
3 | |||
4 | Upstream-Status: [Other (build-system specific)] | ||
5 | |||
6 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
7 | |||
1 | Index: cdrtools-2.01/DEFAULTS/Defaults.gnu | 8 | Index: cdrtools-2.01/DEFAULTS/Defaults.gnu |
2 | =================================================================== | 9 | =================================================================== |
3 | --- cdrtools-2.01.orig/DEFAULTS/Defaults.gnu 2008-09-22 12:42:12.000000000 +0100 | 10 | --- cdrtools-2.01.orig/DEFAULTS/Defaults.gnu 2008-09-22 12:42:12.000000000 +0100 |
diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb index 769e5e258a..aba6a455b0 100644 --- a/meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb +++ b/meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb | |||
@@ -1,21 +1,25 @@ | |||
1 | # cdrtools-native OE build file | 1 | # cdrtools-native OE build file |
2 | # Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved | 2 | # Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved |
3 | # Released under the MIT license (see packages/COPYING) | 3 | # Released under the MIT license (see packages/COPYING) |
4 | 4 | SUMMARY = "A set of tools for CD recording, including cdrecord" | |
5 | LICENSE="GPL" | 5 | DESCRIPTION = "A set of tools for CD recording, including cdrecord" |
6 | DESCRIPTION="A set of tools for CD recording, including cdrecord" | 6 | HOMEPAGE = "http://cdrecord.berlios.de/private/cdrecord.html" |
7 | HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html" | 7 | SECTION = "console/utils" |
8 | PRIORITY = "optional" | ||
9 | LICENSE = "GPLv2" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
8 | PR = "r2" | 11 | PR = "r2" |
9 | 12 | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 13 | SRC_URI = "ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2 \ |
14 | file://no_usr_src.patch \ | ||
15 | file://glibc-conflict-rename.patch" | ||
11 | 16 | ||
12 | SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2 \ | 17 | SRC_URI[md5sum] = "d44a81460e97ae02931c31188fe8d3fd" |
13 | file://no_usr_src.patch;patch=1 \ | 18 | SRC_URI[sha256sum] = "728b6175069a77c4d7d92ae60108cbda81fbbf7bc7aa02e25153ccf2092f6c22" |
14 | file://glibc-conflict-rename.patch;patch=1" | ||
15 | 19 | ||
16 | inherit native | 20 | inherit native |
17 | 21 | ||
18 | STAGE_TEMP="${WORKDIR}/image-temp" | 22 | STAGE_TEMP = "${WORKDIR}/image-temp" |
19 | 23 | ||
20 | do_install() { | 24 | do_install() { |
21 | install -d ${STAGE_TEMP} | 25 | install -d ${STAGE_TEMP} |