Package Details: knot 2.3.2-1

Git Clone URL: https://aur.archlinux.org/knot.git (read-only)
Package Base: knot
Description: high-performance authoritative-only DNS server
Upstream URL: https://www.knot-dns.cz/
Licenses: GPL3
Submitter: seberm
Maintainer: oerdnj
Last Packager: oerdnj
Votes: 10
Popularity: 0.748096
First Submitted: 2011-11-17 18:05
Last Updated: 2016-11-07 08:41

Dependencies (5)

Required by (0)

Sources (3)

Latest Comments

ArchangeGabriel commented on 2016-05-16 09:05

@Teaspoon: That’s perfectly normal, you are supposed to handle the rebuild of your AUR packages when one of their dependencies has an ABI bump. ;)

Teaspoon commented on 2016-05-16 04:08

Had a problem, fixed it, posting here in case others run afoul of it...

Recently the liburcu in the official repositories updated to 0.9.2-1 and after installing that update my maching started failing to load Knot. Error was that it was unable to find liburcu.so.2. My version jump was from 0.8.7-1.

I was able to get it running again temporarily with a /usr/lib/liburcu.so.2 symlink pointing to liburcu.so.4.0.0, and rebuilding+reinstalling the package has removed the need for the symlink.

wlhlm commented on 2016-03-15 16:16

@ArchangeGabriel All AUR packages assume that the base-devel package group is installed, which pkg-config is a part of.

See https://wiki.archlinux.org/index.php/Arch_User_Repository#Prerequisites

@oerdnj As per the assumption above, the makedepends line of this PKGBUILD is redundant as autoconf, bison, flex, libtool, and pkg-config are all part of the base-devel group. Same thing applies to the knot-lts PKGBUILD.

Thanks for packaging knot, BTW!

Dragonlord commented on 2016-03-07 19:09

Automatic config file conversions are not really the Arch way. For official packages and cases like this, announcements and howtos are put on the main web page. For AUR packages I'd say you can use the comments here, or put a notification in an .install file (check 'syncthing' for an example).
PS: great knot presentation on the weekend!

oerdnj commented on 2016-02-06 15:27

> Well, just write the new one as .pacnew and tell the user that the new file has been installed as .pacnew, and that the old one is not compatible.
>
> That’s the way any main repos package would do it when there would be an « ABI break » of the conf files.

So the "proper" solution would leave the user with broken configuration and daemon that cannot start because of that? Perhaps I am missing correct Arch mindset. Does anybody really mind that the configuration gets converted automatically and the daemon keeps running after the upgrade?

ArchangeGabriel commented on 2016-02-05 10:18

Well, just write the new one as .pacnew and tell the user that the new file has been installed as .pacnew, and that the old one is not compatible.

That’s the way any main repos package would do it when there would be an « ABI break » of the conf files.

oerdnj commented on 2016-02-05 09:01

> .pacorig files are deprecated AFAIU (install script).

Any ideas how to solve this properly? We need to run knot1to2 on the configuration and save the old config somewhere.

ArchangeGabriel commented on 2016-02-04 17:57

Error when trying to install:configure: error: in `/tmp/yaourt-tmp-archange/aur-knot/src/knot-2.1.0':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables gnutls_CFLAGS
and gnutls_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

Missing makedependency on pkg-config ?

ArchangeGabriel commented on 2016-02-04 17:53

.pacorig files are deprecated AFAIU (install script).

oerdnj commented on 2016-01-21 09:15

@fauxmight:
- added --with-sbindir /usr/bin
- added tmpfiles.d configuration

Thanks for the hints.

Anything else needs to be fixed?

oerdnj commented on 2016-01-21 08:48

@fauxmight - as soon as I tackle the new git-based AUR4, I would be able to accept any pull requests

oerdnj commented on 2016-01-21 08:46

You know, an email would be nice, before filling an orphan request!

fauxmight commented on 2015-10-24 04:33

This fixes several problems with installing from this PKGBUILD:

1) /run works correctly now under systemd
2) sbindir is corrected to /usr/bin
(as /usr/sbin is now a symlink, this
wouldn't start without this change)

Link for new package:
http://www.nosocomia.com/tmp/knot-1.6.4-2.tar.bz2

If this should be done as a pull request instead, please point
me in the direction of how. I searched hard for how I *should*
submit patches with AUR4, but I'm coming up empty handed.

oerdnj commented on 2014-06-18 14:33

Hey @fauno,

thanks - I have incorporated the check target into the AUR.

Ondrej

fauno commented on 2014-06-06 19:13

hey thanks for your package! we've released it as binary package on parabola's [pcr] repo plus some changes:

https://projects.parabolagnulinux.org/abslibre/abslibre.git/tree/pcr/knot

oerdnj commented on 2014-02-14 11:52

Hi @oleander, thanks for the updates PKGBUILD. I have made some changes I already had prepared and uploaded updated PKGBUILD.

oleander commented on 2014-02-03 03:51

https://halde.reis.asia/~oleander/archlinux/knot.tar.gz
for 1.4.2 (latest stable); comes with .service-file

PGP signature: https://halde.reis.asia/~oleander/archlinux/knot.tar.gz.sig

oleander commented on 2014-02-03 03:46

https://halde.reis.asia/~oleander/archlinux/knot.tar.gz
for 1.4.2 (latest stable); comes with .service-file

seberm commented on 2012-09-04 10:00

Updated. Whats new?

https://git.nic.cz/redmine/projects/knot-dns/repository/revisions/v1.1.0/entry/RELNOTES

seberm commented on 2012-07-02 23:18

Hi,
I think everything works fine now. Knot reads its configuration from /etc/knot/*

but --prefix /usr is default?

Thanks help in ./configure script I thought that default prefix is /usr/local.

=================>
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]

oerdnj commented on 2012-06-28 15:00

In Debian package I use these extra options (--prefix /usr is default):

--sysconfdir=/etc/knot --localstatedir /var/lib

So maybe you should try:

--sysconfdir=/etc/knot instead of --sysconfdir=/etc

If that doesn't work, feel free to contact Knot DNS team (with ./configure output preferrably) at https://git.nic.cz/redmine/

O.

seberm commented on 2012-03-11 21:36

Thanks..updated, but Knot still reads configuration file from /usr/local/etc/*...

It's neccessary run:
knotd --config /etc/knot/...

ghen commented on 2012-03-11 21:08

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

seberm commented on 2012-03-01 17:13

I did update and some changes in PKGBUILD... I tried to set Knot's sysconfig directory to /etc/knot, but Knot still reads its configuration files from /usr/local/etc/*. If somebody finds solution just let me know.

$ knotd
notice: Config '/usr/local/etc/knot.conf' does not exist.
Using '/usr/local/etc/knot.conf' as default configuration.
User uid=1000 is not allowed to set capabilities, skipping.
Reading configuration '/usr/local/etc/knot.conf' ...
error: Couldn't open configuration file '/usr/local/etc/knot.conf'.

$ knotc start
Couldn't open configuration file '/usr/local/etc/knot.conf'.