From 36a57c18e98b08580cecec18f3c941c1e2fed283 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Fri, 13 Jan 2023 13:06:22 -0500 Subject: net-vpn/vpnc: sync live ebuild Bug: https://bugs.gentoo.org/884093 Signed-off-by: Mike Gilbert --- net-vpn/vpnc/vpnc-9999.ebuild | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'net-vpn/vpnc') diff --git a/net-vpn/vpnc/vpnc-9999.ebuild b/net-vpn/vpnc/vpnc-9999.ebuild index d62312b59c91..5f4e12444a64 100644 --- a/net-vpn/vpnc/vpnc-9999.ebuild +++ b/net-vpn/vpnc/vpnc-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ else SRC_URI=" https://api.github.com/repos/streambinder/vpnc/tarball/fdd0de7 -> ${P}.tar.gz https://dev.gentoo.org/~soap/distfiles/${PN}-0.5.3-docs.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" fi LICENSE="GPL-3" @@ -54,15 +54,19 @@ src_configure() { } src_install() { - emake PREFIX="${EPREFIX}"/usr DOCDIR='$(PREFIX)'/share/doc/${PF} DESTDIR="${D}" install + local args=( + PREFIX="${EPREFIX}"/usr + DOCDIR='$(PREFIX)'/share/doc/${PF} + SYSTEMDDIR="$(systemd_get_systemunitdir)" + DESTDIR="${D}" + ) + + emake "${args[@]}" install keepdir /etc/vpnc/scripts.d newinitd "${FILESDIR}"/vpnc-3.init vpnc newconfd "${FILESDIR}"/vpnc.confd vpnc - dotmpfiles "${FILESDIR}"/vpnc-tmpfiles.conf - systemd_newunit "${FILESDIR}"/vpnc.service vpnc@.service - # LICENSE file resides here, should not be installed rm -r "${ED}"/usr/share/licenses || die } -- cgit v1.2.3-65-gdbad