~alpine/aports

main/logcheck: upgrade to 1.3.17 v1 PROPOSED

Stefan Wagner: 1
 main/logcheck: upgrade to 1.3.17

 2 files changed, 16 insertions(+), 16 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2759/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] main/logcheck: upgrade to 1.3.17 Export this patch

Also adds missing folders and sets up proper owner/group.
---
 main/logcheck/APKBUILD              | 29 ++++++++++++++++-------------
 main/logcheck/logcheck.post-install |  3 ---
 2 files changed, 16 insertions(+), 16 deletions(-)
 delete mode 100644 main/logcheck/logcheck.post-install

diff --git a/main/logcheck/APKBUILD b/main/logcheck/APKBUILD
index 8d92be2..09b3f1a 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=2
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"
pkgusers=logcheck
pkggroups=logcheck
subpackages="$pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/l/logcheck/${pkgname}_$pkgver.tar.gz
	logcheck.cron.d
	"

_builddir="$srcdir"/$pkgname
source="http://ftp.debian.org/debian/pool/main/l/logcheck/${pkgname}_${pkgver}.tar.xz
	logcheck.cron.d "

builddir="$srcdir/$pkgname-$pkgver"
package() {
	cd "$_builddir"
	cd "$builddir"
	make DESTDIR="$pkgdir" install

	chown -R $pkgusers "$pkgdir"/etc/logcheck
	install -D -m 644 "$srcdir"/logcheck.cron.d "$pkgdir"/etc/logcheck/logcheck.cron.sample
	install -d -o $pkgusers -g $pkggroups "$pkgdir"/var/lib/logcheck
	install -d -o $pkgusers -g $pkggroups "$pkgdir"/var/lock/logcheck
	install -d "$pkgdir"/usr/share/man
	cp -a "$_builddir"/docs/* "$pkgdir"/usr/share/man
	cp -a "$builddir"/docs/* "$pkgdir"/usr/share/man
}

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"
diff --git a/main/logcheck/logcheck.post-install b/main/logcheck/logcheck.post-install
deleted file mode 100644
index c343902..0000000
--- a/main/logcheck/logcheck.post-install
@@ -1,3 +0,0 @@
#!/bin/sh

chown -R logcheck /etc/logcheck /var/lock/logcheck /var/lib/logcheck
-- 
2.8.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---