summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-08 23:36:28 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-08 23:45:48 -0400
commitadcc03ee7b5281d4788974d59b77a3438a0784ea (patch)
tree909a9a56ea3ea2d8a9f416129ef85846b87efbb0 /net-dialup/rp-l2tp
parentmedia-sound/flac123: fix build with upcoming clang16 (diff)
downloadgentoo-adcc03ee7b5281d4788974d59b77a3438a0784ea.tar.gz
gentoo-adcc03ee7b5281d4788974d59b77a3438a0784ea.tar.bz2
gentoo-adcc03ee7b5281d4788974d59b77a3438a0784ea.zip
net-dialup/rp-l2tp: EAPI6->8, adjust license
This is GPL-2+ but still need GPL-2 for the init script which is our own thing and would rather be represented separately. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-dialup/rp-l2tp')
-rw-r--r--net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild b/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
index 7d468429c0ac..4f1409b76517 100644
--- a/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
+++ b/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
inherit toolchain-funcs
DESCRIPTION="User-space implementation of L2TP for Linux and other UNIX systems"
HOMEPAGE="https://sourceforge.net/projects/rp-l2tp/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ~ppc x86"
+LICENSE="GPL-2+ GPL-2"
SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
PATCHES=(
"${FILESDIR}/${P}-gentoo.patch"
@@ -20,18 +21,20 @@ PATCHES=(
)
src_prepare() {
- tc-export AR CC RANLIB
default
+
+ tc-export AR CC
}
src_install() {
emake RPM_INSTALL_ROOT="${D}" install
-
einstalldocs
+
newdoc l2tp.conf rp-l2tpd.conf
+
docinto libevent
- dodoc libevent/Doc/*
- docompress -x "/usr/share/doc/${PF}/libevent"
+ dodoc -r libevent/Doc/.
+ docompress -x /usr/share/doc/${PF}/libevent
- newinitd "${FILESDIR}/rp-l2tpd-init" rp-l2tpd
+ newinitd "${FILESDIR}"/rp-l2tpd-init rp-l2tpd
}