aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-09-01 11:48:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-09-01 11:48:31 +0000
commitb7b2bf50cdc715de13af2cda0aa4a08657ef9ac0 (patch)
treea40f7745b020614dbf2306984a9fc043f41c47ca
parentf61c11fdfa57a06c4775c87326125f59b6992aaa (diff)
downloadaports-b7b2bf50cdc715de13af2cda0aa4a08657ef9ac0.tar.bz2
aports-b7b2bf50cdc715de13af2cda0aa4a08657ef9ac0.tar.xz
main/ca-certificates: security update. remove DigiNotar Root CA
https://bugzilla.mozilla.org/show_bug.cgi?id=682956 http://pastebin.com/ff7Yg663 http://pastebin.com/SwCZqskV
-rw-r--r--main/ca-certificates/APKBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/main/ca-certificates/APKBUILD b/main/ca-certificates/APKBUILD
index 9bef261024..a39ab25e25 100644
--- a/main/ca-certificates/APKBUILD
+++ b/main/ca-certificates/APKBUILD
@@ -1,6 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ca-certificates
-pkgver=20110502
+pkgver=20110502_p1
+
+_date=${pkgver%_p*}
+_nmu="+nmu${pkgver#*_p}"
+[ "$_nmu" = "+nmu${pkgver}" ] && _nmu=""
+_ver=${_date}${_nmu}
+
pkgrel=0
pkgdesc="Common CA certificates PEM files"
url="http://packages.debian.org/sid/ca-certificates"
@@ -8,9 +14,9 @@ arch="noarch"
license="MPL GPL"
depends="run-parts openssl"
install=ca-certificates.post-install
-source="http://ftp.no.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}.tar.gz
+source="http://ftp.no.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${_ver}.tar.gz
"
-_builddir="$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/$pkgname-$_ver
build () {
cd "$_builddir"
make || return 1
@@ -21,7 +27,7 @@ package() {
install -d -m755 "$pkgdir"/etc/ca-certificates/update.d \
"$pkgdir"/usr/sbin \
"$pkgdir"/usr/share/ca-certificates \
- "$pkgdir"/,etc/ssl/certs \
+ "$pkgdir"/etc/ssl/certs \
|| return 1
make DESTDIR="$pkgdir" install || return 1
install -D -m644 sbin/update-ca-certificates.8 \
@@ -36,4 +42,4 @@ package() {
find . -name '*.crt' | sort | cut -b3-
) > "$pkgdir"/etc/ca-certificates.conf
}
-md5sums="4216da872955cb73b077be68b6b5f975 ca-certificates_20110502.tar.gz"
+md5sums="13aed718a5cdd05b4086c93dafd4e1e2 ca-certificates_20110502+nmu1.tar.gz"