diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-27 17:43:56 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-27 17:43:56 +0100 |
commit | c2d6a3b7aa0de75b723ed1dd8fae28a90eed57af (patch) | |
tree | 7905ce03ddb3758cca772f3742fd1d6d1cac44b0 /unmaintained/fetch-crl/APKBUILD | |
parent | d2fec47875f8c112043a44ffa2e6af5df55e4ce0 (diff) | |
download | aports-c2d6a3b7aa0de75b723ed1dd8fae28a90eed57af.tar.bz2 aports-c2d6a3b7aa0de75b723ed1dd8fae28a90eed57af.tar.xz |
testing/fetch-crl: unmaintained
Diffstat (limited to 'unmaintained/fetch-crl/APKBUILD')
-rw-r--r-- | unmaintained/fetch-crl/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/unmaintained/fetch-crl/APKBUILD b/unmaintained/fetch-crl/APKBUILD new file mode 100644 index 0000000000..180d01c246 --- /dev/null +++ b/unmaintained/fetch-crl/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=fetch-crl +pkgver=2.7.0 +pkgrel=1 +pkgdesc="Tool to keep Certificate Revocation Lists (CRLs) up-to-date" +url="http://dist.eugridpma.info/distribution/util/fetch-crl/" +arch="all" +license="custom" +subpackages="$pkgname-doc" +source=" + http://dist.eugridpma.info/distribution/util/$pkgname/$pkgname-$pkgver.tar.gz + $pkgname-2.7.0-bb-wget.patch + " + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i -e 's:etc/sysconfig:etc/fetch-crl:g' \ + edg-fetch-crl fetch-crl.cron fetch-crl.8 + sed -i -e 's:bin/bash:bin/sh:' fetch-crl.cron + patch -p1 -i "$srcdir"/$pkgname-2.7.0-bb-wget.patch || return 1 + + + _r=$pkgname-$pkgver + install -m755 -D edg-fetch-crl "$pkgdir"/usr/sbin/fetch-crl + install -m644 -D fetch-crl.sysconfig "$pkgdir"/etc/fetch-crl/fetch-crl + + install -m644 -D fetch-crl.8 "$pkgdir"/usr/share/man/man8/fetch-crl.8 + install -m644 -D README "$pkgdir"/usr/share/doc/$_r/README + install -m644 -D CHANGES "$pkgdir"/usr/share/doc/$_r/CHANGES + install -m755 -D fetch-crl.cron "$pkgdir"/usr/share/doc/$_r/fetch-crl.periodic +} + +md5sums="6b0ba042ac3d155f1cd9c7b0baf3c708 fetch-crl-2.7.0.tar.gz +613e4987db52cbd231cd4d7a46070d74 fetch-crl-2.7.0-bb-wget.patch" |