Package Details: luaunbound 1:1.0.0-1

Git Clone URL: https://aur.archlinux.org/luaunbound.git (read-only, click to copy)
Package Base: luaunbound
Description: drop-in replacement for Prosodys internal DNS library with a binding to libunbound
Upstream URL: https://www.zash.se/luaunbound.html
Licenses: custom:MIT
Submitter: fordprefect
Maintainer: fordprefect
Last Packager: fordprefect
Votes: 1
Popularity: 0.000000
First Submitted: 2016-04-23 15:06 (UTC)
Last Updated: 2021-09-29 06:49 (UTC)

Latest Comments

1 2 3 Next › Last »

leuko commented on 2024-05-25 11:26 (UTC)

use_unbound.lua does not exist :(

Is included in the install file:

RunScript 'use\_unbound.lua'

dviktor commented on 2022-09-27 20:02 (UTC)

This package should depend on Prosody explicitly because it's installing the library to its tree

abouvier commented on 2022-09-07 13:08 (UTC)

I did not do anything, I just asked what the difference was :$

jprjr commented on 2022-09-07 12:59 (UTC) (edited on 2022-09-07 13:03 (UTC) by jprjr)

You guys didn't even fucking look at the PKGBUILD before the merge don't lol me.

I already laid out all the differences. Do whatever you want.

abouvier commented on 2022-09-07 04:39 (UTC)

@jprjr sorry for having caused the merge lol

@fordprefect can you address the issues reported by jprjr?

jprjr commented on 2022-08-01 14:03 (UTC) (edited on 2022-08-01 14:05 (UTC) by jprjr)

Hi all, I responded to the merge request email, I'm just posting it here as well, but point 4 is updated with more info on package naming conventions.


Before proceeding with deleting the lua-unbound package please address the following issues in luaunbound:

  1. luaunbound only builds for the latest Lua version (at this time, 5.4). lua-unbound builds for Lua 5.1, 5.2, 5.3, and current.

  2. luaunbound has unnecessary make dependencies mercurial, libxslt, ccache, and an unnecessary install script.

  3. Said install script references another package (prosody) and has nothing to do with the lua module.

  4. In the original email I stated "luaunbound does not follow lua module naming convention." After reviewing the wiki, I don't see a defined convention for Lua modules, but it seems most lua modules use "lua-(modulename)", "lua51-(modulename)", etc.

Technically I don't think lua-unbound follows the convention, since the actual module name is luaunbound. There seems to be some discrepancies even in lua modules in the community repos, some examples:

luaossl is listed on luarocks as luaossl, and in the community repo as lua-luaossl, but installs as a module named openssl.

luasocket is listed on luarocks as luasocket, but in the community repo it's lua-socket, and installs a module named socket.

Since this is listed on luarocks as luaunbound and the actual, installed module is also named luaunbound, it probably makes sense to use the somewhat-redundant lua-luaunbound, lua51-luaunbound, etc names.

  1. (this should be point 5, markdown is re-rendering this as 1) luaunbound's optdepends lists luajit - but the luaunbound C module does not do anything differently when running under luajit. Plus since it's not built for Lua 5.1, luajit is unable to use the module.

jprjr commented on 2022-08-01 13:26 (UTC)

Forgot to mention luaunbound's optdepends lists luajit - but the lua-unbound C module does not do anything different when running under luajit. Plus since it's not built for Lua 5.1, luajit is unable to use the module.

jprjr commented on 2022-08-01 13:17 (UTC)

@abouvier - this is a split package that supports building for multiple Lua versions, the current luaunbound only builds for the latest Lua version.

luaunbound has unnecessary make dependencies mercurial, libxslt, ccache, and an unnecessary install script.

Additionally this follows the lua module naming scheme, luaunbound does not.

fordprefect commented on 2022-08-01 07:41 (UTC)

@abouvier, jhass: I have filed a merge request. makes sense to keep only one.

jhass commented on 2022-08-01 07:37 (UTC)

@abouvier Probably none. Compare the first submitted dates, this one 2016-04-23, lua-unbound got 2022-03-31