# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           python 1.0

github.setup        dlenski vpn-slice 0.16.1 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
categories          net
supported_archs     noarch
platforms           {darwin any}
maintainers         {danchr @danchr} openmaintainer
license             GPL-3

description         vpnc-script replacement for split-tunnel setup
long_description    Replacement for the vpnc-script used by OpenConnect or VPNC. \
                    \
                    \n\nInstead of trying to copy the behavior of standard \
                    corporate VPN clients, which normally reroute all \
                    your network traffic through the VPN, this one \
                    tries to minimize your contact with an intrusive \
                    VPN. This is also known as a split-tunnel VPN, \
                    since it splits your traffic between the VPN \
                    tunnel and your normal network interfaces. \
                    \
                    \n\nIf you are using a VPN to route all your traffic \
                    for privacy reasons (or to avoid censorship in \
                    repressive countries), then you do not want to use \
                    this.


checksums           rmd160  1f051dddec0e0c1b7b6a5e672aadb1af7fed652c \
                    sha256  edd5646699f750308b04c39f0176e801df8dfb5faa76860c1d4edda74279c117 \
                    size 30981

python.versions     311

python.pep517       yes

depends_build-append \
                    port:py${python.version}-setuptools

depends_lib-append  port:py${python.version}-dnspython \
                    port:py${python.version}-setproctitle

test.run            yes
test.cmd            ${python.bin} -m vpn_slice
test.args           --version
python.test_framework
