Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/vpnc-scripts/
Date: Sat, 02 Oct 2021 06:02:03
Message-Id: 1633154407.57a243e8d4179253b2fea231a04e35e3c569be3b.floppym@gentoo
1 commit: 57a243e8d4179253b2fea231a04e35e3c569be3b
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 2 03:42:31 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 2 06:00:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a243e8
7
8 net-vpn/vpnc-scripts: initial import
9
10 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
11
12 net-vpn/vpnc-scripts/Manifest | 1 +
13 net-vpn/vpnc-scripts/metadata.xml | 8 ++++++++
14 net-vpn/vpnc-scripts/vpnc-scripts-20210402.ebuild | 23 +++++++++++++++++++++++
15 net-vpn/vpnc-scripts/vpnc-scripts-99999999.ebuild | 23 +++++++++++++++++++++++
16 4 files changed, 55 insertions(+)
17
18 diff --git a/net-vpn/vpnc-scripts/Manifest b/net-vpn/vpnc-scripts/Manifest
19 new file mode 100644
20 index 00000000000..de68088215d
21 --- /dev/null
22 +++ b/net-vpn/vpnc-scripts/Manifest
23 @@ -0,0 +1 @@
24 +DIST vpnc-scripts-20210402.tar.gz 39925 BLAKE2B 2bc8a274773e51ba48e402588fdf5b51d20360f610afe5608f91dfe2466644b68d891a60c27e4c6938b4ed5da1f193ddb7a8ac955c8f02e6bf91437dc5c47620 SHA512 5f9fc5ab1a5a2607f807700536c4a8e71c551052e72979c1cdd02b15906615be33a297b873b0806f269e51645f10f1c02a7acfed2501148bfa2797250582920d
25
26 diff --git a/net-vpn/vpnc-scripts/metadata.xml b/net-vpn/vpnc-scripts/metadata.xml
27 new file mode 100644
28 index 00000000000..de09ffd8b08
29 --- /dev/null
30 +++ b/net-vpn/vpnc-scripts/metadata.xml
31 @@ -0,0 +1,8 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>floppym@g.o</email>
37 + <name>Mike Gilbert</name>
38 + </maintainer>
39 +</pkgmetadata>
40
41 diff --git a/net-vpn/vpnc-scripts/vpnc-scripts-20210402.ebuild b/net-vpn/vpnc-scripts/vpnc-scripts-20210402.ebuild
42 new file mode 100644
43 index 00000000000..83fa0467d1d
44 --- /dev/null
45 +++ b/net-vpn/vpnc-scripts/vpnc-scripts-20210402.ebuild
46 @@ -0,0 +1,23 @@
47 +# Copyright 2021 Gentoo Authors
48 +# Distributed under the terms of the GNU General Public License v2
49 +
50 +EAPI=8
51 +
52 +if [[ ${PV} == 99999999 ]]; then
53 + inherit git-r3
54 + EGIT_REPO_URI="https://gitlab.com/openconnect/vpnc-scripts.git"
55 +else
56 + SRC_URI="ftp://ftp.infradead.org/pub/vpnc-scripts/${P}.tar.gz"
57 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
58 +fi
59 +
60 +DESCRIPTION="Connect scripts for use with vpnc and openconnect (and similar clients)"
61 +HOMEPAGE="https://gitlab.com/openconnect/vpnc-scripts"
62 +
63 +LICENSE="GPL-2+"
64 +SLOT="0"
65 +
66 +src_install() {
67 + exeinto /etc/vpnc-scripts
68 + doexe vpnc-script{,-{ptrtd,sshd}}
69 +}
70
71 diff --git a/net-vpn/vpnc-scripts/vpnc-scripts-99999999.ebuild b/net-vpn/vpnc-scripts/vpnc-scripts-99999999.ebuild
72 new file mode 100644
73 index 00000000000..83fa0467d1d
74 --- /dev/null
75 +++ b/net-vpn/vpnc-scripts/vpnc-scripts-99999999.ebuild
76 @@ -0,0 +1,23 @@
77 +# Copyright 2021 Gentoo Authors
78 +# Distributed under the terms of the GNU General Public License v2
79 +
80 +EAPI=8
81 +
82 +if [[ ${PV} == 99999999 ]]; then
83 + inherit git-r3
84 + EGIT_REPO_URI="https://gitlab.com/openconnect/vpnc-scripts.git"
85 +else
86 + SRC_URI="ftp://ftp.infradead.org/pub/vpnc-scripts/${P}.tar.gz"
87 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
88 +fi
89 +
90 +DESCRIPTION="Connect scripts for use with vpnc and openconnect (and similar clients)"
91 +HOMEPAGE="https://gitlab.com/openconnect/vpnc-scripts"
92 +
93 +LICENSE="GPL-2+"
94 +SLOT="0"
95 +
96 +src_install() {
97 + exeinto /etc/vpnc-scripts
98 + doexe vpnc-script{,-{ptrtd,sshd}}
99 +}