aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPA4WDH2021-07-31 10:23:53 +0200
committerPA4WDH2021-07-31 10:23:53 +0200
commit384d7061d0e48bc13610ca2427ad7f88440da118 (patch)
treeaa2f5f08b5efddfac154b152b3e92e870933bed8
parentRemove auto-sync = false from layout.conf (diff)
downloadopenvpn-nl-384d7061d0e48bc13610ca2427ad7f88440da118.tar.gz
openvpn-nl-384d7061d0e48bc13610ca2427ad7f88440da118.tar.bz2
openvpn-nl-384d7061d0e48bc13610ca2427ad7f88440da118.zip
Add net-vpn/openvpn-nl-2.4.7
-rw-r--r--net-vpn/openvpn-nl/Manifest2
-rw-r--r--net-vpn/openvpn-nl/openvpn-nl-2.4.7.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/net-vpn/openvpn-nl/Manifest b/net-vpn/openvpn-nl/Manifest
index bc9b2e9..a9ce38c 100644
--- a/net-vpn/openvpn-nl/Manifest
+++ b/net-vpn/openvpn-nl/Manifest
@@ -2,5 +2,7 @@ AUX down.sh 949 BLAKE2B 1598e2e876ca52423166ee71872723c5736b1a6625e74d8c41d20bb1
AUX openvpn-nl.conf 898 BLAKE2B 6679d8cbde00665d439c88dc0db41ec7e445ff3ccf301209247807e12b95220422755cae94baf662ec1867d789ce8316e7895b45685f95317e61c6671f6480ba SHA512 672c9c9450b841b5d3828a0523b25692e7221af2ef00e78205c7e21d909bc590ef18073c6312d1cc310f54cec08c3465066d0d5032198467aacde3f38de05668
AUX openvpn-nl.init 4235 BLAKE2B a74e34cc21f109c4fbb917d47a297eebf824a0c2a05d4ef75219741fa9d00d97eee6e2bf5187229c2146c7c1b2b91208275ecb87b69ccb313c3b405cba286dbc SHA512 0d40f1a751349a1eb24a41609f0cb452ef0ac376615ef0a976c01c1bb28b0dfe971f228b14f6d678257be92c3c069bd1847fb0dadf29b1f07ce7ca64eabadc0d
AUX up.sh 2877 BLAKE2B c11d4f5eee8e416bd05e40566377f75ccf23290e071558f6bd8cb5654452ed385ab2fe22a67bf5166a272f014a78a0da269ac9266244699f19b364b66e079848 SHA512 d8ce50421d1b5e218c60da1c3a948648b2df851e2a395bc96690d07e7bb3d625a4e5f7c02717bcaab28f0c417047829f3fd71b24e4c47a97fe9b26448578c52f
+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
+EBUILD openvpn-nl-2.4.7.ebuild 1259 BLAKE2B ae8b40ff948f8d903e81c617512cc038f83624e5861b89d80a010a39419b05f1a44411bbef59f78b3b87d8a27546615f4447b5039c88421e08296a3ff5a3323d SHA512 72e7b641ad99fb01497e4d4188d88d34496016d3c025a4f5a7a0adef78a1b2f511307145ff10ed569da13946ba6b9d3f035a5bd7fb987946a8da3c7f0a878e1b
EBUILD openvpn-nl-2.4.9.ebuild 1194 BLAKE2B 89f55e8e661f47792ec9488fd5f566f2872a3eac552775eec6fe3f425b5b54535cbe25150812aff8c0d8920527e900100cbe4102e3bc1d4de55109cd0ac04f72 SHA512 92a49c99adbcc3bd9f7e53531299879ab76ad7e3e70f138af90a1633fdc61d19571f188088936532ca7eae6a9b62f02e263a748ca43020d663cf4c5372151f13
diff --git a/net-vpn/openvpn-nl/openvpn-nl-2.4.7.ebuild b/net-vpn/openvpn-nl/openvpn-nl-2.4.7.ebuild
new file mode 100644
index 0000000..f1ad7a3
--- /dev/null
+++ b/net-vpn/openvpn-nl/openvpn-nl-2.4.7.ebuild
@@ -0,0 +1,55 @@
+# 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/2.4.7-nl1/openvpn-nl-src-2.4.7-nl1.tar.gz https://code.pa4wdh.nl.eu.org/distfiles/${PN}-src-${PV}-nl1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="cpu_flags_x86_aes"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+CONFIG_CHECK="~TUN"
+
+src_unpack() {
+ unpack ${A}
+ mv openvpn-nl openvpn-nl-2.4.7
+}
+
+src_prepare() {
+ eapply_user
+}
+
+src_configure() {
+ if use cpu_flags_x86_aes; then
+ einfo "Enabling AES-NI support"
+ cd ${WORKDIR}/openvpn-nl-2.4.7/mbedtls
+ scripts/config.pl set MBEDTLS_AESNI_C
+ else
+ einfo "Not enabling AES-NI support"
+ fi
+}
+
+src_compile() {
+ cd ${WORKDIR}/openvpn-nl-2.4.7
+ ./build-openvpn-nl.sh
+}
+
+src_install() {
+ newsbin ${WORKDIR}/openvpn-nl-2.4.7/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}/openvpn-nl-2.4.7/openvpn/doc/openvpn.8 openvpn-nl.8
+}