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

« First ‹ Previous 1 2 3

jhass commented on 2016-06-28 20:52 (UTC)

Well tbh. I didn't thoroughly verified yet, but it seems so. Do you have an easy way to verify? I can't spot any error related to it in the startup log anymore at least.

fordprefect commented on 2016-06-28 19:26 (UTC) (edited on 2016-06-28 19:26 (UTC) by fordprefect)

@jhass: thank you for your suggestions, just took them all in. did you manage to make prosody use luaunbound? i failed so far, and zash (the developer) was not willing to help either… edit: sorry for the delay, vacation time…

jhass commented on 2016-06-20 13:42 (UTC)

Unsetting LDFLAGS no longer works for me. Additionally unsetting CFLAGS works, but I think the cleaner approach is to patch Makefile to use CC: diff -r f270a1cf86ce Makefile --- a/Makefile Sun Jan 10 19:49:52 2016 +0100 +++ b/Makefile Mon Jun 20 15:34:28 2016 +0200 @@ -33,7 +33,7 @@ xsltproc root-anchors.xsl root-anchors.xml > $@ %.so: %.o - $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) + $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) install: install -d $(DESTDIR)$(LUA_LIBDIR)/ Also there's no need to manually call squish.sh, the Makefile has a target for it, so both make all and make use_unbound.lua lunbound.so and make all works. diff --git a/PKGBUILD b/PKGBUILD index afbf8d9..cf599d8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,20 +10,20 @@ depends=("unbound") makedepends=("mercurial" "unbound" "lua") optdepends=("luajit: jit for lua") install=luaunbound.install -source=("${pkgname}::hg+https://code.zash.se/luaunbound") -sha512sums=('SKIP') +source=("${pkgname}::hg+https://code.zash.se/luaunbound" "use_cc.patch") +sha512sums=('SKIP' + '6b11dfe9f5de743f101463fb3fb2144fe3aff75e7e19036f67d0e0b8adc8c36db73cf73d0aba483d651f8f5b2773093adc27e788354b165314c777e8de45bf28') prepare() { cd "$srcdir/$pkgname" # fixed commit hg checkout f270a1cf86ce + patch -p1 < "$srcdir/use_cc.patch" } build() { cd "$srcdir/$pkgname" - ./squish.sh > use_unbound.lua - unset LDFLAGS - make lunbound.so + make all } package() {