diff options
author | Alin Năstac <mrness@gentoo.org> | 2004-11-11 06:20:53 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2004-11-11 06:20:53 +0000 |
commit | 882cc003cd60f6395ad6421ff56452832c48124c (patch) | |
tree | 1b88a12fdf2c66331d41f3bf81dc43d50be5da49 /net-dialup/isdn4k-utils | |
parent | create resolv.conf with world readable (diff) | |
download | historical-882cc003cd60f6395ad6421ff56452832c48124c.tar.gz historical-882cc003cd60f6395ad6421ff56452832c48124c.tar.bz2 historical-882cc003cd60f6395ad6421ff56452832c48124c.zip |
merge with scripts from ppp ebuild; create resolv.conf with world readable
Diffstat (limited to 'net-dialup/isdn4k-utils')
-rw-r--r-- | net-dialup/isdn4k-utils/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/Manifest | 12 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/files/3.5_p20041024/ip-down | 8 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/files/3.5_p20041024/ip-up | 26 |
4 files changed, 28 insertions, 24 deletions
diff --git a/net-dialup/isdn4k-utils/ChangeLog b/net-dialup/isdn4k-utils/ChangeLog index b6ff9436a98c..d98ead973de3 100644 --- a/net-dialup/isdn4k-utils/ChangeLog +++ b/net-dialup/isdn4k-utils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/isdn4k-utils # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.27 2004/11/10 21:30:05 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.28 2004/11/11 06:20:53 mrness Exp $ + + 11 Nov 2004; Alin Nastac <mrness@gentoo.org> + files/3.5_p20041024/ip-down, files/3.5_p20041024/ip-up: + Merge with ppp scripts: ip-up create resolv.conf with world readable. *isdn4k-utils-3.5_p20041024-r1 (10 Nov 2004) diff --git a/net-dialup/isdn4k-utils/Manifest b/net-dialup/isdn4k-utils/Manifest index 09d20a62da15..0267b4fc9e83 100644 --- a/net-dialup/isdn4k-utils/Manifest +++ b/net-dialup/isdn4k-utils/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 389e9243e16385da17a1facef9ee65a5 ChangeLog 5770 +MD5 a168b5cac63db5c3798bfb8903ddcd92 ChangeLog 5949 MD5 9f4187355b91c0dabfca1b251589f527 isdn4k-utils-3.2_p1-r2.ebuild 2808 MD5 5bfcbc27dc20e18327b61f5df2bbec60 isdn4k-utils-3.2_p1-r3.ebuild 3070 MD5 f18a68edbe338cae044acc49ae9fdd2b isdn4k-utils-3.2_p1-r4.ebuild 3553 @@ -30,8 +30,8 @@ MD5 15ef676fec91271f9a48dc7a1b7e82a2 files/3.2_p1-r4/vbox-makefile.am.patch 1211 MD5 36eadf8ec47ec3bf118cffbf2a42adb5 files/3.5_p20041024/config 2407 MD5 76e9b700a1600d4b74dea30751934c83 files/3.5_p20041024/gentoo.patch 2383 MD5 92412760dfacc81cfac908d522ac8e39 files/3.5_p20041024/ioptions 86 -MD5 9ba5a5507c109df722fcad7ab21279ac files/3.5_p20041024/ip-down 952 -MD5 7db378ace284707286fc611e41579f2d files/3.5_p20041024/ip-up 1095 +MD5 b75b68506a43d3d897d7b32eb280b42e files/3.5_p20041024/ip-down 956 +MD5 38984b8cf470784c9052f566b4faa5d8 files/3.5_p20041024/ip-up 1105 MD5 4cd4db641466668b0e04c6c3c9ff4ce7 files/3.5_p20041024/isdn4linux.conf 189 MD5 79e7d5d0bfba905952294d6500361296 files/3.5_p20041024/isdn4linux.init 962 MD5 786c52d03809635b0a5617d7608c54a5 files/3.5_p20041024/net.ippp0 2428 @@ -41,7 +41,7 @@ MD5 15ef676fec91271f9a48dc7a1b7e82a2 files/3.5_p20041024/vbox-makefile.am.patch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBkohmjtv59x0+BrURApyAAKDhBY4OzysvB4DIgfkbnBk5MuX1CACfWS6u -MYaVEUytOfpvLG3kSWMAMlM= -=zvqy +iD8DBQFBkwTQjtv59x0+BrURAozOAJwJU8myQH6ZL53zek0iH8MJZlTdcACgvsg3 +3FSP1PwHWH4jjsI34zdSMVU= +=XeSX -----END PGP SIGNATURE----- diff --git a/net-dialup/isdn4k-utils/files/3.5_p20041024/ip-down b/net-dialup/isdn4k-utils/files/3.5_p20041024/ip-down index ab5264cd361e..52ae93395c14 100644 --- a/net-dialup/isdn4k-utils/files/3.5_p20041024/ip-down +++ b/net-dialup/isdn4k-utils/files/3.5_p20041024/ip-down @@ -19,10 +19,10 @@ if [ "$USEPEERDNS" ]; then if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then - # if an old resolv.conf file exists, restore it - if [ -e $REALRESOLVCONF.pppd-backup ]; then - mv $REALRESOLVCONF.pppd-backup $REALRESOLVCONF - fi + # if an old resolv.conf file exists, restore it + if [ -e $REALRESOLVCONF.pppd-backup ]; then + mv $REALRESOLVCONF.pppd-backup $REALRESOLVCONF + fi fi diff --git a/net-dialup/isdn4k-utils/files/3.5_p20041024/ip-up b/net-dialup/isdn4k-utils/files/3.5_p20041024/ip-up index 760a4e57846d..4f16ae3220f6 100644 --- a/net-dialup/isdn4k-utils/files/3.5_p20041024/ip-up +++ b/net-dialup/isdn4k-utils/files/3.5_p20041024/ip-up @@ -21,19 +21,19 @@ if [ "$USEPEERDNS" ]; then if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then - # merge the new nameservers with the other options from the old configuration - { - grep --invert-match '^nameserver[[:space:]]' $REALRESOLVCONF - cat /etc/ppp/resolv.conf - } > $REALRESOLVCONF.tmp - - # backup the old configuration and install the new one - cp -a $REALRESOLVCONF $REALRESOLVCONF.pppd-backup - mv $REALRESOLVCONF.tmp $REALRESOLVCONF - - # correct permissions - chmod 640 /etc/resolv.conf - chown root:users /etc/resolv.conf + # merge the new nameservers with the other options from the old configuration + { + grep --invert-match '^nameserver[[:space:]]' $REALRESOLVCONF + cat /etc/ppp/resolv.conf + } > $REALRESOLVCONF.tmp + + # backup the old configuration and install the new one + cp -a $REALRESOLVCONF $REALRESOLVCONF.pppd-backup + mv $REALRESOLVCONF.tmp $REALRESOLVCONF + + # correct permissions + chmod 644 /etc/resolv.conf + chown root:root /etc/resolv.conf fi |