diff options
Diffstat (limited to 'main/tinyproxy/APKBUILD')
-rw-r--r-- | main/tinyproxy/APKBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/main/tinyproxy/APKBUILD b/main/tinyproxy/APKBUILD index 28ec287fe..8c62f955e 100644 --- a/main/tinyproxy/APKBUILD +++ b/main/tinyproxy/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=tinyproxy pkgver=1.8.3 -pkgrel=1 +pkgrel=2 pkgdesc="Lightweight HTTP proxy" pkgusers="tinyproxy" pkggroups="tinyproxy" @@ -14,12 +14,18 @@ makedepends="asciidoc" install="tinyproxy.pre-install" subpackages="$pkgname-doc" source="https://www.banu.com/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 + limit_headers.patch tinyproxy.initd " _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done # set default user to tinyproxy:tinyproxy and correct pidfile sed -i -e 's:^User.*:User tinyproxy:' \ @@ -47,4 +53,5 @@ package() { } md5sums="292ac51da8ad6ae883d4ebf56908400d tinyproxy-1.8.3.tar.bz2 +cf72d2503f6415079c4702853d467ea8 limit_headers.patch ce2b2e3c79fa0e8491fe625bbb15710a tinyproxy.initd" |