initial commit

This commit is contained in:
David Thurstenson 2021-03-05 13:29:31 -06:00
commit 15ddee3c61
3 changed files with 51 additions and 0 deletions

20
PKGBUILD Normal file
View File

@ -0,0 +1,20 @@
# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=tl-voponoproxy
pkgver=0.1
pkgrel=1
pkgdesc="Thurstylark's Vopono + Privoxy service"
arch=(any)
url="https://git.thurstylark.com/tl-voponoproxy.git/"
license=('GPL')
depends=(vopono openvpn privoxy)
source=("voponoproxy@.service"
"privoxy.config")
md5sums=('aa896042634d23c0cb51212bcad60397'
'e0356a6ac60c135e076e90d5c1ca2b37')
package() {
install -Dm644 ${srcdir}/voponoproxy@.service \
${pkgdir}/usr/lib/systemd/system/voponoproxy@.service
install -Dm644 ${srcdir}/privoxy.config ${pkgdir}/etc/privoxy/tl/privoxy.config
}

20
privoxy.config Normal file
View File

@ -0,0 +1,20 @@
user-manual /usr/share/doc/privoxy/user-manual/
confdir /etc/privoxy
logdir /var/log/privoxy
filterfile default.filter
logfile logfile
listen-address :8118
toggle 1
enable-remote-toggle 0
enable-remote-http-toggle 0
enable-edit-actions 0
enforce-blocks 0
buffer-limit 4096
enable-proxy-authentication-forwarding 0
forwarded-connect-retries 0
accept-intercepted-requests 0
allow-cgi-request-crunching 0
split-large-forms 0
keep-alive-timeout 5
tolerate-pipelining 1
socket-timeout 300

11
voponoproxy@.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Vopono wrapping Privoxy -- Server: %I
After=network.target
Conflicts=voponoproxy@.service
[Service]
Type=simple
ExecStart=/usr/bin/vopono -v exec -p PrivateInternetAccess -u privoxy -f 8118 --server %I "privoxy --no-daemon /etc/privoxy/tl/privoxy.config"
[Install]
WantedBy=multi-user.target