summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-09-30 07:09:16 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-09-30 07:09:16 +0000
commit321e530e21ee5f223c17a2c4e9136c9822860d5b (patch)
treed033f1f11fba936508211fe3afd2d26f0f4fae97 /net-dialup
parentRemove stale patches. Version bump, ebuild and init script rewrite: patches a... (diff)
downloadgentoo-2-321e530e21ee5f223c17a2c4e9136c9822860d5b.tar.gz
gentoo-2-321e530e21ee5f223c17a2c4e9136c9822860d5b.tar.bz2
gentoo-2-321e530e21ee5f223c17a2c4e9136c9822860d5b.zip
Fix configuration file sed; fix Python handling (solves bug #315091).
(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/freeradius/ChangeLog5
-rw-r--r--net-dialup/freeradius/freeradius-2.2.0.ebuild8
2 files changed, 8 insertions, 5 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog
index 7a6cb555384f..51ffa92509ee 100644
--- a/net-dialup/freeradius/ChangeLog
+++ b/net-dialup/freeradius/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/freeradius
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.104 2012/09/30 07:01:04 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.105 2012/09/30 07:09:16 flameeyes Exp $
+
+ 30 Sep 2012; Diego E. Pettenò <flameeyes@gentoo.org> freeradius-2.2.0.ebuild:
+ Fix configuration file sed; fix Python handling (solves bug #315091).
*freeradius-2.2.0 (30 Sep 2012)
diff --git a/net-dialup/freeradius/freeradius-2.2.0.ebuild b/net-dialup/freeradius/freeradius-2.2.0.ebuild
index 317ef2ae7614..9246a5a0e2cb 100644
--- a/net-dialup/freeradius/freeradius-2.2.0.ebuild
+++ b/net-dialup/freeradius/freeradius-2.2.0.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-2.2.0.ebuild,v 1.1 2012/09/30 07:01:04 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-2.2.0.ebuild,v 1.2 2012/09/30 07:09:16 flameeyes Exp $
EAPI=4
PATCHSET=4
-inherit eutils pam autotools user
+inherit eutils pam autotools user python
MY_P="${PN}-server-${PV}"
@@ -29,7 +29,7 @@ RDEPEND="!net-dialup/cistronradius
sys-devel/libtool
dev-lang/perl
sys-libs/gdbm
- python? ( dev-lang/python )
+ python? ( >=dev-lang/python-2.4 )
readline? ( sys-libs/readline )
pcap? ( net-libs/libpcap )
mysql? ( virtual/mysql )
@@ -148,7 +148,7 @@ src_install() {
emake R="${D}" install
chown -R root:radius "${D}"/etc/raddb
- sed -i -e '/run_dir/s:=.*:=/var/run/radiusd:' \
+ sed -i -e '/run_dir =/s:=.*:=/var/run/radiusd:' \
"${D}"/etc/raddb/radiusd.conf
pamd_mimic_system radiusd auth account password session