aboutsummaryrefslogtreecommitdiffstats
path: root/main/ca-certificates
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-08-24 20:07:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-24 20:07:28 +0000
commit725ea6d2a2d311beb36a823075cd339bc1cbfa52 (patch)
tree3ec9dabf4421d4c42529a8a8157f6d5675b839d5 /main/ca-certificates
parent60a139d957abcb79e9335b9719afd51d19dc4f41 (diff)
downloadaports-725ea6d2a2d311beb36a823075cd339bc1cbfa52.tar.bz2
aports-725ea6d2a2d311beb36a823075cd339bc1cbfa52.tar.xz
main/ca-certificates: upgrade to 20110502
Diffstat (limited to 'main/ca-certificates')
-rw-r--r--main/ca-certificates/APKBUILD32
1 files changed, 21 insertions, 11 deletions
diff --git a/main/ca-certificates/APKBUILD b/main/ca-certificates/APKBUILD
index 148573aee6..9bef261024 100644
--- a/main/ca-certificates/APKBUILD
+++ b/main/ca-certificates/APKBUILD
@@ -1,23 +1,33 @@
# 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"