pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/speedtouch Fixed "test ==", which was reported in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af52a3290f30
branches:  trunk
changeset: 524378:af52a3290f30
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jan 24 17:38:47 2007 +0000

description:
Fixed "test ==", which was reported in PR 35467.

diffstat:

 net/speedtouch/distinfo         |   4 +++-
 net/speedtouch/patches/patch-ag |  13 +++++++++++++
 net/speedtouch/patches/patch-ah |  22 ++++++++++++++++++++++
 3 files changed, 38 insertions(+), 1 deletions(-)

diffs (58 lines):

diff -r fbe58853acd7 -r af52a3290f30 net/speedtouch/distinfo
--- a/net/speedtouch/distinfo   Wed Jan 24 17:29:38 2007 +0000
+++ b/net/speedtouch/distinfo   Wed Jan 24 17:38:47 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2006/08/18 18:33:39 abs Exp $
+$NetBSD: distinfo,v 1.9 2007/01/24 17:38:47 rillig Exp $
 
 SHA1 (speedtouch-1.3.1.tar.bz2) = 9f2bd1d2800686fa96b38bb3de8283fcf5b39a5c
 RMD160 (speedtouch-1.3.1.tar.bz2) = 88e64bb415db535078915d10684262b5e57f55dc
@@ -12,3 +12,5 @@
 SHA1 (patch-ad) = 14cb77ff43a7df73791920eb883b32805ff25cc9
 SHA1 (patch-ae) = ef41e43b28ce7b9310d37f6babf36cf22971d664
 SHA1 (patch-af) = b944431edede2c289f5d8bfa5feed290ede3ed5d
+SHA1 (patch-ag) = ff59c7f6de88935905bb87d3ad94fc64276cf3be
+SHA1 (patch-ah) = 5b7e2632a1dd364474a1dd534b3ea25b8b949fba
diff -r fbe58853acd7 -r af52a3290f30 net/speedtouch/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/speedtouch/patches/patch-ag   Wed Jan 24 17:38:47 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2007/01/24 17:38:47 rillig Exp $
+
+--- src/speedtouch-start.in.orig       2004-09-29 22:56:31.000000000 +0200
++++ src/speedtouch-start.in    2007-01-24 18:47:07.000000000 +0100
+@@ -155,7 +155,7 @@ fi
+ # pppd call speedtouch-pppoe updetach
+ #
+ 
+-if [ "${PPPD_PEER}" == "" ]; then
++if [ "${PPPD_PEER}" = "" ]; then
+     echo "PPPD_PEER undefined"
+     exit 1
+ fi
diff -r fbe58853acd7 -r af52a3290f30 net/speedtouch/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/speedtouch/patches/patch-ah   Wed Jan 24 17:38:47 2007 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ah,v 1.1 2007/01/24 17:38:47 rillig Exp $
+
+--- src/speedtouch-setup.in.orig       2004-09-29 22:56:31.000000000 +0200
++++ src/speedtouch-setup.in    2007-01-24 18:47:49.000000000 +0100
+@@ -158,7 +158,7 @@ fi
+ # Check for /etc/ppp/peers/speedtouch-pppoa existence
+ if [ -f "${PEER_PPPOA_FILE}" ]; then
+   read -p "Do you want to overwrite $PEER_PPPOA_FILE [y/n] ? " ANSWER
+-  if [ $ANSWER == "n" ] || [ $ANSWER == "N" ] ; then
++  if [ $ANSWER = "n" ] || [ $ANSWER = "N" ] ; then
+      exit 1
+   fi
+   rm -f "${PEER_PPPOA_FILE}"
+@@ -167,7 +167,7 @@ fi
+ # Check for /etc/ppp/peers/speedtouch-pppoe existence
+ if [ -f "${PEER_PPPOE_FILE}" ]; then
+   read -p "Do you want to overwrite $PEER_PPPOE_FILE [y/n] ? " ANSWER
+-  if [ $ANSWER == "n" ] || [ $ANSWER == "N" ] ; then
++  if [ $ANSWER = "n" ] || [ $ANSWER = "N" ] ; then
+      exit 1
+   fi
+   rm -f "${PEER_PPPOE_FILE}"



Home | Main Index | Thread Index | Old Index