net-dialup/freeradius-client: New ebuild

This commit is contained in:
Alarig Le Lay 2020-05-08 20:14:20 +02:00
parent a4367e6481
commit f046ecd07d
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST freeradius-client-1.1.7.tar.gz 433141 BLAKE2B 3a1ba65eb8b66d28362fd66a905af0a4e12b67e664da2c64dab87616e3787cded58d0c3bf56705bdb879d41f1a9a984cf5256b06eeb382209caebf748f679e12 SHA512 20e79ec97da79f46b334e1c2880803a692885a4038196a4d016094d349f675e2d0521d921140c5ab06703008619417f7a20d3e90cdfc7b3578faccbd232be0ce

View file

@ -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
}

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alarig@swordarmor.fr</email>
<name>Alarig Le Lay</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@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>