diff options
| author | root <root@alpha.trunkmasters.com> | 2026-05-31 17:23:40 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-05-31 17:23:40 -0500 |
| commit | f953dc70343485250b836ad157649aaad47ac5bc (patch) | |
| tree | e3634b454cf48f10ce9f8d12f10e60ad0a749239 /net-vpn | |
| parent | 5e07081cf4f5afaef79409b430a018b1daec073e (diff) | |
| download | baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.tar.gz baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.tar.xz baldeagleos-repo-f953dc70343485250b836ad157649aaad47ac5bc.zip | |
Adding metadata
Diffstat (limited to 'net-vpn')
104 files changed, 1575 insertions, 299 deletions
diff --git a/net-vpn/6tunnel/6tunnel-0.13-r1.ebuild b/net-vpn/6tunnel/6tunnel-0.13-r1.ebuild index 593a2ff4435c..fec315a3ed76 100644 --- a/net-vpn/6tunnel/6tunnel-0.13-r1.ebuild +++ b/net-vpn/6tunnel/6tunnel-0.13-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit flag-o-matic python-any-r1 DESCRIPTION="TCP proxy for applications that don't speak IPv6" diff --git a/net-vpn/6tunnel/metadata.xml b/net-vpn/6tunnel/metadata.xml index 83d00b14c8d4..7a420b460d5e 100644 --- a/net-vpn/6tunnel/metadata.xml +++ b/net-vpn/6tunnel/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/GlobalProtect-openconnect/metadata.xml b/net-vpn/GlobalProtect-openconnect/metadata.xml index 6e24b240316b..beca2443165d 100644 --- a/net-vpn/GlobalProtect-openconnect/metadata.xml +++ b/net-vpn/GlobalProtect-openconnect/metadata.xml @@ -9,5 +9,5 @@ <changelog>https://github.com/yuezk/GlobalProtect-openconnect/issues</changelog> <bugs-to>https://github.com/yuezk/GlobalProtect-openconnect/releases</bugs-to> </upstream> - <origin>gentoo-guru-overlay</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/amneziawg-modules/metadata.xml b/net-vpn/amneziawg-modules/metadata.xml index 61f641b78aca..83897d1ff897 100644 --- a/net-vpn/amneziawg-modules/metadata.xml +++ b/net-vpn/amneziawg-modules/metadata.xml @@ -11,5 +11,5 @@ <use> <flag name="debug">Enable verbose debug reporting in dmesg of various AmneziaWG peer and device information.</flag> </use> - <origin>gentoo-guru-overlay</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/amneziawg-tools/metadata.xml b/net-vpn/amneziawg-tools/metadata.xml index 2bd0c1d6915f..7139809c9b05 100644 --- a/net-vpn/amneziawg-tools/metadata.xml +++ b/net-vpn/amneziawg-tools/metadata.xml @@ -11,5 +11,5 @@ <use> <flag name="awg-quick">Install the awg-quick(8) helper tool. Most users want to use this.</flag> </use> - <origin>gentoo-guru-overlay</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/candy/metadata.xml b/net-vpn/candy/metadata.xml index 33c6c6bee681..6570d02c1fe7 100644 --- a/net-vpn/candy/metadata.xml +++ b/net-vpn/candy/metadata.xml @@ -19,5 +19,5 @@ <name>lanthora</name> </maintainer> </upstream> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/cloudflare-warp/metadata.xml b/net-vpn/cloudflare-warp/metadata.xml index 161bf0562d10..679bd702fea2 100644 --- a/net-vpn/cloudflare-warp/metadata.xml +++ b/net-vpn/cloudflare-warp/metadata.xml @@ -6,5 +6,5 @@ <name>Arthur Zamarin</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/cloudflared/metadata.xml b/net-vpn/cloudflared/metadata.xml index 9cd0da58f228..e9045aa2351e 100644 --- a/net-vpn/cloudflared/metadata.xml +++ b/net-vpn/cloudflared/metadata.xml @@ -14,5 +14,5 @@ <name>Proxy Maintainers</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/corkscrew/metadata.xml b/net-vpn/corkscrew/metadata.xml index 9083591d16e4..9fdbb3e38e4f 100644 --- a/net-vpn/corkscrew/metadata.xml +++ b/net-vpn/corkscrew/metadata.xml @@ -9,5 +9,5 @@ Corkscrew は HTTP プロクシ経由の SSH トンネルを構築するツールです。 </longdescription> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/derper/metadata.xml b/net-vpn/derper/metadata.xml index c12734bbfd78..33f95f016604 100644 --- a/net-vpn/derper/metadata.xml +++ b/net-vpn/derper/metadata.xml @@ -6,5 +6,5 @@ <name>Yixun Lan</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/eduvpn-client/Manifest b/net-vpn/eduvpn-client/Manifest index 39bf1b620b8c..7529ee759e6d 100644 --- a/net-vpn/eduvpn-client/Manifest +++ b/net-vpn/eduvpn-client/Manifest @@ -2,3 +2,5 @@ DIST eduvpn-client-4.6.0.tar.xz 981208 BLAKE2B 3ee23695c93b01d8d2dbdad782a6faeff DIST eduvpn-client-4.6.0.tar.xz.asc 228 BLAKE2B 38c6f47e4ed7047fe046c2503206cd3b162b4dd7d279f396e4d41a497b21df4c72d74edd1c6b9c963f9b7c4b1e67baa1c9419585151c7f54d600e68912741c78 SHA512 44666db226e90e95bbdf6cf42651364088eb5274753d8cb0af20d569716fe5e707a8c7a4560dfa9e15ec268d408e2475e49cee546f256f5da31d24f8776588c7 DIST eduvpn-client-4.7.1.tar.xz 986756 BLAKE2B 39705eba3c84844164a3823586d71420bc61eba6171496ad02a00384cfa190ba20356d425afe23da516afa0afea02e8322f45af98f834cd0d9c95c0cad55f150 SHA512 b54476c91558a2f22db686732f3e2ce612512f8989c3fa9dc653ab7699478f481636473a2d2d00b4e1c6db6e823bea6464f6dd56c56e0659d49c0766bdfac5f2 DIST eduvpn-client-4.7.1.tar.xz.asc 265 BLAKE2B 9494a0906baf1cd2ff8edffa5b2bbf7f423ea437f4b57c4b3aa594549c087d925550ef7cabe72c4fcdf6a5980b0976def163dc79a366b80777e6364eb475e59b SHA512 ab663f436f0d8c8c94e2138cd151dfc96133d125adddbcaaac829027b8fff5cd94bb8a03cb4760dc7cdc6906c45e28775ae96f92bac402179982b7639bfab535 +DIST eduvpn-client-4.7.2.tar.xz 986744 BLAKE2B 02efa3003feb1503520a11e01fba4d7727444c5bf8a191d3c906e66312dcaf55212221129a0014e42fc8de0210b26f78327d031183b72f09b3fb75352564225c SHA512 f95a36a071d785b85f2700f38c8568959e88ee15c970ec21da16079a82e5f07848bca0ba1f3f200b54825d24b2b346bd3199483a9b71e86dba337f1aba30e894 +DIST eduvpn-client-4.7.2.tar.xz.asc 265 BLAKE2B 008fb72ab7f8176cbe18cbb951aa09188fdfa7fbfcaac9582e70ad192046f6d95825e7b0bede56a29eab20c0025f80cb0670b4424956eef94a3c5c80983cf40b SHA512 2e10cf57d3b76605518de5ccee2e84cf10109242eec58dae4dbacd785a397a2b591fbc0c1b3c8b2a2ca9e202d5c083abd953ed098a03b70fb82475e2e7e939b3 diff --git a/net-vpn/eduvpn-client/eduvpn-client-4.6.0.ebuild b/net-vpn/eduvpn-client/eduvpn-client-4.6.0.ebuild index ebfb7aee3a7e..1353997ccb86 100644 --- a/net-vpn/eduvpn-client/eduvpn-client-4.6.0.ebuild +++ b/net-vpn/eduvpn-client/eduvpn-client-4.6.0.ebuild @@ -7,7 +7,7 @@ DOCS_BUILDER="mkdocs" DOCS_DEPEND="dev-python/mkdocs-material" DOCS_DIR="doc" -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 docs xdg diff --git a/net-vpn/eduvpn-client/eduvpn-client-4.7.1.ebuild b/net-vpn/eduvpn-client/eduvpn-client-4.7.1.ebuild index 412076d66d2d..cd9311a550c2 100644 --- a/net-vpn/eduvpn-client/eduvpn-client-4.7.1.ebuild +++ b/net-vpn/eduvpn-client/eduvpn-client-4.7.1.ebuild @@ -7,7 +7,7 @@ DOCS_BUILDER="mkdocs" DOCS_DEPEND="dev-python/mkdocs-material" DOCS_DIR="doc" -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 docs xdg diff --git a/net-vpn/eduvpn-client/eduvpn-client-4.7.2.ebuild b/net-vpn/eduvpn-client/eduvpn-client-4.7.2.ebuild new file mode 100644 index 000000000000..7977596d4f8a --- /dev/null +++ b/net-vpn/eduvpn-client/eduvpn-client-4.7.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) + +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 xdg + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/eduvpn/python-${PN}.git" + S="${WORKDIR}/${P}" +else + # Development Versions use a different release signing key + if [[ $(ver_cut 2) == 99 || $(ver_cut 3) == 99 ]] ; then + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn-dev.asc + else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn.asc + fi + inherit verify-sig + MY_P="linux-app-${PV}" + SRC_URI=" + https://codeberg.org/eduVPN/linux-app/releases/download/${PV}/${MY_P}.tar.xz -> ${P}.tar.xz + verify-sig? ( https://codeberg.org/eduVPN/linux-app/releases/download/${PV}/${MY_P}.tar.xz.asc -> ${P}.tar.xz.asc ) + " + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_P}" +fi + +DESCRIPTION="Linux client and Python client API for eduVPN" +HOMEPAGE="https://www.eduvpn.org/" + +LICENSE="GPL-3+" +SLOT="0" + +# Test suite involves adding NetworkManager configuration entries, +# disable for now. +RESTRICT="test" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + net-misc/networkmanager + >=net-vpn/eduvpn-common-5[${PYTHON_USEDEP}] + <net-vpn/eduvpn-common-6[${PYTHON_USEDEP}] + x11-libs/libnotify +" + +if [[ ${PV} != *9999* ]] ; then + BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-eduvpn-20240307 )" +fi + +python_install() { + distutils-r1_python_install + # See utils.py: client supports loading from sys.prefix or + # package_data dir. Move to the sys.prefix so desktop files work. + # https://codeberg.org/eduVPN/linux-app/pulls/626 + rsync -a "${D}/$(python_get_sitedir)/eduvpn/data/share/"* \ + "${ED}/usr/share/" --remove-source-files || die +} diff --git a/net-vpn/eduvpn-client/eduvpn-client-9999.ebuild b/net-vpn/eduvpn-client/eduvpn-client-9999.ebuild index 0867974d0e61..7977596d4f8a 100644 --- a/net-vpn/eduvpn-client/eduvpn-client-9999.ebuild +++ b/net-vpn/eduvpn-client/eduvpn-client-9999.ebuild @@ -3,14 +3,10 @@ EAPI=8 -DOCS_BUILDER="mkdocs" -DOCS_DEPEND="dev-python/mkdocs-material" -DOCS_DIR="doc" - -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 docs xdg +inherit distutils-r1 xdg if [[ ${PV} == "9999" ]] ; then inherit git-r3 diff --git a/net-vpn/eduvpn-client/metadata.xml b/net-vpn/eduvpn-client/metadata.xml index ee8e234c9733..39d533396065 100644 --- a/net-vpn/eduvpn-client/metadata.xml +++ b/net-vpn/eduvpn-client/metadata.xml @@ -19,5 +19,5 @@ configuration. </longdescription> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/eduvpn-common/Manifest b/net-vpn/eduvpn-common/Manifest index 6167ad4e6835..28952ccc0dd7 100644 --- a/net-vpn/eduvpn-common/Manifest +++ b/net-vpn/eduvpn-common/Manifest @@ -4,3 +4,6 @@ DIST eduvpn-common-4.0.0.tar.xz.asc 228 BLAKE2B 8a67efb18d07ad2b8dad5d2cdac3adbf DIST eduvpn-common-5.0.1-deps.tar.xz 18577932 BLAKE2B 75d76dc5f430ccd2cc6382a91daefaaa8edec71d38b939971baec776e51527bb7de27342be3c682c503ead1db5e87c152a3367f06718b5539177d45b91b62018 SHA512 0e270c118ae3d62b13ece18ede889f117874927bbe49ea0492703c17219f9eb8acf5444d60f2b76a721d30ef8848d1cdda765eba0479c04f6a6400accc61a148 DIST eduvpn-common-5.0.1.tar.xz 999496 BLAKE2B b0bebe74f0432ddf47d467eabcf28c1bfd6a68ba5dbe8d5fd1dff9bd8ddec52074b6b036df9939ba95ce675064f3f6e046798064895fa8d40863f8e521643119 SHA512 22f81bef2e11c3bf143058a0066aac5dbe3a7c46f5563440a0b83cbb94852eea601b413002a94bea12c9d98450c3391e0ce95cd6c674d0c973ac337b099b3c63 DIST eduvpn-common-5.0.1.tar.xz.asc 265 BLAKE2B de140ac350a410d43c18c488855636e7b00adc08d3a84a21e0e48e50c72740c4f3804cf7a290b518909eec7c18f94bde25d3a25c7efbf4356c7d83433c30a252 SHA512 77715c6b72a6bc3f3f356b505758c3f3dc6ad261a0544f04bd867477e71c3d98f540e00acd09c78ecf5880b5916daa98ee5a7449265fc7a538be7810c11f6329 +DIST eduvpn-common-5.0.2-deps.tar.xz 18615296 BLAKE2B afbb7d020fd47baf89ef486e88ab4536f5b238c537f1de2a7d65f7fec761957b740d9131b5aef1c3ab8c4e4e6b4d9ca14d42d91fcd8e471f7ceb835b1bbaa762 SHA512 17f4c51c1519e5850a697ca314cd3f84109e686d6f3fe75f98b6931015201ed80467e51b8a6583921765b70caa7356ed94402dd5cff1ad2937e0fc689fecffbe +DIST eduvpn-common-5.0.2.tar.xz 1002616 BLAKE2B 4d792b7d17ffbcdc400219a7117b96b9b8393cfcda3d79dabba0faf74e7604a1c9559996159d087ff62854f16092e6b1c4fbb46e4e8b0467fb75f0ba2d0a28e1 SHA512 0abf5687842fc31a3d9480e47b1c650a22802764ba8738fe42cb23b812ad10deddd69376940688a9c55ffced179f7d5f6e75952dd0b245c7990f51d9d1fbae0a +DIST eduvpn-common-5.0.2.tar.xz.asc 265 BLAKE2B 821845b9ed84b373dfe2150cc7a270ce1f806dd8922b91663ca0292b8d49fce61d2327c13d0c98b31f6c768ae9343401bacc29e7c9f26f4b0cdd5ff422aa43e2 SHA512 a82995438053e5d43764296b25e2fe82d06a004bbb19dd25840e70cf12b2a1d49b10257edec2894aa3f9bbb5953c8c8ec569a942d59dcbe963c606cfcdbc86ff diff --git a/net-vpn/eduvpn-common/eduvpn-common-4.0.0.ebuild b/net-vpn/eduvpn-common/eduvpn-common-4.0.0.ebuild index 9cece74c1c7b..b652880740b1 100644 --- a/net-vpn/eduvpn-common/eduvpn-common-4.0.0.ebuild +++ b/net-vpn/eduvpn-common/eduvpn-common-4.0.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 diff --git a/net-vpn/eduvpn-common/eduvpn-common-5.0.1.ebuild b/net-vpn/eduvpn-common/eduvpn-common-5.0.1.ebuild index 3deb9b53bc99..c6479b0b6ac4 100644 --- a/net-vpn/eduvpn-common/eduvpn-common-5.0.1.ebuild +++ b/net-vpn/eduvpn-common/eduvpn-common-5.0.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} ) DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 diff --git a/net-vpn/eduvpn-common/eduvpn-common-5.0.2.ebuild b/net-vpn/eduvpn-common/eduvpn-common-5.0.2.ebuild new file mode 100644 index 000000000000..8b85ea79a7c2 --- /dev/null +++ b/net-vpn/eduvpn-common/eduvpn-common-5.0.2.ebuild @@ -0,0 +1,92 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +inherit distutils-r1 go-module linux-info + +DESCRIPTION="Linux client and Python client API for eduVPN" +HOMEPAGE="https://www.eduvpn.org/" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/eduvpn/eduvpn-common.git" +else + # Development Versions use a different release signing key + if [[ $(ver_cut 2) == 99 || $(ver_cut 3) == 99 ]] ; then + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn-dev.asc + else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn.asc + fi + inherit verify-sig + SRC_URI=" + https://codeberg.org/eduVPN/eduvpn-common/releases/download/${PV}/${P}.tar.xz + verify-sig? ( https://codeberg.org/eduVPN/eduvpn-common/releases/download/${PV}/${P}.tar.xz.asc ) + https://www-user.tu-chemnitz.de/~hamari/eduvpn/${P}-deps.tar.xz + " + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="openvpn" +RESTRICT="test" + +RDEPEND=" + openvpn? ( net-vpn/openvpn ) +" + +if [[ ${PV} != *9999* ]] ; then + BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-eduvpn-20240307 )" +fi + +wrap_python() { + local phase=$1 + shift + + pushd wrappers/python >/dev/null || die + distutils-r1_${phase} "$@" + popd >/dev/null || die +} + +pkg_pretend() { + CONFIG_CHECK="~WIREGUARD" + WARNING_WIREGUARD="You must enable WIREGUARD to use wireguard." + check_extra_config +} + +src_unpack() { + # go dependencies are not signed + if use verify-sig; then + pushd "${DISTDIR}" > /dev/null || die + verify-sig_verify_detached \ + ${P}.tar.xz{,.asc} + popd > /dev/null || die + fi + default_src_unpack +} + +src_compile() { + default + + # Install shared library into the python directory so the python packaging + # magic can find it. + pushd wrappers/python >/dev/null || die + emake install-lib + popd >/dev/null || die + + wrap_python ${FUNCNAME} +} + +src_test() { + default + wrap_python ${FUNCNAME} +} + +src_install() { + wrap_python ${FUNCNAME} +} diff --git a/net-vpn/eduvpn-common/metadata.xml b/net-vpn/eduvpn-common/metadata.xml index ceca6ef783c7..a5c76947300e 100644 --- a/net-vpn/eduvpn-common/metadata.xml +++ b/net-vpn/eduvpn-common/metadata.xml @@ -22,5 +22,5 @@ <use> <flag name="openvpn">enable support for OpenVPN</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/fastd/metadata.xml b/net-vpn/fastd/metadata.xml index a2f70ce8e62c..8e92cf6d1d8f 100644 --- a/net-vpn/fastd/metadata.xml +++ b/net-vpn/fastd/metadata.xml @@ -13,5 +13,5 @@ <flag name="offload-l2tp">Offload L2TP traffic to the kernel when using the null@l2tp transport method</flag> <flag name="doc">Build and install manpages</flag> </use> - <origin>gentoo-guru-overlay</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/fp-multiuser/metadata.xml b/net-vpn/fp-multiuser/metadata.xml index 436dcfc81064..fc8bfabd053b 100644 --- a/net-vpn/fp-multiuser/metadata.xml +++ b/net-vpn/fp-multiuser/metadata.xml @@ -6,5 +6,5 @@ <name>Zac Medico</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/frp/metadata.xml b/net-vpn/frp/metadata.xml index 0e55f7681d8e..65e4fc92c7d1 100644 --- a/net-vpn/frp/metadata.xml +++ b/net-vpn/frp/metadata.xml @@ -10,5 +10,5 @@ <flag name="client">Build and install frp client (frpc)</flag> <flag name="server">Build and install frp server (frps)</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/gp-saml-gui/gp-saml-gui-9999.ebuild b/net-vpn/gp-saml-gui/gp-saml-gui-9999.ebuild index fc46e0a7b20a..d1b785c3a3c8 100644 --- a/net-vpn/gp-saml-gui/gp-saml-gui-9999.ebuild +++ b/net-vpn/gp-saml-gui/gp-saml-gui-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{12..13} ) inherit distutils-r1 git-r3 DESCRIPTION="Interactively authenticate to GlobalProtect VPNs that require SAML" diff --git a/net-vpn/gp-saml-gui/metadata.xml b/net-vpn/gp-saml-gui/metadata.xml index 736a1167c898..7a420b460d5e 100644 --- a/net-vpn/gp-saml-gui/metadata.xml +++ b/net-vpn/gp-saml-gui/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <origin>gentoo-guru-overlay</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/gsocket/metadata.xml b/net-vpn/gsocket/metadata.xml index 1c5a9d8dd3ed..a9c87fde5efe 100644 --- a/net-vpn/gsocket/metadata.xml +++ b/net-vpn/gsocket/metadata.xml @@ -6,5 +6,5 @@ <name>Florian Schmaus</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/headscale/metadata.xml b/net-vpn/headscale/metadata.xml index 00dbeae62909..7c3cb2110c94 100644 --- a/net-vpn/headscale/metadata.xml +++ b/net-vpn/headscale/metadata.xml @@ -18,5 +18,5 @@ <name>Proxy Maintainers</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/httptunnel/metadata.xml b/net-vpn/httptunnel/metadata.xml index 83d00b14c8d4..7a420b460d5e 100644 --- a/net-vpn/httptunnel/metadata.xml +++ b/net-vpn/httptunnel/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/i2p/metadata.xml b/net-vpn/i2p/metadata.xml index f6ba3ff3c7ab..0e6c18bbedd5 100644 --- a/net-vpn/i2p/metadata.xml +++ b/net-vpn/i2p/metadata.xml @@ -17,5 +17,5 @@ <upstream> <remote-id type="cpe">cpe:/a:geti2p:i2p</remote-id> </upstream> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/i2pd/Manifest b/net-vpn/i2pd/Manifest new file mode 100644 index 000000000000..cc90faa47a8e --- /dev/null +++ b/net-vpn/i2pd/Manifest @@ -0,0 +1,2 @@ +DIST i2pd-2.58.0.tar.gz 719564 BLAKE2B 16dc842d25dd24dc80b89a127c7b44f37277cf4c12a5af7a5291ceb1fa9deef6d0b4be5bbfd09fae0320050eadb879f3d7bff1b4123ceb2bac8766d74f127ec2 SHA512 d5d87a04ff5f8481516c00b07dd46726dfb3f0de67f4932874a0655b4adfa448a434056a131d727dd79a2f3ee1f6cc9aef5dc176a0b5ab546d8e94b6c0b38ee5 +DIST i2pd-2.59.0.tar.gz 743516 BLAKE2B 4b4497eec4a9b9b1687827e0a069e9abf3884ad8ae3a99b40aa182e327ccec0c5d2aa6d65a5e1f4bc0a3fdae847c16cf856a13fab8d163fdd2db7582f36d8095 SHA512 5fa4365eaa6fbc0e448732d3c96b867e27db21927727aeb9df8241d56fea08561028a7b6d51ba7fa1141d53c95b848108806edb9f420c2ebbed85f627f045af7 diff --git a/net-vpn/i2pd/files/99i2pd b/net-vpn/i2pd/files/99i2pd new file mode 100644 index 000000000000..3cf3b46797c4 --- /dev/null +++ b/net-vpn/i2pd/files/99i2pd @@ -0,0 +1 @@ +CONFIG_PROTECT="/var/lib/i2pd/certificates" diff --git a/net-vpn/i2pd/files/i2pd-2.38.0.service b/net-vpn/i2pd/files/i2pd-2.38.0.service new file mode 100644 index 000000000000..99c1bf202250 --- /dev/null +++ b/net-vpn/i2pd/files/i2pd-2.38.0.service @@ -0,0 +1,37 @@ +[Unit] +Description=C++ daemon for accessing the I2P network +After=network.target + +[Service] +Type=forking +Restart=on-abnormal +User=i2pd +Group=i2pd +LimitNOFILE=4096 + +# restrictions +ProtectSystem=full +ProtectHome=yes +ProtectControlGroups=yes +ProtectKernelLogs=yes +ProtectKernelModules=yes +ProtectKernelTunables=yes +ProtectClock=yes +PrivateUsers=yes +PrivateDevices=yes +PrivateTmp=yes +RestrictNamespaces=yes +RestrictSUIDSGID=yes +CapabilityBoundingSet= +NoNewPrivileges=yes + +RuntimeDirectory=i2pd +RuntimeDirectoryMode=0700 +PIDFile=/run/i2pd/i2pd.pid +ExecStartPre=+/bin/touch /var/log/i2pd.log +ExecStartPre=+/bin/chown i2pd:i2pd /var/log/i2pd.log +ExecStartPre=+/bin/chmod 600 /var/log/i2pd.log +ExecStart=/usr/bin/i2pd --daemon --service --pidfile=${RUNTIME_DIRECTORY}/i2pd.pid --log=file --logfile=/var/log/i2pd.log --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf + +[Install] +WantedBy=multi-user.target diff --git a/net-vpn/i2pd/files/i2pd-2.56.0.confd b/net-vpn/i2pd/files/i2pd-2.56.0.confd new file mode 100644 index 000000000000..97cb169f9c45 --- /dev/null +++ b/net-vpn/i2pd/files/i2pd-2.56.0.confd @@ -0,0 +1,16 @@ +# /etc/conf.d/i2pd: config file for /etc/init.d/i2pd + +#I2PD_USER=i2pd +#I2PD_GROUP=i2pd + +# Location of the i2pd log file +#I2PD_LOGFILE=/var/log/i2pd.log + +# Minimal level of log messages (debug, info, warn, error, none) +#I2PD_LOGLEVEL="warn" + +# Additional arguments passed to the daemon +#I2PD_ARGS="--floodfill" + +# Max number of open files (for floodfill) +rc_ulimit="-n 4096" diff --git a/net-vpn/i2pd/files/i2pd-2.56.0.initd b/net-vpn/i2pd/files/i2pd-2.56.0.initd new file mode 100644 index 000000000000..c58dcfcb575b --- /dev/null +++ b/net-vpn/i2pd/files/i2pd-2.56.0.initd @@ -0,0 +1,53 @@ +#!/sbin/openrc-run +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="Invisible Internet Protocol daemon" +description="C++ daemon for accessing the I2P network" + +command="/usr/bin/i2pd" +pidfile="/run/i2pd/i2pd.pid" + +command_args_background="--daemon --pidfile=${pidfile}" +command_progress=1 +command_user="${I2PD_USER:=i2pd}:${I2PD_GROUP:=i2pd}" +retry="SIGTERM/30/SIGKILL/10" +required_dirs="/var/lib/i2pd" +required_files="/etc/i2pd/i2pd.conf" + +I2PD_LOGFILE="${I2PD_LOGFILE:=/var/log/i2pd.log}" + +command_args="--service --log=file \ + --conf=/etc/i2pd/i2pd.conf \ + --tunconf=/etc/i2pd/tunnels.conf \ + --tunnelsdir=/etc/i2pd/tunnels.conf.d \ + --loglevel='${I2PD_LOGLEVEL:=warn}'\ + --logfile=${I2PD_LOGFILE} ${I2PD_ARGS} \ +" + +depend() { + use dns # for bootstrapping + use logger +} + +start_pre() { + checkpath -o ${command_user} -d $(dirname ${pidfile}) + checkpath -o ${command_user} -f ${I2PD_LOGFILE} +} + +extra_started_commands="reload graceful" + +description_reload="Reload tunnels.conf configuration" +reload() { + start-stop-daemon -s HUP -x ${command} -p ${pidfile} + eend $? "Reloaded tunnels configuration" +} + +description_graceful="Graceful shutdown, takes 10 minutes" +graceful() { + # on SIGINT, i2pd stops accepting tunnels and shuts down in 10 minutes + ebegin "Gracefully stopping i2pd, this takes 10 minutes" + mark_service_stopping + start-stop-daemon -K -x ${command} -p ${pidfile} -R "SIGINT/620/${retry}" + eend $? && mark_service_stopped +} diff --git a/net-vpn/i2pd/files/i2pd-2.57.0.logrotate b/net-vpn/i2pd/files/i2pd-2.57.0.logrotate new file mode 100644 index 000000000000..c1417493c115 --- /dev/null +++ b/net-vpn/i2pd/files/i2pd-2.57.0.logrotate @@ -0,0 +1,13 @@ +/var/log/i2pd.log { + rotate 4 + weekly + missingok + notifempty + create 640 i2pd i2pd + postrotate + if [ -f /run/i2pd/i2pd.pid ]; then + /bin/kill -SIGUSR1 $(/bin/cat /run/i2pd/i2pd.pid) + fi + endscript +} + diff --git a/net-vpn/i2pd/files/i2pd-2.58.0-boost-1.89.patch b/net-vpn/i2pd/files/i2pd-2.58.0-boost-1.89.patch new file mode 100644 index 000000000000..eb666952a2ab --- /dev/null +++ b/net-vpn/i2pd/files/i2pd-2.58.0-boost-1.89.patch @@ -0,0 +1,32 @@ +From: https://github.com/PurpleI2P/i2pd/commit/06a86f31a12815fbd16615cc9fa17199bac1ac17 +Bug: https://bugs.gentoo.org/969018 + +From: orignal <i2porignal@yandex.ru> +Date: Tue, 28 Oct 2025 17:24:48 -0400 +Subject: [PATCH] exclude boost_system + +--- + build/CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt +index bc936e18846..c7389d467b3 100644 +--- a/build/CMakeLists.txt ++++ b/build/CMakeLists.txt +@@ -256,14 +256,14 @@ else() + if(NOT MSVC) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") + endif() +- add_definitions(-DBOOST_ATOMIC_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK) ++ add_definitions(-DBOOST_ATOMIC_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK) + if(WIN32) + set(Boost_USE_STATIC_LIBS OFF) + set(Boost_USE_STATIC_RUNTIME OFF) + endif() + endif() + +-find_package(Boost REQUIRED COMPONENTS system filesystem program_options) ++find_package(Boost REQUIRED COMPONENTS filesystem program_options) + if(NOT DEFINED Boost_FOUND) + message(SEND_ERROR "Boost is not found, or your boost version was below 1.46. Please download Boost!") + endif() diff --git a/net-vpn/i2pd/i2pd-2.58.0.ebuild b/net-vpn/i2pd/i2pd-2.58.0.ebuild new file mode 100644 index 000000000000..ccd8c4ff4c00 --- /dev/null +++ b/net-vpn/i2pd/i2pd-2.58.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" +HOMEPAGE="https://github.com/PurpleI2P/i2pd" +SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test +upnp" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/boost:= + dev-libs/openssl:0=[-bindist(-)] + virtual/zlib:= + upnp? ( net-libs/miniupnpc:= ) +" +DEPEND=" + ${COMMON_DEPEND} + test? ( dev-libs/check ) +" +RDEPEND=" + ${COMMON_DEPEND} + acct-user/i2pd + acct-group/i2pd +" + +CMAKE_USE_DIR="${WORKDIR}/${P}/build" + +DOCS=( ../README.md ../contrib/i2pd.conf ../contrib/tunnels.conf ) + +PATCHES=( "${FILESDIR}"/i2pd-2.58.0-boost-1.89.patch ) + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test ON OFF) + -DWITH_HARDENING=OFF # worsens or matches the non-hardened profiles + -DWITH_STATIC=OFF + -DWITH_UPNP=$(usex upnp ON OFF) + -DWITH_LIBRARY=ON + -DWITH_BINARY=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + # config + insinto /etc/i2pd + doins contrib/i2pd.conf + doins contrib/tunnels.conf + + # working directory + insinto /var/lib/i2pd + doins -r contrib/certificates + + # add /var/lib/i2pd/certificates to CONFIG_PROTECT + doenvd "${FILESDIR}/99i2pd" + + # openrc and systemd daemon routines + newconfd "${FILESDIR}/i2pd-2.56.0.confd" i2pd + newinitd "${FILESDIR}/i2pd-2.56.0.initd" i2pd + systemd_newunit "${FILESDIR}/i2pd-2.38.0.service" i2pd.service + + # logrotate + insinto /etc/logrotate.d + newins "${FILESDIR}/i2pd-2.57.0.logrotate" i2pd +} + +pkg_postinst() { + if [[ -f ${EROOT}/etc/i2pd/subscriptions.txt ]]; then + ewarn + ewarn "Configuration of the subscriptions has been moved from" + ewarn "subscriptions.txt to i2pd.conf. We recommend updating" + ewarn "i2pd.conf accordingly and deleting subscriptions.txt." + fi +} diff --git a/net-vpn/i2pd/i2pd-2.59.0.ebuild b/net-vpn/i2pd/i2pd-2.59.0.ebuild new file mode 100644 index 000000000000..c12a4c8a8866 --- /dev/null +++ b/net-vpn/i2pd/i2pd-2.59.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd + +DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" +HOMEPAGE="https://github.com/PurpleI2P/i2pd" +SRC_URI="https://github.com/PurpleI2P/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test +upnp" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/boost:= + dev-libs/openssl:0=[-bindist(-)] + virtual/zlib:= + upnp? ( net-libs/miniupnpc:= ) +" +DEPEND=" + ${COMMON_DEPEND} + test? ( dev-libs/check ) +" +RDEPEND=" + ${COMMON_DEPEND} + acct-user/i2pd + acct-group/i2pd +" + +CMAKE_USE_DIR="${WORKDIR}/${P}/build" + +DOCS=( ../README.md ../contrib/i2pd.conf ../contrib/tunnels.conf ) + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test ON OFF) + -DWITH_HARDENING=OFF # worsens or matches the non-hardened profiles + -DWITH_STATIC=OFF + -DWITH_UPNP=$(usex upnp ON OFF) + -DWITH_LIBRARY=ON + -DWITH_BINARY=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + # config + insinto /etc/i2pd + doins contrib/i2pd.conf + doins contrib/tunnels.conf + + # working directory + insinto /var/lib/i2pd + doins -r contrib/certificates + + # add /var/lib/i2pd/certificates to CONFIG_PROTECT + doenvd "${FILESDIR}/99i2pd" + + # openrc and systemd daemon routines + newconfd "${FILESDIR}/i2pd-2.56.0.confd" i2pd + newinitd "${FILESDIR}/i2pd-2.56.0.initd" i2pd + systemd_newunit "${FILESDIR}/i2pd-2.38.0.service" i2pd.service + + # logrotate + insinto /etc/logrotate.d + newins "${FILESDIR}/i2pd-2.57.0.logrotate" i2pd +} + +pkg_postinst() { + if [[ -f ${EROOT}/etc/i2pd/subscriptions.txt ]]; then + ewarn + ewarn "Configuration of the subscriptions has been moved from" + ewarn "subscriptions.txt to i2pd.conf. We recommend updating" + ewarn "i2pd.conf accordingly and deleting subscriptions.txt." + fi +} diff --git a/net-vpn/i2pd/metadata.xml b/net-vpn/i2pd/metadata.xml new file mode 100644 index 000000000000..9f4b3ef03fef --- /dev/null +++ b/net-vpn/i2pd/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>kaikaikai@yandex.ru</email> + <name>Alexey Korepanov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <changelog>https://github.com/PurpleI2P/i2pd/blob/openssl/ChangeLog</changelog> + <bugs-to>https://github.com/PurpleI2P/i2pd/issues</bugs-to> + <doc>https://i2pd.readthedocs.io/</doc> + </upstream> + <origin>liguros-repo</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/iodine/files/iodined-1.init b/net-vpn/iodine/files/iodined-1.init deleted file mode 100644 index edee6c6ac31a..000000000000 --- a/net-vpn/iodine/files/iodined-1.init +++ /dev/null @@ -1,61 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PID_FILE="/run/iodined.pid" - -depend() { - need net -} - -start() { - ebegin "Starting iodined" - ARGS="" - if [ "$IODINED_USER" ]; then - ARGS="$ARGS -u $IODINED_USER" - fi - if [ "$IODINED_CHROOT" ]; then - ARGS="$ARGS -t $IODINED_CHROOT" - fi - if [ "$IODINED_MTU" ]; then - ARGS="$ARGS -m $IODINED_MTU" - fi - if [ "$IODINED_LISTENPORT" ]; then - ARGS="$ARGS -p $IODINED_LISTENPORT" - fi - if [ "$IODINED_EXTERN_IP" ]; then - ARGS="$ARGS -n $IODINED_EXTERN_IP" - fi - if [ "$IODINED_LOCAL_DNS_PORT" ]; then - ARGS="$ARGS -b $IODINED_LOCAL_DNS_PORT" - fi - if [ "$IODINED_LISTENIP" ]; then - ARGS="$ARGS -l $IODINED_LISTENIP" - fi - if [ "$IODINED_PASSWD" ]; then - ARGS="$ARGS -P $IODINED_PASSWD" - else - eerror "Please set a password (IODINED_PASSWD) in /etc/conf.d/iodined!" - return 1 - fi - if [ "$IODINED_IP" ]; then - ARGS="$ARGS $IODINED_IP" - else - eerror "Please set an IP (IODINED_IP) in /etc/conf.d/iodined!" - return 1 - fi - if [ "$IODINED_DOMAIN" ]; then - ARGS="$ARGS $IODINED_DOMAIN" - else - eerror "Please set a domain (IODINED_DOMAIN) in /etc/conf.d/iodined!" - return 1 - fi - start-stop-daemon --start --exec /usr/sbin/iodined --pidfile $PID_FILE -- -F $PID_FILE $ARGS - eend $? -} - -stop() { - ebegin "Stopping iodined" - start-stop-daemon --stop --exec /usr/sbin/iodined --pidfile $PID_FILE - eend $? -} diff --git a/net-vpn/iodine/files/iodined.conf b/net-vpn/iodine/files/iodined.conf deleted file mode 100644 index 7889b0892eea..000000000000 --- a/net-vpn/iodine/files/iodined.conf +++ /dev/null @@ -1,44 +0,0 @@ -# /etc/conf.d/iodined: config file for /etc/init.d/iodined - -# Drop privileges to this user after startup -# This is used by the -u argument. Comment out to keep running as root. -IODINED_USER="nobody" - -# Chroot to this directory after startup -# This is used by the -t argument. Comment out to avoid chroot. -IODINED_CHROOT="/var/empty" - -# This password needs to be used in all clients when they connect -# This is used by the -P argument -IODINED_PASSWD="" - -# This is the MTU (Max Transmit Unit) used in the tunnel. -# You probably dont need this field at all, downstream data will -# now be fragmented. This is used by the -m argument -#IODINED_MTU=1020 - -# The server port to listen on. You should normally not change this. -# See man page. This is used by the -p argument -#IODINED_LISTENPORT=53 - -# The IP address to return as reply to NS queries. If not set, it will -# be the destination address of the query. Used by the -n argument -#IODINED_EXTERN_IP=1.1.1.1 - -# The port used by a "real" DNS server on localhost. Queries for -# domains not handled by iodined will be forwarded to this port, -# and answers will be routed back. Used by the -b argument -#IODINED_LOCAL_DNS_PORT=5353 - -# The IP number to listen on. -# This is used by the -l argument -#IODINED_LISTENIP=127.0.0.1 - -# This IP number will be used by the local tun device. -IODINED_IP="172.28.0.1" - -# Use subdomains to this domain for network tunneling -# If a real domain is used, it should be delegated to this server with -# a NS entry in the domain zone (see man page) -IODINED_DOMAIN="blah.abc" - diff --git a/net-vpn/iodine/iodine-0.7.0-r3.ebuild b/net-vpn/iodine/iodine-0.7.0-r3.ebuild deleted file mode 100644 index 1756356c9c3a..000000000000 --- a/net-vpn/iodine/iodine-0.7.0-r3.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info toolchain-funcs - -DESCRIPTION="IP over DNS tunnel" -HOMEPAGE="https://code.kryo.se/iodine/" -SRC_URI="https://code.kryo.se/${PN}/${P}.tar.gz" - -CONFIG_CHECK="~TUN" - -LICENSE="ISC GPL-2" #GPL-2 for init script bug #426060 -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="virtual/zlib:=" -DEPEND="${RDEPEND} - test? ( dev-libs/check )" - -PATCHES=( - "${FILESDIR}"/${P}-TestMessage.patch - "${FILESDIR}"/${P}-new-systemd.patch -) - -src_prepare() { - default - - sed -e '/^\s@echo \(CC\|LD\)/d' \ - -e 's:^\(\s\)@:\1:' \ - -i {,src/}Makefile || die - - tc-export CC -} - -src_install() { - # Don't re-run submake - sed -e '/^install:/s: all: :' \ - -i Makefile || die - emake prefix="${EPREFIX}"/usr DESTDIR="${D}" install - einstalldocs - - newinitd "${FILESDIR}"/iodined-1.init iodined - newconfd "${FILESDIR}"/iodined.conf iodined - keepdir /var/empty - fperms 600 /etc/conf.d/iodined -} diff --git a/net-vpn/iodine/iodine-0.7.0-r4.ebuild b/net-vpn/iodine/iodine-0.7.0-r5.ebuild index bc5427dc294f..28210c93b7f0 100644 --- a/net-vpn/iodine/iodine-0.7.0-r4.ebuild +++ b/net-vpn/iodine/iodine-0.7.0-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,12 +14,19 @@ CONFIG_CHECK="~TUN" LICENSE="ISC GPL-2" #GPL-2 for init script bug #426060 SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="test" +IUSE="selinux systemd test" RESTRICT="!test? ( test )" -RDEPEND="virtual/zlib:=" -DEPEND="${RDEPEND} - test? ( dev-libs/check )" +RDEPEND=" + virtual/zlib:= + selinux? ( sys-libs/libselinux ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND=" + ${RDEPEND} + test? ( dev-libs/check ) +" +RDEPEND+=" selinux? ( sec-policy/selinux-iodine )" PATCHES=( "${FILESDIR}"/${P}-TestMessage.patch @@ -33,6 +40,14 @@ src_prepare() { -e 's:^\(\s\)@:\1:' \ -i {,src/}Makefile || die + if ! use selinux ; then + sed -i -e 's:libselinux:idonotexist&:' src/osflags || die + fi + + if ! use systemd ; then + sed -i -e 's:libsystemd:idonotexist&:' src/osflags || die + fi + tc-export CC } diff --git a/net-vpn/iodine/metadata.xml b/net-vpn/iodine/metadata.xml index 07ec7a4b0b9b..8eb70486aa2f 100644 --- a/net-vpn/iodine/metadata.xml +++ b/net-vpn/iodine/metadata.xml @@ -7,5 +7,5 @@ </maintainer> <longdescription>iodine lets you tunnel IPv4 data through a DNS server. This can be usable in different situations where internet access is firewalled, but DNS queries are allowed</longdescription> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/isatapd/metadata.xml b/net-vpn/isatapd/metadata.xml index 83d00b14c8d4..7a420b460d5e 100644 --- a/net-vpn/isatapd/metadata.xml +++ b/net-vpn/isatapd/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/libreswan/metadata.xml b/net-vpn/libreswan/metadata.xml index 904a29f159bc..4176fcfeb283 100644 --- a/net-vpn/libreswan/metadata.xml +++ b/net-vpn/libreswan/metadata.xml @@ -8,5 +8,5 @@ <flag name="dnssec">Use DNSSEC resolver (requires <pkg>net-dns/unbound</pkg>)</flag> <flag name="ikev1">Enable the IKEv1 protocol</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/logmein-hamachi/metadata.xml b/net-vpn/logmein-hamachi/metadata.xml index 83d00b14c8d4..7a420b460d5e 100644 --- a/net-vpn/logmein-hamachi/metadata.xml +++ b/net-vpn/logmein-hamachi/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/microsoft-azurevpnclient/metadata.xml b/net-vpn/microsoft-azurevpnclient/metadata.xml index 6ad3061728be..d5d567acc3eb 100644 --- a/net-vpn/microsoft-azurevpnclient/metadata.xml +++ b/net-vpn/microsoft-azurevpnclient/metadata.xml @@ -6,5 +6,5 @@ <name>James Le Cuirot</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/mullvad-netns/metadata.xml b/net-vpn/mullvad-netns/metadata.xml index 0f2e57ded13c..b5931c84ae50 100644 --- a/net-vpn/mullvad-netns/metadata.xml +++ b/net-vpn/mullvad-netns/metadata.xml @@ -6,5 +6,5 @@ <name>Patrick McLean</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/mullvadvpn-app/Manifest b/net-vpn/mullvadvpn-app/Manifest index 145085fc18b8..2e3c66c65944 100644 --- a/net-vpn/mullvadvpn-app/Manifest +++ b/net-vpn/mullvadvpn-app/Manifest @@ -1,2 +1,4 @@ DIST MullvadVPN-2026.2_aarch64.rpm 86648725 BLAKE2B 444f0c0fbacd152f9b9f8370fb9dc6317bd4145cade6f1de80d2ea80f1296a7c3514f850aefbcef1f6393134b40fdcee316d48662db0bc44ef52ca041ac5faf5 SHA512 11466107e37d8fcf4c0b6dec4d10c4adc45f942b0a88e16fc101d47892ccacd4f641f36393b96c88a356638533ce1b9d29119338f0d31d942ad16671fd62d2b8 DIST MullvadVPN-2026.2_x86_64.rpm 92476557 BLAKE2B a8f8ef36443c6626339f212653a560ca88faf67f46ff3dcd679a9d96fb9cb08e957e6aec706750a13a003dd405ff89375c7f3ca08f8d78ab28746700722b2edc SHA512 8fc1adc375be15a1ae174064adf141b77e5dc74f86b139515b83df22008e9eb5154cdc47a87cdc4401ff068ecdb340030c9ac082b779feb24cbca21393c650c9 +DIST MullvadVPN-2026.3-beta1_aarch64.rpm 86593117 BLAKE2B 3d2e013c2b1e49119f48271006518f243bf72fb7cff3e1b079a37bb1db630edaf39804387ce8db8b6a98f55f89079b990dc56dfacec695a02319c4acea495d70 SHA512 b6ddecaf79f86d4348d7cf9f1268e391c95edf41b410820fc05ecc5c95fe3f1bbbeb893c3c69ed36ed4d3c01207fcad710ae8331f861672ad443e44225863ef7 +DIST MullvadVPN-2026.3-beta1_x86_64.rpm 92416845 BLAKE2B 45ced52c61d304104b47d81271a562085afcbb91a5ea0b7eca9ec5664373f8414d223bf422ba3442266063988ac89070c31c0b9e0a9c7aab8b1793f8ba512def SHA512 eb0cc822df717bf74191801bf34ad24f21061e5e48e85524b3857945e7dc8a755fb69572d5aa90d67ad19d3c05823f5237100c746fca39dbbf0c95efa550f10c diff --git a/net-vpn/mullvadvpn-app/metadata.xml b/net-vpn/mullvadvpn-app/metadata.xml index 57b995712cd5..5ebebd38dc8a 100644 --- a/net-vpn/mullvadvpn-app/metadata.xml +++ b/net-vpn/mullvadvpn-app/metadata.xml @@ -6,5 +6,5 @@ <name>Itai Ferber</name> </maintainer> - <origin>gentoo-guru-overlay</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta1.ebuild b/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta1.ebuild new file mode 100644 index 000000000000..3407daab5efc --- /dev/null +++ b/net-vpn/mullvadvpn-app/mullvadvpn-app-2026.3_beta1.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RPM_COMPRESS_TYPE="xz" +inherit desktop rpm systemd shell-completion xdg + +MYPV="${PV/_beta/-beta}" +DESCRIPTION="Tool used to manage daemon setup" +HOMEPAGE="https://github.com/mullvad/mullvadvpn-app https://mullvad.net/" +SRC_URI=" + amd64? ( https://github.com/mullvad/mullvadvpn-app/releases/download/${MYPV}/MullvadVPN-${MYPV}_x86_64.rpm ) + arm64? ( https://github.com/mullvad/mullvadvpn-app/releases/download/${MYPV}/MullvadVPN-${MYPV}_aarch64.rpm ) +" + +S="${WORKDIR}" +LICENSE="GPL-3" +SLOT="0" + +# Betas are kept unkeyworded; users can opt in to testing by accepting '**' instead of '~amd64'/ +# '~arm64' keywords. +# +# See https://bugs.gentoo.org/966989 +if [[ "${PV}" != *_beta* ]]; then + KEYWORDS="-* ~amd64 ~arm64" +fi + +RESTRICT="bindist mirror strip" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/pango + || ( + net-firewall/nftables + net-firewall/iptables[nftables] + ) +" + +QA_PREBUILT="*" + +src_install() { + sed -i "s|SCRIPT_DIR=.*|SCRIPT_DIR=\"/opt/Mullvad VPN/\"|g" "${S}/opt/Mullvad VPN/mullvad-vpn" || die + + # Using doins -r would strip executable bits from all binaries + cp -pPR opt "${D}"/ || die "Failed to copy files" + fperms +x "/opt/Mullvad VPN/chrome_crashpad_handler" + fperms 4755 "/opt/Mullvad VPN/chrome-sandbox" + + dobin ./usr/bin/mullvad + dobin ./usr/bin/mullvad-daemon + dobin ./usr/bin/mullvad-exclude + dosym -r "/opt/Mullvad VPN/mullvad-vpn" /usr/bin/mullvad-vpn + dosym -r "/opt/Mullvad VPN/resources/mullvad-problem-report" /usr/bin/mullvad-problem-report + + # mullvad-exclude uses cgroups to manage exclusions, which requires root permissions, but is + # also most often used to exclude graphical applications which can't or shouldn't run as root + # (i.e., can't be run under `sudo/doas /usr/bin/mullvad-exclude ...`, because `sudo`/`doas` + # change user). The setuid bit allows any user to exclude executables under their own UID. + fperms 4755 /usr/bin/mullvad-exclude + + newinitd "${FILESDIR}"/mullvad-daemon.initd mullvad-daemon + + systemd_newunit ./usr/lib/systemd/system/mullvad-daemon.service mullvad-daemon.service + systemd_newunit ./usr/lib/systemd/system/mullvad-early-boot-blocking.service mullvad-early-boot-blocking.service + + newbashcomp ./usr/share/bash-completion/completions/mullvad mullvad + newfishcomp ./usr/share/fish/vendor_completions.d/mullvad.fish mullvad + newzshcomp ./usr/share/zsh/site-functions/_mullvad _mullvad + + domenu ./usr/share/applications/mullvad-vpn.desktop + local x + for x in 16 32 48 64 128 256 512 1024; do + doicon -s "${x}" "./usr/share/icons/hicolor/${x}x${x}/apps/mullvad-vpn.png" + done +} + +pkg_postrm() { + xdg_pkg_postrm + + if [[ -z ${REPLACED_BY_VERSION} ]]; then + if ! command -v pgrep &>/dev/null || pgrep -f "mullvad-(daemon|gui)"; then + elog "Mullvad has been uninstalled. To stop the service," + elog "1. Quit the Mullvad app" + elog " * Manually: 'Disconnect & quit' from the Mullvad menu" + elog " OR" + elog " * Command line: pkill -f mullvad-gui" + elog "2. Stop the daemon" + elog " * OpenRC: rc-service mullvad-daemon stop" + elog " OR" + elog " * systemd: systemctl stop mullvad-daemon" + elog " OR" + elog " * other: pkill -f mullvad-daemon" + fi + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + if [[ -n ${REPLACING_VERSIONS} ]]; then + if command -v pgrep &>/dev/null && pgrep -f "mullvad-(daemon|gui)" &>/dev/null; then + elog "Mullvad has been updated. To restart the service," + elog "1. Restart the daemon" + elog " * OpenRC: rc-service mullvad-daemon restart" + elog " OR" + elog " * systemd: systemctl restart mullvad-daemon" + elog "2. Restart the app" + elog " * Manually: 'Disconnect & quit' from the Mullvad menu and relaunch using" + elog " your preferred desktop launcher" + elog " OR" + elog " * Command line: pkill -f mullvad-gui && '/opt/Mullvad VPN/mullvad-vpn' & disown" + else + elog "Mullvad has been updated. To start the service," + elog "1. Start the daemon" + elog " * OpenRC: rc-service mullvad-daemon start" + elog " OR" + elog " * systemd: systemctl start mullvad-daemon" + elog "2. Launch the app" + elog " * Manually: use your preferred desktop launcher" + elog " OR" + elog " * Command line: '/opt/Mullvad VPN/mullvad-vpn' & disown" + fi + else + elog "Mullvad has been installed. To start the service," + elog "1. Enable and start the daemon" + elog " * OpenRC: rc-update add mullvad-daemon default" + elog " rc-service mullvad-daemon start" + elog " OR" + elog " * systemd: systemctl enable mullvad-daemon" + elog " systemctl start mullvad-daemon" + elog "2. Launch the app" + elog " * Manually: use your preferred desktop launcher" + elog " OR" + elog " * Command line: '/opt/Mullvad VPN/mullvad-vpn' & disown" + fi +} diff --git a/net-vpn/networkmanager-fortisslvpn/metadata.xml b/net-vpn/networkmanager-fortisslvpn/metadata.xml index 83d00b14c8d4..7a420b460d5e 100644 --- a/net-vpn/networkmanager-fortisslvpn/metadata.xml +++ b/net-vpn/networkmanager-fortisslvpn/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/networkmanager-l2tp/metadata.xml b/net-vpn/networkmanager-l2tp/metadata.xml index 83d00b14c8d4..7a420b460d5e 100644 --- a/net-vpn/networkmanager-l2tp/metadata.xml +++ b/net-vpn/networkmanager-l2tp/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/networkmanager-libreswan/metadata.xml b/net-vpn/networkmanager-libreswan/metadata.xml index 83d00b14c8d4..7a420b460d5e 100644 --- a/net-vpn/networkmanager-libreswan/metadata.xml +++ b/net-vpn/networkmanager-libreswan/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/networkmanager-openconnect/metadata.xml b/net-vpn/networkmanager-openconnect/metadata.xml index f2710c9e5c09..c9b6b0b24a72 100644 --- a/net-vpn/networkmanager-openconnect/metadata.xml +++ b/net-vpn/networkmanager-openconnect/metadata.xml @@ -6,5 +6,5 @@ <name>Gentoo GNOME Desktop</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/networkmanager-openvpn/metadata.xml b/net-vpn/networkmanager-openvpn/metadata.xml index f2710c9e5c09..c9b6b0b24a72 100644 --- a/net-vpn/networkmanager-openvpn/metadata.xml +++ b/net-vpn/networkmanager-openvpn/metadata.xml @@ -6,5 +6,5 @@ <name>Gentoo GNOME Desktop</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/networkmanager-pptp/metadata.xml b/net-vpn/networkmanager-pptp/metadata.xml index f2710c9e5c09..c9b6b0b24a72 100644 --- a/net-vpn/networkmanager-pptp/metadata.xml +++ b/net-vpn/networkmanager-pptp/metadata.xml @@ -6,5 +6,5 @@ <name>Gentoo GNOME Desktop</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/networkmanager-sstp/metadata.xml b/net-vpn/networkmanager-sstp/metadata.xml index 5124b20aac29..8da739b4036b 100644 --- a/net-vpn/networkmanager-sstp/metadata.xml +++ b/net-vpn/networkmanager-sstp/metadata.xml @@ -5,5 +5,5 @@ <use> <flag name="gtk4">Use <pkg>gui-libs/gtk</pkg> for GUI support.</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/networkmanager-strongswan/metadata.xml b/net-vpn/networkmanager-strongswan/metadata.xml index c4318a24cc6b..ede1098ef660 100644 --- a/net-vpn/networkmanager-strongswan/metadata.xml +++ b/net-vpn/networkmanager-strongswan/metadata.xml @@ -9,5 +9,5 @@ <use> <flag name="gtk4">Use GTK4 instead of GTK3.</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/networkmanager-vpnc/metadata.xml b/net-vpn/networkmanager-vpnc/metadata.xml index f2710c9e5c09..c9b6b0b24a72 100644 --- a/net-vpn/networkmanager-vpnc/metadata.xml +++ b/net-vpn/networkmanager-vpnc/metadata.xml @@ -6,5 +6,5 @@ <name>Gentoo GNOME Desktop</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/ocserv/metadata.xml b/net-vpn/ocserv/metadata.xml index 45387ec1bcde..45b550f09356 100644 --- a/net-vpn/ocserv/metadata.xml +++ b/net-vpn/ocserv/metadata.xml @@ -11,5 +11,5 @@ <flag name="otp">Enable support for one-time passwords</flag> <flag name="root-tests">Enable tests requiring root/namespaces</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/ocserv/ocserv-1.4.1.ebuild b/net-vpn/ocserv/ocserv-1.4.1.ebuild index 0605254d7676..4515d9bfbfb7 100644 --- a/net-vpn/ocserv/ocserv-1.4.1.ebuild +++ b/net-vpn/ocserv/ocserv-1.4.1.ebuild @@ -14,7 +14,7 @@ else BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ocserv )" SRC_URI="https://www.infradead.org/ocserv/download/${P}.tar.xz verify-sig? ( https://www.infradead.org/ocserv/download/${P}.tar.xz.sig )" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" fi DESCRIPTION="Openconnect SSL VPN server" diff --git a/net-vpn/openconnect/metadata.xml b/net-vpn/openconnect/metadata.xml index fd5d6c5d1e51..3b909ac7ea9f 100644 --- a/net-vpn/openconnect/metadata.xml +++ b/net-vpn/openconnect/metadata.xml @@ -18,5 +18,5 @@ <flag name="pskc">Enable PSKC file storage of HOTP/TOTP keys</flag> <flag name="stoken">Enable stoken support</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/openconnect/openconnect-9.12-r1.ebuild b/net-vpn/openconnect/openconnect-9.12-r1.ebuild index 34d555be46a9..da871c025a0b 100644 --- a/net-vpn/openconnect/openconnect-9.12-r1.ebuild +++ b/net-vpn/openconnect/openconnect-9.12-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} ) PYTHON_REQ_USE="xml(+)" inherit linux-info python-any-r1 diff --git a/net-vpn/openconnect/openconnect-9.12-r2.ebuild b/net-vpn/openconnect/openconnect-9.12-r2.ebuild index 926db52c5dfb..339cf8b14f12 100644 --- a/net-vpn/openconnect/openconnect-9.12-r2.ebuild +++ b/net-vpn/openconnect/openconnect-9.12-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} ) PYTHON_REQ_USE="xml(+)" inherit linux-info python-any-r1 diff --git a/net-vpn/openconnect/openconnect-9999.ebuild b/net-vpn/openconnect/openconnect-9999.ebuild index e8c4f2f08a07..c2145341dd21 100644 --- a/net-vpn/openconnect/openconnect-9999.ebuild +++ b/net-vpn/openconnect/openconnect-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} ) PYTHON_REQ_USE="xml(+)" inherit linux-info python-any-r1 diff --git a/net-vpn/openfortivpn/metadata.xml b/net-vpn/openfortivpn/metadata.xml index cb2e97e096e3..86f3665e30c1 100644 --- a/net-vpn/openfortivpn/metadata.xml +++ b/net-vpn/openfortivpn/metadata.xml @@ -13,5 +13,5 @@ <use> <flag name="resolvconf">Use resolvconf to handle /etc/resolv.conf updates</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/openvpn/Manifest b/net-vpn/openvpn/Manifest index 1d0bdb099a60..e5af1b3d3ab1 100644 --- a/net-vpn/openvpn/Manifest +++ b/net-vpn/openvpn/Manifest @@ -1,2 +1,4 @@ DIST openvpn-2.6.17.tar.gz 1934219 BLAKE2B a5cff9bf4de85b647bd0cef808586b2cd29694ad0134ae6e4b3f74251c2ce0908cf86cbc041768f7fbc495e3ad5c5dbb9c491fe351b99da330dd2390142b353e SHA512 c76e9dd6305b04143e382870a110b5781e8ef934e10d01c13a3b49eecacbe37fd19ca178056fd50848c2c6b07dd8ec27123bb8b3d1c0bab8e1dc85b563a579e0 DIST openvpn-2.6.17.tar.gz.asc 833 BLAKE2B d0a90c3266b7eb1643b63905bab571ecbfba156772f94c3495139dc969f4b5038ae8719ab41e8608a5f8bfa77e728a963e9f4ac05aa0317b9fe4623da70bfebe SHA512 f0844b5b5471ff01a4d84e95ed189d8c86187c157d88f6c7396a844bdf0dbd020895dfae0cd881e004b535ec37cdeb73e1539c0e54b1bb561651dffb45c6f859 +DIST openvpn-2.6.20.tar.gz 1942940 BLAKE2B df56b689331eab4a94fd232f3a8c2bace2fc5b1f5af09a9c3bcf65cfdd81646c56f7e0d2af8f0123759e6ca8af5942130bdf95daf93fa9cb55ebdf10d57f6284 SHA512 4c17b6f55a415a0afbdfc701f1f0f9dfa0026548a0fea47259b66b8216468d97db20819ea8cf5685e8bd0e96cea8eab97812476153e6964e420b7ace4c46e9f7 +DIST openvpn-2.6.20.tar.gz.asc 833 BLAKE2B 3db478e5289e50bf7786922a09982c61f25b894da06caa4c8028b037ff924e67e2363546222281bacf6c210ac499bd9ba78c1738be1a6885760ead63ad1e1a87 SHA512 f13d5e61015047e176eeac63e5b0ae03872c1cb2914a285b311dd92b578265280fb8724248b83edcd4deefe3c6beca1b15fe25fa1d7276803c0141f64c313ff2 diff --git a/net-vpn/openvpn/metadata.xml b/net-vpn/openvpn/metadata.xml index 9c463a575758..a8db441a2149 100644 --- a/net-vpn/openvpn/metadata.xml +++ b/net-vpn/openvpn/metadata.xml @@ -24,5 +24,5 @@ networks using an encrypted tunnel.</longdescription> <flag name="pkcs11">Enable PKCS#11 smartcard support</flag> <flag name="plugins">Enable the OpenVPN plugin system</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/openvpn/openvpn-2.6.20-r1.ebuild b/net-vpn/openvpn/openvpn-2.6.20-r1.ebuild new file mode 100644 index 000000000000..d9922d04b17d --- /dev/null +++ b/net-vpn/openvpn/openvpn-2.6.20-r1.ebuild @@ -0,0 +1,222 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools dot-a systemd linux-info tmpfiles toolchain-funcs + +DESCRIPTION="Robust and highly flexible tunneling application compatible with many OSes" +HOMEPAGE="https://community.openvpn.net/ https://openvpn.net" + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/OpenVPN/${PN}.git" + inherit git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openvpn.asc + inherit verify-sig + + SRC_URI=" + https://build.openvpn.net/downloads/releases/${P}.tar.gz + verify-sig? ( https://build.openvpn.net/downloads/releases/${P}.tar.gz.asc ) + " + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +IUSE="dco down-root examples inotify iproute2 +lz4 +lzo mbedtls +openssl" +IUSE+=" pam pkcs11 +plugins selinux systemd test" + +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ^^ ( openssl mbedtls ) + pkcs11? ( !mbedtls ) + !plugins? ( !pam !down-root ) + inotify? ( plugins ) + dco? ( !iproute2 ) +" + +COMMON_DEPEND=" + kernel_linux? ( + iproute2? ( sys-apps/iproute2[-minimal] ) + ) + lz4? ( app-arch/lz4 ) + lzo? ( >=dev-libs/lzo-1.07 ) + mbedtls? ( net-libs/mbedtls:3= ) + openssl? ( >=dev-libs/openssl-1.0.2:0= ) + pam? ( sys-libs/pam ) + pkcs11? ( >=dev-libs/pkcs11-helper-1.11 ) + selinux? ( sys-libs/libselinux ) + systemd? ( sys-apps/systemd ) + dco? ( >=net-vpn/ovpn-dco-0.2 >=dev-libs/libnl-3.2.29:= ) + sys-libs/libcap-ng:= +" + +BDEPEND=" + virtual/pkgconfig +" + +DEPEND=" + ${COMMON_DEPEND} + test? ( dev-util/cmocka ) +" +RDEPEND=" + ${COMMON_DEPEND} + acct-group/openvpn + acct-user/openvpn + selinux? ( sec-policy/selinux-openvpn ) +" + +if [[ ${PV} = "9999" ]]; then + BDEPEND+=" dev-python/docutils" +else + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-openvpn )" +fi + +PATCHES=( + "${FILESDIR}"/${PN}-2.6.17-tests-no-lto.patch +) + +pkg_setup() { + local CONFIG_CHECK="~TUN" + linux-info_pkg_setup +} + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local -a myeconfargs + + # See tests-no-lto.patch (done unconditionally to not have the build + # vary with and without tests) + lto-guarantee-fat + + local MBEDTLS_CFLAGS + local MBEDTLS_LIBS + if ! use mbedtls; then + myeconfargs+=( + $(use_enable pkcs11) + ) + else + MBEDTLS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags mbedtls-3 mbedcrypto-3 mbedx509-3)" + MBEDTLS_LIBS="$($(tc-getPKG_CONFIG) --libs mbedtls-3 mbedcrypto-3 mbedx509-3)" + fi + + myeconfargs+=( + $(use_enable inotify async-push) + --with-crypto-library=$(usex mbedtls mbedtls openssl) + $(use_enable lz4) + $(use_enable lzo) + $(use_enable plugins) + $(use_enable iproute2) + $(use_enable pam plugin-auth-pam) + $(use_enable down-root plugin-down-root) + $(use_enable selinux) + $(use_enable systemd) + $(use_enable dco) + ) + + SYSTEMD_UNIT_DIR=$(systemd_get_systemunitdir) \ + TMPFILES_DIR="/usr/lib/tmpfiles.d" \ + IPROUTE=$(usex iproute2 '/bin/ip' '') \ + MBEDTLS_CFLAGS="${MBEDTLS_CFLAGS}" \ + MBEDTLS_LIBS="${MBEDTLS_LIBS}" \ + econf "${myeconfargs[@]}" +} + +src_test() { + local -x RUN_SUDO=false + + elog "Running top-level tests" + emake check + + pushd tests/unit_tests &>/dev/null || die + elog "Running unit tests" + emake check + popd &>/dev/null || die +} + +src_install() { + default + + find "${ED}/usr" -name '*.la' -delete || die + + # install documentation + dodoc AUTHORS ChangeLog PORTS README + + # Install some helper scripts + keepdir /etc/openvpn + exeinto /etc/openvpn + doexe "${FILESDIR}/up.sh" + doexe "${FILESDIR}/down.sh" + + # Install the init script and config file + newinitd "${FILESDIR}/${PN}-2.1.init" openvpn + newconfd "${FILESDIR}/${PN}-2.1.conf" openvpn + + # install examples, controlled by the respective useflag + if use examples ; then + # (is the below comment relevant anymore?) + ## dodoc does not supportly support directory traversal, #15193 + docinto examples + dodoc -r sample contrib + fi + + # https://bugs.gentoo.org/755680#c3 + doman doc/openvpn.8 + + # https://github.com/OpenVPN/openvpn/issues/482 (bug #857648) + newtmpfiles distro/systemd/tmpfiles-openvpn.conf openvpn.conf +} + +pkg_postinst() { + tmpfiles_process openvpn.conf + + if systemd_is_booted || has_version sys-apps/systemd ; then + elog "In order to use OpenVPN with systemd please use the correct systemd service file." + elog + elog "server:" + elog + elog "- Place your server configuration file in /etc/openvpn/server" + elog "- Use the openvpn-server@.service like so" + elog "systemctl start openvpn-server@{Server-config}" + elog + elog "client:" + elog + elog "- Place your client configuration file in /etc/openvpn/client" + elog "- Use the openvpn-client@.service like so:" + elog "systemctl start openvpn-client@{Client-config}" + else + elog "The openvpn init script expects to find the configuration file" + elog "openvpn.conf in /etc/openvpn along with any extra files it may need." + elog + elog "To create more VPNs, simply create a new .conf file for it and" + elog "then create a symlink to the openvpn init script from a link called" + elog "openvpn.newconfname - like so" + elog " cd /etc/openvpn" + elog " ${EDITOR##*/} foo.conf" + elog " cd /etc/init.d" + elog " ln -s openvpn openvpn.foo" + elog + elog "You can then treat openvpn.foo as any other service, so you can" + elog "stop one vpn and start another if you need to." + fi + + if grep -Eq "^[ \t]*(up|down)[ \t].*" "${ROOT}/etc/openvpn"/*.conf 2>/dev/null ; then + ewarn + ewarn "WARNING: If you use the remote keyword then you are deemed to be" + ewarn "a client by our init script and as such we force up,down scripts." + ewarn "These scripts call /etc/openvpn/\$SVCNAME-{up,down}.sh where you" + ewarn "can move your scripts to." + fi + + if use plugins ; then + einfo + einfo "plugins have been installed into /usr/$(get_libdir)/${PN}/plugins" + fi +} diff --git a/net-vpn/openvpn/openvpn-9999.ebuild b/net-vpn/openvpn/openvpn-9999.ebuild index 846b63e3355f..f2c292ff62f7 100644 --- a/net-vpn/openvpn/openvpn-9999.ebuild +++ b/net-vpn/openvpn/openvpn-9999.ebuild @@ -47,6 +47,7 @@ COMMON_DEPEND=" openssl? ( >=dev-libs/openssl-1.0.2:0= ) pam? ( sys-libs/pam ) pkcs11? ( >=dev-libs/pkcs11-helper-1.11 ) + selinux? ( sys-libs/libselinux ) systemd? ( sys-apps/systemd ) dco? ( >=net-vpn/ovpn-dco-0.2 >=dev-libs/libnl-3.2.29:= ) sys-libs/libcap-ng:= @@ -115,6 +116,7 @@ src_configure() { $(use_enable iproute2) $(use_enable pam plugin-auth-pam) $(use_enable down-root plugin-down-root) + $(use_enable selinux) $(use_enable systemd) $(use_enable dco) ) diff --git a/net-vpn/ovpn-dco/metadata.xml b/net-vpn/ovpn-dco/metadata.xml index 93462fdaf239..21b1f457d4e2 100644 --- a/net-vpn/ovpn-dco/metadata.xml +++ b/net-vpn/ovpn-dco/metadata.xml @@ -12,5 +12,5 @@ expensive and slow payload transfer between kernel space and user space.</longde <use> <flag name="debug">Enable debug output in dmesg</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/pptpd/metadata.xml b/net-vpn/pptpd/metadata.xml index 31dcfb7d7de4..141850721620 100644 --- a/net-vpn/pptpd/metadata.xml +++ b/net-vpn/pptpd/metadata.xml @@ -6,5 +6,5 @@ <flag name="gre-extreme-debug">Log all GRE accepted packets when in debug mode (required if you want upstream support)</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/proton-vpn-gtk-app/metadata.xml b/net-vpn/proton-vpn-gtk-app/metadata.xml index 4729585e713a..af33fdc0be93 100644 --- a/net-vpn/proton-vpn-gtk-app/metadata.xml +++ b/net-vpn/proton-vpn-gtk-app/metadata.xml @@ -12,6 +12,6 @@ </maintainer> <bugs-to>https://github.com/ProtonVPN/proton-vpn-gtk-app/issues</bugs-to> </upstream> - <origin>gentoo-guru-overlay</origin> + <origin>liguros-repo</origin> <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.15.2.ebuild b/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.15.2.ebuild index dbc2a31cb836..64729d4b04db 100644 --- a/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.15.2.ebuild +++ b/net-vpn/proton-vpn-gtk-app/proton-vpn-gtk-app-4.15.2.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_SINGLE_IMPL=true DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit desktop distutils-r1 diff --git a/net-vpn/riseup-vpn/metadata.xml b/net-vpn/riseup-vpn/metadata.xml index f7c9989f4bb1..8d0b25b54918 100644 --- a/net-vpn/riseup-vpn/metadata.xml +++ b/net-vpn/riseup-vpn/metadata.xml @@ -17,5 +17,5 @@ <upstream> <bugs-to>https://0xacab.org/leap/bitmask-vpn/-/issues/new</bugs-to> </upstream> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.24.10.ebuild b/net-vpn/riseup-vpn/riseup-vpn-0.24.10.ebuild index af734dad348d..0773bc32fcb0 100644 --- a/net-vpn/riseup-vpn/riseup-vpn-0.24.10.ebuild +++ b/net-vpn/riseup-vpn/riseup-vpn-0.24.10.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( pypy3_11 python3_{11..13} ) inherit desktop python-single-r1 go-module qmake-utils virtualx xdg diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild b/net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild index 989a8bf0ce21..02e1446a0d86 100644 --- a/net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild +++ b/net-vpn/riseup-vpn/riseup-vpn-0.24.5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit desktop python-single-r1 go-module qmake-utils virtualx xdg diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.24.8.ebuild b/net-vpn/riseup-vpn/riseup-vpn-0.24.8.ebuild index be0bf8a56b4c..236d36cd4b4f 100644 --- a/net-vpn/riseup-vpn/riseup-vpn-0.24.8.ebuild +++ b/net-vpn/riseup-vpn/riseup-vpn-0.24.8.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) inherit desktop python-single-r1 go-module qmake-utils virtualx xdg diff --git a/net-vpn/riseup-vpn/riseup-vpn-0.25.8.ebuild b/net-vpn/riseup-vpn/riseup-vpn-0.25.8.ebuild index ab84fb57e3f4..51a1a066d715 100644 --- a/net-vpn/riseup-vpn/riseup-vpn-0.25.8.ebuild +++ b/net-vpn/riseup-vpn/riseup-vpn-0.25.8.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) inherit desktop python-single-r1 go-module qmake-utils virtualx xdg diff --git a/net-vpn/strongswan/Manifest b/net-vpn/strongswan/Manifest index 1fe646b5ea6a..77cba12dc101 100644 --- a/net-vpn/strongswan/Manifest +++ b/net-vpn/strongswan/Manifest @@ -1,3 +1,5 @@ DIST strongswan-6.0.3.tar.bz2 4877482 BLAKE2B 355dff5de259e545b1bb5e24853dc91148c3d400b1977a2de35271e019dfc236c838ccac4552974a4999e2768900150c432753fc0d422444d4cc34486566e192 SHA512 d085add33b04c908b0dfb9fdcab5c39c68b499e266cd0d5599f9bebf5974a12f0c6197f2e8a4013bf579735a648dfaa20d28dfe4fae32f5bae713d8bb8aa7dab DIST strongswan-6.0.4.tar.bz2 4915290 BLAKE2B 2291900bda3e679cb68f35e44fe20011d82b44e7a9ed3fd0ae7c40ed57154c5ecded1ab5bffc9ab30c93de667ef9b103a7da1a2b31d8e2eae97b268f0be11f01 SHA512 e8e3b6c2f0a24ec4cf8a173c496f6591a86a89395690d54edfa8db025ad52d6e7479f81371071fd847a84ee8fa5dcb627afb74f4be2607863d1604115d8987ec DIST strongswan-6.0.4.tar.bz2.sig 659 BLAKE2B 9f52de2eaa6e72841df39e51c118ab932bf134aef5de3691933891e3878e12f80508b036e6f075a9ff2f3bb42d4c37431cbbad96c9db7c7ba82b744c5bbea94f SHA512 a78cc6d7630aee51c0bd0268c5ceb1723a90275a6466a9f4e0b0e6cc1a3ad25ea0ea075cf09f3db0495e3e1a792ff483c16ffe9101839bb4a9fa261b3e38696f +DIST strongswan-6.0.6.tar.bz2 4936540 BLAKE2B 0d98b9230029c6a02f56a7ce7393b2d241dc77880bcae8affb0280a75c190ce96a8727fa079ae46540115f0dbfc3228799742faddccab0e2cbe86f4934e8e23a SHA512 4f8abadeaa750589b2352260726e74e70dd6ec789e8a218d339fe83223d6427e13ebbae279b97e96a96787ccdc38ac1a6cec684ff544fa0b4f8fb16159afad84 +DIST strongswan-6.0.6.tar.bz2.sig 659 BLAKE2B a439888aa38833c1bb1dfe82a122f0b5b80c2e20bf766c1f8819e01bdee724490f658b9cacee83e420402d153bc94b9e9d9f7061979612ea6907d690434ad0de SHA512 bd487c7e141d9d8cb8ee9f01e8531254848a9640bbe41631d27f8d13c99328d9ed4830f9696d2a4f096da32d7dc0af3e9229a27d17d44ab022fb2e8e55c27f3b diff --git a/net-vpn/strongswan/metadata.xml b/net-vpn/strongswan/metadata.xml index 4fc81fe30ce6..a68b64871f01 100644 --- a/net-vpn/strongswan/metadata.xml +++ b/net-vpn/strongswan/metadata.xml @@ -97,5 +97,5 @@ <flag name="strongswan_plugins_xauth-noauth">Enable support for the xauth-noauth plugin</flag> <flag name="strongswan_plugins_xcbc">Enable support for XCBC plugin</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/strongswan/strongswan-6.0.4-r1.ebuild b/net-vpn/strongswan/strongswan-6.0.4-r1.ebuild new file mode 100644 index 000000000000..0b71348c19f3 --- /dev/null +++ b/net-vpn/strongswan/strongswan-6.0.4-r1.ebuild @@ -0,0 +1,263 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/strongswan.asc +inherit systemd verify-sig + +DESCRIPTION="IPsec-based VPN solution, supporting IKEv1/IKEv2 and MOBIKE" +HOMEPAGE="https://www.strongswan.org/" +SRC_URI=" + https://download.strongswan.org/${P}.tar.bz2 + verify-sig? ( https://download.strongswan.org/${P}.tar.bz2.sig ) +" + +LICENSE="GPL-2 RSA DES" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql networkmanager +non-root +openssl selinux sqlite systemd pam pkcs11" + +STRONGSWAN_PLUGINS_STD="aes cmac curve25519 des dnskey drbg eap-radius fips-prf gcm hmac led lookip md5 nonce pem pgp +pkcs1 pkcs7 pkcs8 pkcs12 pubkey random rc2 revocation sha1 sha2 sshkey systime-fix stroke unity vici x509 xcbc" +STRONGSWAN_PLUGINS_OPT_DISABLE="kdf" +STRONGSWAN_PLUGINS_OPT="acert af-alg agent addrblock aesni botan blowfish bypass-lan +ccm chapoly connmark ctr error-notify forecast files gcm ha ipseckey md4 mgf1 +openxpki padlock rdrand save-keys sha3 soup test-vectors unbound whitelist xauth-noauth" + +for mod in $STRONGSWAN_PLUGINS_STD; do + IUSE="${IUSE} +strongswan_plugins_${mod}" +done + +for mod in $STRONGSWAN_PLUGINS_OPT_DISABLE; do + IUSE="${IUSE} strongswan_plugins_${mod}" +done + +for mod in $STRONGSWAN_PLUGINS_OPT; do + IUSE="${IUSE} strongswan_plugins_${mod}" +done + +COMMON_DEPEND=" + non-root? ( + acct-user/ipsec + acct-group/ipsec + ) + dev-libs/glib:2 + gmp? ( >=dev-libs/gmp-4.1.5:= ) + gcrypt? ( + dev-libs/libgcrypt:= + dev-libs/libgpg-error + ) + caps? ( sys-libs/libcap ) + curl? ( net-misc/curl ) + ldap? ( net-nds/openldap:= ) + openssl? ( >=dev-libs/openssl-0.9.8:=[-bindist(-)] ) + mysql? ( dev-db/mysql-connector-c:= ) + selinux? ( sys-libs/libselinux ) + sqlite? ( >=dev-db/sqlite-3.3.1:3 ) + systemd? ( sys-apps/systemd ) + networkmanager? ( net-misc/networkmanager ) + pam? ( sys-libs/pam ) + strongswan_plugins_botan? ( dev-libs/botan:3= ) + strongswan_plugins_connmark? ( net-firewall/iptables:= ) + strongswan_plugins_forecast? ( net-firewall/iptables:= ) + strongswan_plugins_soup? ( net-libs/libsoup:3.0 ) + strongswan_plugins_unbound? ( net-dns/unbound:= net-libs/ldns:= ) +" +DEPEND=" + ${COMMON_DEPEND} + virtual/linux-sources + sys-kernel/linux-headers +" +RDEPEND=" + ${COMMON_DEPEND} + virtual/logger + sys-apps/iproute2 + !net-vpn/libreswan + selinux? ( sec-policy/selinux-ipsec ) +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-strongswan ) +" + +UGID="ipsec" + +src_configure() { + local myeconfargs=( + --disable-static + --enable-ikev1 + --enable-ikev2 + --enable-swanctl + --enable-socket-dynamic + --enable-cmd + $(use_enable curl) + $(use_enable constraints) + $(use_enable ldap) + $(use_enable debug leak-detective) + $(use_enable dhcp) + $(use_enable eap eap-sim) + $(use_enable eap eap-sim-file) + $(use_enable eap eap-simaka-sql) + $(use_enable eap eap-simaka-pseudonym) + $(use_enable eap eap-simaka-reauth) + $(use_enable eap eap-identity) + $(use_enable eap eap-md5) + $(use_enable eap eap-aka) + $(use_enable eap eap-aka-3gpp2) + $(use_enable eap md4) + $(use_enable eap eap-mschapv2) + $(use_enable eap eap-radius) + $(use_enable eap eap-tls) + $(use_enable eap eap-ttls) + $(use_enable eap xauth-eap) + $(use_enable eap eap-dynamic) + $(use_enable farp) + $(use_enable gmp) + $(use_enable gcrypt) + $(use_enable mysql) + $(use_enable networkmanager nm) + $(use_enable openssl) + $(use_enable pam xauth-pam) + $(use_enable pkcs11) + $(use_enable selinux) + $(use_enable sqlite) + $(use_enable systemd) + $(use_with caps capabilities libcap) + --with-piddir=/run + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + ) + + if use non-root; then + myeconfargs+=( + --with-user=${UGID} + --with-group=${UGID} + ) + fi + + # If a user has already enabled db support, those plugins will + # most likely be desired as well. Besides they don't impose new + # dependencies and come at no cost (except for space). + if use mysql || use sqlite; then + myeconfargs+=( + --enable-attr-sql + --enable-sql + ) + fi + + # strongSwan builds and installs static libs by default which are + # useless to the user (and to strongSwan for that matter) because no + # header files or alike get installed... so disabling them is safe. + if use pam && use eap; then + myeconfargs+=( --enable-eap-gtc ) + else + myeconfargs+=( --disable-eap-gtc ) + fi + + for mod in $STRONGSWAN_PLUGINS_STD; do + use strongswan_plugins_${mod} && myeconfargs+=( --enable-${mod} ) + done + + for mod in $STRONGSWAN_PLUGINS_OPT_DISABLE; do + ! use strongswan_plugins_${mod} && myeconfargs+=( --disable-${mod} ) + done + + for mod in $STRONGSWAN_PLUGINS_OPT; do + use strongswan_plugins_${mod} && myeconfargs+=( --enable-${mod} ) + done + + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + + if ! use systemd; then + rm -rf "${ED}"/lib/systemd || die "Failed removing systemd lib." + fi + + doinitd "${FILESDIR}"/ipsec + + local dir_ugid + if use non-root && use strongswan_plugins_stroke; then + if [ -f /etc/ipsec.conf ]; then + fowners ${UGID}:${UGID} \ + /etc/ipsec.conf + fi + + fowners ${UGID}:${UGID} \ + /etc/strongswan.conf + + dir_ugid="${UGID}" + else + dir_ugid="root" + fi + + diropts -m 0750 -o ${dir_ugid} -g ${dir_ugid} + dodir /etc/ipsec.d \ + /etc/ipsec.d/aacerts \ + /etc/ipsec.d/acerts \ + /etc/ipsec.d/cacerts \ + /etc/ipsec.d/certs \ + /etc/ipsec.d/crls \ + /etc/ipsec.d/ocspcerts \ + /etc/ipsec.d/private \ + /etc/ipsec.d/reqs + + dodoc NEWS README TODO + + # shared libs are used only internally and there are no static libs, + # so it's safe to get rid of the .la files + find "${D}" -name '*.la' -delete || die "Failed to remove .la files." +} + +pkg_postinst() { + if ! use openssl && ! use gcrypt; then + elog + elog "${PN} has been compiled without both OpenSSL and libgcrypt support." + elog "Please note that this might effect availability and speed of some" + elog "cryptographic features. You are advised to enable the OpenSSL plugin." + elif ! use openssl; then + elog + elog "${PN} has been compiled without the OpenSSL plugin. This might effect" + elog "availability and speed of some cryptographic features. There will be" + elog "no support for Elliptic Curve Cryptography (Diffie-Hellman groups 19-21," + elog "25, 26) and ECDSA." + fi + if ! use caps && ! use non-root; then + ewarn + ewarn "You have decided to run ${PN} with root privileges and built it" + ewarn "without support for POSIX capability dropping. It is generally" + ewarn "strongly suggested that you reconsider- especially if you intend" + ewarn "to run ${PN} as server with a public ip address." + ewarn + ewarn "You should re-emerge ${PN} with at least the 'caps' USE flag enabled." + ewarn + fi + if use non-root; then + elog + elog "${PN} has been installed without superuser privileges (USE=non-root)." + elog "This imposes a few limitations mainly to the daemon 'charon' in" + elog "regards of the use of iptables." + elog + elog "Please carefully read: http://wiki.strongswan.org/projects/strongswan/wiki/ReducedPrivileges" + elog + elog "Thus if you require to specify a custom updown" + elog "script to charon which requires superuser privileges, you" + elog "can work around this limitation by using sudo to grant the" + elog "user \"ipsec\" the appropriate rights." + elog "For example (the default case):" + elog "/etc/sudoers:" + elog " ipsec ALL=(ALL) NOPASSWD: SETENV: /usr/sbin/ipsec" + elog "Under the specific connection block in /etc/ipsec.conf:" + elog " leftupdown=\"sudo -E ipsec _updown iptables\"" + elog + fi + elog + elog "Make sure you have _all_ required kernel modules available including" + elog "the appropriate cryptographic algorithms. A list is available at:" + elog " https://wiki.strongswan.org/projects/strongswan/wiki/KernelModules" + elog + elog "The up-to-date manual is available online at:" + elog " https://wiki.strongswan.org/" + elog +} diff --git a/net-vpn/strongswan/strongswan-6.0.6.ebuild b/net-vpn/strongswan/strongswan-6.0.6.ebuild new file mode 100644 index 000000000000..18b7bd3a8616 --- /dev/null +++ b/net-vpn/strongswan/strongswan-6.0.6.ebuild @@ -0,0 +1,261 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/strongswan.asc +inherit systemd verify-sig + +DESCRIPTION="IPsec-based VPN solution, supporting IKEv1/IKEv2 and MOBIKE" +HOMEPAGE="https://www.strongswan.org/" +SRC_URI=" + https://download.strongswan.org/${P}.tar.bz2 + verify-sig? ( https://download.strongswan.org/${P}.tar.bz2.sig ) +" + +LICENSE="GPL-2 RSA DES" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+caps curl +constraints debug dhcp eap farp gcrypt +gmp ldap mysql networkmanager +non-root +openssl selinux sqlite systemd pam pkcs11" + +STRONGSWAN_PLUGINS_STD="aes cmac curve25519 des dnskey drbg eap-radius fips-prf gcm hmac led lookip md5 nonce pem pgp +pkcs1 pkcs7 pkcs8 pkcs12 pubkey random rc2 revocation sha1 sha2 sshkey systime-fix stroke unity vici x509 xcbc" +STRONGSWAN_PLUGINS_OPT_DISABLE="kdf" +STRONGSWAN_PLUGINS_OPT="acert af-alg agent addrblock aesni botan blowfish bypass-lan +ccm chapoly connmark ctr error-notify forecast files gcm ha ipseckey md4 mgf1 +openxpki padlock rdrand save-keys sha3 soup test-vectors unbound whitelist xauth-noauth" + +for mod in $STRONGSWAN_PLUGINS_STD; do + IUSE="${IUSE} +strongswan_plugins_${mod}" +done + +for mod in $STRONGSWAN_PLUGINS_OPT_DISABLE; do + IUSE="${IUSE} strongswan_plugins_${mod}" +done + +for mod in $STRONGSWAN_PLUGINS_OPT; do + IUSE="${IUSE} strongswan_plugins_${mod}" +done + +COMMON_DEPEND=" + non-root? ( + acct-user/ipsec + acct-group/ipsec + ) + dev-libs/glib:2 + gmp? ( >=dev-libs/gmp-4.1.5:= ) + gcrypt? ( + dev-libs/libgcrypt:= + dev-libs/libgpg-error + ) + caps? ( sys-libs/libcap ) + curl? ( net-misc/curl ) + ldap? ( net-nds/openldap:= ) + openssl? ( >=dev-libs/openssl-0.9.8:=[-bindist(-)] ) + mysql? ( dev-db/mysql-connector-c:= ) + sqlite? ( >=dev-db/sqlite-3.3.1:3 ) + systemd? ( sys-apps/systemd ) + networkmanager? ( net-misc/networkmanager ) + pam? ( sys-libs/pam ) + strongswan_plugins_botan? ( dev-libs/botan:3= ) + strongswan_plugins_connmark? ( net-firewall/iptables:= ) + strongswan_plugins_forecast? ( net-firewall/iptables:= ) + strongswan_plugins_soup? ( net-libs/libsoup:3.0 ) + strongswan_plugins_unbound? ( net-dns/unbound:= net-libs/ldns:= ) +" +DEPEND=" + ${COMMON_DEPEND} + virtual/linux-sources + sys-kernel/linux-headers +" +RDEPEND=" + ${COMMON_DEPEND} + virtual/logger + sys-apps/iproute2 + !net-vpn/libreswan + selinux? ( sec-policy/selinux-ipsec ) +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-strongswan ) +" + +UGID="ipsec" + +src_configure() { + local myeconfargs=( + --disable-static + --enable-ikev1 + --enable-ikev2 + --enable-swanctl + --enable-socket-dynamic + --enable-cmd + $(use_enable curl) + $(use_enable constraints) + $(use_enable ldap) + $(use_enable debug leak-detective) + $(use_enable dhcp) + $(use_enable eap eap-sim) + $(use_enable eap eap-sim-file) + $(use_enable eap eap-simaka-sql) + $(use_enable eap eap-simaka-pseudonym) + $(use_enable eap eap-simaka-reauth) + $(use_enable eap eap-identity) + $(use_enable eap eap-md5) + $(use_enable eap eap-aka) + $(use_enable eap eap-aka-3gpp2) + $(use_enable eap md4) + $(use_enable eap eap-mschapv2) + $(use_enable eap eap-radius) + $(use_enable eap eap-tls) + $(use_enable eap eap-ttls) + $(use_enable eap xauth-eap) + $(use_enable eap eap-dynamic) + $(use_enable farp) + $(use_enable gmp) + $(use_enable gcrypt) + $(use_enable mysql) + $(use_enable networkmanager nm) + $(use_enable openssl) + $(use_enable pam xauth-pam) + $(use_enable pkcs11) + $(use_enable sqlite) + $(use_enable systemd) + $(use_with caps capabilities libcap) + --with-piddir=/run + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + ) + + if use non-root; then + myeconfargs+=( + --with-user=${UGID} + --with-group=${UGID} + ) + fi + + # If a user has already enabled db support, those plugins will + # most likely be desired as well. Besides they don't impose new + # dependencies and come at no cost (except for space). + if use mysql || use sqlite; then + myeconfargs+=( + --enable-attr-sql + --enable-sql + ) + fi + + # strongSwan builds and installs static libs by default which are + # useless to the user (and to strongSwan for that matter) because no + # header files or alike get installed... so disabling them is safe. + if use pam && use eap; then + myeconfargs+=( --enable-eap-gtc ) + else + myeconfargs+=( --disable-eap-gtc ) + fi + + for mod in $STRONGSWAN_PLUGINS_STD; do + use strongswan_plugins_${mod} && myeconfargs+=( --enable-${mod} ) + done + + for mod in $STRONGSWAN_PLUGINS_OPT_DISABLE; do + ! use strongswan_plugins_${mod} && myeconfargs+=( --disable-${mod} ) + done + + for mod in $STRONGSWAN_PLUGINS_OPT; do + use strongswan_plugins_${mod} && myeconfargs+=( --enable-${mod} ) + done + + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + + if ! use systemd; then + rm -rf "${ED}"/lib/systemd || die "Failed removing systemd lib." + fi + + doinitd "${FILESDIR}"/ipsec + + local dir_ugid + if use non-root && use strongswan_plugins_stroke; then + if [ -f /etc/ipsec.conf ]; then + fowners ${UGID}:${UGID} \ + /etc/ipsec.conf + fi + + fowners ${UGID}:${UGID} \ + /etc/strongswan.conf + + dir_ugid="${UGID}" + else + dir_ugid="root" + fi + + diropts -m 0750 -o ${dir_ugid} -g ${dir_ugid} + dodir /etc/ipsec.d \ + /etc/ipsec.d/aacerts \ + /etc/ipsec.d/acerts \ + /etc/ipsec.d/cacerts \ + /etc/ipsec.d/certs \ + /etc/ipsec.d/crls \ + /etc/ipsec.d/ocspcerts \ + /etc/ipsec.d/private \ + /etc/ipsec.d/reqs + + dodoc NEWS README TODO + + # shared libs are used only internally and there are no static libs, + # so it's safe to get rid of the .la files + find "${D}" -name '*.la' -delete || die "Failed to remove .la files." +} + +pkg_postinst() { + if ! use openssl && ! use gcrypt; then + elog + elog "${PN} has been compiled without both OpenSSL and libgcrypt support." + elog "Please note that this might effect availability and speed of some" + elog "cryptographic features. You are advised to enable the OpenSSL plugin." + elif ! use openssl; then + elog + elog "${PN} has been compiled without the OpenSSL plugin. This might effect" + elog "availability and speed of some cryptographic features. There will be" + elog "no support for Elliptic Curve Cryptography (Diffie-Hellman groups 19-21," + elog "25, 26) and ECDSA." + fi + if ! use caps && ! use non-root; then + ewarn + ewarn "You have decided to run ${PN} with root privileges and built it" + ewarn "without support for POSIX capability dropping. It is generally" + ewarn "strongly suggested that you reconsider- especially if you intend" + ewarn "to run ${PN} as server with a public ip address." + ewarn + ewarn "You should re-emerge ${PN} with at least the 'caps' USE flag enabled." + ewarn + fi + if use non-root; then + elog + elog "${PN} has been installed without superuser privileges (USE=non-root)." + elog "This imposes a few limitations mainly to the daemon 'charon' in" + elog "regards of the use of iptables." + elog + elog "Please carefully read: http://wiki.strongswan.org/projects/strongswan/wiki/ReducedPrivileges" + elog + elog "Thus if you require to specify a custom updown" + elog "script to charon which requires superuser privileges, you" + elog "can work around this limitation by using sudo to grant the" + elog "user \"ipsec\" the appropriate rights." + elog "For example (the default case):" + elog "/etc/sudoers:" + elog " ipsec ALL=(ALL) NOPASSWD: SETENV: /usr/sbin/ipsec" + elog "Under the specific connection block in /etc/ipsec.conf:" + elog " leftupdown=\"sudo -E ipsec _updown iptables\"" + elog + fi + elog + elog "Make sure you have _all_ required kernel modules available including" + elog "the appropriate cryptographic algorithms. A list is available at:" + elog " https://wiki.strongswan.org/projects/strongswan/wiki/KernelModules" + elog + elog "The up-to-date manual is available online at:" + elog " https://wiki.strongswan.org/" + elog +} diff --git a/net-vpn/tailscale/Manifest b/net-vpn/tailscale/Manifest index 463078a05318..ef883ca2d3db 100644 --- a/net-vpn/tailscale/Manifest +++ b/net-vpn/tailscale/Manifest @@ -16,3 +16,5 @@ DIST tailscale-1.98.0-vendor.tar.xz 41420620 BLAKE2B 658c13bbbf0ee56def08b2e63fe DIST tailscale-1.98.0.tar.gz 4756618 BLAKE2B 96976f3f1b3acddd0453559fbed2d7bec971a19ed2834dd9219855c6d3a65d7788a312ab76d7caae5aa43cacfe4761fe0ac3bda1631cc957e69c1a4c6432d60c SHA512 47a1ff3bded30c687ba96b260621f036bf7a52ddc368ac2e47471aeb9dc5edf9615f93c0cfa26cb9d5a56a367c3e02f51096fdec21636c840327b6d899044911 DIST tailscale-1.98.1-vendor.tar.xz 41416640 BLAKE2B 414bdf12b152e77492e91032770ab35f98ca9c4435f14696810413fc25b779f860389524f1f14cc143ece51d4ed3f1022ab4dfe4577d5091660b6b575fcf5b88 SHA512 d666ee9069545d6393721a99865b0701f360676900be97b6d7a122c9d5f3609767908752ed10b8ac5e1bac0bcebd28825f19b5b46edbd4ca203c89858d718f2a DIST tailscale-1.98.1.tar.gz 4755446 BLAKE2B 3e93004ff4378aa5987f492f52908a5af1c4bff030ce91fbf680421d6641ac669c70a4b7624f9fadbfb4ed732afd8648d871a186f1fa80931dec485f5ecc36af SHA512 9cfd255676809ee95fc1587f40647c6bab39b8a010b11eb55327d99b2dd943184d434020feaa2d04f3d3e980ea3d8cf1f33aa35e635a62d93671b389d492e1a5 +DIST tailscale-1.98.4-vendor.tar.xz 41414920 BLAKE2B 80a662393099aebf9c8f50311ffdb8482577a516e52b87ab99f8715fc58805312b7a0917fcd3781c233f2785ac08a24af68f06298dc085e9a1e7cc167b19bc43 SHA512 ab1c72595d305ce6441d67f03340ca35f56d7e2c556f7753e2c9703200caae3f620e329c280c4e312291be61659ff0647684c91f3c2995290dd7afdd702fe044 +DIST tailscale-1.98.4.tar.gz 4756434 BLAKE2B 9cbabdf77f2cb355963c5f6d0588d0ea309cfc92d921166310a787a579141c331bce586da3da1a2e28dff7a15f30647368cef5fb512a72897a306a27d2e54f78 SHA512 60639d3f4bc6a5382c0a562a58cbf1d520c54d405c25c0192dd237b7d5e10c1144f9154e9960621dfff0e25aad952a47663d3e2224be22c23e94e4eee2eb8a30 diff --git a/net-vpn/tailscale/metadata.xml b/net-vpn/tailscale/metadata.xml index 531b96e8a5ce..57a361909aa5 100644 --- a/net-vpn/tailscale/metadata.xml +++ b/net-vpn/tailscale/metadata.xml @@ -8,5 +8,5 @@ <upstream> <remote-id type="cpe">cpe:/a:tailscale:tailscale</remote-id> </upstream> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/tailscale/tailscale-1.98.4.ebuild b/net-vpn/tailscale/tailscale-1.98.4.ebuild new file mode 100644 index 000000000000..8e218588401c --- /dev/null +++ b/net-vpn/tailscale/tailscale-1.98.4.ebuild @@ -0,0 +1,69 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module linux-info shell-completion systemd sysroot tmpfiles + +# They should be updated on every bump. +VERSION_GIT_HASH="01c6b9661c9e001674c650fa655e56ee1fda4d90" +VERSION_MINOR=$(ver_cut 2) +VERSION_SHORT=${PV} +VERSION_LONG=${PV}-t${VERSION_GIT_HASH::9} + +DESCRIPTION="Tailscale vpn client" +HOMEPAGE="https://tailscale.com" +SRC_URI="https://github.com/tailscale/tailscale/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz" + +LICENSE="MIT" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +RESTRICT="test" + +CONFIG_CHECK="~TUN" + +RDEPEND="|| ( net-firewall/iptables net-firewall/nftables )" +BDEPEND=">=dev-lang/go-1.26.3" + +src_compile() { + # This translates the build command from upstream's build_dist.sh to an + # ebuild equivalent. + local go_ldflags=( + -X tailscale.com/version.longStamp=${VERSION_LONG} + -X tailscale.com/version.shortStamp=${VERSION_SHORT} + -X tailscale.com/version.gitCommitStamp=${VERSION_GIT_HASH} + ) + ego build -tags xversion -ldflags "${go_ldflags[*]}" -o bin/ ./cmd/tailscale ./cmd/tailscaled + + einfo "generating shell completion files" + sysroot_try_run_prefixed ./bin/tailscale completion bash > ${PN}.bash || die + sysroot_try_run_prefixed ./bin/tailscale completion zsh > ${PN}.zsh || die + sysroot_try_run_prefixed ./bin/tailscale completion fish > ${PN}.fish || die +} + +src_install() { + dosbin bin/tailscaled + dobin bin/tailscale + + systemd_dounit cmd/tailscaled/{tailscaled.service,tailscale-online.target,tailscale-wait-online.service} + insinto /etc/default + newins cmd/tailscaled/tailscaled.defaults tailscaled + keepdir /var/lib/${PN} + fperms 0750 /var/lib/${PN} + + newtmpfiles "${FILESDIR}/${PN}.tmpfiles" ${PN}.conf + + newinitd "${FILESDIR}/${PN}d.initd" ${PN} + newconfd "${FILESDIR}/${PN}d.confd" ${PN} + + [[ -s ${PN}.bash ]] && newbashcomp ${PN}.bash ${PN} + [[ -s ${PN}.zsh ]] && newzshcomp ${PN}.zsh _${PN} + [[ -s ${PN}.fish ]] && dofishcomp ${PN}.fish +} + +pkg_postinst() { + tmpfiles_process ${PN}.conf +} diff --git a/net-vpn/tinc/metadata.xml b/net-vpn/tinc/metadata.xml index 22e90999c2e6..61152494bb56 100644 --- a/net-vpn/tinc/metadata.xml +++ b/net-vpn/tinc/metadata.xml @@ -20,5 +20,5 @@ <flag name="uml"> Enable support for User Mode Linux Sockets</flag> <flag name="vde"> Enable Virtual Distributed Ethernet (VDE) based networking</flag> </use> - <origin>ports</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/tor/metadata.xml b/net-vpn/tor/metadata.xml index bcfa267d447c..8dc02e384174 100644 --- a/net-vpn/tor/metadata.xml +++ b/net-vpn/tor/metadata.xml @@ -17,5 +17,5 @@ <flag name="server">Enable tor's relay module so it can operate as a relay/bridge/authority</flag> <flag name="tor-hardening">Compile tor with hardening on vanilla compilers/linkers</flag> </use> - <origin>ports</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/vopono/metadata.xml b/net-vpn/vopono/metadata.xml index 089621fe2a6a..d5b8c5e84a50 100644 --- a/net-vpn/vopono/metadata.xml +++ b/net-vpn/vopono/metadata.xml @@ -12,5 +12,5 @@ vopono includes built-in killswitches for both Wireguard and OpenVPN. </longdescription> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/vpnc-scripts/metadata.xml b/net-vpn/vpnc-scripts/metadata.xml index f54ec254a599..33e1c5668659 100644 --- a/net-vpn/vpnc-scripts/metadata.xml +++ b/net-vpn/vpnc-scripts/metadata.xml @@ -6,6 +6,6 @@ <name>Mike Gilbert</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/vpnc/metadata.xml b/net-vpn/vpnc/metadata.xml index 75f16c6baf3f..f3b1cc9df6a3 100644 --- a/net-vpn/vpnc/metadata.xml +++ b/net-vpn/vpnc/metadata.xml @@ -9,5 +9,5 @@ <use> <flag name="resolvconf">Enable support for DNS managing framework <pkg>net-dns/openresolv</pkg></flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/vpncloud/metadata.xml b/net-vpn/vpncloud/metadata.xml index c12734bbfd78..33f95f016604 100644 --- a/net-vpn/vpncloud/metadata.xml +++ b/net-vpn/vpncloud/metadata.xml @@ -6,5 +6,5 @@ <name>Yixun Lan</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/vpncwatch/metadata.xml b/net-vpn/vpncwatch/metadata.xml index 83d00b14c8d4..7a420b460d5e 100644 --- a/net-vpn/vpncwatch/metadata.xml +++ b/net-vpn/vpncwatch/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/vtun-embedded/Manifest b/net-vpn/vtun-embedded/Manifest index 2a3f8722e126..1b0ea88a0f17 100644 --- a/net-vpn/vtun-embedded/Manifest +++ b/net-vpn/vtun-embedded/Manifest @@ -1,2 +1 @@ -DIST vtun-embedded-3.0.7.tar.gz 188065 BLAKE2B 630ab6e77ab15b24261eadb0140220f23de87340ddc92f0478d5262524cee5e5a4b14bf48f3eb9951c350d997a8af4a1346d7f25ab72ef95ce44ddfacf6d761a SHA512 dc87114b8dda73a99962c6ad15b14a17d4a6099d01eafb0713afb478c5bc8484e397e0c4676dc6025b072d47d0ec2b22451a07a07c2428f010f9da8ba58ab5bd DIST vtun-embedded-3.1.0.tar.gz 188342 BLAKE2B fe266c7bea748a997c69df6390fb19da052e55ff4f7273415b5dce7d417dfe5f84bc98ad4c2f5726dc014b11bb0a2e7225287343a8f60338c83bd064f4dc742d SHA512 e51ce55bf7ac187ff4814f1a5e60a7d35d1171a049851c45020836b029ed078c196986a05940390751632c8e2121a95bdf5aaaa16743cde01d9daa013713f809 diff --git a/net-vpn/vtun-embedded/metadata.xml b/net-vpn/vtun-embedded/metadata.xml index c65ebf3e7622..52b63ea15bac 100644 --- a/net-vpn/vtun-embedded/metadata.xml +++ b/net-vpn/vtun-embedded/metadata.xml @@ -6,5 +6,5 @@ <name>Jan-Espen Oversand</name> </maintainer> - <origin>gentoo-guru-overlay</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/vtun-embedded/vtun-embedded-3.0.7.ebuild b/net-vpn/vtun-embedded/vtun-embedded-3.0.7.ebuild deleted file mode 100644 index a8da1e2418dc..000000000000 --- a/net-vpn/vtun-embedded/vtun-embedded-3.0.7.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit linux-info autotools systemd - -DESCRIPTION="Create tunnels over TCP/IP networks with shaping, encryption, and compression" -HOMEPAGE="https://github.com/leakingmemory/vtun-embedded" -SRC_URI="https://github.com/leakingmemory/vtun-embedded/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~sparc ~x86" -IUSE="systemd lzo socks5 ssl zlib" - -RDEPEND=" - lzo? ( dev-libs/lzo:2 ) - socks5? ( net-proxy/dante ) - ssl? ( dev-libs/openssl:0= ) - zlib? ( virtual/zlib:= ) - dev-libs/libbsd" -DEPEND="${RDEPEND}" -BDEPEND=" - sys-devel/bison -" - -DOCS=( ChangeLog Credits FAQ README README.Setup README.Shaper TODO ) -CONFIG_CHECK="~TUN" - -src_prepare() { - default - eautoreconf - sed -i -e '/^LDFLAGS/s|=|+=|g' Makefile.in || die - sed -i 's:$(BIN_DIR)/strip $(DESTDIR)$(SBIN_DIR)/vtunemd::' Makefile.in || die -} - -src_configure() { - econf \ - $(use_enable ssl) \ - $(use_enable zlib) \ - $(use_enable lzo) \ - $(use_enable socks5 socks) \ - --enable-shaper -} - -src_install() { - default - newinitd "${FILESDIR}"/vtun-embedded.rc vtun-embedded - insinto /etc - doins "${FILESDIR}"/vtunemd-start.conf - rm -r "${ED}"/var || die - if use systemd; then - insinto /etc/vtunemd - newins "${S}"/scripts/sample-client.env.systemd sample-client.env - fi - systemd_newunit "${S}"/scripts/vtunemd.service.systemd vtunemd.service - systemd_newunit "${S}"/scripts/vtunemd-client.service.systemd vtunemd@.service -} diff --git a/net-vpn/vtun-embedded/vtun-embedded-3.1.0.ebuild b/net-vpn/vtun-embedded/vtun-embedded-3.1.0-r1.ebuild index a8da1e2418dc..87ea0d015f47 100644 --- a/net-vpn/vtun-embedded/vtun-embedded-3.1.0.ebuild +++ b/net-vpn/vtun-embedded/vtun-embedded-3.1.0-r1.ebuild @@ -12,7 +12,8 @@ SRC_URI="https://github.com/leakingmemory/vtun-embedded/releases/download/v${PV} LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~sparc ~x86" -IUSE="systemd lzo socks5 ssl zlib" +IUSE="systemd lzo socks5 ssl test zlib" +RESTRICT="!test? ( test )" RDEPEND=" lzo? ( dev-libs/lzo:2 ) @@ -22,6 +23,7 @@ RDEPEND=" dev-libs/libbsd" DEPEND="${RDEPEND}" BDEPEND=" + test? ( dev-libs/check ) sys-devel/bison " diff --git a/net-vpn/vtun-ng/metadata.xml b/net-vpn/vtun-ng/metadata.xml index c65ebf3e7622..52b63ea15bac 100644 --- a/net-vpn/vtun-ng/metadata.xml +++ b/net-vpn/vtun-ng/metadata.xml @@ -6,5 +6,5 @@ <name>Jan-Espen Oversand</name> </maintainer> - <origin>gentoo-guru-overlay</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/vtun/metadata.xml b/net-vpn/vtun/metadata.xml index 5f637dc0fc8e..e10e3c3c852a 100644 --- a/net-vpn/vtun/metadata.xml +++ b/net-vpn/vtun/metadata.xml @@ -10,5 +10,5 @@ <name>Proxy Maintainers</name> </maintainer> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/wireguard-modules/metadata.xml b/net-vpn/wireguard-modules/metadata.xml index 6bf9cdfc6d9c..7801c34f9782 100644 --- a/net-vpn/wireguard-modules/metadata.xml +++ b/net-vpn/wireguard-modules/metadata.xml @@ -11,5 +11,5 @@ <flag name="module-src">Install the module source code to /usr/src, in case you like building kernel modules yourself.</flag> <flag name="debug">Enable verbose debug reporting in dmesg of various WireGuard peer and device information.</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file diff --git a/net-vpn/wireguard-tools/metadata.xml b/net-vpn/wireguard-tools/metadata.xml index 6729daab34ea..f8a7a6542d7b 100644 --- a/net-vpn/wireguard-tools/metadata.xml +++ b/net-vpn/wireguard-tools/metadata.xml @@ -9,5 +9,5 @@ <use> <flag name="wg-quick">Install the wg-quick(8) helper tool. Most users want to use this.</flag> </use> - <origin>gentoo-staging</origin> + <origin>liguros-repo</origin> </pkgmetadata>
\ No newline at end of file |
