X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 64CE4DC1844 for ; Wed, 27 Apr 2016 15:16:01 +0000 (UTC) Received: from mx.bit-strickerei.de (mx.bit-strickerei.de [78.47.233.102]) by mail.alpinelinux.org (Postfix) with ESMTP id 13527DC0201 for ; Wed, 27 Apr 2016 15:16:00 +0000 (UTC) From: Stefan Wagner To: alpine-aports@lists.alpinelinux.org Cc: Stefan Wagner Subject: [alpine-aports] [PATCH] main/logcheck: upgrade to 1.3.17 Date: Wed, 27 Apr 2016 17:15:53 +0200 Message-Id: <1461770153-25215-1-git-send-email-stw@bit-strickerei.de> X-Mailer: git-send-email 2.8.1 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: 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 # Maintainer: Natanael Copa 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 +++ /dev/null @@ -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 ---