blob: 5d1bf5d945fdd25c887e4c308d1edee9f64c6bda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fetch-crl
pkgver=2.7.0
pkgrel=0
pkgdesc="Tool to keep Certificate Revocation Lists (CRLs) up-to-date"
url="http://dist.eugridpma.info/distribution/util/fetch-crl/"
license="custom"
subpackages="$pkgname-doc"
source="
http://dist.eugridpma.info/distribution/util/$pkgname/$pkgname-$pkgver.tar.gz
"
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i -e 's:etc/sysconfig:etc/conf.d:g' \
edg-fetch-crl fetch-crl.cron fetch-crl.8
sed -i -e 's:bin/bash:bin/sh:' fetch-crl.cron
_r=$pkgname-$pkgver
install -m755 -D edg-fetch-crl "$pkgdir"/usr/sbin/fetch-crl
install -m644 -D fetch-crl.sysconfig "$pkgdir"/etc/conf.d/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"
|