Added Sharksurf VPN.
This commit is contained in:
parent
a32ccb2fe3
commit
bc44d97143
3 changed files with 65 additions and 0 deletions
2
net-vpn/surfshark-vpn/Manifest
Normal file
2
net-vpn/surfshark-vpn/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
DIST surfshark-vpn_1.1.0_amd64.deb 2266128 BLAKE2B eb10da8fd300bfa8d701547bfb37d9cfe4eb965c8b554330ed179c68bcd0f9eb632ecda7eb41773dba9ec57156f0015336cd29fc6d0dc6df238ec081df1c0003 SHA512 6a5884d1a565a343f8eefd58ed834deb6b9b416678b615ca0e7358477e0d44fe9f239923c09c7388bf0e42fa412945c39c46f50c24a14e6f911d0a7042be5ed0
|
||||
EBUILD surfshark-vpn-1.1.0.ebuild 1085 BLAKE2B 182832a6e2b69eaf198fcd2e398279aefc1429db0d443dd4edbbf65eeb4076066c7c31225a22c3bae8dec0fdbf966feae81a40aeee7b760f53b6ddca342bcbb6 SHA512 54bc96e7582f6a9eeb48f154fee00032363d8540a36f45e497e2a9e56897a39ac3f59c3ee1233fddb7043a543f73907753bdc2e5982a6ed29a1b940ae0837dd7
|
8
net-vpn/surfshark-vpn/metadata.xml
Normal file
8
net-vpn/surfshark-vpn/metadata.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>canutethegreat@gmail.com</email>
|
||||
<name>Ronald Farrer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
55
net-vpn/surfshark-vpn/surfshark-vpn-1.1.0.ebuild
Normal file
55
net-vpn/surfshark-vpn/surfshark-vpn-1.1.0.ebuild
Normal file
|
@ -0,0 +1,55 @@
|
|||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit pax-utils unpacker
|
||||
|
||||
DESCRIPTION="Surfshark VPN Linux client"
|
||||
HOMEPAGE="https://surfshark.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://ocean.surfshark.com/debian/pool/main/${PN:0:1}/${PN}/${P/-1/_1}_amd64.deb )
|
||||
"
|
||||
|
||||
LICENSE="SurfShark"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="pax_kernel"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
net-vpn/openvpn
|
||||
sys-libs/glibc
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
S="${WORKDIR}"
|
||||
|
||||
DOCS="changelog copyright"
|
||||
|
||||
src_unpack() {
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm _gpgbuilder || die
|
||||
mv usr/share/doc/${PN}/* . || die
|
||||
rm -rf usr/share || die
|
||||
gunzip changelog.gz || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin usr/bin/${PN}
|
||||
use pax_kernel && pax-mark -m "${ED%/}/usr/bin/${PN}"
|
||||
default
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "Thanks for installing SurfShark."
|
||||
elog "Don't forget to create an account and purchase a plan"
|
||||
elog "before running the SurfShark client".
|
||||
elog "See https://surfshark.com/signup for more details."
|
||||
elog "Also, you must run the ${PN} binary as root."
|
||||
echo
|
||||
}
|
Loading…
Reference in a new issue