summaryrefslogtreecommitdiff
path: root/libre/ca-certificates
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-04-12 16:22:16 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-04-12 16:26:08 -0300
commit462e070a703c9dd49feff55ebd97cf9f24c8a22f (patch)
tree65764ff530333b89c2e032992f3553c450f38d48 /libre/ca-certificates
parent0a621797466c9000633f030b95b34e3eae416e52 (diff)
downloadabslibre-462e070a703c9dd49feff55ebd97cf9f24c8a22f.tar.gz
abslibre-462e070a703c9dd49feff55ebd97cf9f24c8a22f.tar.bz2
abslibre-462e070a703c9dd49feff55ebd97cf9f24c8a22f.zip
ca-certificates: unblacklisting package because we are providing cacert-dot-org in our base bundle that solves malfunctioning updates
Diffstat (limited to 'libre/ca-certificates')
-rw-r--r--libre/ca-certificates/PKGBUILD43
-rw-r--r--libre/ca-certificates/ca-certificates.install26
2 files changed, 0 insertions, 69 deletions
diff --git a/libre/ca-certificates/PKGBUILD b/libre/ca-certificates/PKGBUILD
deleted file mode 100644
index 8704cf896..000000000
--- a/libre/ca-certificates/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Pierre Schmitz <pierre@archlinux.de>
-
-pkgname=ca-certificates
-pkgver=20130906
-pkgrel=1.1
-pkgdesc='Common CA certificates'
-arch=('any')
-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=('python2')
-install='ca-certificates.install'
-backup=('etc/ca-certificates.conf')
-sha256sums=('dd10520091d469e95e11e5fafb7422d3be0a66071984d09009ed3e0232cb277d')
-
-prepare() {
- cd ${srcdir}/${pkgname}
- sed 's|/usr/bin/python|/usr/bin/python2|g' -i mozilla/certdata2pem.py
- sed 's|python|python2|g' -i mozilla/Makefile
-}
-
-build() {
- cd ${srcdir}/${pkgname}
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}
- install -d -m755 ${pkgdir}/{etc/ca-certificates/update.d,usr/{sbin,share/ca-certificates},etc/ssl/certs}
- make install DESTDIR=${pkgdir}
- mv ${pkgdir}/usr/sbin ${pkgdir}/usr/bin
- install -D -m644 sbin/update-ca-certificates.8 ${pkgdir}/usr/share/man/man8/update-ca-certificates.8
-
- (
- echo "# Automatically generated by ${pkgname}-${pkgver}-${pkgrel}"
- echo "# see update-ca-certificates man page"
- echo "# "
- cd ${pkgdir}/usr/share/ca-certificates
- find . -name '*.crt' | sort | cut -b3-
- ) > ${pkgdir}/etc/ca-certificates.conf
-}
diff --git a/libre/ca-certificates/ca-certificates.install b/libre/ca-certificates/ca-certificates.install
deleted file mode 100644
index 4e90c2ef6..000000000
--- a/libre/ca-certificates/ca-certificates.install
+++ /dev/null
@@ -1,26 +0,0 @@
-export LC_ALL=C
-
-post_install() {
- usr/bin/update-ca-certificates --fresh >/dev/null 2>&1
-}
-
-post_upgrade() {
- if [ $(vercmp $2 20110421-1) -lt 0 ]; then
- echo 'Updating certificates. This might take a while...'
- fi
- usr/bin/update-ca-certificates --fresh >/dev/null 2>&1
-}
-
-pre_remove() {
- # clean up certificates
- local _backup=$(mktemp)
- mv etc/ca-certificates.conf ${_backup}
- echo > etc/ca-certificates.conf
- usr/bin/update-ca-certificates --fresh >/dev/null 2>&1
- mv ${_backup} etc/ca-certificates.conf
-}
-
-post_remove() {
- # remove the cert file if it is empty
- [[ -s etc/ssl/certs/ca-certificates.crt ]] || rm -f etc/ssl/certs/ca-certificates.crt
-}