On Thursday 28 May 2009, Jeff Pyle wrote:
> Hi Dan,
> 
> Output was:
>   linux2-sparc Linux
> 
> Iptables and conntrack are supported; the libnetfilter-conntrack-dev package
> installed properly as part of the dependency packages listed in the install
> file.
> 
> The build file is attached.  Looking through it I notice a few things that
> cause me to raise an eyebrow, such as the parts saying it's skipping the
> relay due to a non-linux platform ... even though it's on a linux platform.

The test is incomplete. Use the attached patch.

-- 
Dan
diff -rN -u old-mediaproxy/setup.py new-mediaproxy/setup.py
--- old-mediaproxy/setup.py	2009-05-28 16:12:14.000000000 +0300
+++ new-mediaproxy/setup.py	2009-05-28 16:12:14.000000000 +0300
@@ -13,7 +13,7 @@
 
 def setup(*args, **kwargs):
     """Mangle setup to ignore media-relay on non-linux platforms"""
-    if sys.platform != 'linux2':
+    if not sys.platform.startswith('linux2'):
         print "WARNING: skipping the media relay component as this is a non-linux platform"
         kwargs.pop('ext_modules', None)
         kwargs['scripts'].remove('media-relay')

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to