summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dialup/freeradius/ChangeLog5
-rw-r--r--net-dialup/freeradius/freeradius-3.0.2-r1.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog
index c482d7f9bdbe..bb27300f8401 100644
--- a/net-dialup/freeradius/ChangeLog
+++ b/net-dialup/freeradius/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/freeradius
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.122 2014/05/04 17:24:29 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.123 2014/05/04 23:53:03 jer Exp $
+
+ 04 May 2014; Jeroen Roovers <jer@gentoo.org> freeradius-3.0.2-r1.ebuild:
+ Fix run_dir sed script.
*freeradius-3.0.2-r1 (04 May 2014)
diff --git a/net-dialup/freeradius/freeradius-3.0.2-r1.ebuild b/net-dialup/freeradius/freeradius-3.0.2-r1.ebuild
index 0bce115074df..d7c586e609a8 100644
--- a/net-dialup/freeradius/freeradius-3.0.2-r1.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-3.0.2-r1.ebuild,v 1.1 2014/05/04 17:24:29 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-3.0.2-r1.ebuild,v 1.2 2014/05/04 23:53:03 jer Exp $
EAPI=5
@@ -99,7 +99,10 @@ src_prepare() {
fi
}
- sed -i -e 's:/var/run/radiusd:/run/radiusd:' raddb/radiusd.conf.in || die
+ sed -i \
+ -e 's:/var/run/radiusd:/run/radiusd:g' \
+ -e '/^run_dir/s:${localstatedir}::g' \
+ raddb/radiusd.conf.in || die
# verbosity
# build shared libraries using jlibtool --shared