* [gentoo-commits] repo/gentoo:master commit in: net-dialup/radiusclient-ng/files/, net-dialup/radiusclient-ng/
@ 2021-02-27 1:00 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2021-02-27 1:00 UTC (permalink / raw
To: gentoo-commits
commit: e0cd13956a3b5c9c552f936d1e67e229d0fae5e9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 00:55:04 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 01:00:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0cd1395
net-dialup/radiusclient-ng: port to EAPI 7
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../radiusclient-ng-0.5.6-cross-compile.patch | 4 ++--
.../radiusclient-ng-0.5.6-r1.ebuild | 22 +++++++++++++++-------
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 ff11d841bce..4fd5c720359 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 cc56f4a6630..ab13afb9151 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
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-27 1:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-27 1:00 [gentoo-commits] repo/gentoo:master commit in: net-dialup/radiusclient-ng/files/, net-dialup/radiusclient-ng/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox