Merge pull request #4428 from Gottox/tinyproxy
New package: tinyproxy-1.8.4
This commit is contained in:
commit
d06a62d55a
2 changed files with 26 additions and 0 deletions
5
srcpkgs/tinyproxy/files/tinyproxy/run
Executable file
5
srcpkgs/tinyproxy/files/tinyproxy/run
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -r conf ] && . ./conf
|
||||||
|
install -d -m 0755 -o _tinyproxy -g _tinyproxy \
|
||||||
|
/var/log/tinyproxy /var/run/tinyproxy
|
||||||
|
exec chpst -1 tinyproxy ${OPTS:=-d -c /etc/tinyproxy.conf}
|
21
srcpkgs/tinyproxy/template
Normal file
21
srcpkgs/tinyproxy/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'tinyproxy'
|
||||||
|
pkgname=tinyproxy
|
||||||
|
version=1.8.4
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="asciidoc"
|
||||||
|
short_desc="Small, efficient HTTP/SSL proxy daemon"
|
||||||
|
maintainer="Enno Boland <g@s01.de>"
|
||||||
|
license="GPL-2"
|
||||||
|
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"
|
||||||
|
system_accounts="_tinyproxy"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
sed -i $DESTDIR/etc/tinyproxy.conf \
|
||||||
|
-e 's/^User .*/User _tinyproxy/' \
|
||||||
|
-e 's/^Group .*/Group _tinyproxy/'
|
||||||
|
vsv tinyproxy
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue