aboutsummaryrefslogtreecommitdiffstats
path: root/main/logcheck
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-04-25 15:44:07 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-04-25 15:44:07 +0000
commit13f26662fb07ae5c4288f9ec4fabd2d70867958d (patch)
tree7fce189ec9d6a8fdfdfeaf2f822f9a116cc9f35e /main/logcheck
parent0d737ada79cfda2e18380564794d38b50c7bdf34 (diff)
downloadaports-13f26662fb07ae5c4288f9ec4fabd2d70867958d.tar.bz2
aports-13f26662fb07ae5c4288f9ec4fabd2d70867958d.tar.xz
main/logcheck: removed post-install, upgrade to 1.3.17
Diffstat (limited to 'main/logcheck')
-rw-r--r--main/logcheck/APKBUILD29
1 files changed, 16 insertions, 13 deletions
diff --git a/main/logcheck/APKBUILD b/main/logcheck/APKBUILD
index 6e8c8fd0da..8a736896c3 100644
--- a/main/logcheck/APKBUILD
+++ b/main/logcheck/APKBUILD
@@ -1,34 +1,37 @@
# Contributor: Duane Hughes <duanejevon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=logcheck
-pkgver=1.3.13
-pkgrel=3
+pkgver=1.3.17
+pkgrel=0
pkgdesc="Bash scripts used to monitor system log files for anomalies"
url="http://packages.debian.org/source/sid/logcheck"
arch="noarch"
license="GPL"
depends="lockfile-progs"
makedepends=
-install="$pkgname.pre-install $pkgname.post-install"
+install="$pkgname.pre-install"
subpackages="$pkgname-doc"
-source="http://ftp.debian.org/debian/pool/main/l/logcheck/${pkgname}_$pkgver.tar.gz
- logcheck.cron.d
- "
+pkgusers="logcheck"
+source="http://ftp.debian.org/debian/pool/main/l/logcheck/${pkgname}_$pkgver.tar.xz
+ logcheck.cron.d"
-_builddir="$srcdir"/$pkgname
+builddir="$srcdir"/$pkgname-$pkgver
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
-
+ mkdir -p "$pkgdir"/var/lib/$pkgname
+ mkdir -p "$pkgdir"/var/lock/$pkgname
install -D -m 644 "$srcdir"/logcheck.cron.d "$pkgdir"/etc/logcheck/logcheck.cron.sample
install -d "$pkgdir"/usr/share/man
- cp -a "$_builddir"/docs/* "$pkgdir"/usr/share/man
+ cp -a "$builddir"/docs/* "$pkgdir"/usr/share/man
+
+ chown -R $pkgusers "$pkgdir"/etc/logcheck "$pkgdir"/var/lock/logcheck "$pkgdir"/var/lib/logcheck
}
-md5sums="e2ff14f522bf2e30d5947c85fed44973 logcheck_1.3.13.tar.gz
+md5sums="420f28a35e6eee7057319b3e4b7e770c logcheck_1.3.17.tar.xz
89be84c722a958659df9a937826cbdc2 logcheck.cron.d"
-sha256sums="199e062eb98292eb5345b916689ec734d97b6c6c42d472a5cd4fb99dd5197f6b logcheck_1.3.13.tar.gz
+sha256sums="c2d3fc323e8c6555e91d956385dbfd0f67b55872ed0f6a7ad8ad2526a9faf03a logcheck_1.3.17.tar.xz
b8f841a45bfbc61e500e6e9d0381e592217bdf7a7aa08e5863e49188a264b6ed logcheck.cron.d"
-sha512sums="b7f40440e31da6c9c9bb0a8e98703eee24f98b43caf18a713b7ce52e7bc89cb09d800b8decaa84d7b528ed590cbc477960e2521a28aa0ef223425f566072de9a logcheck_1.3.13.tar.gz
+sha512sums="e4a30b6ccd7a9f0f51354b1a6e577f6a3837e3db078f61b3d3ceaf630a1f1eeae03324e6ec58307f8f723dbd017e1543c15f7dc34e50c0eeb9ee0b160b2c879d logcheck_1.3.17.tar.xz
a177388f18c220323eea6f5413f76873e6ad2a2334f58a05727c7b94a793fcb98bd605cefc6fe44aca6afe5c50a9ef851abcc439aefe5b7545d5d6bb584c0a8b logcheck.cron.d"