From fa17712a3b2fb847916da8b47046fcb76919269d Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Wed, 18 Jul 2018 12:56:58 -0500 Subject: [PATCH] New package: pritunl-client-1.0.1632.81 --- .../files/pritunl-client/log/run | 3 +++ .../pritunl-client/files/pritunl-client/run | 3 +++ srcpkgs/pritunl-client/template | 25 +++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 srcpkgs/pritunl-client/files/pritunl-client/log/run create mode 100644 srcpkgs/pritunl-client/files/pritunl-client/run create mode 100644 srcpkgs/pritunl-client/template 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 +}