net-vpn/openfortivpn: Version bump 1.7.0
authorJohannes Huber <johu@gentoo.org>
Sat, 26 May 2018 22:41:26 +0000 (00:41 +0200)
committerJohannes Huber <johu@gentoo.org>
Sat, 26 May 2018 22:41:47 +0000 (00:41 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

net-vpn/openfortivpn/Manifest
net-vpn/openfortivpn/openfortivpn-1.7.0.ebuild [new file with mode: 0644]

index f5b9246e362f755918a51180401a2c745780d9ab..5dec0ccaf0d708da7162a30b7b95ea6a00cae1a1 100644 (file)
@@ -1 +1,2 @@
 DIST openfortivpn-1.6.0.tar.gz 55606 BLAKE2B 649ca2a8112313fc7b63d89867efe33c4cf8e75cb4c2f7f19839e1f569ac04e3ace841b17ac0e7aa9b51a7e6d9b1f7910925761d5052cac6ef5aec1e257b93bc SHA512 547dca62022f56271717191a10a645b8a1c554568536f0695ef73d8c2883926e957dc070570648ed672786374a01b110de34b4ea19c4ae8cb2e3657c27716c69
+DIST openfortivpn-1.7.0.tar.gz 60073 BLAKE2B 422e21daa4ee340009f9e1d660f12b4cc392e2c9694dc24cd2912c89996959907c2ea08fa3bfd11ea82c3984575f1cd1f59d671a7b4188e50ba1a9bbf77f9977 SHA512 60bf57a78e228f3f2f497f5b537abe25eb98a6fb8c41b521acf2e2182ac2c0ca12202a8c4e8d87cd230b0e35d31f4ae97f7137247b53e0c574bec195de0f4275
diff --git a/net-vpn/openfortivpn/openfortivpn-1.7.0.ebuild b/net-vpn/openfortivpn/openfortivpn-1.7.0.ebuild
new file mode 100644 (file)
index 0000000..bfc3175
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info
+
+DESCRIPTION="A Fortinet compatible VPN client"
+HOMEPAGE="https://github.com/adrienverge/openfortivpn"
+SRC_URI="https://github.com/adrienverge/openfortivpn/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3-with-openssl-exception openssl"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="libressl"
+
+DEPEND="
+       net-dialup/ppp
+       !libressl? ( dev-libs/openssl:0= )
+       libressl? ( dev-libs/libressl:0= )
+"
+RDEPEND="${DEPEND}"
+
+CONFIG_CHECK="~PPP ~PPP_ASYNC"
+
+src_prepare() {
+       default
+
+       sed -i 's/-Werror//g' Makefile.am || die "Failed to remove -Werror from Makefile.am"
+
+       eautoreconf
+}
+
+src_install() {
+       default
+
+       keepdir /etc/openfortivpn
+}