summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-06-14 11:09:41 +0000
committerAlin Năstac <mrness@gentoo.org>2008-06-14 11:09:41 +0000
commit25caba86e432728738b5744abd9196f644d4b282 (patch)
treea59d97233780436af5d195feb173a4793a601e9d /net-dialup/freeradius
parentForce manifest regen (Attic/ issue). (diff)
downloadgentoo-2-25caba86e432728738b5744abd9196f644d4b282.tar.gz
gentoo-2-25caba86e432728738b5744abd9196f644d4b282.tar.bz2
gentoo-2-25caba86e432728738b5744abd9196f644d4b282.zip
Fix bugs #225725 and #225937, thanks to Mathieu Segaud <mathieu.segaud@regala.cx>
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-dialup/freeradius')
-rw-r--r--net-dialup/freeradius/ChangeLog10
-rw-r--r--net-dialup/freeradius/files/freeradius-2.0.4-gnu-source.patch12
-rw-r--r--net-dialup/freeradius/freeradius-2.0.4-r1.ebuild (renamed from net-dialup/freeradius/freeradius-2.0.4.ebuild)9
3 files changed, 27 insertions, 4 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog
index 9c3b250318ce..a56348a872c5 100644
--- a/net-dialup/freeradius/ChangeLog
+++ b/net-dialup/freeradius/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-dialup/freeradius
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.78 2008/05/21 18:53:24 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.79 2008/06/14 11:09:41 mrness Exp $
+
+*freeradius-2.0.4-r1 (14 Jun 2008)
+
+ 14 Jun 2008; Alin Năstac <mrness@gentoo.org>
+ +files/freeradius-2.0.4-gnu-source.patch, -freeradius-2.0.4.ebuild,
+ +freeradius-2.0.4-r1.ebuild:
+ Fix bugs #225725 and #225937, thanks to Mathieu Segaud
+ <mathieu.segaud@regala.cx>.
21 May 2008; Tiziano Müller <dev-zero@gentoo.org>
freeradius-1.1.7.ebuild, freeradius-2.0.3.ebuild, freeradius-2.0.4.ebuild:
diff --git a/net-dialup/freeradius/files/freeradius-2.0.4-gnu-source.patch b/net-dialup/freeradius/files/freeradius-2.0.4-gnu-source.patch
new file mode 100644
index 000000000000..704004cc1dcd
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-2.0.4-gnu-source.patch
@@ -0,0 +1,12 @@
+--- freeradius-server-2.0.4.orig/configure.in 2008-04-26 17:10:09.000000000 +0200
++++ freeradius-server-2.0.4/configure.in 2008-06-13 14:18:04.000000000 +0200
+@@ -38,6 +38,9 @@
+ dnl #
+ dnl #############################################################
+
++dnl Define _GNU_SOURCE, this should be done before any feature test.
++AC_DEFINE(_GNU_SOURCE, 1, [Define on Linux to activate all library features])
++
+ dnl Check for GNU cc
+ AC_PROG_CC
+ AC_PROG_CXX
diff --git a/net-dialup/freeradius/freeradius-2.0.4.ebuild b/net-dialup/freeradius/freeradius-2.0.4-r1.ebuild
index 50f223431770..00f04dea3eb6 100644
--- a/net-dialup/freeradius/freeradius-2.0.4.ebuild
+++ b/net-dialup/freeradius/freeradius-2.0.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-2.0.4.ebuild,v 1.2 2008/05/21 18:53:24 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-2.0.4-r1.ebuild,v 1.1 2008/06/14 11:09:41 mrness Exp $
WANT_AUTOMAKE="none"
@@ -13,7 +13,8 @@ HOMEPAGE="http://www.freeradius.org/"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
LICENSE="GPL-2"
SLOT="0"
-IUSE="bindist debug edirectory firebird frascend frxp kerberos ldap mysql pam postgres snmp ssl threads udpfromto"
+IUSE="bindist debug edirectory firebird frascend frxp kerberos ldap mysql pam postgres snmp ssl threads udpfromto \
+ elibc_glibc"
RDEPEND="!net-dialup/cistronradius
!net-dialup/gnuradius
@@ -49,6 +50,7 @@ src_unpack() {
epatch "${FILESDIR}/${P}-versionless-la-files.patch"
epatch "${FILESDIR}/${P}-ssl.patch"
+ use elibc_glibc && epatch "${FILESDIR}/${P}-gnu-source.patch"
cd "${S}"
@@ -85,6 +87,7 @@ src_unpack() {
sed -i -e '/rlm_sql_firebird/d' src/modules/rlm_sql/stable
fi
+ eautoheader || die "eautoheaders failed"
eautoconf || die "eautoconf failed"
}
@@ -103,7 +106,7 @@ src_compile() {
myconf="${myconf} --enable-heimdal-krb5"
fi
- econf --disable-ltdl-install \
+ econf --disable-ltdl-install --with-system-libtool \
--localstatedir=/var ${myconf} || die "econf failed"
make || die "make failed"