# Contributor: Michael Mason # Maintainer: Michael Mason pkgname=tinyproxy pkgver=1.11.1 pkgrel=3 pkgdesc="Lightweight HTTP proxy" pkgusers="tinyproxy" pkggroups="tinyproxy" url="https://tinyproxy.github.io/" arch="all" license="GPL-2.0-or-later" install="tinyproxy.pre-install" subpackages="$pkgname-doc $pkgname-openrc" source="https://github.com/tinyproxy/tinyproxy/releases/download/$pkgver/tinyproxy-$pkgver.tar.gz CVE-2022-40468.patch tinyproxy.initd " pkgusers="tinyproxy" pkggroups="tinyproxy" # secfixes: # 1.11.1-r2: # - CVE-2022-40468 build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-dependency-tracking \ --enable-reverse make } package() { make DESTDIR="$pkgdir" install install -d -D -o tinyproxy -g tinyproxy "$pkgdir"/var/log/tinyproxy install -Dm755 "$srcdir"/tinyproxy.initd "$pkgdir"/etc/init.d/tinyproxy } sha512sums=" 6ac7b57c33dcc87d6945c2b14f262e98d8c349c2492b3dd71f8028c4937df2a8e6ed7c913e8f6598b3e8ae83d5b51b9d5144c77f14f229df4aac5e094bcae6a6 tinyproxy-1.11.1.tar.gz 57728d1621f78d4eff07bc39757abca5034148cfaa9ee9110607afbe5f39910df3d10bcc797899883c9876ff8f218eca571223d2e5b0145e149ae9d8909c8f92 CVE-2022-40468.patch 0b4cf9c0904c766d227fc50bcdba4a602f9352009ab9c5b4b73e260414e4963f8010d83016605bae5a681f5af4dec12a76a57b2a84ebbf9ffe3709e78a4e29e8 tinyproxy.initd "