23 lines
853 B
Bash
23 lines
853 B
Bash
# Template file for 'tinyproxy'
|
|
pkgname=tinyproxy
|
|
version=1.10.0
|
|
revision=2
|
|
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.eu>"
|
|
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=59be87689c415ba0d9c9bc6babbdd3df3b372d60b21e526b118d722dbc995682
|
|
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
|
|
}
|