commit: ebb3f3e5b75db303953c6e5ea609a7f066ef0507 Author: Alarig Le Lay <alarig <AT> swordarmor <DOT> fr> AuthorDate: Fri May 8 18:23:28 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sun Jun 14 10:59:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb3f3e5
net-dialup/freeradius-client: Switching to EAPI 7 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr> Closes: https://github.com/gentoo/gentoo/pull/15716 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> .../freeradius-client-1.1.7-r1.ebuild | 48 ++++++++++++++++++++++ net-dialup/freeradius-client/metadata.xml | 34 +++++++++------ 2 files changed, 70 insertions(+), 12 deletions(-) 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 00000000000..f9ac8661b09 --- /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 2a085401d81..597f77ab7b7 100644 --- a/net-dialup/freeradius-client/metadata.xml +++ b/net-dialup/freeradius-client/metadata.xml @@ -1,16 +1,26 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> -<longdescription>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.</longdescription> -<use> - <flag name="scp">Add service type hints derived from username - prefix</flag> - <flag name="shadow">Enable shadow password support</flag> -</use> + <maintainer type="person"> + <email>ala...@swordarmor.fr</email> + <name>Alarig Le Lay</name> + </maintainer> + <maintainer type="project"> + <email>proxy-ma...@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + 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. + </longdescription> + <use> + <flag name="scp"> + Add service type hints derived from username prefix + </flag> + <flag name="shadow">Enable shadow password support</flag> + </use> </pkgmetadata>