Commit 725ea6d2 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/ca-certificates: upgrade to 20110502

parent 60a139d9
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ca-certificates
pkgver=20090814
pkgrel=2
pkgver=20110502
pkgrel=0
pkgdesc="Common CA certificates PEM files"
url="http://packages.debian.org/sid/ca-certificates"
arch="all"
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}+nmu2_all.deb
source="http://ftp.no.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}.tar.gz
"
_builddir="$srcdir"/$pkgname-$pkgver
build () {
cd "$srcdir"
ar x "$srcdir"/${pkgname}_${pkgver}+nmu2_all.deb || return 1
tar -zxf ./data.tar.gz
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
install -d -m755 "$pkgdir"/etc/ca-certificates/update.d \
"$pkgdir"/usr/sbin \
"$pkgdir"/usr/share/ca-certificates \
"$pkgdir"/,etc/ssl/certs \
|| return 1
make DESTDIR="$pkgdir" install || return 1
install -D -m644 sbin/update-ca-certificates.8 \
"$pkgdir"/usr/share/man/man8/update-ca-certificates.8 \
|| return 1
mkdir -p "$pkgdir"
cp -Ra usr etc "$pkgdir"/
(
echo "# Automatically generated by ${pkgname}-${pkgver}-${pkgrel}"
echo "# $(date -u)"
......@@ -26,4 +36,4 @@ build () {
find . -name '*.crt' | sort | cut -b3-
) > "$pkgdir"/etc/ca-certificates.conf
}
md5sums="b633433e748279c6412f2ffe7e614303 ca-certificates_20090814+nmu2_all.deb"
md5sums="4216da872955cb73b077be68b6b5f975 ca-certificates_20110502.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment