From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/radiusclient-ng/files/, net-dialup/radiusclient-ng/
Date: Sat, 27 Feb 2021 01:00:29 +0000 (UTC) [thread overview]
Message-ID: <1614387617.e0cd13956a3b5c9c552f936d1e67e229d0fae5e9.sam@gentoo> (raw)
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
}
reply other threads:[~2021-02-27 1:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1614387617.e0cd13956a3b5c9c552f936d1e67e229d0fae5e9.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox