Index | Thread | Search

From:
"Stuart Lamble" <openbsd@stuart.lamble.id.au>
Subject:
Re: Kea 3.2.0 on OpenBSD 7.9
To:
"Stuart Henderson" <stu@spacehopper.org>
Cc:
ports@openbsd.org
Date:
Wed, 23 Sep 2026 13:53:58 +1000

Download raw body.

Thread
  • Stuart Lamble:

    Kea 3.2.0 on OpenBSD 7.9

  • Next issue.
    
    keactrl is still looking for the configuration file in /usr/local/etc:
    
    # Get the location of the keactrl configuration file.
    prefix="/usr/local"
    localstatedir="/var"
    keactrl_conf="${prefix}//etc/kea/keactrl.conf"
    
    Here's an updated patch for the relevant file to fix it. This replaces patch-src_bin_keactrl_meson_build. (Untested; this stuff takes a couple of hours to build on my system, but I'm confident it will work.)
    
    --- src/bin/keactrl/meson.build.orig.port	Mon Jun 22 17:49:20 2026
    +++ src/bin/keactrl/meson.build	Wed Sep 23 13:50:25 2026
    @@ -3,7 +3,7 @@
     keactrl_conf_data.set('exec_prefix', '${prefix}')
     keactrl_conf_data.set('prefix', PREFIX)
     keactrl_conf_data.set('sbindir', '${prefix}/' + SBINDIR)
    -keactrl_conf_data.set('sysconfdir', '${prefix}/' + SYSCONFDIR)
    +keactrl_conf_data.set('sysconfdir', SYSCONFDIR)
     if NETCONF_DEP.found()
         keactrl_conf_data.set('HAVE_NETCONF', 'yes')
     else
    @@ -11,8 +11,8 @@
     endif
     keactrl_conf_data.set('EXTENDED_VERSION', EXTENDED_VERSION)
     keactrl_conf_data.set('PACKAGE_VERSION', PROJECT_VERSION)
    -keactrl_conf_data.set('runstatedir', '${prefix}/' + LOCALSTATEDIR + '/run')
    -keactrl_conf_data.set('localstatedir', '${prefix}/' + LOCALSTATEDIR)
    +keactrl_conf_data.set('runstatedir', LOCALSTATEDIR + '/run')
    +keactrl_conf_data.set('localstatedir', LOCALSTATEDIR)
     
     kea_conf_data = configuration_data()
     kea_conf_data.set('libdir', LIBDIR_INSTALLED)
    
    
  • Stuart Lamble:

    Kea 3.2.0 on OpenBSD 7.9