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@swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/15716
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Alarig Le Lay
2020-05-08 20:23:28 +02:00
committed by Joonas Niilola
parent cb71561ce9
commit ebb3f3e5b7
2 changed files with 70 additions and 12 deletions

View File

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

View File

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