diff --git a/srcpkgs/tinyproxy/template b/srcpkgs/tinyproxy/template index cda50fe920..ec550bcb3f 100644 --- a/srcpkgs/tinyproxy/template +++ b/srcpkgs/tinyproxy/template @@ -1,20 +1,21 @@ # Template file for 'tinyproxy' pkgname=tinyproxy -version=1.8.4 +version=1.10.0 revision=1 build_style=gnu-configure +configure_args="--enable-transparent --localstatedir=/var tinyproxy_cv_regex_broken=no" hostmakedepends="asciidoc" short_desc="Small, efficient HTTP/SSL proxy daemon" -maintainer="Enno Boland " -license="GPL-2" +maintainer="Enno Boland " +license="GPL-2.0-or-later" homepage="https://tinyproxy.github.io/" -distfiles="https://github.com/tinyproxy/$pkgname/releases/download/$version/$pkgname-$version.tar.xz" -checksum=a41f4ddf0243fc517469cf444c8400e1d2edc909794acda7839f1d644e8a5000 -configure_args="--enable-transparent --localstatedir=/var tinyproxy_cv_regex_broken=no" +distfiles="https://github.com/tinyproxy/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz" +checksum=59be87689c415ba0d9c9bc6babbdd3df3b372d60b21e526b118d722dbc995682 system_accounts="_tinyproxy" +conf_files="/etc/tinyproxy/tinyproxy.conf" post_install() { - sed -i $DESTDIR/etc/tinyproxy.conf \ + sed -i $DESTDIR/etc/tinyproxy/tinyproxy.conf \ -e 's/^User .*/User _tinyproxy/' \ -e 's/^Group .*/Group _tinyproxy/' vsv tinyproxy