aboutsummaryrefslogtreecommitdiffstats
path: root/main/acf-weblog/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-17 08:14:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-17 08:14:11 +0000
commit7c45bf94207fd982b32d074845b810cb0c14a371 (patch)
tree954c2f97f13a1212ea053358c9955479e8a932a3 /main/acf-weblog/APKBUILD
parent0a4096226237e7d87015f8a19c40db6950052a74 (diff)
downloadaports-7c45bf94207fd982b32d074845b810cb0c14a371.tar.bz2
aports-7c45bf94207fd982b32d074845b810cb0c14a371.tar.xz
main/acf-weblog: strip TCP_DENIED from logs
ref #892
Diffstat (limited to 'main/acf-weblog/APKBUILD')
-rw-r--r--main/acf-weblog/APKBUILD18
1 files changed, 15 insertions, 3 deletions
diff --git a/main/acf-weblog/APKBUILD b/main/acf-weblog/APKBUILD
index 85925993c4..1cff68ab6c 100644
--- a/main/acf-weblog/APKBUILD
+++ b/main/acf-weblog/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-weblog
pkgver=0.6.1
-pkgrel=0
+pkgrel=1
pkgdesc="ACF for web proxy (squid and dansguardian) logfiles"
url="http://git.alpinelinux.org/cgit/acf-weblog"
arch="noarch"
@@ -11,11 +11,23 @@ depends="acf-core lua lua-sql-postgres wget postgresql-client"
makedepends=""
install="$pkgname.post-upgrade"
subpackages=""
-source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
+source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ 0001-Do-not-import-TCP_DENIED-lines.patch
+ "
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
-md5sums="9690f8ebdb6e5cb4e67d72ed01f03730 acf-weblog-0.6.1.tar.bz2"
+md5sums="9690f8ebdb6e5cb4e67d72ed01f03730 acf-weblog-0.6.1.tar.bz2
+1235af17a1dc3b787cd6401945aa12f6 0001-Do-not-import-TCP_DENIED-lines.patch"