You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.0 KiB
57 lines
1.0 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
4 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
4 years ago
|
inherit autotools
|
||
4 years ago
|
|
||
|
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"
|
||
3 years ago
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
|
||
4 years ago
|
|
||
|
IUSE="scp shadow static-libs"
|
||
|
|
||
3 years ago
|
DEPEND="
|
||
|
!net-dialup/radiusclient-ng
|
||
|
virtual/libcrypt:=
|
||
|
"
|
||
4 years ago
|
RDEPEND="${DEPEND}"
|
||
|
|
||
|
DOCS=(
|
||
|
BUGS doc/{ChangeLog,login.example,release-method.txt,instop.html}
|
||
|
README.{radexample,rst}
|
||
|
)
|
||
|
|
||
4 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${PN}-1.1.7-ar-configure.in.patch"
|
||
|
)
|
||
|
|
||
4 years ago
|
src_prepare() {
|
||
|
default
|
||
|
mv configure.in configure.ac || die \
|
||
|
"Renaming configure.in to configure.ac failed"
|
||
4 years ago
|
|
||
4 years ago
|
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
|
||
|
}
|