From ebb3f3e5b75db303953c6e5ea609a7f066ef0507 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Fri, 8 May 2020 20:23:28 +0200 Subject: net-dialup/freeradius-client: Switching to EAPI 7 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alarig Le Lay Closes: https://github.com/gentoo/gentoo/pull/15716 Signed-off-by: Joonas Niilola --- .../freeradius-client-1.1.7-r1.ebuild | 48 ++++++++++++++++++++++ net-dialup/freeradius-client/metadata.xml | 34 +++++++++------ 2 files changed, 70 insertions(+), 12 deletions(-) create mode 100644 net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild new file mode 100644 index 000000000000..f9ac8661b098 --- /dev/null +++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="FreeRADIUS Client framework" +HOMEPAGE="https://wiki.freeradius.org/project/Radiusclient" +SRC_URI="ftp://ftp.freeradius.org/pub/freeradius/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="scp shadow static-libs" + +DEPEND="!net-dialup/radiusclient-ng" +RDEPEND="${DEPEND}" + +DOCS=( + BUGS doc/{ChangeLog,login.example,release-method.txt,instop.html} + README.{radexample,rst} +) + +src_prepare() { + default + mv configure.in configure.ac || die \ + "Renaming configure.in to configure.ac failed" + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable scp) + $(use_enable shadow) + --with-secure-path + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + newdoc doc/README README.login.example + + use static-libs || \ + find "${ED}" -name '*.a' -delete +} diff --git a/net-dialup/freeradius-client/metadata.xml b/net-dialup/freeradius-client/metadata.xml index 2a085401d81d..597f77ab7b7f 100644 --- a/net-dialup/freeradius-client/metadata.xml +++ b/net-dialup/freeradius-client/metadata.xml @@ -1,16 +1,26 @@ - -FreeRADIUS Client is a framework and library for writing -RADIUS Clients which additionally includes radlogin, a flexible RADIUS -aware login replacement, a command line program to send RADIUS accounting -records, a utility allowing to send RADIUS AAA requests from command -line or from shell scripts and a utility to query the status of a (Merit) -RADIUS server. - - Add service type hints derived from username - prefix - Enable shadow password support - + + alarig@swordarmor.fr + Alarig Le Lay + + + proxy-maint@gentoo.org + Proxy Maintainers + + + FreeRADIUS Client is a framework and library for writing RADIUS Clients + which additionally includes radlogin, a flexible RADIUS aware login + replacement, a command line program to send RADIUS accounting records, a + utility allowing to send RADIUS AAA requests from command line or from + shell scripts and a utility to query the status of a (Merit) RADIUS + server. + + + + Add service type hints derived from username prefix + + Enable shadow password support + -- cgit v1.2.3-65-gdbad