Package Details: ndjbdns 1.06-2

Git Clone URL: https://aur.archlinux.org/ndjbdns.git (read-only, click to copy)
Package Base: ndjbdns
Description: ndjbdns is a fork of djbdns
Upstream URL: http://pjp.dgplug.org/ndjbdns/
Licenses: GPL2
Submitter: larryhaja
Maintainer: larryhaja
Last Packager: larryhaja
Votes: 0
Popularity: 0.000000
First Submitted: 2014-05-11 04:34 (UTC)
Last Updated: 2016-02-22 18:58 (UTC)

Latest Comments

smark commented on 2025-10-14 18:42 (UTC)

Hi,

it seems building fails with gcc v15:

alloc.c:45:1: error: conflicting types for 'alloc'; have 'char *(unsigned int)'
   45 | alloc (unsigned int n)
      | ^~~~~

Using the "old" gcc v14 works fine:

diff --git a/PKGBUILD b/PKGBUILD
index a44676f..4c7b15b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,6 +7,7 @@ pkgdesc="ndjbdns is a fork of djbdns"
 arch=('i686' 'x86_64')
 url="http://pjp.dgplug.org/ndjbdns/"
 license=('GPL2')
+makedepends=('gcc14')
 depends=('systemd')
 source=("http://pjp.dgplug.org/${pkgname}/${pkgname}-${pkgver}.tar.gz"
         'arch-systemd-bin-directory.patch')
@@ -31,7 +32,7 @@ build()
     --sbindir=/usr/bin \
     --sysconfdir=/etc \
     --disable-silent-rules
-  make
+  make CC=gcc-14
 }

 package()

kkovacs commented on 2016-02-20 22:39 (UTC)

Hi, I get a "/usr/sbin exists in filesystem" error when trying to install ndjbdns. The following patch fixes the problem by putting the /usr/sbin binaries into /usr/bin as recommended by https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/ . diff --git a/PKGBUILD b/PKGBUILD index 158bdce..6381cea 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -23,6 +23,7 @@ build() ./configure \ --prefix=/usr \ + --sbindir=/usr/bin \ --sysconfdir=/etc \ --disable-silent-rules make