aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2003-09-05 20:35:42 +0800
committerroger <roger@FreeBSD.org>2003-09-05 20:35:42 +0800
commitfafd6fae90628f9f9020c8d61ff7961b901d1849 (patch)
tree76bd5dfbc49e4566cabcf8018f08e387c9cb93ef
parent5a4d237e9f535d66d5d5f0a67a2c4a6a82ae3b92 (diff)
downloadfreebsd-ports-gnome-fafd6fae90628f9f9020c8d61ff7961b901d1849.tar.gz
freebsd-ports-gnome-fafd6fae90628f9f9020c8d61ff7961b901d1849.tar.zst
freebsd-ports-gnome-fafd6fae90628f9f9020c8d61ff7961b901d1849.zip
Add patch to disable IPv6 support which was making GM crash.
Fix a fig where calls to GM using 127.0.0.1 fail when NAT support enabled
-rw-r--r--net/ekiga/Makefile1
-rw-r--r--net/ekiga/files/patch-endpoint37
-rw-r--r--net/gnomemeeting/Makefile1
-rw-r--r--net/gnomemeeting/files/patch-endpoint37
4 files changed, 76 insertions, 0 deletions
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile
index d0a9c427f092..0938e75687f3 100644
--- a/net/ekiga/Makefile
+++ b/net/ekiga/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomemeeting
PORTVERSION= 0.98.4
+PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= http://www.gnomemeeting.org/downloads/0.98.0/sources/ \
ftp://ftp.gnome.org/pub/GNOME/sources/gnomemeeting/0.98/
diff --git a/net/ekiga/files/patch-endpoint b/net/ekiga/files/patch-endpoint
new file mode 100644
index 000000000000..c906400224db
--- /dev/null
+++ b/net/ekiga/files/patch-endpoint
@@ -0,0 +1,37 @@
+*** src/endpoint.cpp.orig Thu Jul 31 17:26:36 2003
+--- src/endpoint.cpp Fri Sep 5 11:40:58 2003
+*************** GMH323EndPoint::GMH323EndPoint ()
+*** 176,183 ****
+
+ /* Use IPv6 address family by default if available. */
+ #ifdef P_HAS_IPV6
+! if (PIPSocket::IsIpAddressFamilyV6Supported())
+! PIPSocket::SetDefaultIpAddressFamilyV6();
+ #endif
+
+ rtp_port_range =
+--- 176,185 ----
+
+ /* Use IPv6 address family by default if available. */
+ #ifdef P_HAS_IPV6
+! // ENABLING THIS CAUSES PWLIB TO GIVE AN ASSERTION WHEN THERE IS AN
+! // INCOMING CALL
+! // if (PIPSocket::IsIpAddressFamilyV6Supported())
+! // PIPSocket::SetDefaultIpAddressFamilyV6();
+ #endif
+
+ rtp_port_range =
+*************** GMH323EndPoint::TranslateTCPAddress(PIPS
+*** 682,687 ****
+--- 684,694 ----
+
+ && !((remoteAddr.Byte1() == 172)
+ && ((remoteAddr.Byte2() >= 16)&&(remoteAddr.Byte2()<=31)))
++
++ && !((remoteAddr.Byte1() == 127)
++ &&(remoteAddr.Byte2()== 0)
++ &&(remoteAddr.Byte3()==0)
++ &&(remoteAddr.Byte4()==1))
+
+ && !(remoteAddr.Byte1() == 10)) {
+
diff --git a/net/gnomemeeting/Makefile b/net/gnomemeeting/Makefile
index d0a9c427f092..0938e75687f3 100644
--- a/net/gnomemeeting/Makefile
+++ b/net/gnomemeeting/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomemeeting
PORTVERSION= 0.98.4
+PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= http://www.gnomemeeting.org/downloads/0.98.0/sources/ \
ftp://ftp.gnome.org/pub/GNOME/sources/gnomemeeting/0.98/
diff --git a/net/gnomemeeting/files/patch-endpoint b/net/gnomemeeting/files/patch-endpoint
new file mode 100644
index 000000000000..c906400224db
--- /dev/null
+++ b/net/gnomemeeting/files/patch-endpoint
@@ -0,0 +1,37 @@
+*** src/endpoint.cpp.orig Thu Jul 31 17:26:36 2003
+--- src/endpoint.cpp Fri Sep 5 11:40:58 2003
+*************** GMH323EndPoint::GMH323EndPoint ()
+*** 176,183 ****
+
+ /* Use IPv6 address family by default if available. */
+ #ifdef P_HAS_IPV6
+! if (PIPSocket::IsIpAddressFamilyV6Supported())
+! PIPSocket::SetDefaultIpAddressFamilyV6();
+ #endif
+
+ rtp_port_range =
+--- 176,185 ----
+
+ /* Use IPv6 address family by default if available. */
+ #ifdef P_HAS_IPV6
+! // ENABLING THIS CAUSES PWLIB TO GIVE AN ASSERTION WHEN THERE IS AN
+! // INCOMING CALL
+! // if (PIPSocket::IsIpAddressFamilyV6Supported())
+! // PIPSocket::SetDefaultIpAddressFamilyV6();
+ #endif
+
+ rtp_port_range =
+*************** GMH323EndPoint::TranslateTCPAddress(PIPS
+*** 682,687 ****
+--- 684,694 ----
+
+ && !((remoteAddr.Byte1() == 172)
+ && ((remoteAddr.Byte2() >= 16)&&(remoteAddr.Byte2()<=31)))
++
++ && !((remoteAddr.Byte1() == 127)
++ &&(remoteAddr.Byte2()== 0)
++ &&(remoteAddr.Byte3()==0)
++ &&(remoteAddr.Byte4()==1))
+
+ && !(remoteAddr.Byte1() == 10)) {
+