summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-01-18 00:43:10 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-01-18 00:43:10 +0000
commitd8c8e99fb3335024294085d1914e031a3ce5c721 (patch)
tree3564e5b636a74dd3db6b7631d5d197609bb1a56a /net-dialup
parentFixed install path. (diff)
downloadhistorical-d8c8e99fb3335024294085d1914e031a3ce5c721.tar.gz
historical-d8c8e99fb3335024294085d1914e031a3ce5c721.tar.bz2
historical-d8c8e99fb3335024294085d1914e031a3ce5c721.zip
enable radius
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/ppp/ChangeLog5
-rw-r--r--net-dialup/ppp/Manifest4
-rw-r--r--net-dialup/ppp/ppp-2.4.2_beta3-r1.ebuild26
3 files changed, 23 insertions, 12 deletions
diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog
index 147ffd0d3afd..0eb3bdb3a800 100644
--- a/net-dialup/ppp/ChangeLog
+++ b/net-dialup/ppp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/ppp
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.45 2004/01/17 18:41:33 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.46 2004/01/18 00:42:38 lanius Exp $
+
+ 18 Jan 2004; Heinrich Wendel <lanius@gentoo.org> ppp-2.4.2_beta3-r1.ebuild:
+ enable radius
17 Jan 2004; Heinrich Wendel <lanius@gentoo.org> files/2.4.2b3/ip-down,
files/2.4.2b3/ip-up:
diff --git a/net-dialup/ppp/Manifest b/net-dialup/ppp/Manifest
index 86db92976681..a3a844d45496 100644
--- a/net-dialup/ppp/Manifest
+++ b/net-dialup/ppp/Manifest
@@ -1,6 +1,6 @@
-MD5 189de8d4703c6e1e072e147077c7d720 ppp-2.4.2_beta3-r1.ebuild 3575
+MD5 51457a2491f5e903b350d582b49f7c51 ppp-2.4.2_beta3-r1.ebuild 3877
MD5 7226a185b85b8dd36ce1eefb89ec2505 ppp-2.4.1-r14.ebuild 4617
-MD5 50299c59e201565d030e508e386e63ae ChangeLog 8142
+MD5 cabf1778c1d6e6a55f25ac9f26d3d808 ChangeLog 8237
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
MD5 4e62cdeb360ca0a22becbd2deb6f2dac files/pon 957
MD5 86cdaf133f7a79fb464f02d83afc7734 files/plog 146
diff --git a/net-dialup/ppp/ppp-2.4.2_beta3-r1.ebuild b/net-dialup/ppp/ppp-2.4.2_beta3-r1.ebuild
index 82bc632e0af1..8a5472836461 100644
--- a/net-dialup/ppp/ppp-2.4.2_beta3-r1.ebuild
+++ b/net-dialup/ppp/ppp-2.4.2_beta3-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.2_beta3-r1.ebuild,v 1.4 2003/12/27 14:37:21 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.2_beta3-r1.ebuild,v 1.5 2004/01/18 00:42:38 lanius Exp $
MY_PV=${PV/_beta/b}
MY_P=${PN}-${MY_PV}
@@ -43,17 +43,15 @@ src_unpack() {
einfo "Enabling CBCP"
sed -i 's/^#CBCP=y/CBCP=y/' pppd/Makefile.linux
+
+ einfo "Enabling radius"
+ sed -i -e 's/SUBDIRS := rp-pppoe/SUBDIRS := rp-pppoe radius/' pppd/plugins/Makefile.linux
}
src_compile() {
- cd ${S}
-
- # compile radiusclient better than their makefile does
- cd pppd/plugins/radius/radiusclient
- econf
- emake
+ # compile radius better than their makefile does
+ (cd pppd/plugins/radius/radiusclient; econf; emake) || die
- cd ${S}
./configure --prefix=/usr || die
emake COPTS="${CFLAGS}" || die
}
@@ -113,6 +111,16 @@ src_install() {
doins scripts/chatchat/*
insinto /usr/share/doc/${PF}/scripts
doins scripts/*
+
+ # install radius
+ cd pppd/plugins/radius
+ dolib.so radius.so
+ dolib.so radattr.so
+ dolib.so radrealms.so
+ doman pppd-radius.8
+ doman pppd-radattr.8
+ cd radiusclient
+ make DESTDIR=${D} install || die
}
pkg_postinst() {