php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80850 Missing LuaSandbox DLLs on PECL
Submitted: 2021-03-10 10:53 UTC Modified: 2021-03-10 18:00 UTC
From: cmb@php.net Assigned: tstarling (profile)
Status: Assigned Package: PECL (PECL)
PHP Version: 7.4.16 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2021-03-10 10:53 UTC] cmb@php.net
Description:
------------
Obviously, there are no LuaSandbox DLLs available for download
on PECL.  The primary reason is that config.w32 is missing in the
packages, although it exists in the repo[1].  If the missing config.w32
is just an oversight, please add it.

If it gets added, the next issue would be the check for
lua5.1.lib, which appears to be overly restricted.  There are lua
packages available for PECL builds[2], but these have lua 5.3.4,
and the library is named liblua.lib.  It would be good to add at
least a fallback for that name, i.e. something like

    CHECK_LIB("lua5.1.lib;liblua.lib", "luasandbox", PHP_LUASANDBOX)

[1] <https://phabricator.wikimedia.org/diffusion/MLUS/browse/master/config.w32>
[2] <https://windows.php.net/downloads/pecl/deps/>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-10 10:55 UTC] cmb@php.net
-Assigned To: +Assigned To: tstarling
 [2021-03-10 16:34 UTC] legoktm at member dot fsf dot org
The config.w32 omission is accidental, I'll get that fixed for the next release.

However, LuaSandbox is specific to Lua 5.1, so 5.3 won't work. <https://phabricator.wikimedia.org/T178146> goes into more detail about this.

Is it possible to add Lua 5.1 to the list of Windows dependencies?
 [2021-03-10 18:00 UTC] cmb@php.net
> The config.w32 omission is accidental, I'll get that fixed for
> the next release.

Thanks!

> Is it possible to add Lua 5.1 to the list of Windows
> dependencies?

Yes, I'll do that ASAP.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun May 09 11:01:23 2021 UTC