summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2005-02-06 11:41:02 +0000
committerPhil Blundell <philb@gnu.org>2005-02-06 11:41:02 +0000
commit6e9d83c371c1cbd3ec19ee3ae4de0b10ab605d3d (patch)
treea5c604d867c237620e5fe28cd66b3dd4571e8d08 /packages
parent99309be8eab45d5b4728a0f7550430e7cb7a5590 (diff)
apply patch from Paul Eggleton to improve resolv.conf handling in pppd
BKrev: 4206024exNBinWkIAE44jixm6Awjaw
Diffstat (limited to 'packages')
-rw-r--r--packages/ppp/ppp-2.4.1/08setupdns0
-rw-r--r--packages/ppp/ppp-2.4.1/92removedns0
-rw-r--r--packages/ppp/ppp-2.4.1/pppd-resolv-varrun.patch0
-rw-r--r--packages/ppp/ppp_2.4.1.bb9
4 files changed, 7 insertions, 2 deletions
diff --git a/packages/ppp/ppp-2.4.1/08setupdns b/packages/ppp/ppp-2.4.1/08setupdns
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ppp/ppp-2.4.1/08setupdns
diff --git a/packages/ppp/ppp-2.4.1/92removedns b/packages/ppp/ppp-2.4.1/92removedns
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ppp/ppp-2.4.1/92removedns
diff --git a/packages/ppp/ppp-2.4.1/pppd-resolv-varrun.patch b/packages/ppp/ppp-2.4.1/pppd-resolv-varrun.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ppp/ppp-2.4.1/pppd-resolv-varrun.patch
diff --git a/packages/ppp/ppp_2.4.1.bb b/packages/ppp/ppp_2.4.1.bb
index d9ba592f77..b952865e3d 100644
--- a/packages/ppp/ppp_2.4.1.bb
+++ b/packages/ppp/ppp_2.4.1.bb
@@ -2,17 +2,20 @@ SECTION = "console/network"
DESCRIPTION = "Point-to-Point Protocol (PPP) daemon"
HOMEPAGE = "http://samba.org/ppp/"
LICENSE = "BSD GPLv2"
-PR = "r5"
+PR = "r6"
SRC_URI = "ftp://ftp.samba.org/pub/ppp/ppp-2.4.1.tar.gz \
file://pppd.patch;patch=1 \
file://man.patch;patch=1 \
file://cifdefroute.dif;patch=1 \
+ file://pppd-resolv-varrun.patch;patch=1 \
file://pon \
file://poff \
file://init \
file://ip-up \
- file://ip-down"
+ file://ip-down \
+ file://08setupdns \
+ file://92removedns"
inherit autotools
@@ -28,6 +31,8 @@ do_install_append () {
install -m 0755 ${WORKDIR}/ip-down ${D}${sysconfdir}/ppp/
install -d ${D}${sysconfdir}/ppp/ip-up.d/
install -d ${D}${sysconfdir}/ppp/ip-down.d/
+ install -m 0755 ${WORKDIR}/08setupdns ${D}${sysconfdir}/ppp/ip-up.d/
+ install -m 0755 ${WORKDIR}/92removedns ${D}${sysconfdir}/ppp/ip-down.d/
}
CONFFILES_${PN}_nylon = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets"