[oe-commits] Koen Kooi : ca-certificates: update to 20111025 and clean up packaging
git at git.openembedded.org
git at git.openembedded.org
Mon Nov 7 10:53:20 UTC 2011
Module: meta-openembedded.git
Branch: master
Commit: 81a402b1f62a2d0cdbf6713c11ae5c6d6c22346f
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=81a402b1f62a2d0cdbf6713c11ae5c6d6c22346f
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Mon Nov 7 11:52:31 2011 +0100
ca-certificates: update to 20111025 and clean up packaging
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
.../remove-c-rehash.patch | 0
...0090814+nmu2.bb => ca-certificates_20111025.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
similarity index 100%
rename from meta-oe/recipes-support/ca-certificates/files/remove-c-rehash.patch
rename to 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
similarity index 81%
rename from meta-oe/recipes-support/ca-certificates/ca-certificates_20090814+nmu2.bb
rename to meta-oe/recipes-support/ca-certificates/ca-certificates_20111025.bb
index 4641bfd..10848b4 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 @@
DESCRIPTION = "Common CA certificates"
HOMEPAGE = "http://packages.debian.org/sid/ca-certificates"
SECTION = "misc"
-LICENSE = "GPL"
+LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=6275b491c91b57d92ebe11205ebf4dfe"
SRC_URI = "${DEBIAN_MIRROR}/main/c/ca-certificates/ca-certificates_${PV}.tar.gz \
file://remove-c-rehash.patch"
-SRC_URI[md5sum] = "76a2b0381b0aa7a6892e2340cd2c159a"
-SRC_URI[sha256sum] = "b1b144a3732df638e25b84ec6414ca9d1da4898cfd06d86b09f671585ce9c747"
-inherit autotools
+
+SRC_URI[md5sum] = "dfd593c9f89e64351aae78b9be588696"
+SRC_URI[sha256sum] = "318bbf0f7c0a32adc10105f843148fd0e9e3b013de75645c02ea858652240924"
+
+inherit autotools allarch
do_install_prepend() {
mkdir -p ${D}/usr/share/ca-certificates
@@ -29,11 +31,12 @@ do_install_append() {
done
}
-inherit allarch
-PACKAGES = "${PN}"
-
pkg_postinst_${PN} () {
- /usr/sbin/update-ca-certificates
+if [ -n "$D" ] ; then
+ exit 1
+fi
+
+${sbindir}/update-ca-certificates
}
CONFFILES_${PN} = "/etc/ca-certificates.conf"
More information about the Openembedded-commits
mailing list