summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>2001-10-08 11:41:28 +0000
committerRoger Hardiman <roger@FreeBSD.org>2001-10-08 11:41:28 +0000
commite9f2155db49686b46fe0fd8a217153572984b622 (patch)
tree577514a93fdb5c0b7b0ff7227511aff1709c1863 /net
parentUpdate to version 1.5.6 (diff)
Remove Broken status. OpenH323 now includes the right functions.
Notes
Notes: svn path=/head/; revision=48560
Diffstat (limited to 'net')
-rw-r--r--net/openh323proxy/Makefile2
-rw-r--r--net/openh323proxy/files/patch-aa19
-rw-r--r--net/openh323proxy/files/patch-ab53
3 files changed, 72 insertions, 2 deletions
diff --git a/net/openh323proxy/Makefile b/net/openh323proxy/Makefile
index 6285f0a6b99d..de539d492e11 100644
--- a/net/openh323proxy/Makefile
+++ b/net/openh323proxy/Makefile
@@ -15,8 +15,6 @@ MAINTAINER= roger@FreeBSD.org
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/openh323:build
-BROKEN= Will not work until someone writes a GetRoutingTable function
-
WRKSRC= ${WRKDIR}/${PORTNAME}
NOCLEANDEPENDS= yes
diff --git a/net/openh323proxy/files/patch-aa b/net/openh323proxy/files/patch-aa
new file mode 100644
index 000000000000..84f34173f555
--- /dev/null
+++ b/net/openh323proxy/files/patch-aa
@@ -0,0 +1,19 @@
+*** Environ.cxx.orig Mon Jul 9 16:25:04 2001
+--- Environ.cxx Mon Jul 9 16:19:03 2001
+*************** static H225_SupportedPrefix GetPrefix( c
+*** 75,81 ****
+ {
+ H225_SupportedPrefix Result;
+
+! Result.m_prefix.SetTag( H225_AliasAddress::e_e164 );
+ PASN_IA5String & IA5 = (PASN_IA5String &)Result.m_prefix;
+ IA5 = PrefixStr;
+
+--- 80,86 ----
+ {
+ H225_SupportedPrefix Result;
+
+! Result.m_prefix.SetTag( H225_AliasAddress::e_dialedDigits );
+ PASN_IA5String & IA5 = (PASN_IA5String &)Result.m_prefix;
+ IA5 = PrefixStr;
+
diff --git a/net/openh323proxy/files/patch-ab b/net/openh323proxy/files/patch-ab
new file mode 100644
index 000000000000..2e0e9feec0a3
--- /dev/null
+++ b/net/openh323proxy/files/patch-ab
@@ -0,0 +1,53 @@
+*** EndpointTabl.cxx.orig Mon Jul 9 16:24:58 2001
+--- EndpointTabl.cxx Mon Jul 9 13:12:01 2001
+*************** static bool IsPrefix( const H225_AliasAd
+*** 220,226 ****
+ // Now check by type
+ switch ( Prefix.GetTag() )
+ {
+! case H225_AliasAddress::e_e164 :
+ PrefixStr = static_cast<const PASN_IA5String &>(Prefix);
+ AliasStr = static_cast<const PASN_IA5String &>(Alias);
+ break;
+--- 225,231 ----
+ // Now check by type
+ switch ( Prefix.GetTag() )
+ {
+! case H225_AliasAddress::e_dialedDigits:
+ PrefixStr = static_cast<const PASN_IA5String &>(Prefix);
+ AliasStr = static_cast<const PASN_IA5String &>(Alias);
+ break;
+*************** static bool IsPrefix( const H225_AliasAd
+*** 235,241 ****
+ }
+ switch( PrefixPartyNumber.GetTag() )
+ {
+! case H225_PartyNumber::e_publicNumber :
+ {
+ const H225_PublicPartyNumber & PublicPrefix = PrefixPartyNumber;
+ const H225_PublicPartyNumber & PublicAlias = AliasPartyNumber;
+--- 240,246 ----
+ }
+ switch( PrefixPartyNumber.GetTag() )
+ {
+! case H225_PartyNumber::e_e164Number:
+ {
+ const H225_PublicPartyNumber & PublicPrefix = PrefixPartyNumber;
+ const H225_PublicPartyNumber & PublicAlias = AliasPartyNumber;
+*************** Endpoint EndpointTable::FindByPrefix( co
+*** 1080,1086 ****
+ PWaitAndSignal MutexWait(TableMutex);
+ for ( PINDEX i=0; i < Alias.GetSize(); ++i )
+ {
+! if ( ( Alias[i].GetTag() == H225_AliasAddress::e_e164 ) ||
+ ( Alias[i].GetTag() == H225_AliasAddress::e_partyNumber )
+ )
+ {
+--- 1085,1091 ----
+ PWaitAndSignal MutexWait(TableMutex);
+ for ( PINDEX i=0; i < Alias.GetSize(); ++i )
+ {
+! if ( ( Alias[i].GetTag() == H225_AliasAddress::e_dialedDigits ) ||
+ ( Alias[i].GetTag() == H225_AliasAddress::e_partyNumber )
+ )
+ {