diff options
Diffstat (limited to 'net-vpn/networkmanager-strongswan')
3 files changed, 66 insertions, 0 deletions
diff --git a/net-vpn/networkmanager-strongswan/Manifest b/net-vpn/networkmanager-strongswan/Manifest new file mode 100644 index 000000000000..9f2382af30d6 --- /dev/null +++ b/net-vpn/networkmanager-strongswan/Manifest @@ -0,0 +1 @@ +DIST NetworkManager-strongswan-1.4.4.tar.bz2 305677 BLAKE2B 24d99cd3f3844b6ffd47d076153ff8f80a92e575ca7f8da01141be2a48c39a759ee60e17ccdd4928e3c625fa9caae39d8f3cf2c76481adbcdda91fd00ee9e8a2 SHA512 e3e2dd9f5b961255f897ca1912f9deb34ac62628ff40289ff0f8f3900746482f2f32d390c64b88c10f10b8a99388e27099abedb7157d77c173524dc763a32155 diff --git a/net-vpn/networkmanager-strongswan/metadata.xml b/net-vpn/networkmanager-strongswan/metadata.xml new file mode 100644 index 000000000000..0afa017bfd09 --- /dev/null +++ b/net-vpn/networkmanager-strongswan/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="glib">Enable libnm-glib compatibility.</flag> + </use> +</pkgmetadata> diff --git a/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.4.4-r1.ebuild b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.4.4-r1.ebuild new file mode 100644 index 000000000000..de93d1d51007 --- /dev/null +++ b/net-vpn/networkmanager-strongswan/networkmanager-strongswan-1.4.4-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="NetworkManager" +MY_P="${P/networkmanager/${MY_PN}}" + +DESCRIPTION="NetworkManager StrongSwan plugin" +HOMEPAGE="https://www.strongswan.org/" +SRC_URI="https://download.strongswan.org/${MY_PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+glib" + +RDEPEND=" + app-crypt/libsecret + gnome-extra/nm-applet + net-misc/networkmanager + net-vpn/strongswan[networkmanager] + x11-libs/gtk+:3 +" + +DEPEND=" + ${RDEPEND} + dev-util/intltool +" + +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local myeconfargs=( + # Don't enable all warnings, as some are treated as errors and the compilation will fail + --disable-more-warnings + --disable-static + $(usex glib '' --without-libnm-glib) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +} |