summaryrefslogtreecommitdiffstats
path: root/trinity-apps/kvpnc
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-09-22 00:38:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-09-22 02:13:34 +0200
commit1a4dfec08f5a93c5bbbc4f94f88ab96ea2565e78 (patch)
tree251ac01b7d3b91a13396a06da82ef8f4054fce2f /trinity-apps/kvpnc
parentc62766a7c7d5872bfa5a746882cef2e583f60e1d (diff)
downloadtde-packaging-gentoo-1a4dfec08f5a93c5bbbc4f94f88ab96ea2565e78.tar.gz
tde-packaging-gentoo-1a4dfec08f5a93c5bbbc4f94f88ab96ea2565e78.zip
trinity-apps/kvpnc: Add missing metadata.xml, Copyright
Note: Optional RDEPEND are banned by QA and should be done via optfeature instead. Package-Manager: Portage-3.0.8, Repoman-3.0.1 RepoMan-Options: --force Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'trinity-apps/kvpnc')
-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>