24 lines
854 B
Bash
24 lines
854 B
Bash
# Template file for 'tinyproxy'
|
|
pkgname=tinyproxy
|
|
version=1.11.1
|
|
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 <gottox@voidlinux.org>"
|
|
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=d66388448215d0aeb90d0afdd58ed00386fb81abc23ebac9d80e194fceb40f7c
|
|
system_accounts="_tinyproxy"
|
|
conf_files="/etc/tinyproxy/tinyproxy.conf"
|
|
make_dirs="/var/log/tinyproxy 755 _tinyproxy _tinyproxy"
|
|
|
|
post_install() {
|
|
sed -i $DESTDIR/etc/tinyproxy/tinyproxy.conf \
|
|
-e 's/^User .*/User _tinyproxy/' \
|
|
-e 's/^Group .*/Group _tinyproxy/'
|
|
vsv tinyproxy
|
|
}
|