summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/ppp')
-rw-r--r--net-dialup/ppp/ChangeLog5
-rw-r--r--net-dialup/ppp/files/ip-up13
-rw-r--r--net-dialup/ppp/ppp-2.4.1-r11.ebuild7
3 files changed, 22 insertions, 3 deletions
diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog
index 1c71ce09adfb..74077c1a5baf 100644
--- a/net-dialup/ppp/ChangeLog
+++ b/net-dialup/ppp/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for net-dialup/ppp
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.11 2002/09/16 00:26:25 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.12 2002/11/13 22:22:42 hannes Exp $
*ppp-2.4.1-r11 (28 Aug 2002)
+ 13 Nov 2002; Hannes Mehnert <hannes@gentoo.org> ppp-2.4.1-r11.ebuild :
+ added sample /etc/ppp/ip-up script submitted in bug #8609, added IUSE
+
16 Sep 2002; Maarten Thibaut <murphy@gentoo.org> ppp-2.4.1-r11.ebuild :
Added sparc and sparc64 keywords. Revamped ChangeLog layout.
diff --git a/net-dialup/ppp/files/ip-up b/net-dialup/ppp/files/ip-up
new file mode 100644
index 000000000000..8f950b4b8238
--- /dev/null
+++ b/net-dialup/ppp/files/ip-up
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# this is a script which is executed after connecting the ppp interface.
+# look at man pppd for details
+
+# the followings parameters are available:
+# $1 = interface-name
+# $2 = tty-device
+# $3 = speed
+# $4 = local-IP-address
+# $5 = remote-IP-address
+# $6 = ipparam
+
diff --git a/net-dialup/ppp/ppp-2.4.1-r11.ebuild b/net-dialup/ppp/ppp-2.4.1-r11.ebuild
index 258659a33dc0..95b2c2fb51fd 100644
--- a/net-dialup/ppp/ppp-2.4.1-r11.ebuild
+++ b/net-dialup/ppp/ppp-2.4.1-r11.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2002 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.1-r11.ebuild,v 1.4 2002/09/16 00:26:25 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.1-r11.ebuild,v 1.5 2002/11/13 22:22:42 hannes Exp $
+IUSE="crypt ipv6"
S=${WORKDIR}/${P}.pppoe4
DESCRIPTION="Point-to-point protocol - patched for pppoe"
SRC_URI="mirror://gentoo/${P}-pppoe4.tgz"
@@ -80,6 +81,8 @@ src_install() {
doins etc.ppp/pap-secrets etc.ppp/chap-secrets
insopts -m0644
doins etc.ppp/options
+ insopts -m0755
+ doins ${FILESDIR}/ip-up
dolib.so pppd/plugins/minconn.so
dolib.so pppd/plugins/passprompt.so
@@ -109,7 +112,7 @@ pkg_postinst() {
fi
if [ "$ROOT" = "/" ]
then
- /usr/sbin/update-modules
+ /sbin/update-modules
fi
einfo "to enable kernel-pppoe read html/pppoe.html in the doc-directory"
}