commit: 5d36619867ae00f135b678ee6929e678544facf3 Author: Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org> AuthorDate: Sat Aug 2 09:57:15 2025 +0000 Commit: Jan-Espen Oversand <sigsegv <AT> radiotube <DOT> org> CommitDate: Sat Aug 2 09:57:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5d366198
net-vpn/vtun-ng: add 3.0.17 Signed-off-by: Jan-Espen Oversand <sigsegv <AT> radiotube.org> net-vpn/vtun-ng/Manifest | 1 + net-vpn/vtun-ng/vtun-ng-3.0.17.ebuild | 145 ++++++++++++++++++++++++++++++++++ 2 files changed, 146 insertions(+) diff --git a/net-vpn/vtun-ng/Manifest b/net-vpn/vtun-ng/Manifest index da0e54395b..5beaa68ad6 100644 --- a/net-vpn/vtun-ng/Manifest +++ b/net-vpn/vtun-ng/Manifest @@ -58,6 +58,7 @@ DIST unicode-width-0.2.1.crate 279344 BLAKE2B d4128c165016a76196e0eda9cc4a0edccf DIST vcpkg-0.2.15.crate 228735 BLAKE2B 6b6bacd9a7fa38919241f45a97f58cae957e58d3aac99df208a26aa718e4f1644f4ccefa31b09151e5c1952288e0e5837c363918b98c7f55079a948a952c1c50 SHA512 7322a21e8811b2fe4e79e09dc321458068ecdf1953f05d36233f3278ecc0b1dfc64194db7010dd46fcf692285f42475beb090c6c6cac0c8f9fe0eb5c770e3172 DIST version_check-0.9.5.crate 15554 BLAKE2B 131e75cc287518831e142430e2a39b48e4275874f4473780d47a27552294097aa1cddb65c385583e1022478f940b495eb43c24a8b1617b8ac5a24af3340c0d72 SHA512 d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db DIST vtun-ng-3.0.16.tar.gz 82066 BLAKE2B e72c9a514771ef0f23ec351ba4b865a338f227de098e3510a9b312618811f9e97ca7018d1434c2cf6458a439e7ebbbebdce1316d2c0712de41281f188258c6a2 SHA512 56b2e12bca00ae50b70df66a55babce53d6baa76348aa20a14126fbf9419eb70040ad5ba17b172cc9fc18fc2ce8a730db0216e0f88da0253abbcfd87d7846a93 +DIST vtun-ng-3.0.17.tar.gz 82132 BLAKE2B dfbb21e588f333d189f49de5f1cb773a8e606743f0db6fd0e4a4815178f289d52bc4e482c9151032c58cf52129bc6ce09e448cc3746b34cd7c063cc8afa7866d SHA512 0f31a03f9b0351204f3bf9b15d1aad9c03f2cb547661003179b521d74d91af275a5821da8ab2c69dbea20b3e277e7d79faa7ac7a9cf0c3b22da9c47b51ed3fbe DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 diff --git a/net-vpn/vtun-ng/vtun-ng-3.0.17.ebuild b/net-vpn/vtun-ng/vtun-ng-3.0.17.ebuild new file mode 100644 index 0000000000..4d252a0dd5 --- /dev/null +++ b/net-vpn/vtun-ng/vtun-ng-3.0.17.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] +" + +inherit cargo + +DESCRIPTION="Create tunnels over TCP/IP networks with shaping, encryption, and compression" +HOMEPAGE="https://github.com/leakingmemory/vtun-ng" +SRC_URI="${CARGO_CRATE_URIS} + https://github.com/leakingmemory/vtun-ng/releases/download/v${PV}/${P}.tar.gz + " + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc" + +RDEPEND=" + dev-libs/openssl:0=" +DEPEND="${RDEPEND}" + +DOCS=( ChangeLog Credits FAQ README README.Setup README.Shaper TODO ) +CONFIG_CHECK="~TUN" + +src_unpack() { + cargo_src_unpack + + pushd "${S}" >/dev/null || die + cargo_gen_config + popd >/dev/null || die +} + +src_compile() { + export VTUN_STAT_DIR=/var/log/vtunngd + export VTUN_LOCK_DIR=/var/lock/vtunngd + export ENABLE_NAT_HACK=1 + export VTUN_CONFIG_FILE=/etc/vtunngd.conf + export VTUN_PID_FILE=/var/run/vtunngd.pid + cargo_src_compile +} + +src_install() { + export INSTALL_PREFIX="${D}" + export DESTDIR=/ + ./install.sh + newinitd "${FILESDIR}"/vtunng.rc vtunng + insinto /etc + doins "${FILESDIR}"/vtunngd-start.conf +} + +src_test() { :; }
