aboutsummaryrefslogtreecommitdiffstats
path: root/net-vpn
diff options
context:
space:
mode:
authorPA4WDH2023-07-22 11:30:37 +0200
committerPA4WDH2023-07-22 11:30:37 +0200
commit8be5f5422475bdea1b7cbfaf24d475e99c066586 (patch)
tree29deab619fd91b3ffa59f3db1302138089cf7771 /net-vpn
parentAdd net-vpn/openvpn-nl-2.4.12 (diff)
downloadopenvpn-nl-master.tar.gz
openvpn-nl-master.tar.bz2
openvpn-nl-master.zip
Add net-vpn/openvpn-nl-2.5.6HEADmaster
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/openvpn-nl/Manifest2
-rw-r--r--net-vpn/openvpn-nl/openvpn-nl-2.5.6.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/net-vpn/openvpn-nl/Manifest b/net-vpn/openvpn-nl/Manifest
index 26fdba3..4023ba1 100644
--- a/net-vpn/openvpn-nl/Manifest
+++ b/net-vpn/openvpn-nl/Manifest
@@ -5,6 +5,8 @@ AUX up.sh 2877 BLAKE2B c11d4f5eee8e416bd05e40566377f75ccf23290e071558f6bd8cb5654
DIST openvpn-nl-src-2.4.12.tar.gz 4745149 BLAKE2B 86d29cb927c5831639755951c13cbe8c313cb91c012eb38ab3e471b4b947bbc98860de63264e8f5d8fb4e5777d51d3fa15e5af4e51d581a46eb66828e6614972 SHA512 5e13c53750894a74837f4fe546eaf205fa18c618c03cbc5b79e9ac5b4b11b14f50995d7629136d02a9cb11c094b5cf9139d94f944dd19847b75bcbe61d007532
DIST openvpn-nl-src-2.4.7-nl1.tar.gz 4575119 BLAKE2B a543bdbc934a5be5fe60da0bbefe639cfdaff6bf8804d037d40fc464f11801feffb0a92be4547708861629a5586375154e4ece90bd8d4078d208256b24c28c9c SHA512 9cc16a7ae972787276ddf561c45c58ccc8a77f165cf3bac7b6819283e3c9e1296091167db118ed1f98da171a5e1eb0e9e0665f954d0798cbab8aa1ee0e44b2b5
DIST openvpn-nl-src-2.4.9-nl1.tar.gz 4721730 BLAKE2B fb3840d5cdf9c69e981b8e09ab2614ad852cc3fb949a63f4887b41fac77fcbe1a051768dd76049651421c8c500e65463e6c84fd45f3573ef3b763b4b9a553642 SHA512 1569e97ce6f60a3302815d28512c0b2acd2e7c7716b797400de1ce5f46f4d415a3035ba91c792c36507e1c511559c9bcc8f5d1c35a96b452e12169ec89553ffe
+DIST openvpn-nl-src-2.5.6nl1.tar.gz 4307528 BLAKE2B 4a140cb86f50dfd5e724d3d55331aa12a21fd84568d588c478ddc567c90de991d8b0ca822a34a3e18e15c291353160d6cf0e64f954d20040de875d6b23a64c1f SHA512 d57eea1d27efc4c54a68270bd0d3819ada0d47af5d2b49f4c35f1fde08a48656df4bbb01b52006056f77f9946ec7521c3aa3efed84527beafa42f43f6f2279a3
EBUILD openvpn-nl-2.4.12.ebuild 1189 BLAKE2B c7e6ff0555cb32d610f15a9919a07df92322f5f055fe71fcfded569f1c9694b5ef7342f1ca9b696b84362dc06e0bed7c75475648a41e596d3c314e5bb9426169 SHA512 98e84d71c5e48949f7c49e5f7b855d7824bacc08df25e664507981133b6024d19abb4d4c79b1e2030be3ba891dc0b6cb0e2ec8a794ba40ebe6e568b67a1fae9d
EBUILD openvpn-nl-2.4.7.ebuild 1259 BLAKE2B ae8b40ff948f8d903e81c617512cc038f83624e5861b89d80a010a39419b05f1a44411bbef59f78b3b87d8a27546615f4447b5039c88421e08296a3ff5a3323d SHA512 72e7b641ad99fb01497e4d4188d88d34496016d3c025a4f5a7a0adef78a1b2f511307145ff10ed569da13946ba6b9d3f035a5bd7fb987946a8da3c7f0a878e1b
EBUILD openvpn-nl-2.4.9.ebuild 1201 BLAKE2B 9658c52a1e75de7146415811f129c6ac56b8a5668dad2f0001e064b42bf25e4c504d41b147ae03a96b37d81df2c4727a910ba4606507503d6507b0cc1d7abfd0 SHA512 4285ab00aa63290be6d8f6834859810f07f9c8f4688e6d5e8bf1eee6fc882efb1a85769a512386d69ea035b0902db879fea79de1737f64ca2fea882135d4f4d3
+EBUILD openvpn-nl-2.5.6.ebuild 1408 BLAKE2B ab7d07b1907d4b40422c9d35a2bdce71449f418d3f06f18cb740ea1fae8a63dc7275184464cb85270ea32e725845afeb7976de9901f4d65d4df52cfe044f4082 SHA512 dbe4d06dc9613b6c6156e449ac21078fa63cd1b9b4fe14504eac439d583d130c8040915e1100f96f340f96cfeae7b1ca1102344ff0f07ac2869470ff84d44b80
diff --git a/net-vpn/openvpn-nl/openvpn-nl-2.5.6.ebuild b/net-vpn/openvpn-nl/openvpn-nl-2.5.6.ebuild
new file mode 100644
index 0000000..b2ab06c
--- /dev/null
+++ b/net-vpn/openvpn-nl/openvpn-nl-2.5.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Modified version of OpenVPN with mbedtls and pkcs11 support"
+HOMEPAGE="https://openvpn.fox-it.com"
+SRC_URI="https://openvpn.fox-it.com/repos/source/${PV}nl1/${PN}-src-${PV}nl1.tar.gz https://code.pa4wdh.nl.eu.org/distfiles/${PN}-src-${PV}nl1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~riscv"
+IUSE="cpu_flags_x86_aes"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+CONFIG_CHECK="~TUN"
+
+src_unpack() {
+ unpack ${A}
+ mv openvpn-nl ${P}
+}
+
+src_prepare() {
+ eapply_user
+ sed -Ei 's/--enable-systemd//' "${WORKDIR}/${P}/configure-openvpn.sh"
+ sed -Ei 's/archive_artifacts//' "${WORKDIR}/${P}/build-openvpn-nl.sh"
+}
+
+src_configure() {
+ if use cpu_flags_x86_aes; then
+ einfo "Enabling AES-NI support"
+ cd ${WORKDIR}/${P}/mbedtls
+ scripts/config.pl set MBEDTLS_AESNI_C
+ else
+ einfo "Not enabling AES-NI support"
+ fi
+}
+
+src_compile() {
+ cd ${WORKDIR}/${P}
+ ./build-openvpn-nl.sh
+ rst2man.py openvpn/doc/openvpn.8.rst > openvpn/doc/openvpn-nl.8
+}
+
+src_install() {
+ newsbin ${WORKDIR}/${P}/build-openvpn-nl/src/openvpn/openvpn openvpn-nl
+ newinitd "${FILESDIR}/openvpn-nl.init" openvpn-nl
+ newconfd "${FILESDIR}/openvpn-nl.conf" openvpn-nl
+
+ exeinto /etc/openvpn-nl
+ doexe "${FILESDIR}/up.sh"
+ doexe "${FILESDIR}/down.sh"
+
+ newman ${WORKDIR}/${P}/openvpn/doc/openvpn-nl.8 openvpn-nl.8
+}