summaryrefslogtreecommitdiffstats
path: root/trinity-apps
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-apps')
-rw-r--r--trinity-apps/kvpnc/kvpnc-9999.ebuild27
-rw-r--r--trinity-apps/kvpnc/metadata.xml12
2 files changed, 26 insertions, 13 deletions
diff --git a/trinity-apps/kvpnc/kvpnc-9999.ebuild b/trinity-apps/kvpnc/kvpnc-9999.ebuild
index aa6d4799..2e9b99d9 100644
--- a/trinity-apps/kvpnc/kvpnc-9999.ebuild
+++ b/trinity-apps/kvpnc/kvpnc-9999.ebuild
@@ -1,41 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
# Copyright 2020 The Trinity Desktop Project
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
+
TRINITY_MODULE_TYPE="applications"
TRINITY_EXTRAGEAR_PACKAGING="yes"
TRINITY_HANDBOOK="optional"
TRINITY_LANGS="bg ca da de es fr hu it ja nl pl pt_BR ru sk sv tr zh_CN"
-
inherit trinity-base-2
DESCRIPTION="VPN clients frontend for TDE"
HOMEPAGE="https://trinitydesktop.org/"
-LICENSE="|| ( GPL-2 GPL-3 )"
need-trinity
+LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="${TRINITY_VER}"
-
-IUSE+=" cisco smartcard +openvpn strongswan pptpd libreswan"
+IUSE+=" cisco libreswan +openvpn pptpd smartcard strongswan"
# Other VPN clients will be added by request, controlled over USE.
-# If you miss any, please let us know!
+# If you miss any, please let us know!
-DEPEND+=" sys-apps/net-tools
- dev-libs/libgcrypt"
+DEPEND+="
+ dev-libs/libgcrypt
+ sys-apps/net-tools"
RDEPEND+=" ${DEPEND}
- cisco? ( net-misc/vpnc )
- smartcard? ( dev-libs/openct )
- openvpn? ( net-vpn/openvpn )
- strongswan? ( net-vpn/strongswan )
+ cisco? ( net-vpn/vpnc )
libreswan? ( net-vpn/libreswan )
- pptpd? ( net-vpn/pptpd )"
+ openvpn? ( net-vpn/openvpn )
+ pptpd? ( net-vpn/pptpd )
+ smartcard? ( dev-libs/openct )
+ strongswan? ( net-vpn/strongswan )"
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
-DBUILD_TRANSLATIONS=ON
)
diff --git a/trinity-apps/kvpnc/metadata.xml b/trinity-apps/kvpnc/metadata.xml
new file mode 100644
index 00000000..4f0f91c8
--- /dev/null
+++ b/trinity-apps/kvpnc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="cisco">Enable support for Cisco client</flag>
+ <flag name="libreswan">Enable support for Libreswan client</flag>
+ <flag name="openvpn">Enable support for OpenVPN client</flag>
+ <flag name="pptpd">Enable support for PPTPD client</flag>
+ <flag name="strongswan">Enable support for strongSwan client</flag>
+ </use>
+</pkgmetadata>