diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-03-28 22:52:24 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-03-28 22:52:24 +0000 |
commit | d568c421a23a0bade57a78baa0e6602acafafb8e (patch) | |
tree | d5047c76dee4e3373a0f170ab9987c7507332286 /net/sipxcommserverlib/files/patch-src_sipx-utils.sh | |
parent | Mark for deprecation, since unmaintained, failing to work with current (diff) |
2009-03-27 net/sipxcalllib: old version, needs updating
2009-03-27 net/sipxcommserverlib: old version, needs updating, and does not compile
2009-03-27 net/sipxconfig: depends on broken port net/sipxcommserverlib
2009-03-27 net/sipxmediaadapterlib: old version, needs updating
2009-03-27 net/sipxmedialib: old version, needs updating
2009-03-27 net/sipxpbx: depends on broken port net/sipxcommserverlib
2009-03-27 net/sipxproxy: depends on broken port net/sipxcommserverlib
2009-03-27 net/sipxportlib: old version, needs updating
2009-03-27 net/sipxpublisher: depends on broken port net/sipxcommserverlib
2009-03-27 net/sipxregistry: depends on broken port net/sipxcommserverlib
2009-03-27 net/sipxtacklib: old version, needs updating
2009-03-27 net/sipxvxml: old version, needs updating
Notes
Notes:
svn path=/head/; revision=231220
Diffstat (limited to 'net/sipxcommserverlib/files/patch-src_sipx-utils.sh')
-rw-r--r-- | net/sipxcommserverlib/files/patch-src_sipx-utils.sh | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/net/sipxcommserverlib/files/patch-src_sipx-utils.sh b/net/sipxcommserverlib/files/patch-src_sipx-utils.sh deleted file mode 100644 index eafad1f1a51d..000000000000 --- a/net/sipxcommserverlib/files/patch-src_sipx-utils.sh +++ /dev/null @@ -1,73 +0,0 @@ ---- ./src/sipx-utils.sh.orig Mon Jan 1 19:30:33 2007 -+++ ./src/sipx-utils.sh Mon Jan 1 19:37:57 2007 -@@ -41,16 +41,24 @@ - } - - -+# -+# Let's modify this slightly to allow a hostname as the second arg and -+# not just an IP address. -+# - sip_resolves_to () { # ( unresolved, targetIp ) - # returns true (0) if the unresolved name resolves to the targetIp address by sip rules - unresolvedName=$1 - targetAddr=$2 -+ targetAddr2=`dns_a $2` - - for ip in `dns_a ${unresolvedName}` - do - if [ "${ip}" = "${targetAddr}" ] - then - return 0 -+ elif [ "${ip}" = "${targetAddr2}" ] -+ then -+ return 0 - fi - done - -@@ -61,6 +69,9 @@ - if [ "${ip}" = "${targetAddr}" ] - then - return 0 -+ elif [ "${ip}" = "${targetAddr2}" ] -+ then -+ return 0 - fi - done - done -@@ -70,12 +81,18 @@ - if [ "${tcpSrv}" = "${targetAddr}" ] - then - return 0 -+ elif [ "${tcpSrv}" = "${targetAddr2}" ] -+ then -+ return 0 - else - for ip in `dns_a ${tcpSrv}` - do - if [ "${ip}" = "${targetAddr}" ] - then - return 0 -+ elif [ "${ip}" = "${targetAddr2}" ] -+ then -+ return 0 - fi - done - fi -@@ -86,10 +103,16 @@ - if [ "${udpSrv}" = "${targetAddr}" ] - then - return 0 -+ elif [ "${udpSrv}" = "${targetAddr2}" ] -+ then -+ return 0 - else - for ip in `dns_a ${udpSrv}` - do - if [ "${ip}" = "${targetAddr}" ] -+ then -+ return 0 -+ elif [ "${ip}" = "${targetAddr2}" ] - then - return 0 - fi |