diff --git a/srcpkgs/pritunl-client/files/pritunl-client/log/run b/srcpkgs/pritunl-client/files/pritunl-client/log/run new file mode 100644 index 00000000000..e83c637b928 --- /dev/null +++ b/srcpkgs/pritunl-client/files/pritunl-client/log/run @@ -0,0 +1,3 @@ +#!/bin/sh + +exec logger -t 'pritunl' diff --git a/srcpkgs/pritunl-client/files/pritunl-client/run b/srcpkgs/pritunl-client/files/pritunl-client/run new file mode 100644 index 00000000000..5087e85dbe8 --- /dev/null +++ b/srcpkgs/pritunl-client/files/pritunl-client/run @@ -0,0 +1,3 @@ +#!/bin/sh + +exec pritunl-client daemon --foreground 2>&1 diff --git a/srcpkgs/pritunl-client/template b/srcpkgs/pritunl-client/template new file mode 100644 index 00000000000..bc4c0695f3b --- /dev/null +++ b/srcpkgs/pritunl-client/template @@ -0,0 +1,25 @@ +# Template file for 'pritunl-client' +pkgname=pritunl-client +version=1.0.1632.81 +revision=1 +build_style=python2-module +pycompile_module="pritunl-client" +make_install_args="--no-upstart --no-systemd" +hostmakedepends="python-setuptools" +depends="python-requests python-pycryptodome pygtk" +short_desc="OpenVPN Client" +maintainer="Andrew Benson " +license="Proprietary" +homepage="http://client.pritunl.com/" +distfiles="https://github.com/pritunl/pritunl-client/archive/${version}.tar.gz" +checksum=cb6f669fa112ea2bf8aff02cb118282ae8bfc94f8e957c8b80e2700d1f9ee8e9 +noarch=yes +restricted=yes + +post_install() { + vsv pritunl-client + + rm -rf ${DESTDIR}/var/log + + vlicense LICENSE +}