From f046ecd07df232b3a5a6a3097fd28df29200bff6 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Fri, 8 May 2020 20:14:20 +0200 Subject: [PATCH] net-dialup/freeradius-client: New ebuild --- net-dialup/freeradius-client/Manifest | 1 + .../freeradius-client-1.1.7.ebuild | 42 +++++++++++++++++++ net-dialup/freeradius-client/metadata.xml | 26 ++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 net-dialup/freeradius-client/Manifest create mode 100644 net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild create mode 100644 net-dialup/freeradius-client/metadata.xml diff --git a/net-dialup/freeradius-client/Manifest b/net-dialup/freeradius-client/Manifest new file mode 100644 index 0000000..a38c054 --- /dev/null +++ b/net-dialup/freeradius-client/Manifest @@ -0,0 +1 @@ +DIST freeradius-client-1.1.7.tar.gz 433141 BLAKE2B 3a1ba65eb8b66d28362fd66a905af0a4e12b67e664da2c64dab87616e3787cded58d0c3bf56705bdb879d41f1a9a984cf5256b06eeb382209caebf748f679e12 SHA512 20e79ec97da79f46b334e1c2880803a692885a4038196a4d016094d349f675e2d0521d921140c5ab06703008619417f7a20d3e90cdfc7b3578faccbd232be0ce diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild b/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild new file mode 100644 index 0000000..22c5833 --- /dev/null +++ b/net-dialup/freeradius-client/freeradius-client-1.1.7.ebuild @@ -0,0 +1,42 @@ +# 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 doc/login.example doc/release-method.txt doc/instop.html +) + +src_prepare() { + default + mv configure.in configure.ac + eautoreconf +} + +src_configure() { + econf \ + $(use_enable scp) \ + $(use_enable shadow) \ + --with-secure-path +} + +src_install() { + default + emake DESTDIR="${D}" install + newdoc doc/README README.login.example +} diff --git a/net-dialup/freeradius-client/metadata.xml b/net-dialup/freeradius-client/metadata.xml new file mode 100644 index 0000000..597f77a --- /dev/null +++ b/net-dialup/freeradius-client/metadata.xml @@ -0,0 +1,26 @@ + + + + + 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 + +