summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-27 00:55:04 +0000
committerSam James <sam@gentoo.org>2021-02-27 01:00:17 +0000
commite0cd13956a3b5c9c552f936d1e67e229d0fae5e9 (patch)
treea0b852919e9b06eb725afcaa5ba9ad3ad356521d /net-dialup/radiusclient-ng
parentsys-libs/libstatgrab: bump to 0.92 (diff)
downloadgentoo-e0cd13956a3b5c9c552f936d1e67e229d0fae5e9.tar.gz
gentoo-e0cd13956a3b5c9c552f936d1e67e229d0fae5e9.tar.bz2
gentoo-e0cd13956a3b5c9c552f936d1e67e229d0fae5e9.zip
net-dialup/radiusclient-ng: port to EAPI 7
Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dialup/radiusclient-ng')
-rw-r--r--net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch4
-rw-r--r--net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild22
2 files changed, 17 insertions, 9 deletions
diff --git a/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch b/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch
index ff11d841bcec..4fd5c720359c 100644
--- a/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch
+++ b/net-dialup/radiusclient-ng/files/radiusclient-ng-0.5.6-cross-compile.patch
@@ -3,8 +3,8 @@ Fix by Bertrand Jacquin <beber AT meleeweb.net>
Gentoo bugreport: https://bugs.gentoo.org/show_bug.cgi?id=373365
Upstream bugreport: https://developer.berlios.de/bugs/?func=detailbug&bug_id=18190&group_id=1208
---- configure.in.orig 2011-06-28 16:26:10.000000000 +0200
-+++ configure.in 2011-06-28 16:26:12.000000000 +0200
+--- a/configure.in
++++ b/configure.in
@@ -104,32 +104,40 @@
AC_CHECK_FUNCS(flock fcntl uname gethostname sysinfo getdomainname)
AC_CHECK_FUNCS(stricmp random rand snprintf vsnprintf)
diff --git a/net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild b/net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild
index cc56f4a66300..ab13afb91518 100644
--- a/net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild
+++ b/net-dialup/radiusclient-ng/radiusclient-ng-0.5.6-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-AUTOTOOLS_AUTORECONF=1
-inherit autotools-utils eutils toolchain-funcs
+inherit autotools toolchain-funcs
DESCRIPTION="RadiusClient NextGeneration - library for RADIUS clients"
HOMEPAGE="https://sourceforge.net/projects/radiusclient-ng.berlios/"
@@ -13,7 +12,6 @@ SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc x86"
-IUSE="static-libs"
DEPEND="!net-dialup/radiusclient
!net-dialup/freeradius-client"
@@ -22,14 +20,24 @@ RDEPEND="${DEPEND}"
DOCS=( BUGS CHANGES README )
HTML_DOCS=( doc/instop.html )
-PATCHES=( "${FILESDIR}/${P}-cross-compile.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-cross-compile.patch"
+)
src_prepare() {
+ default
+
+ mv configure.{in,ac} || die
+
+ eautoreconf
+}
+
+src_configure() {
# bug #373365
if tc-is-cross-compiler ; then
export ac_cv_file__dev_urandom=yes
export ac_cv_struct_utsname=no
fi
- autotools-utils_src_prepare
+ econf
}