blob: e1bb1fc25ba730e1f89f4f3a440039a5c34de236 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=socklog
pkgver=2.1.0
pkgrel=3
pkgdesc="System and kernel logging services for runit"
url="http://smarden.org/socklog/"
arch="all"
license="BSD"
install="$pkgname.post-install"
subpackages="$pkgname-doc"
source="http://smarden.org/$pkgname/$pkgname-$pkgver.tar.gz
socklog.setup
"
builddir="$srcdir/admin/socklog-$pkgver/src"
build() {
cd "$builddir"
echo "$CC $CFLAGS" > conf-cc
echo "$CC $LDFLAGS" > conf-ld
make
}
package() {
cd "$builddir"
local i
for i in socklog socklog-conf; do
install -m755 -D "$i" "$pkgdir"/sbin/$i || return 1
done
for i in socklog-check tryto uncat; do
install -m755 -D "$i" "$pkgdir"/usr/bin/$i || return 1
done
install -d "$pkgdir"/usr/share/man/man8
cd .. && cp -rf man/* "$pkgdir"/usr/share/man/man8/
install -m754 "$srcdir"/socklog.setup "$pkgdir"/sbin/setup-socklog || return 1
}
md5sums="5d0e8e28c9329ad3af982c5241df9ff1 socklog-2.1.0.tar.gz
3d3071e02b3f41281529f622d2dea3f1 socklog.setup"
sha256sums="aa869a787ee004da4e5509b5a0031bcc17a4ab4ac650c2ce8d4e488123acb455 socklog-2.1.0.tar.gz
57531f4baf7ebfa6600449eb58926b42b1bf1d36b934af5a52c53216ed9a26d2 socklog.setup"
sha512sums="920ce5e661a6a3d970fa77ee3c228d48699ea03530be2b43b7517458b25e31a0a7f352ece2d076c715b6d34dbb26b424b48eb0f55b9bcd0355b74d3e34c77ac7 socklog-2.1.0.tar.gz
9ff1296eaa3af00659b835a182bd90b2cfbe1c6f18cfd1259845a20d8735f54b2ba6fce3863f0f18ef5c8129a1842d11414d306d9486468ff1be6d34b9364dfd socklog.setup"
|