From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/vpnc/
Date: Sun, 10 Oct 2021 19:08:26 +0000 (UTC) [thread overview]
Message-ID: <1633892764.8a45aee959d1d2f1469c2c343a8e951c2bb79d1b.floppym@gentoo> (raw)
commit: 8a45aee959d1d2f1469c2c343a8e951c2bb79d1b
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 10 18:39:51 2021 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Oct 10 19:06:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a45aee9
net-vpn/vpnc: depend on net-vpn/vpnc-scripts
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
net-vpn/vpnc/vpnc-0.5.3_p550-r3.ebuild | 72 ++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/net-vpn/vpnc/vpnc-0.5.3_p550-r3.ebuild b/net-vpn/vpnc/vpnc-0.5.3_p550-r3.ebuild
new file mode 100644
index 00000000000..89255813970
--- /dev/null
+++ b/net-vpn/vpnc/vpnc-0.5.3_p550-r3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info systemd tmpfiles toolchain-funcs vcs-snapshot
+
+DESCRIPTION="Free client for Cisco VPN routing software"
+HOMEPAGE="https://www.unix-ag.uni-kl.de/~massar/vpnc/"
+MY_P="${P}-r2"
+SRC_URI="https://github.com/streambinder/vpnc/archive/fa0689c.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="GPL-2 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="resolvconf +gnutls selinux"
+RESTRICT="!gnutls? ( bindist )"
+
+DEPEND="
+ dev-lang/perl
+ dev-libs/libgcrypt:0=
+ >=sys-apps/iproute2-2.6.19.20061214[-minimal]
+ gnutls? ( net-libs/gnutls:0= )
+ !gnutls? ( dev-libs/openssl:0= )"
+RDEPEND="${DEPEND}
+ >=net-vpn/vpnc-scripts-20210402-r1
+ resolvconf? ( virtual/resolvconf )
+ selinux? ( sec-policy/selinux-vpn )"
+
+CONFIG_CHECK="~TUN"
+
+S="${WORKDIR}/${MY_P}"
+PATCHES=( "${FILESDIR}"/${MY_P}-var-run-fhs-3.0.patch )
+
+src_configure() {
+ tc-export CC
+ export OPENSSL_GPL_VIOLATION=$(usex !gnutls)
+}
+
+src_install() {
+ emake PREFIX="/usr" DESTDIR="${ED}" install
+ dodoc README.md TODO VERSION
+
+ keepdir /etc/vpnc/scripts.d
+ newinitd "${FILESDIR}"/vpnc-3.init vpnc
+ newconfd "${FILESDIR}"/vpnc.confd vpnc
+ # Use the newer version from net-vpn/vpnc-scripts
+ rm "${ED}"/etc/vpnc/vpnc-script || die
+
+ dotmpfiles "${FILESDIR}"/vpnc-tmpfiles.conf
+ systemd_newunit "${FILESDIR}"/vpnc.service vpnc@.service
+
+ # COPYING file resides here, should not be installed
+ rm -r "${ED}"/usr/share/doc/vpnc/ || die
+}
+
+pkg_postinst() {
+ tmpfiles_process vpnc-tmpfiles.conf
+
+ elog "You can generate a configuration file from the original Cisco profiles of your"
+ elog "connection by using /usr/bin/pcf2vpnc to convert the .pcf file"
+ elog "A guide is available at https://wiki.gentoo.org/wiki/Vpnc"
+
+ if use gnutls; then
+ elog "Will build with GnuTLS (default) instead of OpenSSL so you may even redistribute binaries."
+ elog "See the Makefile itself and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318"
+ else
+ ewarn "Building SSL support with OpenSSL instead of GnuTLS. This means that"
+ ewarn "you are not allowed to re-distibute the binaries due to conflicts between BSD license and GPL,"
+ ewarn "see the vpnc Makefile and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318"
+ fi
+}
next reply other threads:[~2021-10-10 19:08 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-10 19:08 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-07 11:51 [gentoo-commits] repo/gentoo:master commit in: net-vpn/vpnc/ Sam James
2024-03-07 11:51 Sam James
2024-03-07 11:51 Sam James
2024-03-07 11:51 Sam James
2024-03-07 11:51 Sam James
2024-03-07 10:28 Sam James
2024-03-07 10:28 Sam James
2024-01-29 10:20 David Seifert
2024-01-29 10:12 David Seifert
2024-01-22 13:37 David Seifert
2024-01-22 13:37 David Seifert
2023-02-19 16:38 Sam James
2023-02-19 12:55 Arthur Zamarin
2023-02-19 12:55 Arthur Zamarin
2023-02-19 12:55 Arthur Zamarin
2023-02-19 12:55 Arthur Zamarin
2023-02-19 12:55 Arthur Zamarin
2023-02-19 12:25 Sam James
2023-01-13 18:06 Mike Gilbert
2023-01-13 18:05 Mike Gilbert
2022-11-29 18:06 WANG Xuerui
2022-09-27 9:55 David Seifert
2022-09-27 9:55 David Seifert
2022-09-18 9:32 David Seifert
2022-09-17 17:08 David Seifert
2022-09-17 16:20 Sam James
2021-10-16 22:05 Sam James
2021-10-14 18:32 Sam James
2021-10-14 16:38 Sam James
2021-10-14 5:57 Agostino Sarubbo
2021-10-14 5:56 Agostino Sarubbo
2021-10-13 20:33 Sam James
2021-07-24 23:02 Marek Szuba
2020-06-15 9:58 David Seifert
2020-06-12 7:55 Agostino Sarubbo
2020-06-12 7:54 Agostino Sarubbo
2020-06-12 7:53 Agostino Sarubbo
2020-06-12 7:52 Agostino Sarubbo
2020-06-12 7:51 Agostino Sarubbo
2020-06-11 22:08 Mart Raudsepp
2020-06-11 18:01 Sergei Trofimovich
2020-04-14 9:47 David Seifert
2020-04-14 8:35 Joonas Niilola
2019-06-01 19:23 Michał Górny
2019-05-24 20:48 Aaron Bauman
2019-01-17 6:24 Matt Turner
2018-11-08 19:01 Mike Auty
2018-05-20 0:16 Aaron Bauman
2017-07-17 10:18 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1633892764.8a45aee959d1d2f1469c2c343a8e951c2bb79d1b.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox