summaryrefslogtreecommitdiff
path: root/community/syslog-summary/APKBUILD
blob: 46057cfae6d12049f56b53f2df3acec1bf1a8338 (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: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=syslog-summary
pkgver=1.14
pkgrel=1
pkgdesc="Summarize the contents of a syslog log file / useful with logcheck"
url="https://github.com/dpaleino/syslog-summary"
arch="noarch"
license="GPL3"
depends="py2-magic"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dpaleino/$pkgname/archive/$pkgver.tar.gz
	00-fix_Makefile.patch
	01-fix_Shebang.patch
	02-new-python-magic.patch
	03-socklog-compat.patch
	04-rm-whitespace.patch
	"
builddir="$srcdir/$pkgname-$pkgver"

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="dab82f9d5e0e452d880e7e503c1de148d902c461abaf6fc1a0768516bd010c6a4e5cdbb61fd1d6e0283d55c8de9a11d02bd5828fab31cae98b59ca336a7f1a73  syslog-summary-1.14.tar.gz
752914623deb2a9c4aec9de3bf3a8c61e2086a40d47445ea775eba44e3e23b12fe9145afb3bdbef1d7b28604c023985a8d9c34c1914e7dfe178de65ffbfb2c49  00-fix_Makefile.patch
6d4705bae4e095a7a877ae71525df3f8bda8daa27cdd0e534fba21cfc221c130b1567e32a64f0f4327273023f9d5e890d3365b292fa3a54e508abd8fea6332d2  01-fix_Shebang.patch
fa6be5429ca0f72cc8e1686933f956cedf89e6476cc9a25dda066be50aa05a79be8a81ff164aa3becac9f59e9948ef203c3f6d5c3889f921471e674dfc3d5098  02-new-python-magic.patch
f7cd09e31c24f00d867e844fc53d4f607f8b8c3642cd60c40c28dcbfbe76c787ef657f38be1372eafa22027876ae8adef9b8f471f6b557c5b1ea95554efeac50  03-socklog-compat.patch
84394c7cb364ac1df0456bcacdb68db66827000329e874aab0f1867a6d860499f04eee7701cfcdce79ec13f341a69196d95d3505f811c8f35fbe974e364030ed  04-rm-whitespace.patch"