summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-10-10 14:33:02 -0400
committerMike Gilbert <floppym@gentoo.org>2021-10-10 15:06:04 -0400
commit5e79533bee5502902320d616447df3ea1fd3b71f (patch)
tree47f36effacd2902b7c1d012000b47085599dacec /net-vpn
parentmedia-gfx/krita: remove unused patch (diff)
downloadgentoo-5e79533bee5502902320d616447df3ea1fd3b71f.tar.gz
gentoo-5e79533bee5502902320d616447df3ea1fd3b71f.tar.bz2
gentoo-5e79533bee5502902320d616447df3ea1fd3b71f.zip
net-vpn/vpnc-scripts: move scripts to /etc/vpnc
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/vpnc-scripts/vpnc-scripts-20210402-r1.ebuild (renamed from net-vpn/vpnc-scripts/vpnc-scripts-20210402.ebuild)6
-rw-r--r--net-vpn/vpnc-scripts/vpnc-scripts-99999999.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/net-vpn/vpnc-scripts/vpnc-scripts-20210402.ebuild b/net-vpn/vpnc-scripts/vpnc-scripts-20210402-r1.ebuild
index 83fa0467d1d8..99aefb4e0087 100644
--- a/net-vpn/vpnc-scripts/vpnc-scripts-20210402.ebuild
+++ b/net-vpn/vpnc-scripts/vpnc-scripts-20210402-r1.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} == 99999999 ]]; then
EGIT_REPO_URI="https://gitlab.com/openconnect/vpnc-scripts.git"
else
SRC_URI="ftp://ftp.infradead.org/pub/vpnc-scripts/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
DESCRIPTION="Connect scripts for use with vpnc and openconnect (and similar clients)"
@@ -17,7 +17,9 @@ HOMEPAGE="https://gitlab.com/openconnect/vpnc-scripts"
LICENSE="GPL-2+"
SLOT="0"
+RDEPEND="!<net-vpn/vpnc-0.5.3_p550-r3"
+
src_install() {
- exeinto /etc/vpnc-scripts
+ exeinto /etc/vpnc
doexe vpnc-script{,-{ptrtd,sshd}}
}
diff --git a/net-vpn/vpnc-scripts/vpnc-scripts-99999999.ebuild b/net-vpn/vpnc-scripts/vpnc-scripts-99999999.ebuild
index 83fa0467d1d8..99aefb4e0087 100644
--- a/net-vpn/vpnc-scripts/vpnc-scripts-99999999.ebuild
+++ b/net-vpn/vpnc-scripts/vpnc-scripts-99999999.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} == 99999999 ]]; then
EGIT_REPO_URI="https://gitlab.com/openconnect/vpnc-scripts.git"
else
SRC_URI="ftp://ftp.infradead.org/pub/vpnc-scripts/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
DESCRIPTION="Connect scripts for use with vpnc and openconnect (and similar clients)"
@@ -17,7 +17,9 @@ HOMEPAGE="https://gitlab.com/openconnect/vpnc-scripts"
LICENSE="GPL-2+"
SLOT="0"
+RDEPEND="!<net-vpn/vpnc-0.5.3_p550-r3"
+
src_install() {
- exeinto /etc/vpnc-scripts
+ exeinto /etc/vpnc
doexe vpnc-script{,-{ptrtd,sshd}}
}