summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ca-certificates
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/ca-certificates
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/ca-certificates')
-rw-r--r--abs/core-testing/ca-certificates/PKGBUILD33
-rw-r--r--abs/core-testing/ca-certificates/ca-certificates.install7
2 files changed, 40 insertions, 0 deletions
diff --git a/abs/core-testing/ca-certificates/PKGBUILD b/abs/core-testing/ca-certificates/PKGBUILD
new file mode 100644
index 0000000..03871c6
--- /dev/null
+++ b/abs/core-testing/ca-certificates/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 9715 2008-08-18 10:20:37Z pierre $
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=ca-certificates
+pkgver=20080809
+pkgrel=13
+pkgdesc='Common CA certificates'
+arch=('i686' 'x86_64')
+url='http://packages.qa.debian.org/c/ca-certificates.html'
+license=('MPL' 'GPL')
+source=("http://ftp.debian.org/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}.tar.gz")
+depends=('bash' 'run-parts' 'openssl' 'findutils' 'coreutils' 'sed')
+makedepends=('ruby')
+groups=('base')
+install=ca-certificates.install
+backup=('etc/ca-certificates.conf')
+md5sums=('c155f5059006b94ad0aea7018161ab37')
+
+build() {
+ cd $srcdir/$pkgname
+
+ install -d -m755 $pkgdir/{etc/ca-certificates/update.d,usr/{sbin,share/ca-certificates}}
+ install -D -m644 sbin/update-ca-certificates.8 $pkgdir/usr/share/man/man8/update-ca-certificates.8
+ make
+ make install DESTDIR=$pkgdir
+
+ (
+ echo "# Automatically generated by ${pkgname}-${pkgver}-${pkgrel}"
+ echo "# "
+ cd $pkgdir/usr/share/ca-certificates
+ find . -name '*.crt' | sort | cut -b3-
+ ) > $pkgdir/etc/ca-certificates.conf
+}
diff --git a/abs/core-testing/ca-certificates/ca-certificates.install b/abs/core-testing/ca-certificates/ca-certificates.install
new file mode 100644
index 0000000..3a7ac28
--- /dev/null
+++ b/abs/core-testing/ca-certificates/ca-certificates.install
@@ -0,0 +1,7 @@
+post_install() {
+ usr/sbin/update-ca-certificates --fresh
+}
+
+post_upgrade() {
+ post_install
+}