summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-02-19 21:26:14 +0000
committertron <tron@pkgsrc.org>2001-02-19 21:26:14 +0000
commit8fb8d7a91e80ecc29aea4d565375c249dc51835c (patch)
tree6f10bf31eaf9c336d26584c6e5718d21e45ee5b8
parent2670c125b772400ef03c4409d6495e978901a624 (diff)
downloadpkgsrc-8fb8d7a91e80ecc29aea4d565375c249dc51835c.tar.gz
Fix "adsl-setup" to create "/etc/resolv.conf" public readable. Problem
noted by Hubert Feyrer.
-rw-r--r--net/rp-pppoe/files/patch-sum3
-rw-r--r--net/rp-pppoe/patches/patch-ab12
2 files changed, 14 insertions, 1 deletions
diff --git a/net/rp-pppoe/files/patch-sum b/net/rp-pppoe/files/patch-sum
index 3e69e7e3772..0165257c201 100644
--- a/net/rp-pppoe/files/patch-sum
+++ b/net/rp-pppoe/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.5 2001/01/30 20:33:25 tron Exp $
+$NetBSD: patch-sum,v 1.6 2001/02/19 21:26:14 tron Exp $
MD5 (patch-aa) = f2720b8feef48d25799a18fe0de93a95
+MD5 (patch-ab) = d74fad2f3d65de08f6a479e17abef337
diff --git a/net/rp-pppoe/patches/patch-ab b/net/rp-pppoe/patches/patch-ab
new file mode 100644
index 00000000000..ae264215634
--- /dev/null
+++ b/net/rp-pppoe/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.3 2001/02/19 21:26:14 tron Exp $
+
+--- adsl-setup.in.orig Mon Jan 8 15:58:35 2001
++++ adsl-setup.in Mon Feb 19 22:23:47 2001
+@@ -304,6 +304,7 @@
+ if [ "$DNS2" != "" ] ; then
+ $ECHO "nameserver $DNS2" >> /etc/resolv.conf
+ fi
++ chmod 644 /etc/resolv.conf
+ fi
+ fi
+