diff options
author | 2021-10-10 14:33:02 -0400 | |
---|---|---|
committer | 2021-10-10 15:06:04 -0400 | |
commit | 5e79533bee5502902320d616447df3ea1fd3b71f (patch) | |
tree | 47f36effacd2902b7c1d012000b47085599dacec /net-vpn/vpnc-scripts/vpnc-scripts-20210402-r1.ebuild | |
parent | media-gfx/krita: remove unused patch (diff) | |
download | gentoo-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/vpnc-scripts/vpnc-scripts-20210402-r1.ebuild')
-rw-r--r-- | net-vpn/vpnc-scripts/vpnc-scripts-20210402-r1.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net-vpn/vpnc-scripts/vpnc-scripts-20210402-r1.ebuild b/net-vpn/vpnc-scripts/vpnc-scripts-20210402-r1.ebuild new file mode 100644 index 000000000000..99aefb4e0087 --- /dev/null +++ b/net-vpn/vpnc-scripts/vpnc-scripts-20210402-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == 99999999 ]]; then + inherit git-r3 + 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 ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +DESCRIPTION="Connect scripts for use with vpnc and openconnect (and similar clients)" +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 + doexe vpnc-script{,-{ptrtd,sshd}} +} |