summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-11-07 11:52:31 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-11-07 11:52:31 +0100
commit81a402b1f62a2d0cdbf6713c11ae5c6d6c22346f (patch)
treeab7ed0ad64d3074a8c9f66c3320fc3c5a71a02e2
parent3f5e942c81627f7966a9f4bdc9b503a8cae0ef23 (diff)
downloadmeta-openembedded-81a402b1f62a2d0cdbf6713c11ae5c6d6c22346f.tar.gz
ca-certificates: update to 20111025 and clean up packaging
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-rw-r--r--meta-oe/recipes-support/ca-certificates/ca-certificates/remove-c-rehash.patch (renamed from meta-oe/recipes-support/ca-certificates/files/remove-c-rehash.patch)0
-rw-r--r--meta-oe/recipes-support/ca-certificates/ca-certificates_20111025.bb (renamed from meta-oe/recipes-support/ca-certificates/ca-certificates_20090814+nmu2.bb)19
2 files changed, 11 insertions, 8 deletions
diff --git a/meta-oe/recipes-support/ca-certificates/files/remove-c-rehash.patch b/meta-oe/recipes-support/ca-certificates/ca-certificates/remove-c-rehash.patch
index 9d9b8ade3a..9d9b8ade3a 100644
--- a/meta-oe/recipes-support/ca-certificates/files/remove-c-rehash.patch
+++ b/meta-oe/recipes-support/ca-certificates/ca-certificates/remove-c-rehash.patch
diff --git a/meta-oe/recipes-support/ca-certificates/ca-certificates_20090814+nmu2.bb b/meta-oe/recipes-support/ca-certificates/ca-certificates_20111025.bb
index 4641bfd888..10848b4c7f 100644
--- a/meta-oe/recipes-support/ca-certificates/ca-certificates_20090814+nmu2.bb
+++ b/meta-oe/recipes-support/ca-certificates/ca-certificates_20111025.bb
@@ -1,14 +1,16 @@
1DESCRIPTION = "Common CA certificates" 1DESCRIPTION = "Common CA certificates"
2HOMEPAGE = "http://packages.debian.org/sid/ca-certificates" 2HOMEPAGE = "http://packages.debian.org/sid/ca-certificates"
3SECTION = "misc" 3SECTION = "misc"
4LICENSE = "GPL" 4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://debian/copyright;md5=6275b491c91b57d92ebe11205ebf4dfe" 5LIC_FILES_CHKSUM = "file://debian/copyright;md5=6275b491c91b57d92ebe11205ebf4dfe"
6 6
7SRC_URI = "${DEBIAN_MIRROR}/main/c/ca-certificates/ca-certificates_${PV}.tar.gz \ 7SRC_URI = "${DEBIAN_MIRROR}/main/c/ca-certificates/ca-certificates_${PV}.tar.gz \
8 file://remove-c-rehash.patch" 8 file://remove-c-rehash.patch"
9SRC_URI[md5sum] = "76a2b0381b0aa7a6892e2340cd2c159a" 9
10SRC_URI[sha256sum] = "b1b144a3732df638e25b84ec6414ca9d1da4898cfd06d86b09f671585ce9c747" 10SRC_URI[md5sum] = "dfd593c9f89e64351aae78b9be588696"
11inherit autotools 11SRC_URI[sha256sum] = "318bbf0f7c0a32adc10105f843148fd0e9e3b013de75645c02ea858652240924"
12
13inherit autotools allarch
12 14
13do_install_prepend() { 15do_install_prepend() {
14 mkdir -p ${D}/usr/share/ca-certificates 16 mkdir -p ${D}/usr/share/ca-certificates
@@ -29,11 +31,12 @@ do_install_append() {
29 done 31 done
30} 32}
31 33
32inherit allarch
33PACKAGES = "${PN}"
34
35pkg_postinst_${PN} () { 34pkg_postinst_${PN} () {
36 /usr/sbin/update-ca-certificates 35if [ -n "$D" ] ; then
36 exit 1
37fi
38
39${sbindir}/update-ca-certificates
37} 40}
38 41
39CONFFILES_${PN} = "/etc/ca-certificates.conf" 42CONFFILES_${PN} = "/etc/ca-certificates.conf"