Date: Tue, 11 Feb 2014 06:43:32 +0100 From: olli hauer <ohauer@gmx.de> To: apache@freebsd.org Cc: Benjamin Podszun <benjamin.podszun@gmail.com>, David Thiel <lx@freebsd.org> Subject: Re: luasocket port Message-ID: <52F9B884.8010600@gmx.de> In-Reply-To: <20140211021320.GC8859@redundancy.redundancy.org> References: <20140211021320.GC8859@redundancy.redundancy.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-02-11 03:13, David Thiel wrote: > Hello apache, > > I've updated the luasocket port to use the updated version, 3.0rc1, > which adds IPv6 support; I also removed some obsolete compatibility > stubs and added stage support. I've tested it with Prosody and it > appears to work fine. If you have no objections, I'd like to go ahead > and commit the update. > > The one thing I don't understand in the current port is > patch-src_buffer_c -- it simply seems to rename a few functions, putting > "ls_" in front of them. This doesn't seem necessary; does anyone know > what purpose this serves? > Hi David, It seems the 'ls_' prefix fixes a name space clash with mod_magnet from www/lighttpd. I suspect the name space clash is still an issue. Perhaps the following information helps. # svn log -r260028 files/patch-src_buffer_c ------------------------------------------------------------------------ r260028 | pgollucci | 2010-08-26 20:27:16 +0200 (Thu, 26 Aug 2010) | 6 lines - namespace clash with www/lighttpd mod_magnet upstream is gone, but the port is still quite useful PR: ports/138055 Submitted by: Robert Nagy <robert@openbsd.org> ------------------------------------------------------------------------ Summary from PR 138055. >Synopsis: net/luasocket namespace clash with www/lighttpd mod_magnet >Description: Basically - luasocket defines buffer_init(); which is common enough to be defined elsewhere and it is defined in mod_magnet, so you end up with a SIGSEGV. >How-To-Repeat: Write a lua script that uses luasocket and try to use it with mod_magnet. -- Regards, olli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52F9B884.8010600>