Commit Graph

33 Commits

Author SHA1 Message Date
Stijn Tintel af48372e37 kea: bump to 2.4.0
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-10-08 14:19:18 -07:00
Stijn Tintel 58558c8834 kea: bump to 2.2.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2023-10-08 14:19:18 -07:00
Philip Prindeville 10ac45abb7 kea: procd_close_instance doesn't take a parameter
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-05-01 13:36:25 +03:00
Philip Prindeville f544e95099 kea: Update to 2.2.0
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-05-01 13:36:25 +03:00
Paul Fertser 0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Andre Heider 35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Stijn Tintel da128ced43 kea: bump to 2.0.3
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-08-04 16:53:05 -07:00
Stijn Tintel 8b5c761c88 kea: create /var/run/kea in init script
Kea expects /var/run/kea to exist. Without it, errors occur:

  Mon Jun 13 10:31:45 2022 daemon.err kea-dhcp6[2977]: Unable to use interprocess sync lockfile (No such file or directory): /var/run/kea/logger_lockfile

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-07-05 21:59:34 -07:00
Stijn Tintel e58438abd6 kea: bump to 2.0.2
Drop patches that no longer apply:
- net/kea/patches/001-fix-cross-compile.patch
- net/kea/patches/002-fix-host-compile.patch

Drop upstreamed patches:
- net/kea/patches/020-shared_ptr.patch
- net/kea/patches/030-gcc11.patch
- net/kea/patches/040-map.patch

Fixup patch net/kea/patches/003-no-test-compile.patch.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-04-02 14:29:06 -07:00
Stijn Tintel 58866f3452 kea: drop host build
The host build is used to build kea-msg-compiler, which is only needed
when there are changes to .mes files. Since we're not making any changes
to such files, we do not need this.

As host build fails for Kea 2.0.2, and the git history for kea doesn't
contain any reasoning for enabling it, let's just drop it.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-04-02 14:29:06 -07:00
Huangbin Zhan 94d57346fc treewide: add missing conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2021-10-27 23:18:42 -07:00
Rosen Penev 1980bc21fb kea: fix compilation with boost 1.77
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-04 19:24:53 -07:00
Stijn Tintel 3649ed721d kea: add kea-uci package with basic init script
This init script allows to start the Kea Control Agent, the DHCPv4
server, the DHCPv6 server, and the DHCP-DDNS server. It expects the
config files to be where the packages install them.

As this is a single init script that can start 4 different binaries that
are each in their own package, these files cannot be included in any of
these other package, so create a dedicated package for it.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-16 20:41:51 +03:00
Stijn Tintel 8c855f390e kea: add conffiles
Add the /etc/kea directory to conffiles, so configuration will not be
lost during sysupgrade.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-16 20:41:51 +03:00
Stijn Tintel f59243aa83 kea: add package for high availability hook
This allows running multiple kea instances in load balancing or
hot-standby mode, minimizing risk of downtime.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-16 20:37:39 +03:00
Stijn Tintel 5459bd9b30 kea: add package for lease commands hook
This is required for the HA hook.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-16 20:37:38 +03:00
Rosen Penev a2332f2bcb kea: fix compilation with GCC11
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-07 14:48:51 -07:00
Rosen Penev 8a13fb4c9d kea: update to 1.8.2
Backport upstream patch fixing host compilation with GCC11.

Switched to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-06-10 16:13:30 -07:00
Rosen Penev 222cad4ccc kea: fix compilation with libcxx
Boost headers try to include experimental/string_view when std is less
than c++17. This does not work ith libcxx where this header is not
present.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-31 18:23:28 -07:00
Tiago Gaspar 7592e64f14 kea: update package to 1.8.0
Update kea to the latest stable version (1.8.0) and add kea-shell 
package.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2020-09-18 16:26:18 +01:00
Rosen Penev 1950340c69
kea: do not build static host binaries
Errors on some systems. No real change.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-29 21:35:06 -07:00
Tiago Gaspar 0f4cc2e339 kea: Update kea to the latest stable verion (1.6.2).
Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2020-03-16 16:00:52 +00:00
Rosen Penev c037c8d988
kea: Remove openssl host dependency
OpenSSL is already built as part of tools (LibreSSL actually) and can be
used instead for the host build.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-30 09:36:46 -07:00
Tiago Gaspar 03cf093332 kea: update package to 1.6.0
Update kea to the latest stable verion (1.6.0).

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2019-10-10 23:15:19 +01:00
Tiago Gaspar 74603fe5ea kea: remove dependency and reduce file size
Remove boost-python3 dependency and reduce file size of the compiled 
kea-libs

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2019-10-01 02:05:15 +01:00
Tiago Gaspar 9314a96765 kea: fix kea-admin dependency
Fix kea-admin dependency where if procps-ng-ps wasn't available busybox 
would output an error casuse it does't support showing a processe's PID

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2019-10-01 02:03:21 +01:00
Tiago Gaspar 95307f2a4b kea: fix and improve makefile
Fix an issue where the Makefile wouldn't allow kea to show up in the
menuconfig Also added some description to the packages

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2019-10-01 01:59:36 +01:00
Rosy Song 444420423f kea: remove python3 dependency of kea-admin
fix #9495

Signed-off-by: Rosy Song <rosysong@rosinson.com>
2019-07-24 10:56:41 +08:00
Rosen Penev 54d7bc119d
kea: Fix compilation without deprecated OpenSSL APIs
Forgot to add this one to the last pull request.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-07-03 20:58:30 -07:00
Rosen Penev d93fd61d62
kea: Don't install to STAGING_DIR_HOST
STAGING_DIR_HOST is for packages under tools/ , not host packages.

Reorganized Makefile for consistency between packages.

Added PKG/HOST_BUILD_PARALLEL for faster compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-28 14:33:46 -07:00
Rosen Penev 236452cd6e
kea: Specify OpenSSL path for host builds as well
Buildbots are failing on kea because kea/host is failing:

checking for OpenSSL library... configure: error: OpenSSL auto detection
failed

I'm guessing the buildbots do not have OpenSSL installed and the
configure script does not find the proper location for OpenSSL.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-10 15:06:18 -07:00
Rosen Penev f478209bce
kea: Specify OpenSSL location
Some buildbots are failing on this.

Refreshed patches.

Replace -fPIC with $(FPIC)

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-07 15:49:43 -07:00
BangLang Huang 28e8dc578f kea: add new package
Kea is an open source DHCPv4/DHCPv6 server being developed by
Internet Systems Consortium. Kea is a high-performance, extensible
DHCP server engine that is designed to be easily modified and extended
with hooks libraries.

Kea is free open source, and we welcome community engagement, via the
Kea-users mailing list, this wiki, and our Github
repository. There is a small core team of dedicated software engineers
developing it and we need your contributions and support
contracts to support them.

DHCP Standardization efforts: The lead developer on KEA is
co-chair of the Dynamic Host Configuration working group in the
IETF. We are committed to providing a standards-compliant
implementation and are closely tracking developments in this working
group and evaluating them for inclusion in KEA.

wiki : http://kea.isc.org/wiki
official : https://www.isc.org/kea/

Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
2019-04-03 13:58:44 +08:00