diff options
| -rw-r--r-- | meta/recipes-support/createrepo/createrepo/createrepo-rpm549.patch | 19 | ||||
| -rw-r--r-- | meta/recipes-support/createrepo/createrepo_0.4.11.bb | 3 |
2 files changed, 21 insertions, 1 deletions
diff --git a/meta/recipes-support/createrepo/createrepo/createrepo-rpm549.patch b/meta/recipes-support/createrepo/createrepo/createrepo-rpm549.patch new file mode 100644 index 0000000000..3423c4428c --- /dev/null +++ b/meta/recipes-support/createrepo/createrepo/createrepo-rpm549.patch | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | dumpMetadata.py: Fix for RPM5 - 5.4.9 integration | ||
| 2 | |||
| 3 | RPM5 no longer has a switch to disable signature validation. (Due to security | ||
| 4 | validation concerns.) | ||
| 5 | |||
| 6 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
| 7 | |||
| 8 | diff -u createrepo-0.4.11.orig/dumpMetadata.py createrepo-0.4.11/dumpMetadata.py | ||
| 9 | --- createrepo-0.4.11.orig/dumpMetadata.py 2012-06-05 10:12:55.687964222 -0500 | ||
| 10 | +++ createrepo-0.4.11/dumpMetadata.py 2012-06-05 10:40:08.154060600 -0500 | ||
| 11 | @@ -92,7 +92,7 @@ | ||
| 12 | fdno = package # let's assume this is an fdno and go with it :) | ||
| 13 | except OSError: | ||
| 14 | raise MDError, "Error opening file" | ||
| 15 | - ts.setVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm.RPMVSF_NOMD5|rpm.RPMVSF_NEEDPAYLOAD)) | ||
| 16 | + ts.setVSFlags((rpm.RPMVSF_NOMD5|rpm.RPMVSF_NEEDPAYLOAD)) | ||
| 17 | try: | ||
| 18 | hdr = ts.hdrFromFdno(fdno) | ||
| 19 | except rpm.error: | ||
diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb index 989a7456e8..060ed597a4 100644 --- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb +++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb | |||
| @@ -4,11 +4,12 @@ HOMEPAGE = "http://createrepo.baseurl.org/" | |||
| 4 | LICENSE = "GPLv2+" | 4 | LICENSE = "GPLv2+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" |
| 6 | 6 | ||
| 7 | PR = "r2" | 7 | PR = "r3" |
| 8 | 8 | ||
| 9 | SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \ | 9 | SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \ |
| 10 | file://fix-native-install.patch \ | 10 | file://fix-native-install.patch \ |
| 11 | file://python-scripts-should-use-interpreter-from-env.patch \ | 11 | file://python-scripts-should-use-interpreter-from-env.patch \ |
| 12 | file://createrepo-rpm549.patch \ | ||
| 12 | " | 13 | " |
| 13 | 14 | ||
| 14 | SRC_URI[md5sum] = "3e9ccf4abcffe3f49af078c83611eda2" | 15 | SRC_URI[md5sum] = "3e9ccf4abcffe3f49af078c83611eda2" |
