# -*- 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
name onioncat
version 0.2.2.r578
categories net
platforms darwin
maintainers {l2dy @l2dy} openmaintainer
license GPL-3
description VPN-adapter that provides VPN-tunnels using Tor or I2P
long_description OnionCat is a VPN-adapter which allows to connect two or \
more computers or networks through VPN-tunnels. It is \
designed to use the anonymization networks Tor or I2P \
as its transport, hence, it provides location-based \
anonymity while still creating tunnel end points \
with private unique IP addresses.
homepage https://www.onioncat.org/
set branch [join [lrange [split ${version} .] 0 2] .]
master_sites https://www.cypherpunk.at/ocat/download/Source/${branch}/
checksums rmd160 44f33360e51e9248759f90002be4aec740264a46 \
sha256 69c677e04987bd438495d575b566c358f449ff138b836925fd406cf6d6a400f5
depends_run port:tuntaposx \
path:bin/tor:tor
configure.args --disable-silent-rules
post-destroot {
delete ${destroot}${prefix}/bin/gcat
}
notes "
gcat is removed due to conflict with coreutils,
please use ocat -I instead.
"
livecheck.type regex
livecheck.url https://www.cypherpunk.at/ocat/download/Source/current/?sort=date&order=desc
livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+\\.r\\d+)${extract.suffix}